Skip to content

Commit bcec0a2

Browse files
soburihenrikbrixandersen
authored andcommitted
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 <[email protected]>
1 parent 5fe5126 commit bcec0a2

File tree

1 file changed

+90
-1
lines changed

1 file changed

+90
-1
lines changed

tests/drivers/build_all/gpio/app.overlay

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,87 @@
262262
ngpios = <8>;
263263
};
264264
};
265+
266+
test_i2c_rt1718s: rt1718s@f {
267+
compatible = "richtek,rt1718s";
268+
reg = <0xf>;
269+
irq-gpios = <&test_gpio 1 0>;
270+
271+
rt1718s_gpio_port0: rt1718s_gpio {
272+
compatible = "richtek,rt1718s-gpio-port";
273+
274+
gpio-controller;
275+
#gpio-cells = <2>;
276+
ngpios = <3>;
277+
};
278+
};
279+
280+
test_i2c_stmpe1600: stmpe1600@10 {
281+
compatible = "st,stmpe1600";
282+
reg = <0x10>;
283+
ngpios = <16>;
284+
gpio-controller;
285+
#gpio-cells = <2>;
286+
};
287+
288+
test_i2c_adp5585: adp5585@11 {
289+
compatible = "adi,adp5585";
290+
reg = <0x11>;
291+
status = "okay";
292+
293+
adp_5585_gpio0: adp5585_gpio {
294+
compatible = "adi,adp5585-gpio";
295+
gpio-controller;
296+
#gpio-cells = <2>;
297+
ngpios = <13>;
298+
gpio-reserved-ranges = <5 3>;
299+
status = "okay";
300+
};
301+
};
302+
303+
test_i2c_npm6001: pmic@12 {
304+
compatible = "nordic,npm6001";
305+
reg = <0x12>;
306+
307+
npm6001_ek_gpio: gpio-controller {
308+
compatible = "nordic,npm6001-gpio";
309+
gpio-controller;
310+
#gpio-cells = <2>;
311+
ngpios = <3>;
312+
};
313+
};
314+
315+
test_i2c_cy8c95xx: cy8c95xx@13 {
316+
compatible = "cypress,cy8c95xx-gpio";
317+
reg = <0x13>;
318+
ranges;
319+
#address-cells = <1>;
320+
#size-cells = <0>;
321+
322+
cy8c95xx_port0: cy8c95xx_port@0 {
323+
compatible = "cypress,cy8c95xx-gpio-port";
324+
reg = <0x00>;
325+
gpio-controller;
326+
#gpio-cells = <2>;
327+
ngpios = <8>;
328+
status = "okay";
329+
};
330+
331+
cy8c95xx_port1: cy8c95xx_port@1 {
332+
compatible = "cypress,cy8c95xx-gpio-port";
333+
reg = <0x01>;
334+
gpio-controller;
335+
#gpio-cells = <2>;
336+
ngpios = <8>;
337+
status = "okay";
338+
};
339+
};
340+
265341
};
266342

267343
nct3807_alert_1 {
268344
compatible = "nuvoton,nct38xx-gpio-alert";
269-
irq-gpios = <&test_gpio 0 0>;
345+
irq-gpios = <&test_gpio 0 0>;
270346
nct38xx-dev = <&test_i2c_nct3808_p1 &test_i2c_nct3808_p2>;
271347
};
272348

@@ -283,6 +359,7 @@
283359
&test_gpio 0 0
284360
&test_gpio 0 0
285361
&test_gpio 0 0
362+
&test_gpio 0 0
286363
&test_gpio 0 0>;
287364

288365
test_spi_mcp23s17: mcp23s17@0 {
@@ -351,6 +428,18 @@
351428
ngpios = <4>;
352429
};
353430
};
431+
432+
test_spi_sn74hc595: sn74hc595@5 {
433+
compatible = "ti,sn74hc595";
434+
status = "okay";
435+
spi-max-frequency = <0>;
436+
reg = <0x05>;
437+
438+
gpio-controller;
439+
reset-gpios = <&test_gpio 0 0>;
440+
ngpios = <8>;
441+
#gpio-cells = <2>;
442+
};
354443
};
355444
};
356445
};

0 commit comments

Comments
 (0)