File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
tests/drivers/build_all/mfd Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 40
40
};
41
41
};
42
42
};
43
+
44
+ test_gpio: gpio@deadbeef {
45
+ compatible = "vnd,gpio";
46
+ gpio-controller;
47
+ reg = <0xdeadbeef 0x1000>;
48
+ #gpio-cells = <0x2>;
49
+ status = "okay";
50
+ };
51
+
52
+ test_spi: spi@33334444 {
53
+ #address-cells = <1>;
54
+ #size-cells = <0>;
55
+ compatible = "vnd,spi";
56
+ reg = <0x33334444 0x1000>;
57
+ status = "okay";
58
+ clock-frequency = <2000000>;
59
+
60
+ /* one entry for every spi devices */
61
+ cs-gpios = <&test_gpio 0 0>;
62
+
63
+ test_spi_maxq10xx@0 {
64
+ compatible = "adi,maxq10xx";
65
+ reg = <0x0>;
66
+ status = "okay";
67
+ spi-max-frequency = <0>;
68
+
69
+ test_spi_maxq10xx_trng: trng {
70
+ compatible = "adi,maxq10xx-trng";
71
+ status = "okay";
72
+ };
73
+ };
74
+ };
43
75
};
44
76
};
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ CONFIG_TEST=y
2
2
CONFIG_GPIO=y
3
3
CONFIG_TEST_USERSPACE=y
4
4
CONFIG_I2C=y
5
+ CONFIG_SPI=y
6
+ CONFIG_MFD=y
7
+ CONFIG_ENTROPY_GENERATOR=y
5
8
CONFIG_SERIAL=y
6
9
CONFIG_UART_USE_RUNTIME_CONFIGURE=y
You can’t perform that action at this time.
0 commit comments