summaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts
diff options
context:
space:
mode:
authorVincent Pelletier <plr.vincent@gmail.com>2021-11-17 02:57:42 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2021-12-17 08:27:45 +0300
commitf6f7fbb89bf8dc9132fde55cfe67483138eea880 (patch)
tree375d72e8721f1d6ebfc6f780b8c1014e03a2b377 /arch/riscv/boot/dts
parentad931d9b3b2e21586de8e6b34346d0a30c13721d (diff)
downloadlinux-f6f7fbb89bf8dc9132fde55cfe67483138eea880.tar.xz
riscv: dts: sifive unmatched: Link the tmp451 with its power supply
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>
Diffstat (limited to 'arch/riscv/boot/dts')
-rw-r--r--arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
index 58de5a312fc9..6bfa1f24d3de 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts
@@ -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>;
};