* [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support
@ 2019-06-03 1:04 Brian Masney
2019-06-03 1:04 ` [PATCH 2/2] ARM: qcom_defconfig: add support for USB networking Brian Masney
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Brian Masney @ 2019-06-03 1:04 UTC (permalink / raw)
To: agross
Cc: bjorn.andersson, david.brown, robh+dt, mark.rutland, linux,
linus.walleij, frank.rowand, miquel.raynal, absahu,
linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
Jonathan Marek
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>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: qcom_defconfig: add support for USB networking
2019-06-03 1:04 [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support Brian Masney
@ 2019-06-03 1:04 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: Brian Masney @ 2019-06-03 1:04 UTC (permalink / raw)
To: agross
Cc: bjorn.andersson, david.brown, robh+dt, mark.rutland, linux,
linus.walleij, frank.rowand, miquel.raynal, absahu,
linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel
Add support for USB networking as a module to qcom_defconfig since its
a useful feature to have for development purposes.
Signed-off-by: Brian Masney <masneyb@onstation.org>
---
This is to be applied on top of the display patch series:
https://lore.kernel.org/lkml/20190531094619.31704-1-masneyb@onstation.org/
arch/arm/configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
index 4f02636f832e..f26103eae564 100644
--- a/arch/arm/configs/qcom_defconfig
+++ b/arch/arm/configs/qcom_defconfig
@@ -186,6 +186,7 @@ CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_ULPI_BUS=y
+CONFIG_USB_ETH=m
CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=32
CONFIG_MMC_ARMMMCI=y
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support
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 ` Linus Walleij
2019-06-16 18:40 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2019-06-07 21:10 UTC (permalink / raw)
To: Brian Masney
Cc: Andy Gross, Bjorn Andersson, David Brown, Rob Herring,
Mark Rutland, Russell King, frank.rowand, Miquèl Raynal,
absahu, MSM,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-kernel, Linux ARM, Jonathan Marek
On Mon, Jun 3, 2019 at 3:05 AM Brian Masney <masneyb@onstation.org> 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>
Looks good to me:
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: dts: qcom: msm8974-hammerhead: add touchscreen support
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
2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2019-06-16 18:40 UTC (permalink / raw)
To: Brian Masney
Cc: agross, david.brown, robh+dt, mark.rutland, linux, linus.walleij,
frank.rowand, miquel.raynal, absahu, linux-arm-msm, devicetree,
linux-kernel, linux-arm-kernel, Jonathan Marek
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-16 18:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).