From nobody Thu Apr 2 20:23:50 2026 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA8673612F8 for ; Mon, 23 Feb 2026 11:17:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771845476; cv=none; b=drR38mI6KDfQ4fGhIRwdaoTEo8kQ4tcXJah4TTU7q953Gm7XrykHPXTRpTMpE/QLeh2EvbqXWa5yER38SQ2I7TpXmRQX4USsLHPTcKZMZIKppvv8rqoaRrAWWkBTUdLYb432msTs3mf7JL6kG12MlYBlSD1dWJdqjEY7bBOsIX8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771845476; c=relaxed/simple; bh=ixqQRGuzXvJ/yWnzkJIxe9zfdUzHdt5VjvjnntBpEuc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MRzXlV3SWFoWKl2lWi8TolQtl4yE0uPI/6NwAFP04Mfn3d1LU9nqUM4O3Oh2ed/Z6gtEUqtex1xjv6KWQhCH1xHOBs+JEd6+8nQ/sHNEQSaoA90LeefOpZcckv2H8UY6jIGr7sofhz7wJFsOUwQCsECGgorIsIN8cY27nBe36MM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=LuzG3p6D; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LuzG3p6D" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-c6e23cb81f4so1568221a12.2 for ; Mon, 23 Feb 2026 03:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771845474; x=1772450274; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=2a5/NI1b3Xz62eOwxI7HWvsJZmIoYETpiMrjetxhsrM=; b=LuzG3p6DLlnzOEmb14bwdw9F6iHmOHPFCNZW/yB2VY92QOAXAAnv4PUi1Rb2KSyn4b TFw07RsdX66j8ZSduJk0H5MLEO5iE2r7zeEYtVdFETTBEJ3Lk/Ua21FUtXks9OdmG1OY F1Pf9usSPMe+4SXBhS6mIVIqDEHLc79AtZBb8MLnMrO+zsAenqpTysnyKsbfX1ghINmY irYh6+xRinx/hZfdnU8wknKVygQEQygzry89pdGWA/auCPFx5DKwTfF8VdpJaZy/ILYd WxebavnYro0jjThDpAgfVLGbQkFbMaWa4bFmAG7EzWkv569iFWTud09azQ2dS8PVfC7x oTdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771845474; x=1772450274; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=2a5/NI1b3Xz62eOwxI7HWvsJZmIoYETpiMrjetxhsrM=; b=Fee0YUXCMYEaD47mAuhDNL/dvfRml6JE2uUGpSETzcyen6+OR6L6+LX+LMzIQ7SG0A 3PPl81i+wSsKgxh2Q6nAgWQOQugZV8UQqJ+n3nw/9GWEPzv3/Skr6DCawmgz/+nGLwDC TDE9PJuXQPgO0D9IIzJ6vho4rAB9DKQk5OZRkFkDl/1ol3/37dB8n56i9yWkVSN5cotW 2ZuPVbDxNsDv1v5xT5CcFlu9MueUkoTJly1T1WMTT9joIglvYU5h4tXurWRrwi6OrGzn qLQ0iNspL27RuJYkS/p9DcrCHsg7Xr+oGxNEggvF/V8q0pxNP+j7xkNQdP86KtVXTojC td5A== X-Forwarded-Encrypted: i=1; AJvYcCXEqFe0r2LVaeNiyssE5btnh8K81+OBGNNVu08B+2pqb48YiGBJJ01Djm5y8OKH550FtOkgui0qL4tItxA=@vger.kernel.org X-Gm-Message-State: AOJu0YwL+4yodOnl8UqG9XFNLT6NR0cc5bvFTfkQhtNrUCsVEBj5Jt6i HZkTRdPJjIpPEo9gV1BvSRHoGp7N2J6YTPPCFizfaoAgV68kKBh280Fm X-Gm-Gg: ATEYQzyIj7VabiDCguvqm4dNOXWuKRqpJ0h9htVKLzqjIOx6c5iEOes4hB5/IfofkeN u8Q6H0/ok6eKw7Y7QXWOIlPkto4uwHSy7ifVYHYnB0W1YhJVc6+dFflo0xiGX1JKuE/gQfYEjee w0A24l+GFeGfKrHmVSuLahO8QOQPQOWkFuMNFU+9lXGBdqWSk8UGH3IfkaGzL2JyawrSt6PT3oS I7mrbiiM7oTHtqqQn9vUENwx+qfTNoWdYvisffjNAY/lhdQMIgECfkxOFpvR6K+iNDe4Cs1RrNw T/Vri52ZqYIdS1D7+4oea6jYZqIzm9r6a+VYI7UzPiP4jh8JGRox2XPeT72gALhWt3a0xHjapbK wZl+xlCXVqsBZLKYS2SYH5OOFrSmD9S/Q6FkOXS/UId2cs+qx5q2xtltZZ8E8rAhKHNvmNQchhq j6nCJjli8jQBZtZimXMBMa7Eq/gKhhLLOcSUGtkjfHvmL9jQVlFgwt9ba+ZHNta4e2okELYbh4o UcLScX8vf1TAs9tG04GRtADokBq/RdOp6XYREFPFFOVYUa1GBtQXUd6jHngNUrci/+uwPN4jfOp 94Q7P91hIDNXy5/VpvAn X-Received: by 2002:a17:902:e5cb:b0:2aa:e55b:22b9 with SMTP id d9443c01a7336-2ad7455429dmr80003975ad.41.1771845474242; Mon, 23 Feb 2026 03:17:54 -0800 (PST) Received: from 2001-b400-e3a6-b683-040b-c296-04cb-fbc3.emome-ip6.hinet.net (2001-b400-e3a6-b683-040b-c296-04cb-fbc3.emome-ip6.hinet.net. [2001:b400:e3a6:b683:40b:c296:4cb:fbc3]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ad74d36911sm71799335ad.0.2026.02.23.03.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Feb 2026 03:17:54 -0800 (PST) From: Kevin Tung Date: Mon, 23 Feb 2026 19:17:37 +0800 Subject: [PATCH v5 5/8] ARM: dts: aspeed: yosemite5: Correct power monitor shunt resistor Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260223-yv5_revise_dts-v5-5-fc913e902488@gmail.com> References: <20260223-yv5_revise_dts-v5-0-fc913e902488@gmail.com> In-Reply-To: <20260223-yv5_revise_dts-v5-0-fc913e902488@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Amithash Prasasd , Kevin Tung , Ken Chen , Leo Yang , Jackson Liu , Daniel Hsu , Kevin Tung X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771845456; l=2405; i=kevin.tung.openbmc@gmail.com; s=20250924; h=from:subject:message-id; bh=ixqQRGuzXvJ/yWnzkJIxe9zfdUzHdt5VjvjnntBpEuc=; b=rEG1ITCj4xw+8LHWUtz1K9lRGjkpb8uwC29tFg8vEbG1Nztv83RRuY/28KwaccWv+E5EDN7a5 F7DDcO4w3mXDyQTbjKx+NT2Tdcr3zsA7eLpOO8wKtZtuwQUbVucA3m2 X-Developer-Key: i=kevin.tung.openbmc@gmail.com; a=ed25519; pk=PjAss0agA0hiuLfIBlA9j/qBmJaPCDP+jmQIUB6SE7g= Correct the shunt resistor values for the power monitor devices in the Yosemite5 devicetree. The values originally defined in the DTS do not match the resistor values populated on the production board. The discrepancy was caused by using outdated pre-production hardware documentation during the initial DTS development. As a result, the power and current readings calculated by the driver were inaccurate. Update the DTS to reflect the actual resistor values present on the board so that the reported power and current measurements are correct. Signed-off-by: Kevin Tung --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts | 14 +++++++---= ---- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts b/a= rch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts index 84d3731b17f7c7c87338672bbcc859de2b89b722..524597a81365ef10cd03b67d35e= eb88a965cbe0a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite5.dts @@ -415,7 +415,7 @@ power-sensor@42 { power-monitor@43 { compatible =3D "lltc,ltc4287"; reg =3D <0x43>; - shunt-resistor-micro-ohms =3D <250>; + shunt-resistor-micro-ohms =3D <100>; }; =20 power-sensor@44 { @@ -461,25 +461,25 @@ eeprom@57 { power-monitor@58 { compatible =3D "renesas,isl28022"; reg =3D <0x58>; - shunt-resistor-micro-ohms =3D <1000>; + shunt-resistor-micro-ohms =3D <10000>; }; =20 power-monitor@59 { compatible =3D "renesas,isl28022"; reg =3D <0x59>; - shunt-resistor-micro-ohms =3D <1000>; + shunt-resistor-micro-ohms =3D <10000>; }; =20 power-monitor@5a { compatible =3D "renesas,isl28022"; reg =3D <0x5a>; - shunt-resistor-micro-ohms =3D <1000>; + shunt-resistor-micro-ohms =3D <10000>; }; =20 power-monitor@5b { compatible =3D "renesas,isl28022"; reg =3D <0x5b>; - shunt-resistor-micro-ohms =3D <1000>; + shunt-resistor-micro-ohms =3D <10000>; }; =20 psu@5c { @@ -723,13 +723,13 @@ gpio-expander@21 { power-sensor@40 { compatible =3D "ti,ina230"; reg =3D <0x40>; - shunt-resistor =3D <2000>; + shunt-resistor =3D <1000>; }; =20 power-sensor@41 { compatible =3D "ti,ina230"; reg =3D <0x41>; - shunt-resistor =3D <2000>; + shunt-resistor =3D <1000>; }; =20 power-sensor@42 { --=20 2.53.0