linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
@ 2022-10-13 19:06 Luca Weiss
  2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Luca Weiss @ 2022-10-13 19:06 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

The devicetree documentation for the nand node requires the subnode be
called nand@ and no compatible is needed.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
index 5a65cce2500c..86f895db9894 100644
--- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
+++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
@@ -264,8 +264,7 @@ &hs_phy_1 {
 &nand {
 	status = "okay";
 
-	nandcs@0 {
-		compatible = "qcom,nandcs";
+	nand@0 {
 		reg = <0>;
 
 		nand-ecc-strength = <4>;
-- 
2.38.0


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

* [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache
  2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
@ 2022-10-13 19:06 ` Luca Weiss
  2022-10-13 19:46   ` Konrad Dybcio
  2022-10-13 21:16   ` Krzysztof Kozlowski
  2022-10-13 19:06 ` [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible Luca Weiss
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 10+ messages in thread
From: Luca Weiss @ 2022-10-13 19:06 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

The compatible "qcom,arch-cache" for l2-cache does not exist, and all
other Qualcomm boards use just "cache" for it. Fix it.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi
index f2fb7c975af8..e910b1f7c9ed 100644
--- a/arch/arm/boot/dts/qcom-apq8084.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8084.dtsi
@@ -72,7 +72,7 @@ cpu@3 {
 		};
 
 		L2: l2-cache {
-			compatible = "qcom,arch-cache";
+			compatible = "cache";
 			cache-level = <2>;
 			qcom,saw = <&saw_l2>;
 		};
-- 
2.38.0


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

* [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible
  2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
  2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
@ 2022-10-13 19:06 ` Luca Weiss
  2022-10-13 19:47   ` Konrad Dybcio
  2022-10-13 21:17   ` Krzysztof Kozlowski
  2022-10-13 19:46 ` [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Konrad Dybcio
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 10+ messages in thread
From: Luca Weiss @ 2022-10-13 19:06 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

There's a typo missing the arm, prefix of arm,coresight-etb10. Fix it to
make devicetree validation happier.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index 942aa2278355..a39b940d5853 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -1615,7 +1615,7 @@ wifi {
 		};
 
 		etb@1a01000 {
-			compatible = "coresight-etb10", "arm,primecell";
+			compatible = "arm,coresight-etb10", "arm,primecell";
 			reg = <0x1a01000 0x1000>;
 
 			clocks = <&rpmcc RPM_QDSS_CLK>;
-- 
2.38.0


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

* Re: [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
  2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
  2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
  2022-10-13 19:06 ` [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible Luca Weiss
@ 2022-10-13 19:46 ` Konrad Dybcio
  2022-10-13 21:16 ` Krzysztof Kozlowski
  2022-10-18  3:05 ` (subset) " Bjorn Andersson
  4 siblings, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2022-10-13 19:46 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, devicetree,
	linux-kernel



On 13.10.2022 21:06, Luca Weiss wrote:
> The devicetree documentation for the nand node requires the subnode be
> called nand@ and no compatible is needed.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> index 5a65cce2500c..86f895db9894 100644
> --- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> +++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> @@ -264,8 +264,7 @@ &hs_phy_1 {
>  &nand {
>  	status = "okay";
>  
> -	nandcs@0 {
> -		compatible = "qcom,nandcs";
> +	nand@0 {
>  		reg = <0>;
>  
>  		nand-ecc-strength = <4>;

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

* Re: [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache
  2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
@ 2022-10-13 19:46   ` Konrad Dybcio
  2022-10-13 21:16   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2022-10-13 19:46 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, devicetree,
	linux-kernel



On 13.10.2022 21:06, Luca Weiss wrote:
> The compatible "qcom,arch-cache" for l2-cache does not exist, and all
> other Qualcomm boards use just "cache" for it. Fix it.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm/boot/dts/qcom-apq8084.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8084.dtsi b/arch/arm/boot/dts/qcom-apq8084.dtsi
> index f2fb7c975af8..e910b1f7c9ed 100644
> --- a/arch/arm/boot/dts/qcom-apq8084.dtsi
> +++ b/arch/arm/boot/dts/qcom-apq8084.dtsi
> @@ -72,7 +72,7 @@ cpu@3 {
>  		};
>  
>  		L2: l2-cache {
> -			compatible = "qcom,arch-cache";
> +			compatible = "cache";
>  			cache-level = <2>;
>  			qcom,saw = <&saw_l2>;
>  		};

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

* Re: [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible
  2022-10-13 19:06 ` [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible Luca Weiss
@ 2022-10-13 19:47   ` Konrad Dybcio
  2022-10-13 21:17   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 10+ messages in thread
From: Konrad Dybcio @ 2022-10-13 19:47 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, devicetree,
	linux-kernel



On 13.10.2022 21:06, Luca Weiss wrote:
> There's a typo missing the arm, prefix of arm,coresight-etb10. Fix it to
> make devicetree validation happier.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
>  arch/arm/boot/dts/qcom-apq8064.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
> index 942aa2278355..a39b940d5853 100644
> --- a/arch/arm/boot/dts/qcom-apq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
> @@ -1615,7 +1615,7 @@ wifi {
>  		};
>  
>  		etb@1a01000 {
> -			compatible = "coresight-etb10", "arm,primecell";
> +			compatible = "arm,coresight-etb10", "arm,primecell";
>  			reg = <0x1a01000 0x1000>;
>  
>  			clocks = <&rpmcc RPM_QDSS_CLK>;

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

* Re: [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
  2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
                   ` (2 preceding siblings ...)
  2022-10-13 19:46 ` [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Konrad Dybcio
@ 2022-10-13 21:16 ` Krzysztof Kozlowski
  2022-10-18  3:05 ` (subset) " Bjorn Andersson
  4 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-13 21:16 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

On 13/10/2022 15:06, Luca Weiss wrote:
> The devicetree documentation for the nand node requires the subnode be
> called nand@ and no compatible is needed.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 3 +--


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache
  2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
  2022-10-13 19:46   ` Konrad Dybcio
@ 2022-10-13 21:16   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-13 21:16 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

On 13/10/2022 15:06, Luca Weiss wrote:
> The compatible "qcom,arch-cache" for l2-cache does not exist, and all
> other Qualcomm boards use just "cache" for it. Fix it.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible
  2022-10-13 19:06 ` [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible Luca Weiss
  2022-10-13 19:47   ` Konrad Dybcio
@ 2022-10-13 21:17   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-13 21:17 UTC (permalink / raw)
  To: Luca Weiss, linux-arm-msm
  Cc: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	devicetree, linux-kernel

On 13/10/2022 15:06, Luca Weiss wrote:
> There's a typo missing the arm, prefix of arm,coresight-etb10. Fix it to
> make devicetree validation happier.
> 

Fixes: 7a5c275fd821 ("ARM: dts: qcom: Add apq8064 CoreSight components")

> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>

With fixes tag:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof


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

* Re: (subset) [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
  2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
                   ` (3 preceding siblings ...)
  2022-10-13 21:16 ` Krzysztof Kozlowski
@ 2022-10-18  3:05 ` Bjorn Andersson
  4 siblings, 0 replies; 10+ messages in thread
From: Bjorn Andersson @ 2022-10-18  3:05 UTC (permalink / raw)
  To: luca, linux-arm-msm
  Cc: phone-devel, devicetree, linux-kernel, robh+dt, agross,
	Krzysztof Kozlowski, ~postmarketos/upstreaming, Konrad Dybcio

On Thu, 13 Oct 2022 21:06:55 +0200, Luca Weiss wrote:
> The devicetree documentation for the nand node requires the subnode be
> called nand@ and no compatible is needed.
> 
> 

Applied, thanks!

[1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation
      commit: 6f917ec31d3eb0f2c657f36d299d39bd8d051e03
[2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache
      commit: 891bcfe02470c79489987d643ba0010c0b16f896
[3/3] ARM: dts: qcom: apq8064: fix coresight compatible
      commit: a42b1ee868361f1cb0492f1bdaefb43e0751e468

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

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

end of thread, other threads:[~2022-10-18  3:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-13 19:06 [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Luca Weiss
2022-10-13 19:06 ` [PATCH 2/3] ARM: dts: qcom: apq8084: fix compatible for l2-cache Luca Weiss
2022-10-13 19:46   ` Konrad Dybcio
2022-10-13 21:16   ` Krzysztof Kozlowski
2022-10-13 19:06 ` [PATCH 3/3] ARM: dts: qcom: apq8064: fix coresight compatible Luca Weiss
2022-10-13 19:47   ` Konrad Dybcio
2022-10-13 21:17   ` Krzysztof Kozlowski
2022-10-13 19:46 ` [PATCH 1/3] ARM: dts: qcom: ipq8064-rb3011: fix nand node validation Konrad Dybcio
2022-10-13 21:16 ` Krzysztof Kozlowski
2022-10-18  3:05 ` (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;
as well as URLs for NNTP newsgroup(s).