Skip to content
Snippets Groups Projects
Unverified Commit b7578ed3 authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno
Browse files

arm64: dts: mediatek: mt8390-genio-700-evk: 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.

Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent 29f15703
No related branches found
No related tags found
No related merge requests found
......@@ -195,6 +195,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 {
......@@ -953,6 +955,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>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment