summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Radaelli <stefano.r@variscite.com>2026-03-31 11:21:12 +0200
committerFrank Li <Frank.Li@nxp.com>2026-05-05 14:39:14 -0400
commit67efe58b4ac7a088a0fe881fab368f93dc40046d (patch)
tree0da4a713a2a82f828a5baf6e1f159ae0ea55dbc4
parent46e2e3a1c9f65f7555e19e5651cb924c3600ad3c (diff)
downloadlinux-67efe58b4ac7a088a0fe881fab368f93dc40046d.tar.gz
linux-67efe58b4ac7a088a0fe881fab368f93dc40046d.zip
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>
-rw-r--r--arch/arm64/boot/dts/freescale/imx91-var-dart-sonata.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx91-var-dart-sonata.dts b/arch/arm64/boot/dts/freescale/imx91-var-dart-sonata.dts
index afa39dab240a..3f0fd321d95f 100644
--- a/arch/arm64/boot/dts/freescale/imx91-var-dart-sonata.dts
+++ b/arch/arm64/boot/dts/freescale/imx91-var-dart-sonata.dts
@@ -90,6 +90,13 @@
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 @@
#gpio-cells = <2>;
interrupt-parent = <&gpio1>;
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
+ vcc-supply = <&reg_rgb_sel>;
};
pca6408_2: gpio@21 {
@@ -204,6 +212,7 @@
#gpio-cells = <2>;
interrupt-parent = <&gpio1>;
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
+ vcc-supply = <&reg_rgb_sel>;
};
pca9534: gpio@22 {