tests: drivers: Add PS8xxx driver

Add a build test to verify the parade,ps8xxx driver builds correctly.

Signed-off-by: Keith Short <keithshort@google.com>
This commit is contained in:
Keith Short 2024-12-18 13:35:58 -07:00 committed by Johan Hedberg
parent 5eacb2a24f
commit af1fbf8199
2 changed files with 7 additions and 0 deletions

View file

@ -30,6 +30,12 @@
charging-mode = "BC12_TYPE_NONE";
intb-gpios = <&test_gpio 0 0>;
};
test_i2c_p8xxx: p8xxx@1 {
compatible = "parade,ps8xxx";
reg = <1>;
irq-gpios = <&test_gpio 0 0>;
};
};
};
};

View file

@ -3,3 +3,4 @@ CONFIG_TEST_USERSPACE=y
CONFIG_USB_BC12=y
CONFIG_UHC_DRIVER=y
CONFIG_GPIO=y
CONFIG_USBC_TCPC_DRIVER=y