From nobody Wed Dec 17 22:46:01 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85F0212F59D; Wed, 1 May 2024 15:36:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577808; cv=none; b=SJA2Izqbfga6KAIxZlBAIhvLvxqAZK9Avvl5Wl68eUilu7Xt31QtRmAoXog2rCVTYra23NXbJNJQ4KJpCady4AYbTfNU/uEz8amVwhLIONy01z9wezCNLYQxgtJz4A6Vqpxu197gyU4D+w7B3d7ErtAntKpev75JmJ7nO1wnf7M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714577808; c=relaxed/simple; bh=H43Z4wgbneQvtO9lOey4SVLIXIEEJWVeRwaZ4YWCu7A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=klq3fpObB5q605Bj80K14LA8pIDjzutgy9zheKs/AU54cfqYzvdo9HYFNLv54W9C2PMDhGOJPNbOdsuwq4GRPjjIea5ilDoU5JjjVwgURDgR59OSW4Rs79bUiWZJ/1BPCS+jlLfGDVsU6m7YcI3JwYffW0N9wRwmRojxbx+yOR4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UsYOGQX/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UsYOGQX/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F879C072AA; Wed, 1 May 2024 15:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714577808; bh=H43Z4wgbneQvtO9lOey4SVLIXIEEJWVeRwaZ4YWCu7A=; h=From:To:Cc:Subject:Date:From; b=UsYOGQX/t6MdBD4L55qbAiRXgRV0yCJL0PcNAH1ykns2kVT6+aiGrDVNTioib50qO fVuMzecaVmfudYZ8y/t696yAT9dEdBpGPbjSaGMGWU/wel/omYY6a/lGruZci9DqmS /bUmpsqdbdWbAHpdI4cM+rFHTaVtiLAbUvbR7sOfUtbsZUh0/aSQdMZhmDDYRWzqqQ VPkgWo2xyKeyfHiC3FjG0rL3SEwDLNS+4pteQEcEKYJiUADzefGYAiKJC3bvH63z1r 3bOHEjsY6Ee5t49S7R26BatI1lgqu0ROEiT4tdEVg/+25F8k1RSFwuO+J8fJyAf3hT QPSp6tOzank6Q== From: Conor Dooley To: linux-riscv@lists.infradead.org Cc: conor@kernel.org, Conor Dooley , Daire McNamara , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: microchip: add pac1934 power-monitor to icicle Date: Wed, 1 May 2024 16:36:31 +0100 Message-ID: <20240501-spearman-primary-17df3c21c770@spud> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1690; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=FR3O438NmrY2UU2Fa9xj9X2SWoXZf7FrPgh3S7n8dV4=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDGlGifUKzt45m0oaa5d41NdWVy8Mez3HUb3t6cwZywV9E hcqODB0lLIwiHEwyIopsiTe7muRWv/HZYdzz1uYOaxMIEMYuDgFYCIh0xn+mQrefiVZOiMkf9aE zSHevarTsgryiss2FzedmfU4pTpvBiPDt1/c3M9cc68WaAQYzvsoX/i+JfxTrGP6g97jhySOXlL lAwA= X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Conor Dooley The binding for this landed in v6.9, add the description. In the off-chance that there were people carrying local patches for this based on the driver shipped on the Microchip website (or vendor kernel) both the binding and sysfs filenames changed during upstreaming. Signed-off-by: Conor Dooley --- CC: Conor Dooley CC: Daire McNamara CC: Rob Herring CC: Krzysztof Kozlowski CC: linux-riscv@lists.infradead.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org --- .../boot/dts/microchip/mpfs-icicle-kit.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts b/arch/riscv= /boot/dts/microchip/mpfs-icicle-kit.dts index 222a39d90f85..f80df225f72b 100644 --- a/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts @@ -100,6 +100,38 @@ &i2c0 { =20 &i2c1 { status =3D "okay"; + + power-monitor@10 { + compatible =3D "microchip,pac1934"; + reg =3D <0x10>; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + channel@1 { + reg =3D <0x1>; + shunt-resistor-micro-ohms =3D <10000>; + label =3D "VDDREG"; + }; + + channel@2 { + reg =3D <0x2>; + shunt-resistor-micro-ohms =3D <10000>; + label =3D "VDDA25"; + }; + + channel@3 { + reg =3D <0x3>; + shunt-resistor-micro-ohms =3D <10000>; + label =3D "VDD25"; + }; + + channel@4 { + reg =3D <0x4>; + shunt-resistor-micro-ohms =3D <10000>; + label =3D "VDDA_REG"; + }; + }; }; =20 &i2c2 { --=20 2.43.0