Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: microchip: sama7g5ek: Add power monitor support

Add PAC1934 support in order to monitor the board power consumption.

Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20240923064932.5797-5-mihai.sain@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>

authored by

Mihai Sain and committed by
Claudiu Beznea
91d75e7f 7093360c

+31
+31
arch/arm/boot/dts/microchip/at91-sama7g5ek.dts
··· 244 244 i2c-digital-filter-width-ns = <35>; 245 245 status = "okay"; 246 246 247 + power-monitor@10 { 248 + compatible = "microchip,pac1934"; 249 + reg = <0x10>; 250 + #address-cells = <1>; 251 + #size-cells = <0>; 252 + 253 + channel@1 { 254 + reg = <0x1>; 255 + shunt-resistor-micro-ohms = <10000>; 256 + label = "VDD3V3"; 257 + }; 258 + 259 + channel@2 { 260 + reg = <0x2>; 261 + shunt-resistor-micro-ohms = <10000>; 262 + label = "VDDIODDR"; 263 + }; 264 + 265 + channel@3 { 266 + reg = <0x3>; 267 + shunt-resistor-micro-ohms = <10000>; 268 + label = "VDDCORE"; 269 + }; 270 + 271 + channel@4 { 272 + reg = <0x4>; 273 + shunt-resistor-micro-ohms = <10000>; 274 + label = "VDDCPU"; 275 + }; 276 + }; 277 + 247 278 mcp16502@5b { 248 279 compatible = "microchip,mcp16502"; 249 280 reg = <0x5b>;