From patchwork Tue Jun 25 12:18:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13711036 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 73601C30653 for ; Tue, 25 Jun 2024 12:22:54 +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:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=KqYUXD9E4sA62uUp/pWlX/vz9s Fd9jg9Qsc0XsQgwRxS6j27Y4rii6Rq4daPPIfM27kO2CecaDu0ER4B+WFkItSY5CAtuk+UopLK3Ds MJTbk28ezYg6C47Xt9NjP4fXYp/w5Y/NSOyq9WxQbS9DT+jDvNR3IYSeoeIiKy4e8uuSYHW1c8mbp PfKoBV2RwyUtsFqpZEaW55fbtaAOt6ghPiywnDlsue64mN3IZ3wBI3PogSAMD2au4JKXlQ/AfDer8 6RQxFhXDMa3Mq6Djg362nZu1alxgCpv5qmhAI9lDe0VbTeFGxykIYQKhlFAhM+isRjC9PQMv9VVSQ 500XHpmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5C6-00000002iWx-1QJx; Tue, 25 Jun 2024 12:22:42 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM5Aj-00000002hUm-45aS for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 12:21:21 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-7067435d376so1704127b3a.0 for ; Tue, 25 Jun 2024 05:21:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719318077; x=1719922877; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=eQUB+fyT8QJ4BjduF31p769OjvXLMPYLhTKpQ1EaR7N7MGc0/VSIylcT57aojjfPsq 8Nt3F7L3IdDGB7hTMm9l5fEDKGq0shcp52UL0VOUjDP0chkqV6Q7Av0LhfYOGndR99Q2 e54KZBse46ABAD5GSxdW2O94OlhMZvBAGGqtgMRPfEzra4mtnjBHbWpTE+jbBcjbpBDw ykRNj26tWJWRhlArDEn5aox3LDsCiNr2IAiGHRZrc0InyWbbPqUMwAjE5kuof/+2Q6h5 hhgWR9uGzi9Wjl+dC76YQ7k9kOXHZnghcvvgxt1nukzpy5rvB5fa4U5zTW0w9wCy6Huq kXOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719318077; x=1719922877; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rPpPQPrSFdxwRiFvGPyzNU87S8im5iQckUTLujqJKDw=; b=ehpbNLziEzkdFIk96c5481HaLNhq8+TbAlyvb7pQu/prctvRTzuad22MtuGjGY8Thp IA7vw+OYd96CY/qT6M501+z48KlE+2ZoTVEYD1iMby4hpqrAHEDiDZuWGTjTPdJnt/7Q xPEUOUAZOYveY6t5MkyaWHKmGZgs0QOM6N7VJi/7DIpLQj09ewBzIvmKtccoZOTJDc8k Tjh/GQPYAPzY5yLec54kdx+bDykO0N/fj7YVoan9LWlHmn1YMetVYQQY8OIcc0tjwg+k QYe/Nzf2bM8SupdfIrPIpN7fsymzib/E6jcv1weMA6B+WpY0YOqK2nbSF/7RIe0xg9Mj VyfA== X-Forwarded-Encrypted: i=1; AJvYcCVH83k2HI0oujlPvJJqKDPtmKYsa3EWRj/9vgAtrzNHsAGvM04l+2eV5VaqdbRpCJ9srrIgbwRBxDxEM1eNpkowpjeuIVYSpg1URnjVroQ0XIIlRbk= X-Gm-Message-State: AOJu0Yz98PrHsUVlhsAPl3NqwOW7B2BGzPKljpZla2dIcTvO1gq6XdYt 4uGhwUqgrYOgDKX7ZCYpxFDSbEL/EDWbLuC7Mcn4WJ1Ftu/pzfks X-Google-Smtp-Source: AGHT+IH45w9VIPw2Adgujbb05Hh7fQwfR4efuZfljK39HStJbVTuQ21UuyqEOGETLUCEErof/GhyMg== X-Received: by 2002:a05:6a21:339a:b0:1bd:199a:6347 with SMTP id adf61e73a8af0-1bd199a652bmr4424258637.5.1719318076674; Tue, 25 Jun 2024 05:21:16 -0700 (PDT) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70650e312e4sm7978146b3a.0.2024.06.25.05.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 05:21:16 -0700 (PDT) From: Yang Chen To: joel@jms.id.au, andrew@codeconstruct.com.au, patrick@stwcx.xyz, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Jerry.Lin@quantatw.com, yangchen.openbmc@gmail.com Subject: [PATCH 17/17] ARM: dts: aspeed: minerva: add ltc4287 device Date: Tue, 25 Jun 2024 20:18:35 +0800 Message-Id: <20240625121835.751013-18-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240625121835.751013-1-yangchen.openbmc@gmail.com> References: <20240625121835.751013-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_052118_109334_7B589B7E X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. 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 Enable LTC4287 device on i2c-0. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 288d4ba06b99..896e84cd03de 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -165,6 +165,12 @@ power-monitor@41 { shunt-resistor = <1000>; }; + power-monitor@44 { + compatible = "lltc,ltc4287"; + reg = <0x44>; + shunt-resistor-micro-ohms = <2000>; + }; + power-monitor@43 { compatible = "infineon,xdp710"; reg = <0x43>;