tests: drivers: build_all: gpio: Add modules that were not registered
Add the following devices to build tests. - richtek,rt1718s - st,stmpe1600 - adi,adp5585 - nordic,npm6001 - cypress,cy8c95xx-gpio - ti,sn74hc595 Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
5fe5126913
commit
bcec0a29ef
1 changed files with 90 additions and 1 deletions
|
@ -262,11 +262,87 @@
|
||||||
ngpios = <8>;
|
ngpios = <8>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
test_i2c_rt1718s: rt1718s@f {
|
||||||
|
compatible = "richtek,rt1718s";
|
||||||
|
reg = <0xf>;
|
||||||
|
irq-gpios = <&test_gpio 1 0>;
|
||||||
|
|
||||||
|
rt1718s_gpio_port0: rt1718s_gpio {
|
||||||
|
compatible = "richtek,rt1718s-gpio-port";
|
||||||
|
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
ngpios = <3>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
test_i2c_stmpe1600: stmpe1600@10 {
|
||||||
|
compatible = "st,stmpe1600";
|
||||||
|
reg = <0x10>;
|
||||||
|
ngpios = <16>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
test_i2c_adp5585: adp5585@11 {
|
||||||
|
compatible = "adi,adp5585";
|
||||||
|
reg = <0x11>;
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
adp_5585_gpio0: adp5585_gpio {
|
||||||
|
compatible = "adi,adp5585-gpio";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
ngpios = <13>;
|
||||||
|
gpio-reserved-ranges = <5 3>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
test_i2c_npm6001: pmic@12 {
|
||||||
|
compatible = "nordic,npm6001";
|
||||||
|
reg = <0x12>;
|
||||||
|
|
||||||
|
npm6001_ek_gpio: gpio-controller {
|
||||||
|
compatible = "nordic,npm6001-gpio";
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
ngpios = <3>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
test_i2c_cy8c95xx: cy8c95xx@13 {
|
||||||
|
compatible = "cypress,cy8c95xx-gpio";
|
||||||
|
reg = <0x13>;
|
||||||
|
ranges;
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
cy8c95xx_port0: cy8c95xx_port@0 {
|
||||||
|
compatible = "cypress,cy8c95xx-gpio-port";
|
||||||
|
reg = <0x00>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
ngpios = <8>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
cy8c95xx_port1: cy8c95xx_port@1 {
|
||||||
|
compatible = "cypress,cy8c95xx-gpio-port";
|
||||||
|
reg = <0x01>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
ngpios = <8>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nct3807_alert_1 {
|
nct3807_alert_1 {
|
||||||
compatible = "nuvoton,nct38xx-gpio-alert";
|
compatible = "nuvoton,nct38xx-gpio-alert";
|
||||||
irq-gpios = <&test_gpio 0 0>;
|
irq-gpios = <&test_gpio 0 0>;
|
||||||
nct38xx-dev = <&test_i2c_nct3808_p1 &test_i2c_nct3808_p2>;
|
nct38xx-dev = <&test_i2c_nct3808_p1 &test_i2c_nct3808_p2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -283,6 +359,7 @@
|
||||||
&test_gpio 0 0
|
&test_gpio 0 0
|
||||||
&test_gpio 0 0
|
&test_gpio 0 0
|
||||||
&test_gpio 0 0
|
&test_gpio 0 0
|
||||||
|
&test_gpio 0 0
|
||||||
&test_gpio 0 0>;
|
&test_gpio 0 0>;
|
||||||
|
|
||||||
test_spi_mcp23s17: mcp23s17@0 {
|
test_spi_mcp23s17: mcp23s17@0 {
|
||||||
|
@ -351,6 +428,18 @@
|
||||||
ngpios = <4>;
|
ngpios = <4>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
test_spi_sn74hc595: sn74hc595@5 {
|
||||||
|
compatible = "ti,sn74hc595";
|
||||||
|
status = "okay";
|
||||||
|
spi-max-frequency = <0>;
|
||||||
|
reg = <0x05>;
|
||||||
|
|
||||||
|
gpio-controller;
|
||||||
|
reset-gpios = <&test_gpio 0 0>;
|
||||||
|
ngpios = <8>;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue