From patchwork Thu Mar 31 02:24:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 12796654 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 AA205C433F5 for ; Thu, 31 Mar 2022 02:26:01 +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:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=AYaeFwnKnWZc5vtbx3z33dfl+kV+EpcD1clh8+oLzCA=; b=XxC4EHucpcAFML XbNadvzcMhP8I/4oFi79P9RTaX45FSjYU2dmg4jyDIKmiX+T7p0E6dNDihCr5xLMORL9nz7b6X3vU Q1I5VmIKBbe2z0drNKwYSoxiPr8KV9iZvD360qbrkk5kn+3yIEJfyQJCSTfgc4L/Wnbd3YzS56/Lu pgFd6GYf72fNRJY2IkmfC2Wa+Qq+zakAHTUQpUuIlqiZu9acyF/YGon89+U/2n3a/LIxF2oz0GzLp eo2i69Q5Q51diZse31RO07Rt0IBhaeyFA569uSJSnEbDHdv+b8g5+Z2OkhUWbVGLs5RoKJCCZfDkJ Rg2gxP7BTlM+kBXDqS3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZkUd-000IQL-MZ; Thu, 31 Mar 2022 02:24:59 +0000 Received: from thorn.bewilderbeest.net ([71.19.156.171]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZkUQ-000IMB-LE for linux-arm-kernel@lists.infradead.org; Thu, 31 Mar 2022 02:24:47 +0000 Received: from hatter.bewilderbeest.net (174-21-187-98.tukw.qwest.net [174.21.187.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 07639344; Wed, 30 Mar 2022 19:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1648693484; bh=bMcoVs3nhjHyOgmm8gLc8GpXgJBxwpp5jR+k4xMvJMI=; h=From:To:Cc:Subject:Date:From; b=eEMlKdY4XjrgYx2SZWFxeZO9Oa9S6H8XKkwks6qi+KwJwVmf46CYZP6dLPMYA4UKz uTvfoCSucWrL+KZn47iUdgbnIXYXfplCcYXHdcZgDVglqNunABuodXYHV+z+T2cA/9 ngTjohhKtvG00ajJlMAHizSihObmWpjOpmqiG4J8= From: Zev Weiss To: Joel Stanley Cc: Zev Weiss , openbmc@lists.ozlabs.org, Rob Herring , Krzysztof Kozlowski , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: aspeed: romed8hm3: Add lm25066 sense resistor values Date: Wed, 30 Mar 2022 19:24:24 -0700 Message-Id: <20220331022425.28606-1-zev@bewilderbeest.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_192446_730951_DD9CE34A X-CRM114-Status: UNSURE ( 9.33 ) 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 With this property set the sensor readings from these devices can now be calibrated properly. Signed-off-by: Zev Weiss Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts index e71ccfd1df63..572a43e57cac 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts @@ -100,12 +100,14 @@ w83773g@4c { lm25066@40 { compatible = "lm25066"; reg = <0x40>; + shunt-resistor-micro-ohms = <1000>; }; /* 12VSB PMIC */ lm25066@41 { compatible = "lm25066"; reg = <0x41>; + shunt-resistor-micro-ohms = <10000>; }; };