mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt
@ 2023-07-20 11:53 Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 2/6] arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply Krzysztof Kozlowski
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, stable

Interrupts extended already define a parent interrupt controller:

  msm8953-xiaomi-vince.dtb: touchscreen@20: Unevaluated properties are not allowed ('interrupts-parent' was unexpected)

Fixes: aa17e707e04a ("arm64: dts: qcom: msm8953: Add device tree for Xiaomi Redmi 5 Plus")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts
index 0956c866d6cb..1a1d3f92a511 100644
--- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts
+++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts
@@ -132,7 +132,6 @@ &i2c_3 {
 	touchscreen@20 {
 		reg = <0x20>;
 		compatible = "syna,rmi4-i2c";
-		interrupts-parent = <&tlmm>;
 		interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_FALLING>;
 
 		#address-cells = <1>;
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 2/6] arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
@ 2023-07-20 11:53 ` Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 3/6] arm64: dts: qcom: msm8996-sagit: drop unsupported syna,codes Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

According to bindings and Linux driver, there is no VDDA but VIO supply.

Fixes: 4ac46b3682c5 ("arm64: dts: qcom: msm8996: xiaomi-gemini: Add support for Xiaomi Mi 5")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
index bdedcf9dff03..d1066edaea47 100644
--- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
+++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
@@ -82,7 +82,7 @@ synaptics@20 {
 		#size-cells = <0>;
 		interrupt-parent = <&tlmm>;
 		interrupts = <125 IRQ_TYPE_LEVEL_LOW>;
-		vdda-supply = <&vreg_l6a_1p8>;
+		vio-supply = <&vreg_l6a_1p8>;
 		vdd-supply = <&vdd_3v2_tp>;
 		reset-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 3/6] arm64: dts: qcom: msm8996-sagit: drop unsupported syna,codes
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 2/6] arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply Krzysztof Kozlowski
@ 2023-07-20 11:53 ` Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 4/6] ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Synaptics RMI4 Touchscreen bindings never defined syna,codes property
for function 1a.  No usage in Linux drivers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts b/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts
index 2444b87fddf7..437b30cc8bdc 100644
--- a/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts
+++ b/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts
@@ -213,7 +213,6 @@ rmi4-f12@12 {
 
 		rmi4-f1a@1a {
 			reg = <0x1a>;
-			syna,codes = <KEY_BACK KEY_APPSELECT>;
 		};
 	};
 };
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 4/6] ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 2/6] arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 3/6] arm64: dts: qcom: msm8996-sagit: drop unsupported syna,codes Krzysztof Kozlowski
@ 2023-07-20 11:53 ` Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 5/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, stable

There is no syna,f11-flip-x property, so assume intention was to use
touchscreen-inverted-x.

Fixes: ab80661883de ("ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
index 154639d56f35..c41e25367bc9 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
@@ -132,8 +132,8 @@ rmi-f01@1 {
 
 		rmi-f11@11 {
 			reg = <0x11>;
-			syna,f11-flip-x = <1>;
 			syna,sensor-type = <1>;
+			touchscreen-inverted-x;
 		};
 	};
 };
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 5/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2023-07-20 11:53 ` [PATCH 4/6] ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen Krzysztof Kozlowski
@ 2023-07-20 11:53 ` Krzysztof Kozlowski
  2023-07-20 11:53 ` [PATCH 6/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, stable

The node names for functions of Synaptics RMI4 touchscreen must be as
"rmi4-fXX", as required by bindings and Linux driver.

  qcom-msm8974pro-sony-xperia-shinano-castor.dtb: synaptics@2c: Unevaluated properties are not allowed ('rmi-f01@1', 'rmi-f11@11' were unexpected)

Fixes: ab80661883de ("ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
index c41e25367bc9..726ed67415e1 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
@@ -125,12 +125,12 @@ synaptics@2c {
 
 		syna,startup-delay-ms = <100>;
 
-		rmi-f01@1 {
+		rmi4-f01@1 {
 			reg = <0x1>;
 			syna,nosleep = <1>;
 		};
 
-		rmi-f11@11 {
+		rmi4-f11@11 {
 			reg = <0x11>;
 			syna,sensor-type = <1>;
 			touchscreen-inverted-x;
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 6/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2023-07-20 11:53 ` [PATCH 5/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names Krzysztof Kozlowski
@ 2023-07-20 11:53 ` Krzysztof Kozlowski
  2023-07-20 11:59 ` [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Konrad Dybcio
  2023-07-22  5:17 ` (subset) " Bjorn Andersson
  6 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-20 11:53 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski, stable

There is no syna,nosleep property in Synaptics RMI4 touchscreen:

  qcom-msm8974pro-sony-xperia-shinano-castor.dtb: synaptics@2c: rmi4-f01@1: 'syna,nosleep' does not match any of the regexes: 'pinctrl-[0-9]+'

Fixes: ab80661883de ("ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
index 726ed67415e1..11468d1409f7 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-castor.dts
@@ -127,7 +127,7 @@ synaptics@2c {
 
 		rmi4-f01@1 {
 			reg = <0x1>;
-			syna,nosleep = <1>;
+			syna,nosleep-mode = <1>;
 		};
 
 		rmi4-f11@11 {
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2023-07-20 11:53 ` [PATCH 6/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode Krzysztof Kozlowski
@ 2023-07-20 11:59 ` Konrad Dybcio
  2023-07-22  5:17 ` (subset) " Bjorn Andersson
  6 siblings, 0 replies; 8+ messages in thread
From: Konrad Dybcio @ 2023-07-20 11:59 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Gianluca Boiano,
	Eugene Lepshy, Luca Weiss, Yassine Oudjana,
	Raffaele Tranquillini, linux-arm-msm, devicetree, linux-kernel
  Cc: stable

On 20.07.2023 13:53, Krzysztof Kozlowski wrote:
> Interrupts extended already define a parent interrupt controller:
> 
>   msm8953-xiaomi-vince.dtb: touchscreen@20: Unevaluated properties are not allowed ('interrupts-parent' was unexpected)
> 
> Fixes: aa17e707e04a ("arm64: dts: qcom: msm8953: Add device tree for Xiaomi Redmi 5 Plus")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt
  2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2023-07-20 11:59 ` [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Konrad Dybcio
@ 2023-07-22  5:17 ` Bjorn Andersson
  6 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2023-07-22  5:17 UTC (permalink / raw)
  To: Andy Gross, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Gianluca Boiano, Eugene Lepshy, Luca Weiss,
	Yassine Oudjana, Raffaele Tranquillini, linux-arm-msm,
	devicetree, linux-kernel, Krzysztof Kozlowski
  Cc: stable


On Thu, 20 Jul 2023 13:53:30 +0200, Krzysztof Kozlowski wrote:
> Interrupts extended already define a parent interrupt controller:
> 
>   msm8953-xiaomi-vince.dtb: touchscreen@20: Unevaluated properties are not allowed ('interrupts-parent' was unexpected)
> 
> 

Applied, thanks!

[4/6] ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen
      commit: 43db69268149049540b1d2bbe8a69e59d5cb43b6
[5/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names
      commit: 31fba16c19c45b2b3a7c23b0bfef80aed1b29050
[6/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode
      commit: 7c74379afdfee7b13f1cd8ff1ad6e0f986aec96c

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-22  5:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-20 11:53 [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Krzysztof Kozlowski
2023-07-20 11:53 ` [PATCH 2/6] arm64: dts: qcom: msm8996-gemini: fix touchscreen VIO supply Krzysztof Kozlowski
2023-07-20 11:53 ` [PATCH 3/6] arm64: dts: qcom: msm8996-sagit: drop unsupported syna,codes Krzysztof Kozlowski
2023-07-20 11:53 ` [PATCH 4/6] ARM: dts: qcom: msm8974pro-castor: correct inverted X of touchscreen Krzysztof Kozlowski
2023-07-20 11:53 ` [PATCH 5/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen function names Krzysztof Kozlowski
2023-07-20 11:53 ` [PATCH 6/6] ARM: dts: qcom: msm8974pro-castor: correct touchscreen syna,nosleep-mode Krzysztof Kozlowski
2023-07-20 11:59 ` [PATCH 1/6] arm64: dts: qcom: msm8953-vince: drop duplicated touschreen parent interrupt Konrad Dybcio
2023-07-22  5:17 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®