Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp853652rwb; Wed, 9 Nov 2022 09:22:52 -0800 (PST) X-Google-Smtp-Source: AMsMyM5avBlaUQTSuAgC6oUlLsqA1Jfb2yTQMDo5TC/+5iFqfPZWrXaSqkYlcXDLLXxaBHOwA52H X-Received: by 2002:a05:6a00:a05:b0:563:5d36:ccd4 with SMTP id p5-20020a056a000a0500b005635d36ccd4mr61058988pfh.25.1668014572433; Wed, 09 Nov 2022 09:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668014572; cv=none; d=google.com; s=arc-20160816; b=YNA009MK1hg1xCJJZgrJsRNhA7V6eqHVvdrwh7Vkva/dyHKELjHwbpRYqvkMhz8+nW UombLE0jMLWz/dYzd2aSdrQr7It61iOByKNwoEXJQMoaJcpVALfPM/pHCrfvYOM77xGc cFbKXxbL/apyEXQRR7pQANpOd/bHQl1DoIJlFj3+4gKTt0lQ3fxqhYskDNJpPC7LUKVr fvjUfx8RFhujmDH5dy1rMqgnNviI4gdT/Mg2Clb2pqkMhVyacHBlitW6r2MZpBNTNd0w hLo4cj2UMeWFMvMrKcMSfGTlyXwY9fO2tcivNPvwJXXvPFMfTd0vJK+d0IDdx6IAKL9+ TtcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+B/DZlmnUVVmtW1rTqtwhIks9ot8Q7pdnxqrZsgcoHw=; b=cVb8bUuiyTdG5lPZ+wzxybfsIvAYtalxj6qfbnIkhyLZwwn3lvoP9ZDdBmdEnfL2Vb McjJghJ44Dns2ogRWkZf/QtlOPrVDXXd+ZCzfI7kKf7OteQeDQJJFui5yc2xHwX5/m1X qSOK+geM13ejqrVbC5Ypd8HO1y0SkHuztK7O+Yr0d+NikksA9kpeTAgsjuYIwRe/Eagc mopEkrzMtPC29B6Kbc2WftUxeSppgkNjDDv9wVekHnfQi3BqgG6cdkgpSEPdgN9MQLOA BhFXQyw4Oyv/ymr+K8S2W+h0p8vA/XI8yqK8l69omP3O68xBdQS6vl4Z2JsfRTw9uK6T 78ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=wN7RR+Ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y27-20020aa793db000000b0056e3a9809f5si15905537pff.56.2022.11.09.09.22.40; Wed, 09 Nov 2022 09:22:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=wN7RR+Ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230309AbiKIQpY (ORCPT + 93 others); Wed, 9 Nov 2022 11:45:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230240AbiKIQpX (ORCPT ); Wed, 9 Nov 2022 11:45:23 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4EC526CE for ; Wed, 9 Nov 2022 08:45:20 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id g12so26596704wrs.10 for ; Wed, 09 Nov 2022 08:45:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newflow-co-uk.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+B/DZlmnUVVmtW1rTqtwhIks9ot8Q7pdnxqrZsgcoHw=; b=wN7RR+Ipb9QwhtmXdPWwHQDEAWfqcYBImB50//FSmYOFHAYfgRAFMwqJ0byJF/EOLj tBnumsbl5i+pyUth2I9NU2rgyR3E+B3YhTB6GTs3a6nMk307dJIUxZ4XsigPtJ/Vbta1 2DhO90nhM11+XF547CbVb9tGH/s7zNpdyZhacb35Bzz5SNVNXaYKOzETCkw3RRjfvu2z RWW241F3mSJlcteho07WTdPZEy1tggmcT7G+fUg/8YKLQ/Dsyl8+ltX0sSlcl5wk91Z0 TQiy6N6xL3aaewDQt6In9kTB6s7ql89F3ZYkrgba5HBXTdVAhQuqq5eEFWUpuUJYq21P k9QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+B/DZlmnUVVmtW1rTqtwhIks9ot8Q7pdnxqrZsgcoHw=; b=7AH5JzQ9X22qrQdIAvZZicoSk2fOfLBvlF+IUzWe3QON3iVA1p0zMT4WB9cq1eZsEm veccvv93qDGapx8s10bC1CCq8m3dYj0g6TMIWPQHVdiL3cbgqrf6/EY7gttSzGu45i++ JjCcEfqEGkYOzu7Cg26TTV1cqnWnBm0oqx6zIDWy7lCifH7V3l9xXWjgVn12zk3y/BIa iS80xTNvUKKDc+Rylgdgrci+QgvMf3gLAB5FhTtPG+gwLgoiowaytIxv9IZONZC7BKEx z+2rpxWCPd+3jyligoHj8UdeyQ5vp97rEMIqXEMzmd3ogP4b+aaNiq2KDeznZPvphHbt cazA== X-Gm-Message-State: ACrzQf0otpdoL5ctzm4vN2249toQ9L4HEgqVMbQLh/8iFB+ud+qxFB4n e+4L+L+0ye7ALsFwxveP+tmNyjL6VQEyZo0iLb6Sjg== X-Received: by 2002:a05:6000:1c1a:b0:236:8321:d875 with SMTP id ba26-20020a0560001c1a00b002368321d875mr39225435wrb.45.1668012319491; Wed, 09 Nov 2022 08:45:19 -0800 (PST) MIME-Version: 1.0 References: <20221109160904.183147-1-mpfj@newflow.co.uk> <20221109160904.183147-4-mpfj@newflow.co.uk> <2af9a47e-acc4-d2f1-8fc9-281385d18d51@linaro.org> In-Reply-To: <2af9a47e-acc4-d2f1-8fc9-281385d18d51@linaro.org> From: Mark Jackson Date: Wed, 9 Nov 2022 16:45:08 +0000 Message-ID: Subject: Re: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor To: Krzysztof Kozlowski Cc: =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Nov 2022 at 16:23, Krzysztof Kozlowski wrote: > > 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 > > --- > > 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. Ah yes, that should be within the I2C block. I'll fix that. Cheers Mark J.