arm64: dts: qcom: msm8916-samsung-rossa: Move touchscreen to common device tree
PATCH 1/1 arm64: dts: qcom: msm8916-samsung-rossa: Move touchscreen to common device tree
Every Core Prime uses an Imagis IST3038 touchscreen that is connected to &blsp_i2c5. Move it to the common device tree.
Signed-off-by Raymond Hackley <[email protected]>
--- .../qcom/msm8916-samsung-rossa-common.dtsi | 22 ++++++++++++++++++- .../boot/dts/qcom/msm8916-samsung-rossa.dts | 20 ----------------- 2 files changed, 21 insertions(+), 21 deletions(-)
arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi +21 -1
@@ -5,7 +5,7 @@ /* SM5504 MUIC instead of SM5502 */ /delete-node/ &muic; -/* Touchscreen varies depending on model variant */ +/* IST3038 instead of Zinitix BT541 */ /delete-node/ &touchscreen; &blsp_i2c1 {
@@ -24,6 +24,26 @@ usb_con: connector { }; }; +&blsp_i2c5 { + touchscreen: touchscreen@50 { + compatible = "imagis,ist3038"; + reg = <0x50>; + + interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + + vdd-supply = <®_vdd_tsp_a>; + vddio-supply = <&pm8916_l6>; + + pinctrl-0 = <&tsp_int_default>; + pinctrl-names = "default"; + + linux,keycodes = <KEY_APPSELECT KEY_BACK>; + }; +}; + /* On rossa backlight is controlled with MIPI DCS commands */ &clk_pwm { status = "disabled";
arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts +0 -20
@@ -16,26 +16,6 @@ &battery { constant-charge-voltage-max-microvolt = <4400000>; }; -&blsp_i2c5 { - touchscreen@50 { - compatible = "imagis,ist3038"; - reg = <0x50>; - - interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; - - touchscreen-size-x = <480>; - touchscreen-size-y = <800>; - - vdd-supply = <®_vdd_tsp_a>; - vddio-supply = <&pm8916_l6>; - - pinctrl-0 = <&tsp_int_default>; - pinctrl-names = "default"; - - linux,keycodes = <KEY_APPSELECT KEY_BACK>; - }; -}; - &mpss_mem { /* Firmware for rossa needs more space */ reg = <0x0 0x86800000 0x0 0x5800000>;
Signature · 1 line
2.47.3
Quoted 5 lines · Raymond Hackley
Every Core Prime uses an Imagis IST3038 touchscreen that is connected to
&blsp_i2c5. Move it to the common device tree.Signed-off-by Raymond Hackley <[email protected]>---
Reviewed-by Konrad Dybcio <[email protected]>
Konrad