Commit 7127e3b5 authored by Guido Günther's avatar Guido Günther Committed by Shawn Guo

arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator

It's a supply for to touch and LCD.
Signed-off-by: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarMartin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent d5edcf2c
......@@ -82,6 +82,20 @@ reg_hub: regulator-hub {
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 @@ touchscreen@38 {
interrupts = <27 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <720>;
touchscreen-size-y = <1440>;
vcc-supply = <&reg_lcd_1v8>;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment