Re: [PATCH] ARM64: dts: meson-gx: Fix sensors reporting from SCP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Jun 5, 2017 at 11:54 PM, Kevin Hilman <khilman@xxxxxxxxxxxx> wrote:
> Carlo Caione <carlo@xxxxxxxxxx> writes:
>
>> From: Carlo Caione <carlo@xxxxxxxxxxxx>
>>
>> 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@xxxxxxxxxxxx>
>> ---
>>  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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux