linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP
@ 2017-06-05 20:03 Carlo Caione
  2017-06-05 21:54 ` Kevin Hilman
  0 siblings, 1 reply; 3+ messages in thread
From: Carlo Caione @ 2017-06-05 20:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Carlo Caione <carlo@endlessm.com>

Switch to use the new compatible for the SCPI sensors so that the
sensor readings are reported using the correct scale.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 436b875..3128fa5 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -200,7 +200,7 @@
 		};
 
 		scpi_sensors: sensors {
-			compatible = "arm,scpi-sensors";
+			compatible = "amlogic,meson-gxbb-scpi-sensors";
 			#thermal-sensor-cells = <1>;
 		};
 	};
-- 
2.9.3

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

* [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP
  2017-06-05 20:03 [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP Carlo Caione
@ 2017-06-05 21:54 ` Kevin Hilman
  2017-06-06  6:20   ` Carlo Caione
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2017-06-05 21:54 UTC (permalink / raw)
  To: linux-arm-kernel

Carlo Caione <carlo@caione.org> writes:

> From: Carlo Caione <carlo@endlessm.com>
>
> Switch to use the new compatible for the SCPI sensors so that the
> sensor readings are reported using the correct scale.
>
> Signed-off-by: Carlo Caione <carlo@endlessm.com>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> index 436b875..3128fa5 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> @@ -200,7 +200,7 @@
>  		};
>  
>  		scpi_sensors: sensors {
> -			compatible = "arm,scpi-sensors";
> +			compatible = "amlogic,meson-gxbb-scpi-sensors";

Shouldn't this be:

			compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";

For a safe fallback on kernels without the new compatible?

Kevin

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

* [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP
  2017-06-05 21:54 ` Kevin Hilman
@ 2017-06-06  6:20   ` Carlo Caione
  0 siblings, 0 replies; 3+ messages in thread
From: Carlo Caione @ 2017-06-06  6:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jun 5, 2017 at 11:54 PM, Kevin Hilman <khilman@baylibre.com> wrote:
> Carlo Caione <carlo@caione.org> writes:
>
>> From: Carlo Caione <carlo@endlessm.com>
>>
>> Switch to use the new compatible for the SCPI sensors so that the
>> sensor readings are reported using the correct scale.
>>
>> Signed-off-by: Carlo Caione <carlo@endlessm.com>
>> ---
>>  arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
>> index 436b875..3128fa5 100644
>> --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
>> +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
>> @@ -200,7 +200,7 @@
>>               };
>>
>>               scpi_sensors: sensors {
>> -                     compatible = "arm,scpi-sensors";
>> +                     compatible = "amlogic,meson-gxbb-scpi-sensors";
>
> Shouldn't this be:
>
>                         compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
>
> For a safe fallback on kernels without the new compatible?

Yeah, it should.

-- 
Carlo Caione

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

end of thread, other threads:[~2017-06-06  6:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-05 20:03 [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP Carlo Caione
2017-06-05 21:54 ` Kevin Hilman
2017-06-06  6:20   ` Carlo Caione

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).