diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2024-05-01 18:36:31 +0300 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2024-05-07 19:14:06 +0300 |
commit | 1c80d50bb697f84bfbc3876e08e1a1d42bfbdddb (patch) | |
tree | 1068366a2839d06e8d6147afc65c97333a0ee029 | |
parent | 04a228aadb84d894721b13197649ca741f3018bc (diff) | |
download | linux-1c80d50bb697f84bfbc3876e08e1a1d42bfbdddb.tar.xz |
riscv: dts: microchip: add pac1934 power-monitor to icicle
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 <conor.dooley@microchip.com>
-rw-r--r-- | arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts | 32 |
1 files changed, 32 insertions, 0 deletions
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 @@ &i2c1 { status = "okay"; + + power-monitor@10 { + compatible = "microchip,pac1934"; + reg = <0x10>; + + #address-cells = <1>; + #size-cells = <0>; + + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDREG"; + }; + + channel@2 { + reg = <0x2>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDA25"; + }; + + channel@3 { + reg = <0x3>; + shunt-resistor-micro-ohms = <10000>; + label = "VDD25"; + }; + + channel@4 { + reg = <0x4>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDA_REG"; + }; + }; }; &i2c2 { |