From patchwork Thu Aug 1 16:01:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13750696 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EEF2C3DA4A for ; Thu, 1 Aug 2024 16:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XmQLM6kfiLLNztCoNImQmMNq24bv1cMMrdxlIFr9qpY=; b=yQ4yOh4xp7g+11WtPlw1vmOMRl I04ecZkzj1Cy7A7t767fVu/EJgMfottSlO1y6aHsXWXF0qinnmoQ0KDWltafG6boVFcrQT8V5+yS6 tF72vrX8+Oo46ORxiNFdgWrLqVyc7vX1bc0oDLs13loypeCGwYVuySIGx1Cp9xAYmPAEMy5yD3Ap7 hY2vCPpGBH1pqW0d60LiDrk9f93iX40E4c98FVOqQDLREUUiI9ATBav5FNWi1WVfLZkdEhPFvlV2F o5J6aRobsil6ov/SoQw+4jx6Gu7l80FC7Q/NGV4SYCwBnl9MUusb5ODuZRN8JQucZ6ABhviFLgdzd ZmwTjHZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYLr-00000005z60-1ojN; Thu, 01 Aug 2024 16:08:27 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZYHc-00000005xXy-1OlK for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 16:04:05 +0000 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2cd2f89825fso4928851a91.1 for ; Thu, 01 Aug 2024 09:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722528243; x=1723133043; darn=lists.infradead.org; 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=XmQLM6kfiLLNztCoNImQmMNq24bv1cMMrdxlIFr9qpY=; b=C/pPTtNZhGoLbjZBMUb4LLbjPLjtLDQzAh8bbFxfvGgMbEitCZfRX8U8Ct4YyUPPv7 QppuhqvnQcM/D9z00yVzXYJ5KzNY7UrDmH+bsaIhTdslVI1nONP8LQnyUs+mDpFhyzD+ Xr7GsPlraW/ZSHsIEuXy9KTVfrTLM8owoqB3f/3iNu3mBBu8xvRlzbU9EvwH0CXngJV0 ynIx52c1RK81HmCx/BsddOgkrbMA2x8ZkevY4BteyhuOTfrhu75i9UjBzTd6w3wAxBzt TZK9VBKG8a9NR+vh/V7v/EVE2TXzhrfL7jK1FQ7P8CAzU/ew2CrvMDw4xo/QletJaGPJ 1FYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722528243; x=1723133043; 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=XmQLM6kfiLLNztCoNImQmMNq24bv1cMMrdxlIFr9qpY=; b=hGuPmaM+mo1m9Rp6+n228EnS+OBfhUlAmPouJDBTuaXQoGTe0xtnV9KOdOwp1iuy4b P+ze8XrSXsLtkr+wmgVGBvTAiIm6PtiZsjWxegKJvf3BkpgYui7tVS2HEXWR/0+7nr00 6mvToLlDRpI4qjFWXd0S6tn7dy4lMbZ4VCseiEzK7D9fA9YJGo8jSB1OFDIPQboHM+wx D1NnF0l6f1ZfGP3JF02rthor6GOD3LilleM2nS91iFNOk4Caqq3fth9ZA945fYvOpGNC hhixy0uA3WEtTjTdN6jrkk8oXLoamTp1j2/IQ9L3XD7fBC7J1z3WNnrPQipGtbsEjkZx rK7Q== X-Forwarded-Encrypted: i=1; AJvYcCVj7cDrzMfWs07fw8b903tS8564LIPoItK7/6USo8h8bf1rY1x76gOTnfy/Nb/SSm5eAN1ZWiAVbPHPlfKb3nwuPsXXy8uwW06pb5GB8a/Q2You9Vc= X-Gm-Message-State: AOJu0YwiPmpBBCCUYLilkMzMjVmhHEnVRZK0WDp/W95FzEC7bUB1MeWO rmH2quwzuQ5ZfqOSGxj3R7T2s+O+z9ucrGHF30Aa9h0a6EPGRoZS X-Google-Smtp-Source: AGHT+IGacSfUc+jZigXDS3pnYcE+ooJgAO1Jg6x2FCMXCSrqHjkRPminlU51RhY9nQJp/KUM382d4g== X-Received: by 2002:a17:90a:fa85:b0:2cd:410a:b010 with SMTP id 98e67ed59e1d1-2cff93c59fdmr795183a91.2.1722528242665; Thu, 01 Aug 2024 09:04:02 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cfdc4cf181sm3535268a91.37.2024.08.01.09.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Aug 2024 09:04:02 -0700 (PDT) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 08/11] ARM: dts: aspeed: Harma: add temperature device Date: Fri, 2 Aug 2024 00:01:32 +0800 Message-Id: <20240801160136.1281291-9-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> References: <20240801160136.1281291-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_090404_681450_661E6772 X-CRM114-Status: GOOD ( 10.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add temperature deivce in i2c0 and i2c2 Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index f55ffe9c4d89..0455475fbcff 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -221,6 +221,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; &i2c1 { @@ -271,6 +276,11 @@ power-sensor@45 { reg = <0x45>; shunt-resistor = <1000>; }; + + temperature-sensor@4b { + compatible = "ti,tmp75"; + reg = <0x4b>; + }; }; &i2c3 {