mirror of
https://github.com/torvalds/linux.git
synced 2026-10-11 12:58:02 +02:00
arm64: dts: qcom: sm6115-pro1x: Add Goodix Touchscreen
The Fxtec Pro1X touchscreen uses Goodix GT9286 chip. Signed-off-by: Dang Huynh <danct12@riseup.net> Link: https://lore.kernel.org/r/20240731-qx1050-feature-expansion-v3-3-b945527fa5d2@riseup.net Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
4686161eb8
commit
e46b455e67
|
|
@ -63,6 +63,20 @@ key-volume-up {
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ts_vdd_supply: ts-vdd-supply {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "ts_vdd_supply";
|
||||||
|
gpio = <&pca9534 3 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
|
|
||||||
|
ts_vddio_supply: ts-vddio-supply {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "ts_vddio_supply";
|
||||||
|
gpio = <&pca9534 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&dispcc {
|
&dispcc {
|
||||||
|
|
@ -87,6 +101,27 @@ pca9534: gpio@21 {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&i2c2 {
|
||||||
|
status = "okay";
|
||||||
|
/* Clock frequency was not specified downstream, let's park it to 100 KHz */
|
||||||
|
clock-frequency = <100000>;
|
||||||
|
|
||||||
|
touchscreen@14 {
|
||||||
|
compatible = "goodix,gt9286";
|
||||||
|
reg = <0x14>;
|
||||||
|
|
||||||
|
interrupts-extended = <&tlmm 80 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
|
||||||
|
irq-gpios = <&tlmm 80 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
reset-gpios = <&tlmm 71 GPIO_ACTIVE_HIGH>;
|
||||||
|
AVDD28-supply = <&ts_vdd_supply>;
|
||||||
|
VDDIO-supply = <&ts_vddio_supply>;
|
||||||
|
|
||||||
|
pinctrl-0 = <&ts_int_n>, <&ts_rst_n>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&pm6125_gpios {
|
&pm6125_gpios {
|
||||||
vol_up_n: vol-up-n-state {
|
vol_up_n: vol-up-n-state {
|
||||||
pins = "gpio5";
|
pins = "gpio5";
|
||||||
|
|
@ -257,6 +292,20 @@ key_camera_n: key-camera-n-state {
|
||||||
bias-pull-up;
|
bias-pull-up;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ts_rst_n: ts-rst-n-state {
|
||||||
|
pins = "gpio71";
|
||||||
|
function = "gpio";
|
||||||
|
drive-strength = <8>;
|
||||||
|
bias-pull-up;
|
||||||
|
};
|
||||||
|
|
||||||
|
ts_int_n: ts-int-n-state {
|
||||||
|
pins = "gpio80";
|
||||||
|
function = "gpio";
|
||||||
|
drive-strength = <8>;
|
||||||
|
bias-pull-up;
|
||||||
|
};
|
||||||
|
|
||||||
hall_sensor_n: hall-sensor-n-state {
|
hall_sensor_n: hall-sensor-n-state {
|
||||||
pins = "gpio96";
|
pins = "gpio96";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user