From patchwork Wed Feb 21 09:39:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13565227 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 27E30C48BC3 for ; Wed, 21 Feb 2024 09:42:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4Bw6o4nib50YNG12+QIE+7uQ9/IRx+cQLe5bPrTb8Cw=; b=4clKhFBCpysk1j g7r3yqJ6vqbv4W/zB6zkYG9XGFmTeD5G6MXw808cON5tuMBVfxyUjErpBcyLwPP+3doywAsEWco1m PBTXlh13HAg3406IrjCqs5OIOMGLe31JR7Bo5+XNC+qU2/Ak0nVZ71/pjazPgy4utOlVqeLYl+nQk Tx3z5wTsXYf0hKe6qBGEjIoM3pligD2lmpRijZdwX/z2SLe+PjfPFKB8TLaoAxhtMxitlcW9VT1MB YJXRHGuJzKjFEiNllcwC2Ir79Z0kEvp03gJp9gRrGMOPyYdE6Z61zbIuuufuHcXqSPkkcG7yuOgAt AZO3MTvEIRGKmROT181g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcj7I-00000000JDq-19yQ; Wed, 21 Feb 2024 09:42:16 +0000 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcj6u-00000000J0m-3U7l for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 09:41:54 +0000 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3bbc649c275so211987b6e.0 for ; Wed, 21 Feb 2024 01:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708508511; x=1709113311; 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=oeRB8Ae3MB3D0N5Amo8nBZXsnfNgL0uq7S0EnYN/MPk=; b=mukq/b0XJGdUScv2mZAFtFeghjSo9VJvitNnx367V0U04YL/iIbDvgcaMUaMZGvHSG MKmAsE3Re5nrZtshnFXZ04HHmOtSlgHBPdwJ49NL8DOO0AxRmifJ5LevW48fEbvex3eX HzQ+wctS6wTHzgs/foteFfA26jserdBvfQL4h4aovnY1c91dSQl7hEgY8VeaLsyPukXp bJIR8p3+zD+WUh5tNL2ohsXR0yMW5gTkMzN/BqNs1zdsnUzl/wvYFZyCcJDkRl8VDHsm +2JBoz1KC1aEYMg1ufbiw/ui1KbLUoXhTErn9sSTSwSVa9FFW0EuP+013XLjDP5sQ1ui p1Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708508511; x=1709113311; 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=oeRB8Ae3MB3D0N5Amo8nBZXsnfNgL0uq7S0EnYN/MPk=; b=FBGkSTOQHxLgvfWSgcfqSblGmM4jcZhtKWi6mKQYfXKi5Liz5759sJQtMTS9z6sqVq AsrkvhaGjPB5l9OighisouVdiS2spJrhf6RQMk/pJOz1XiVjSDt7/DfNeUcCcASPpUrV OTrW7rabbS0jf8im30DpFoz349ml1odVCIyf1XqjygBGrhjPUrE0BP+QUgPos6F6EoHy QuxRjSM7B2BXU5FpOQcPJt7QGT/VpnjwXGxjREfQ3Aas6eOSWFrMDy3ZejfsN3p7Zu9Z OjQ4vF77nCYvQKCPGhEYsO1wfFxwCfnwUCisY2KmG/kWfDKTWt1mVf4ZGoDX8JkzYLdV 3/tw== X-Forwarded-Encrypted: i=1; AJvYcCUeF7f+AG6EB11DCpLRuDPh9jek23G7fEVBUDjT4eEnpewFRMxW7JVNk+GdH6plCasnfdepLuCfnZm12SOZeQwTZYyaqOPGJBZLyuenHRZW/BP9+hw= X-Gm-Message-State: AOJu0YyFTS/uvJObdubiyPBpf1pI2yzWiTzUHfHopcUcrQtoxuOaiaRF LsxdV9d020e87BTeEhBySRwKTXpX6HstRdHyBFRfI42OZhlFeLE9 X-Google-Smtp-Source: AGHT+IExxMpSW5KGc7JdiMVfUhTqkZRdgnXU7hINm16MFTbij3Pmc6wBGllC0RqE1D9rQrP1LC1JKQ== X-Received: by 2002:a05:6808:34c:b0:3bf:fcae:17c6 with SMTP id j12-20020a056808034c00b003bffcae17c6mr16681430oie.30.1708508511591; Wed, 21 Feb 2024 01:41:51 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id lm4-20020a056a003c8400b006e488553f09sm1645026pfb.81.2024.02.21.01.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 01:41:51 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 9/9] ARM: dts: aspeed: Harma: Add ltc4286 device Date: Wed, 21 Feb 2024 17:39:24 +0800 Message-Id: <20240221093925.2393604-10-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240221093925.2393604-1-peteryin.openbmc@gmail.com> References: <20240221093925.2393604-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-20240221_014152_986217_D561C78B X-CRM114-Status: GOOD ( 10.03 ) 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 ltc4286 device. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 7 +++++++ 1 file changed, 7 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 d5c5c5b3ab4b..bbbab8023cd6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -271,6 +271,13 @@ tmp75@49 { compatible = "ti,tmp75"; reg = <0x49>; }; + + power-monitor@22 { + compatible = "lltc,ltc4286"; + reg = <0x22>; + adi,vrange-low-enable; + shunt-resistor-micro-ohms = <500>; + }; }; &i2c5 {