From patchwork Wed Nov 9 16:09:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jackson X-Patchwork-Id: 17648 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp423845wru; Wed, 9 Nov 2022 08:12:32 -0800 (PST) X-Google-Smtp-Source: AMsMyM6XVlEhvT/l0azYYWi075Nc9zlhGkNLn7I9xAC/dosGxRUAKU9dplYfj/oOBl5gm38jxDrv X-Received: by 2002:aa7:dd45:0:b0:458:7474:1fbe with SMTP id o5-20020aa7dd45000000b0045874741fbemr60856540edw.334.1668010352195; Wed, 09 Nov 2022 08:12:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668010352; cv=none; d=google.com; s=arc-20160816; b=DFfBWcXG6pJx5b7TzCCVyYZEDtH0MzoR5p4UiW8zdbGKCEsvMnvs36yRUjocA0qwbS qRxW4WnQJLTkxpoLnWuaD830+qbzc09TA6QRGDDSv4BZ6SZpdPLtZmOo0wENh848JrmZ BE61Us2+aG+Ds8ac4KuLdrf2eYCxanTFik6jTkWF9vpoPalLGyPPUUaSOS5wwTfamU7r 3WqRpGtAOECQqUQqrNlwpcG9rxVZcviKF9DFQPSP0QztpZEixrRSOxktIv6qSAXOJ4bm EAlqGfST4UlHqbFa7nYASJesPgbp2srBGpVo122ZO8bD5m4f9JXu+KWe9pN8kbpLyfHg E3zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=STNpYETAtU9pxtF76NNQQpbyZS4ZxWORDg+/IakIJe7pO9IlV3g2efUeQKEwuNYflO XsLO7EfACgK8E/epbDuEZcDn8w9zyRUA0rxpbczMEFeMfzeKUGKyV7T3UCgaCryGJl3A PQKArLleJXEHumqsO9RHGRJfw4bEuqRn0HT6Fm5jt+QM9ibael2cPbbtFzPyZBfoln5s yWI6qdR7eI7EG0LmZ8dAX5vVjDkWkhXColmVCgUJGsAemzhrNLWLMesX3cTOJFAx6+Y6 xYkRBrtoN/Kf3qjn7xPD63kV54ra4QbInnIBF1gc4hk7NwMatct8sMj7Blii02FVUlek zFvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@newflow-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=DyyM7OXT; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a50c2d1000000b00459195ae973si13423719edf.414.2022.11.09.08.12.07; Wed, 09 Nov 2022 08:12:32 -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=DyyM7OXT; 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 S231620AbiKIQJk (ORCPT + 99 others); Wed, 9 Nov 2022 11:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231519AbiKIQJX (ORCPT ); Wed, 9 Nov 2022 11:09:23 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE4822B0C for ; Wed, 9 Nov 2022 08:09:22 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id bs21so26492179wrb.4 for ; Wed, 09 Nov 2022 08:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newflow-co-uk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=DyyM7OXTB4UJmJ8I8T/ovHtsqnCJLeta8aQ4cnQBcoO2caXnhXcA61FKkwxeH6xXsC OlQ/gOBB5WZh15vqFGANySRt7ypc2/Xvfa/wjxBsGWaehz01Zf1X6cTqnYnmIp5/MErU vnRjY/u/4lHFoEbeTWv0FxVToQS/BC95P0yXrTP+8Gz3NVvcbSj9DE+HnrKtg8MCWT5q KZuQvHjZDWfSwRVkco+40tYcMqozj2r6IV6CkpQYbZ4u7o9b7u445ydSsJpVPT+9S/PR NPHx0SV4zmZsxSOJwbbMptyz+WjY4F42ZlDjeyf7GnMBfshbyHo9MEPT5vLrYJvvxcYu WPBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mZWwNSEAuMfkLC1//h9rhEQdeaWkxTtOogVUcqByABI=; b=aen8uk9hZEc+99BfPRBzxzxxaIc9yavsHkU5pry4vY/9o4PzC2zh06fuYQ92esbzs4 okIjPHtp6rg751gON1+dGp7RK0dRafPJ+wjZM4JJ9wOP72c8d1rCOWOLtFplbfgDxLGP wq+45hgZOr66n98OjK1RwT214ZYFdJ5Q6GnJ5yk6F3IHHlN8gXLzzyCK49UxnjwK3rSs Xzc6v9caND1mAB6gXDZm0EQRCp/25aVgOXTbiR+NW1WwsDFR5zCS8nzAPRA0FsPKtkWl NRtTW1lQiHLV4VZdH52OuUQ4ktniINIUtJej9ck6C+ebmGuz5LQskHqpK/Lo1X5mh1G0 PQjQ== X-Gm-Message-State: ACrzQf0PP2pOWUfZJFuh6trCUkUskfimJUxH5eoJzzm6IrB5xkr6IkFz +mV1jkZmTHIu6JdCmBHWb8uyGg== X-Received: by 2002:a5d:5643:0:b0:236:699c:6cd8 with SMTP id j3-20020a5d5643000000b00236699c6cd8mr39608243wrw.435.1668010160873; Wed, 09 Nov 2022 08:09:20 -0800 (PST) Received: from mpfj-unity.. ([94.12.112.226]) by smtp.gmail.com with ESMTPSA id n4-20020a5d6604000000b002366fb99cdasm13307772wru.50.2022.11.09.08.09.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 08:09:20 -0800 (PST) From: Mark Jackson To: Mark Jackson , =?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 Subject: [PATCH 3/5] ARM: dts: nanobone: Enable I2C temperature sensor Date: Wed, 9 Nov 2022 16:09:02 +0000 Message-Id: <20221109160904.183147-4-mpfj@newflow.co.uk> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109160904.183147-1-mpfj@newflow.co.uk> References: <20221109160904.183147-1-mpfj@newflow.co.uk> MIME-Version: 1.0 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=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749035623034786590?= X-GMAIL-MSGID: =?utf-8?q?1749035623034786590?= 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>; +}; + &i2c0 { status = "okay"; pinctrl-names = "default";