mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
arm64: dts: qcom: sm6375-pdx225: add fixed touchscreen AVDD regulator
The Samsung S6SY761 touchscreen bindings expect AVDD regulator which is missing in the Sony Xperia PDX225 DTS. There is however pinctrl setting for in the touchscreen device node with similar name: "avdd", so assume author wanted to control a fixed regulator with a GPIO. This fixes dtbs_check warning: sm6375-sony-xperia-murray-pdx225.dtb: touchscreen@48: 'avdd-supply' is a required property Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231111164229.63803-6-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
67e4656f44
commit
0d10ac7d2d
|
|
@ -80,6 +80,15 @@ ramoops@ffc40000 {
|
|||
};
|
||||
};
|
||||
|
||||
touch_avdd: touch-avdd-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "touch_avdd";
|
||||
gpio = <&tlmm 59 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ts_avdd_default>;
|
||||
enable-active-high;
|
||||
};
|
||||
|
||||
vph_pwr: vph-pwr-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vph_pwr";
|
||||
|
|
@ -136,9 +145,10 @@ touchscreen@48 {
|
|||
interrupts = <22 0x2008>;
|
||||
|
||||
vdd-supply = <&pm6125_l13>;
|
||||
avdd-supply = <&touch_avdd>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ts_int_default &ts_avdd_default>;
|
||||
pinctrl-0 = <&ts_int_default>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -417,7 +427,7 @@ ts_avdd_default: ts-avdd-default-state {
|
|||
pins = "gpio59";
|
||||
function = "gpio";
|
||||
drive-strength = <8>;
|
||||
output-high;
|
||||
output-low;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user