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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
This commit is contained in:
AngeloGioacchino Del Regno 2025-02-20 12:09:48 +01:00
parent 383c2ac3a8
commit 6e10b8e47a
No known key found for this signature in database
GPG Key ID: 9A3604CFAD978478

View File

@ -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>;