summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2021-01-18 11:54:21 +0100
committerShawn Guo <shawnguo@kernel.org>2021-01-29 16:20:42 +0800
commit7127e3b5d93d8a1ee01eab04011ab6d1fff79ee1 (patch)
tree333a5d22dc848459502010a9b6ffa0ed92398873 /arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
parentd5edcf2cbf5e28008e8f7eed63305bbfd14637cf (diff)
arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator
It's a supply for to touch and LCD. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index d7d807cd72b3..f77b51d3c132 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -82,6 +82,20 @@
enable-active-high;
};
+ reg_lcd_1v8: regulator-lcd-1v8 {
+ compatible = "regulator-fixed";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_dsien>;
+ regulator-name = "LCD_1V8";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ vin-supply = <&reg_vdd_1v8>;
+ gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ /* Otherwise i2c3 is not functional */
+ regulator-always-on;
+ };
+
reg_lcd_3v4: regulator-lcd-3v4 {
compatible = "regulator-fixed";
regulator-name = "LCD_3V4";
@@ -892,6 +906,7 @@
interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <720>;
touchscreen-size-y = <1440>;
+ vcc-supply = <&reg_lcd_1v8>;
};
};