mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
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:
parent
383c2ac3a8
commit
6e10b8e47a
|
|
@ -177,6 +177,8 @@ touch0_fixed_3v3: regulator-5 {
|
|||
gpio = <&pio 119 GPIO_ACTIVE_HIGH>;
|
||||
enable-active-high;
|
||||
vin-supply = <®_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>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user