[PATCH linux dev 6.11 2/2] hwmon driver sq52205 documentation
Wenliang
wenliang202407 at 163.com
Tue Aug 13 01:43:04 AEST 2024
Provide the binding documentation related to the sq52205 driver.
Signed-off-by: Wenliang <wenliang202407 at 163.com>
---
.../bindings/hwmon/silergy,sq52205.txt | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/silergy,sq52205.txt
diff --git a/Documentation/devicetree/bindings/hwmon/silergy,sq52205.txt b/Documentation/devicetree/bindings/hwmon/silergy,sq52205.txt
new file mode 100644
index 000000000000..d3f790fed32e
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/silergy,sq52205.txt
@@ -0,0 +1,21 @@
+sq52205 properties
+
+Required properties:
+- compatible:
+ Should be one of
+ silergy,sq52205
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor:
+ description:
+ Shunt resistor value in micro-Ohm.
+
+Example:
+
+temp-sensor at 40 {
+ compatible = "silergy,sq52205";
+ reg = <0x40>;
+ shunt-resistor = <1000>;
+};
--
2.17.1
More information about the openbmc
mailing list