mirror of
https://github.com/torvalds/linux.git
synced 2026-10-08 11:36:02 +02:00
arm64: dts: glymur-crd: Add reset GPIO to touchscreen node
The touchscreen module on Glymur/Mahua CRDs is different from the one
used on Hamoa CRDs and requires the reset-gpios to be wired to the device.
Without this in place the reset line will remain permanently asserted
during resume leaving the device offline and causing all I2C transactions
to fail with -ENXIO.
Error Logs:
i2c_hid_of 3-0038: failed to change power setting.
i2c_hid_of 3-0038: PM: dpm_run_callback(): i2c_hid_core_pm_resume [i2c_hid] returns -6
i2c_hid_of 3-0038: PM: failed to resume async: error -6
Add the reset GPIO so the driver can deassert the line on resume,
restoring I2C communication with the device.
Fixes: e6bf559f7e ("arm64: dts: qcom: glymur-crd: Enable keyboard, trackpad and touchscreen")
Signed-off-by: Pradyot Kumar Nayak <pradyot.nayak@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260522-arm64-dts-glymur-crd-add-reset-gpio-to-touchscreen-v1-1-c7653924acdc@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
eca50d95b6
commit
f64ef325f1
|
|
@ -640,6 +640,8 @@ touchscreen@38 {
|
||||||
vdd-supply = <&vreg_misc_3p3>;
|
vdd-supply = <&vreg_misc_3p3>;
|
||||||
vddl-supply = <&vreg_l15b_e0_1p8>;
|
vddl-supply = <&vreg_l15b_e0_1p8>;
|
||||||
|
|
||||||
|
reset-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
|
||||||
|
|
||||||
pinctrl-0 = <&ts0_default>;
|
pinctrl-0 = <&ts0_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user