[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2af9a47e-acc4-d2f1-8fc9-281385d18d51@linaro.org>
Date: Wed, 9 Nov 2022 17:23:22 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Mark Jackson <mpfj@...flow.co.uk>,
BenoƮt Cousson <bcousson@...libre.com>,
Tony Lindgren <tony@...mide.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor
On 09/11/2022 17:09, Mark Jackson wrote:
> The NanoBone platform supports a temperature sensor on the I2C bus.
>
> Signed-off-by: Mark Jackson <mpfj@...flow.co.uk>
> ---
> arch/arm/boot/dts/am335x-nano.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts
> index cecc2afaeff4..2be831927af6 100644
> --- a/arch/arm/boot/dts/am335x-nano.dts
> +++ b/arch/arm/boot/dts/am335x-nano.dts
> @@ -212,6 +212,11 @@ &uart5 {
> status = "okay";
> };
>
> +temperature-sensor@48 {
> + compatible = "lm75";
> + reg = <0x48>;
> +};
This should not work - you put the node in some random place.
Best regards,
Krzysztof
Powered by blists - more mailing lists