linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan Gerhold <stephan@gerhold.net>
To: Vincent Knecht <vincent.knecht@mailoo.org>
Cc: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v1] arm64: dts: qcom: msm8916-alcatel-idol347: enable touchscreen
Date: Fri, 28 May 2021 13:57:02 +0200	[thread overview]
Message-ID: <YLDajqW826vi/edi@gerhold.net> (raw)
In-Reply-To: <20210528114345.543761-1-vincent.knecht@mailoo.org>

On Fri, May 28, 2021 at 01:43:45PM +0200, Vincent Knecht wrote:
> Enable the MStar msg2638 touchscreen.
> 
> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>

Thanks!
Stephan

> ---
>  .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> index 540b1fa4b260..670bd1bebd73 100644
> --- a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> +++ b/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts
> @@ -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";
> -- 
> 2.31.1
> 
> 
> 

  reply	other threads:[~2021-05-28 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 11:43 [PATCH v1] arm64: dts: qcom: msm8916-alcatel-idol347: enable touchscreen Vincent Knecht
2021-05-28 11:57 ` Stephan Gerhold [this message]
2021-05-31 21:50 ` patchwork-bot+linux-arm-msm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YLDajqW826vi/edi@gerhold.net \
    --to=stephan@gerhold.net \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=vincent.knecht@mailoo.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).