Skip to content

Commit 1c80d50

Browse files
committed
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>
1 parent 04a228a commit 1c80d50

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts

+32
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,38 @@
100100

101101
&i2c1 {
102102
status = "okay";
103+
104+
power-monitor@10 {
105+
compatible = "microchip,pac1934";
106+
reg = <0x10>;
107+
108+
#address-cells = <1>;
109+
#size-cells = <0>;
110+
111+
channel@1 {
112+
reg = <0x1>;
113+
shunt-resistor-micro-ohms = <10000>;
114+
label = "VDDREG";
115+
};
116+
117+
channel@2 {
118+
reg = <0x2>;
119+
shunt-resistor-micro-ohms = <10000>;
120+
label = "VDDA25";
121+
};
122+
123+
channel@3 {
124+
reg = <0x3>;
125+
shunt-resistor-micro-ohms = <10000>;
126+
label = "VDD25";
127+
};
128+
129+
channel@4 {
130+
reg = <0x4>;
131+
shunt-resistor-micro-ohms = <10000>;
132+
label = "VDDA_REG";
133+
};
134+
};
103135
};
104136

105137
&i2c2 {

0 commit comments

Comments
 (0)