mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
arm64: dts: imx91-var-dart-sonata: add RGB enable supply for PCA6408
RGB enable pin, labeled as RGBSEL, is a board-level enable signal on the Sonata carrier board. The two PCA6408 GPIO expanders depend on this signal being asserted, so model it as a fixed regulator and use it as their vcc-supply. Signed-off-by: Stefano Radaelli <stefano.r@variscite.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
parent
46e2e3a1c9
commit
67efe58b4a
|
|
@ -90,6 +90,13 @@ reg_vref_1v8: regulator-adc-vref {
|
|||
regulator-max-microvolt = <1800000>;
|
||||
};
|
||||
|
||||
reg_rgb_sel: regulator-rgb-enable {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "RGBSEL";
|
||||
gpio = <&pca9534 7 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
reg_usdhc2_vmmc: regulator-vmmc-usdhc2 {
|
||||
compatible = "regulator-fixed";
|
||||
pinctrl-names = "default";
|
||||
|
|
@ -195,6 +202,7 @@ pca6408_1: gpio@20 {
|
|||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <®_rgb_sel>;
|
||||
};
|
||||
|
||||
pca6408_2: gpio@21 {
|
||||
|
|
@ -204,6 +212,7 @@ pca6408_2: gpio@21 {
|
|||
#gpio-cells = <2>;
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
||||
vcc-supply = <®_rgb_sel>;
|
||||
};
|
||||
|
||||
pca9534: gpio@22 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user