arm64: dts: qcom: msm8916-alcatel-idol347: enable touchscreen
PATCH 1/1 arm64: dts: qcom: msm8916-alcatel-idol347: enable touchscreen
Enable the MStar msg2638 touchscreen.
Signed-off-by Vincent Knecht <[email protected]>
--- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+)
arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts +26 -0
@@ -45,6 +45,24 @@ &blsp1_uart2 { status = "okay"; }; +&blsp_i2c4 { + status = "okay"; + + touchscreen@26 { + compatible = "mstar,msg2638"; + reg = <0x26>; + interrupt-parent = <&msmgpio>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_reset_default>; + vdd-supply = <&pm8916_l17>; + vddio-supply = <&pm8916_l5>; + touchscreen-size-x = <2048>; + touchscreen-size-y = <2048>; + }; +}; + &blsp_i2c5 { status = "okay";
@@ -281,6 +299,14 @@ proximity_int_default: proximity-int-default { bias-pull-up; }; + ts_int_reset_default: ts-int-reset-default { + pins = "gpio13", "gpio100"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + usb_id_default: usb-id-default { pins = "gpio69"; function = "gpio";
Signature · 1 line
2.31.1
Quoted 3 lines · Vincent Knecht
Enable the MStar msg2638 touchscreen.
Signed-off-by Vincent Knecht <[email protected]>
Reviewed-by Stephan Gerhold <[email protected]>
Thanks!
Stephan
Quoted 53 lines
--- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+)arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts +26
-0@@ -45,6 +45,24 @@ &blsp1_uart2 { status = "okay"; }; +&blsp_i2c4 { + status = "okay"; + + touchscreen@26 { + compatible = "mstar,msg2638"; + reg = <0x26>; + interrupt-parent = <&msmgpio>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&msmgpio 100 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ts_int_reset_default>; + vdd-supply = <&pm8916_l17>; + vddio-supply = <&pm8916_l5>; + touchscreen-size-x = <2048>; + touchscreen-size-y = <2048>; + }; +}; + &blsp_i2c5 { status = "okay";@@ -281,6 +299,14 @@ proximity_int_default: proximity-int-default { bias-pull-up; }; + ts_int_reset_default: ts-int-reset-default { + pins = "gpio13", "gpio100"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + }; + usb_id_default: usb-id-default { pins = "gpio69"; function = "gpio";Signature · 1 line
2.31.1
This patch was applied to qcom/linux.git (refs/heads/for-next):
Hello:
This patch was applied to qcom/linux.git (refs/heads/for-next):
Quoted 6 lines · On Fri, 28 May 2021 13:43:45 +0200 you wrote:
Enable the MStar msg2638 touchscreen.
Signed-off-by Vincent Knecht <[email protected]>--- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+)
Here is the summary with links:
- [v1] arm64: dts: qcom: msm8916-alcatel-idol347: enable touchscreen
https://git.kernel.org/qcom/c/15c5a08c8427
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html