From nobody Tue Feb 10 10:55:06 2026 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.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 EEE19353EC4 for ; Fri, 30 Jan 2026 08:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769761232; cv=none; b=RRIYZHjNoFA1ycWlwO2u1y2yE5T8zZZuaU+cOe2Dw9z2n2cg+F6q2qhVDZV9rCsx3l7mod8wpjNUc8iXUAyGZ6UzzQuHqIYEygfpfSqUbGj2AlOlHLgdugHDNb+RpBK4LWQyet3bHylPHyVacoXGuTqXwPYFgkdSpBBTHpYOhiM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769761232; c=relaxed/simple; bh=xJ4jSm7ucaz8Rq11dl/v2sadnR+9Q4t/tqVDqA3oOEA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pZJO49cMwNcmXx7QMIclojAFRyNDAJF1NANNOl5xQIsF96jcFnl7C0kD/RmRu2GYnpYvc/l7pcKjxh4PW1Z1fZvu+mkSF3E51qcPADlZ/rPz8XdhLMvcRZcfkw0JondJJ4w6RpdUF/QlJSynAvTcBHr2pcqa0XjO+0oITLhnSBA= 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=GZU6vkjF; arc=none smtp.client-ip=209.85.214.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="GZU6vkjF" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2a7bced39cfso18118225ad.1 for ; Fri, 30 Jan 2026 00:20:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769761230; x=1770366030; 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=ajY33JbgcBo2+n4qVxxMLBcw2crou+yf+Z7Z73b2liI=; b=GZU6vkjFbci6hY6SEBfxREHvfFmJpjzOD5MxHrFPey/3BPHTDiFg8EAdhg5XaXMuVe VmXa4EvGVFBBVqJz+xFcB9KBDRCQGRQSoJ+5KPVOpAErbIsHxCbHFl0jvzdMLzJjwvQH KZCgrCs7WaQ1Qle68SzBtNHKP03UUqhYAScs0OAGAE1P20X0ie+VhR9jODOA9tdh4sUz 4dhJbSIuYD+lygAj2fbx0CvnvIJAmgEu7OZVVqE8yWMYBdaKW321DpPichYGScj0jEGs +mSgQ5iAyE/aGTuYyTSUFzZTPnzKLLHlpfp9lNj3nw4mnHoZTOVUZxd9/wVYo0+xC7UG SwgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769761230; x=1770366030; 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=ajY33JbgcBo2+n4qVxxMLBcw2crou+yf+Z7Z73b2liI=; b=Il9Ri216NRe8oCK5QL0jCE9qgZgiI3bZ50rJ8IgxMq3Ds2VrewsBGtIajP3AdneZYE NH4BVQD4gHtUo0D33D6A0Xo69CT4HfPEudk7oW4/H8jKezbIiLXP7K7ia04Jyic2sh5y JYHXEVnSc5QsA3CBi3GDbtc23p683Xz1w+IqwrXIzx+L/XJbnx4/LLhMsaVBsTAZ8JaW R8wfxswlJxs0Pc3My0SUdHoIA0EGNyt1KMk/1H/16cUIXW3P0o+yI4UOHnrVz++yCmwQ C7nj56mIPnHI3/Dkft2lhTsF5/MsdXwSaHrGPXlxJua5ktIBKWg2FcfffwuUcnrAxOWW E07g== X-Forwarded-Encrypted: i=1; AJvYcCVjpgBCV/m4boQCV65/qr403PNG6/ngMuGlwsXM0GMBrZwz074GIAE+6FkFjuizJXPxVCNSY+GYjFtFs18=@vger.kernel.org X-Gm-Message-State: AOJu0Yy6tfI9iKIvTWEOMVFgv+gEF6Yig8tANbkCXk1S9cfQi0Efiw+L 0vLoS+NnzaA/GRF2vTfA6d/exTxHsAavoEmM4KPg8mXPo3nljEHl0cBR X-Gm-Gg: AZuq6aJuROM60gwfuWrXqcTMca69Ai4B4VRFvH4t6if0x+Rjub5oOAD61NU2x6S5dNh 3q3XOS2LhIAPcBd1rNk1ZRdsGIvRiMCw/LWeMq8q2hrsHY2lHPhOTb2XhhcGES8JHWOI0LWYwsV 9VPWhWxQLnYcya+7sBvFc106+7Yh2hen6g5T3cMARKMiFwYsxB7uXp+hdOtUEBBuLYqkf/fC1Py kXfMEG2+IgXEoyzsmjSf1EFZDrj+K7KVXRhqrODgJ15Wlytvh/1dOLgy4mZf0GJsNwsJsup8WrP iByag8d02uIb7+JYtF+RWx6rfVyyWKJ7dPt7vV/9TBkUs2baJZecigMG+7YYbvV25Jcpry520Cd 7O4T89B2w1x8zKBe4scEKC3wd9J6nY+kasmW7zEmVHNZgrs0eZzzRzNa8tOo8MwvPlyj9sSFCq3 nMhiVVYY82/dI4AD4Retv2VUf6a1i19ZE0KwDEtney5ajg/rxJd5Yf/3fU7PMYecK6zWZPrJQKf TWX2fAwrAitBDS9HGO/UBSLpNKc2YPzIr3Q6uJwn484VFvpCGdIjLaJJwWxLnuxZcESDLNKB92A TL3ygaC7a3Y9 X-Received: by 2002:a17:903:1447:b0:2a1:5d2:2e45 with SMTP id d9443c01a7336-2a8d9a85d83mr22102745ad.59.1769761230333; Fri, 30 Jan 2026 00:20:30 -0800 (PST) Received: from 2001-b400-e3e0-2a58-5bcf-a65d-c80e-2087.emome-ip6.hinet.net (2001-b400-e3e0-2a58-5bcf-a65d-c80e-2087.emome-ip6.hinet.net. [2001:b400:e3e0:2a58:5bcf:a65d:c80e:2087]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82379bfc712sm7866018b3a.40.2026.01.30.00.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jan 2026 00:20:30 -0800 (PST) From: Kevin Tung Date: Fri, 30 Jan 2026 16:20:13 +0800 Subject: [PATCH v4 5/7] 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: <20260130-yv5_revise_dts-v4-5-4d924455f3a7@gmail.com> References: <20260130-yv5_revise_dts-v4-0-4d924455f3a7@gmail.com> In-Reply-To: <20260130-yv5_revise_dts-v4-0-4d924455f3a7@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 , Kevin Tung X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1769761212; l=2209; i=kevin.tung.openbmc@gmail.com; s=20250924; h=from:subject:message-id; bh=xJ4jSm7ucaz8Rq11dl/v2sadnR+9Q4t/tqVDqA3oOEA=; b=MPGZXI3K7EwDVf3iP1xdEiwNx8Gw/EdFZ5MD8WuQYvke+Oa98YGg0p8X/7fw9xuc6+aD3ukLf Wz12IaCBA24DhksL6kj+wgOmVgfjrmA9401ODbKemoi7XzkIXnygNwP X-Developer-Key: i=kevin.tung.openbmc@gmail.com; a=ed25519; pk=PjAss0agA0hiuLfIBlA9j/qBmJaPCDP+jmQIUB6SE7g= The shunt resistor value defined in the DTS was incorrect and did not reflect the resistor value populated on the board. As a result, power and current readings derived from this value were inaccurate. This change updates the DTS to use the correct shunt resistor value according to the hardware design, restoring accurate power and current measurements. 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.52.0