Unverified Commit 6e10b8e4 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno
Browse files

arm64: dts: mediatek: mt8390-genio-common: Configure touch vreg pins

Add a pinctrl configuration for the Touchscreen IC's power line
to make sure that the pin is configured as GPIO and to stop
relying on correct pin configuration from bootloader.

Link: https://lore.kernel.org/r/20250220110948.45596-5-angelogioacchino.delregno@collabora.com


Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent 383c2ac3
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -177,6 +177,8 @@ touch0_fixed_3v3: regulator-5 {
		gpio = <&pio 119 GPIO_ACTIVE_HIGH>;
		enable-active-high;
		vin-supply = <&reg_vsys>;
		pinctrl-names = "default";
		pinctrl-0 = <&touch_vreg_pins>;
	};

	usb_hub_fixed_3v3: regulator-6 {
@@ -912,6 +914,13 @@ pins-spi {
		};
	};

	touch_vreg_pins: touch-avdd-pins {
		pins-power {
			pinmux = <PINMUX_GPIO120__FUNC_B_GPIO120>;
			output-high;
		};
	};

	touch_pins: touch-pins {
		pins-irq {
			pinmux = <PINMUX_GPIO6__FUNC_B_GPIO6>;