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>; }; }; From patchwork Thu Mar 31 02:24:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 12796653 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 C2214C433EF for ; Thu, 31 Mar 2022 02:26:00 +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:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dIFqnaHXky7XCqWnVWR4W9kFPnR3Wj0eEBEed2hCYAE=; b=Xp12cdnaLYhls+ dyXmbOiC/VnCb1d3oBVtPtvb4LXk1HPVPDXRekFXvwD4awsAU1cXSApQJgfRfOVLCmVQnFo7OpgLm 1kidmyzF+fS3MFaPWQ1rA/RSzTcvWPjkOrvw1b1M3ZdQ/8mjf0dnu3XqusBJTdCqbC9jQRNqh1gDI wg6MSHdae7LA7KJRbu0JhN+htQaeOxejEs/3tpWd+ZpFI8K0dUbi1Y7skUbZyisjIUZuyfnMujAq9 E2nfS7dAjtVWaSbcoJ9w2r8pARWFTdn3ht5PvmiNFexcA860foGj0kjqjpd9wgGLKaojv5wVcHKgk 7+t08dEiQuaotWQk8vSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZkUT-000INN-Ny; Thu, 31 Mar 2022 02:24:49 +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-000IMA-LS 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 5A6AF497; Wed, 30 Mar 2022 19:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1648693484; bh=5tqPMlfgjBS/krqHw0aXsQR0VZ6bcG/ODgpNFGKyDDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=buwota9WVu/vdy8W/fApI7wu1pQpnKu5DyFBY+KAwlGhj43ZxoxVo4NwIgf79hp40 y3cyKdFzaAT51+XsRQUKvCqqdeHRrBIc7bCUHFTxP82oqVYtIWYuOVs7aqwlXJy5dF SLMFOmMHxr3rFh7MUTkBO1KC7MILfZItH1KBv/Kc= 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 2/2] ARM: dts: aspeed: romed8hm3: Fix GPIOB0 name Date: Wed, 30 Mar 2022 19:24:25 -0700 Message-Id: <20220331022425.28606-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331022425.28606-1-zev@bewilderbeest.net> References: <20220331022425.28606-1-zev@bewilderbeest.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_192446_731173_5C847971 X-CRM114-Status: GOOD ( 10.49 ) 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 This GPIO was mislabeled as DDR_MEM_TEMP in the schematic; after a correction from ASRock Rack its name now reflects its actual functionality (POST_COMPLETE_N). Signed-off-by: Zev Weiss Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts index 572a43e57cac..ff4c07c69af1 100644 --- a/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts +++ b/arch/arm/boot/dts/aspeed-bmc-asrock-romed8hm3.dts @@ -198,7 +198,7 @@ &gpio { gpio-line-names = /* A */ "LOCATORLED_STATUS_N", "BMC_MAC2_INTB", "NMI_BTN_N", "BMC_NMI", "", "", "", "", - /* B */ "DDR_MEM_TEMP", "", "", "", "", "", "", "", + /* B */ "POST_COMPLETE_N", "", "", "", "", "", "", "", /* C */ "", "", "", "", "PCIE_HP_SEL_N", "PCIE_SATA_SEL_N", "LOCATORBTN", "", /* D */ "BMC_PSIN", "BMC_PSOUT", "BMC_RESETCON", "RESETCON", "", "", "", "PSU_FAN_FAIL_N",