2022-04-27 10:59:46

by Fabien Parent

[permalink] [raw]
Subject: [PATCH] arm64: dts: mediatek: mt8183-pumpkin: fix bad thermistor node name

Fix the following dtbs_check error by using the correct node name:
/home/fabo/build/linux/mt8183-pumpkin/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dtb: ntc: $nodename:0: 'ntc' does not match '^thermistor(.*)?$'
From schema: /home/fabo/devel/baylibre/linux-mainline/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml

Signed-off-by: Fabien Parent <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
index 10b2c0500219..3d6da7efe31b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
@@ -55,7 +55,7 @@ led-green {
};
};

- ntc {
+ thermistor {
compatible = "murata,ncp03wf104";
pullup-uv = <1800000>;
pullup-ohm = <390000>;
--
2.36.0


2022-04-27 11:30:15

by Mattijs Korpershoek

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mediatek: mt8183-pumpkin: fix bad thermistor node name

On Tue, Apr 26, 2022 at 18:47, Fabien Parent <[email protected]> wrote:

> Fix the following dtbs_check error by using the correct node name:
> /home/fabo/build/linux/mt8183-pumpkin/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dtb: ntc: $nodename:0: 'ntc' does not match '^thermistor(.*)?$'
> From schema: /home/fabo/devel/baylibre/linux-mainline/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
>
> Signed-off-by: Fabien Parent <[email protected]>

Reviewed-by: Mattijs Korpershoek <[email protected]>

> ---
> arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
> index 10b2c0500219..3d6da7efe31b 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts
> @@ -55,7 +55,7 @@ led-green {
> };
> };
>
> - ntc {
> + thermistor {
> compatible = "murata,ncp03wf104";
> pullup-uv = <1800000>;
> pullup-ohm = <390000>;
> --
> 2.36.0
>
>
> _______________________________________________
> Linux-mediatek mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

Subject: Re: [PATCH] arm64: dts: mediatek: mt8183-pumpkin: fix bad thermistor node name

Il 26/04/22 18:47, Fabien Parent ha scritto:
> Fix the following dtbs_check error by using the correct node name:
> /home/fabo/build/linux/mt8183-pumpkin/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dtb: ntc: $nodename:0: 'ntc' does not match '^thermistor(.*)?$'
> From schema: /home/fabo/devel/baylibre/linux-mainline/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
>
> Signed-off-by: Fabien Parent <[email protected]>
> Reviewed-by: Mattijs Korpershoek <[email protected]>

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>

2022-05-03 00:12:40

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mediatek: mt8183-pumpkin: fix bad thermistor node name



On 28/04/2022 15:50, AngeloGioacchino Del Regno wrote:
> Il 26/04/22 18:47, Fabien Parent ha scritto:
>> Fix the following dtbs_check error by using the correct node name:
>> /home/fabo/build/linux/mt8183-pumpkin/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dtb:
>> ntc: $nodename:0: 'ntc' does not match '^thermistor(.*)?$'
>>     From schema:
>> /home/fabo/devel/baylibre/linux-mainline/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml
>>
>>
>> Signed-off-by: Fabien Parent <[email protected]>
>> Reviewed-by: Mattijs Korpershoek <[email protected]>
>
> Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
>

Applied, thanks!