From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Brian Masney <masneyb@onstation.org>
Cc: agross@kernel.org, david.brown@linaro.org, robh+dt@kernel.org,
mark.rutland@arm.com, linux@armlinux.org.uk,
linus.walleij@linaro.org, frank.rowand@sony.com,
miquel.raynal@bootlin.com, absahu@codeaurora.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Jonathan Marek <jonathan@marek.ca>
Subject: Re: [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support
Date: Sun, 16 Jun 2019 11:40:51 -0700 [thread overview]
Message-ID: <20190616184051.GC31088@tuxbook-pro> (raw)
In-Reply-To: <20190603010455.17060-1-masneyb@onstation.org>
On Sun 02 Jun 18:04 PDT 2019, Brian Masney wrote:
> From: Jonathan Marek <jonathan@marek.ca>
>
> Add support for the Synaptics RMI4 touchscreen that is found on the
> Nexus 5.
>
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> Signed-off-by: Brian Masney <masneyb@onstation.org>
Applied for 5.3
PS. Please use a --cover-letter when sending multiple patches.
Thanks,
Bjorn
> ---
> This is to be applied on top of the display patch series:
> https://lore.kernel.org/lkml/20190531094619.31704-1-masneyb@onstation.org/
>
> .../qcom-msm8974-lge-nexus5-hammerhead.dts | 64 +++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> index c92ea01e3918..06c33bd71620 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> @@ -280,6 +280,16 @@
> };
> };
>
> + i2c2_pins: i2c2 {
> + mux {
> + pins = "gpio6", "gpio7";
> + function = "blsp_i2c2";
> +
> + drive-strength = <2>;
> + bias-disable;
> + };
> + };
> +
> i2c3_pins: i2c3 {
> mux {
> pins = "gpio10", "gpio11";
> @@ -326,6 +336,25 @@
> bias-disable;
> };
> };
> +
> + touch_pin: touch {
> + int {
> + pins = "gpio5";
> + function = "gpio";
> +
> + drive-strength = <2>;
> + bias-disable;
> + input-enable;
> + };
> +
> + reset {
> + pins = "gpio8";
> + function = "gpio";
> +
> + drive-strength = <2>;
> + bias-pull-up;
> + };
> + };
> };
>
> sdhci@f9824900 {
> @@ -468,6 +497,41 @@
> };
> };
>
> + i2c@f9924000 {
> + status = "ok";
> +
> + clock-frequency = <355000>;
> + qcom,src-freq = <50000000>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c2_pins>;
> +
> + synaptics@70 {
> + compatible = "syna,rmi4-i2c";
> + reg = <0x70>;
> +
> + interrupts-extended = <&msmgpio 5 IRQ_TYPE_EDGE_FALLING>;
> + vdd-supply = <&pm8941_l22>;
> + vio-supply = <&pm8941_lvs3>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&touch_pin>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + rmi4-f01@1 {
> + reg = <0x1>;
> + syna,nosleep-mode = <1>;
> + };
> +
> + rmi4-f12@12 {
> + reg = <0x12>;
> + syna,sensor-type = <1>;
> + };
> + };
> + };
> +
> i2c@f9925000 {
> status = "ok";
> pinctrl-names = "default";
> --
> 2.20.1
>
prev parent reply other threads:[~2019-06-16 18:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-03 1:04 [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support Brian Masney
2019-06-03 1:04 ` [PATCH 2/2] ARM: qcom_defconfig: add support for USB networking Brian Masney
2019-06-07 21:10 ` [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support Linus Walleij
2019-06-16 18:40 ` Bjorn Andersson [this message]
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=20190616184051.GC31088@tuxbook-pro \
--to=bjorn.andersson@linaro.org \
--cc=absahu@codeaurora.org \
--cc=agross@kernel.org \
--cc=david.brown@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=frank.rowand@sony.com \
--cc=jonathan@marek.ca \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=masneyb@onstation.org \
--cc=miquel.raynal@bootlin.com \
--cc=robh+dt@kernel.org \
/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).