All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'
@ 2022-02-04  0:28 ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-02-04  0:28 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel

The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
the consumer has an argument cell. It is ignored by the code, but the
error was found with some upcoming schema validation changes. The schema
and code both agree that 0 cells is correct.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 845f25235407..eac2349a2380 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -245,7 +245,7 @@ thermal-zones {
 		cpu_thermal: cpu-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
+			thermal-sensors = <&ths>;
 
 			trips {
 				cpu_hot_trip: cpu-hot {
-- 
2.32.0


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

* [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'
@ 2022-02-04  0:28 ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-02-04  0:28 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec
  Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel

The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
the consumer has an argument cell. It is ignored by the code, but the
error was found with some upcoming schema validation changes. The schema
and code both agree that 0 cells is correct.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 845f25235407..eac2349a2380 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -245,7 +245,7 @@ thermal-zones {
 		cpu_thermal: cpu-thermal {
 			polling-delay-passive = <0>;
 			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
+			thermal-sensors = <&ths>;
 
 			trips {
 				cpu_hot_trip: cpu-hot {
-- 
2.32.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: (subset) [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'
  2022-02-04  0:28 ` Rob Herring
@ 2022-02-07  9:24   ` Maxime Ripard
  -1 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2022-02-07  9:24 UTC (permalink / raw)
  To: Maxime Ripard, Jernej Skrabec, Rob Herring, Chen-Yu Tsai
  Cc: Maxime Ripard, linux-sunxi, linux-kernel, devicetree, linux-arm-kernel

On Thu, 3 Feb 2022 18:28:01 -0600, Rob Herring wrote:
> The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
> the consumer has an argument cell. It is ignored by the code, but the
> error was found with some upcoming schema validation changes. The schema
> and code both agree that 0 cells is correct.
> 
> 

Applied to sunxi/linux.git (sunxi/dt-for-5.18).

Thanks!
Maxime

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

* Re: (subset) [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors'
@ 2022-02-07  9:24   ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2022-02-07  9:24 UTC (permalink / raw)
  To: Maxime Ripard, Jernej Skrabec, Rob Herring, Chen-Yu Tsai
  Cc: Maxime Ripard, linux-sunxi, linux-kernel, devicetree, linux-arm-kernel

On Thu, 3 Feb 2022 18:28:01 -0600, Rob Herring wrote:
> The "allwinner,sun8i-h3-ths" thermal sensor has 0 argument cells, but
> the consumer has an argument cell. It is ignored by the code, but the
> error was found with some upcoming schema validation changes. The schema
> and code both agree that 0 cells is correct.
> 
> 

Applied to sunxi/linux.git (sunxi/dt-for-5.18).

Thanks!
Maxime

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-02-07  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-04  0:28 [PATCH] ARM: dts: sun8i-h3: Drop args in 'thermal-sensors' Rob Herring
2022-02-04  0:28 ` Rob Herring
2022-02-07  9:24 ` (subset) " Maxime Ripard
2022-02-07  9:24   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.