[PATCH v2 0/6] Device-tree improvements for Lenovo Flex/Yoga 5G laptop

From: Anton Bambura
Date: Sat Feb 03 2024 - 14:12:52 EST


This improves device-tree of Lenovo Flex/Yoga 5G laptop with these changes:
- fix GPU firmware path (make it use device-specific firmware directory);
- set names for i2c hid nodes (so it is clear which node corresponds to
which device);
- add touchscreen support;
- fix touchpad issue when it gets stuck on right or middle click;
- allow UFS regulators load/mode setting;
- move some pinctrl properties to appropriate nodes.
---
Changes in v2:
- fix the description for touchpad i2c patch;
- move touchscreen reset gpio pinctrl to appropriate node;
- add a patch splitting and moving some other pinctrl stuff, so it is in
correct nodes as well;
- change touchscreen interrupt from edge falling to active low, because
edge falling is apparently against i2c hid specification, and ACPI uses
active low as well.

---
Anton Bambura (6):
arm64: dts: qcom: sc8180x-lenovo-flex-5g: fix GPU firmware path
arm64: dts: qcom: sc8180x-lenovo-flex-5g: set names for i2c hid nodes
arm64: dts: qcom: sc8180x-lenovo-flex-5g: move pinctrl to appropriate
nodes
arm64: dts: qcom: sc8180x-lenovo-flex-5g: enable touchscreen
arm64: dts: qcom: sc8180x-lenovo-flex-5g: set touchpad i2c frequency
to 1 MHz
arm64: dts: qcom: sc8180x-lenovo-flex-5g: Allow UFS regulators
load/mode setting

.../boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 85 +++++++++++++++----
1 file changed, 68 insertions(+), 17 deletions(-)

--
2.42.0