未验证 提交 f6f7fbb8 编写于 作者: V Vincent Pelletier 提交者: Palmer Dabbelt

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: NVincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: NPalmer Dabbelt <palmer@rivosinc.com>
上级 ad931d9b
......@@ -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>;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册