riscv: dts: sifive unmatched: Link the tmp451 with its power supply
authorVincent Pelletier <plr.vincent@gmail.com>
Tue, 16 Nov 2021 23:57:42 +0000 (23:57 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 17 Dec 2021 05:27:45 +0000 (21:27 -0800)
Fixes the following probe warning:
  lm90 0-004c: Looking up vcc-supply from device tree
  lm90 0-004c: Looking up vcc-supply property in node /soc/i2c@10030000/temperature-sensor@4c failed
  lm90 0-004c: supply vcc not found, using dummy regulator

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts

index 58de5a312fc99122628df64e28a72f795a8ac0b2..6bfa1f24d3deb45e493a0d4bb8bc75b1f06b6ffa 100644 (file)
@@ -55,6 +55,7 @@
        temperature-sensor@4c {
                compatible = "ti,tmp451";
                reg = <0x4c>;
+               vcc-supply = <&vdd_bpro>;
                interrupt-parent = <&gpio>;
                interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
        };