Skip to contentSkip to conversation

dt-bindings: hwmon: Add adm127x documentation

PATCH Applied Kun Yi 3 participants 4 messages Oct 17, 2018 – Oct 27, 2018

Subsystems (2)
lore
Share & tools
lore

Kun Yi

author
#0 lore raw

PATCH v3 2/2 dt-bindings: hwmon: Add adm127x documentation

adm127x are hot-swap controllers that allow a circuit board to be removed from or inserted into a live backplane. This patch adds the device tree bindings documentation.

---
 .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt
Documentation/devicetree/bindings/hwmon/adm1275.txt new file +25 -0
new file mode 100644
index 000000000000..1ecd03f3da4d
@@ -0,0 +1,25 @@
+adm1275 properties
+
+Required properties:
+- compatible: Must be one of the supported compatible strings:
+	- "adi,adm1075" for adm1075
+	- "adi,adm1272" for adm1272
+	- "adi,adm1275" for adm1275
+	- "adi,adm1276" for adm1276
+	- "adi,adm1278" for adm1278
+	- "adi,adm1293" for adm1293
+	- "adi,adm1294" for adm1294
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor-micro-ohms
+	Shunt resistor value in micro-Ohm
+
+Example:
+
+adm1272@10 {
+	compatible = "adi,adm1272";
+	reg = <0x10>;
+	shunt-resistor-micro-ohms = <500>;
+};
Signature · 1 line
2.19.1.331.ge82ca0e54c-goog
maintainer Reviewed-by on v3 2/2
#1 lore raw
Quoted 10 lines · Kun Yi

adm127x are hot-swap controllers that allow a circuit board to be removed from or inserted into a live backplane. This patch adds the device tree bindings documentation.

---
 .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt
author
#2 lore raw
Quoted 6 lines · Rob Herring
Quoted 4 lines · Kun Yi

adm127x are hot-swap controllers that allow a circuit board to be removed from or inserted into a live backplane. This patch adds the device tree bindings documentation.

Quoted 8 lines
Quoted 6 lines
---
 .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt

Thanks a lot for the Review!

Signature · 2 lines
Regards,
Kun
maintainer Applied
#3 lore raw
In reply to Kun Yi
Quoted 6 lines · Kun Yi

adm127x are hot-swap controllers that allow a circuit board to be removed from or inserted into a live backplane. This patch adds the device tree bindings documentation.

Applied to hwmon-next.

Thanks,
Guenter

Quoted 36 lines
---
 .../devicetree/bindings/hwmon/adm1275.txt     | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/adm1275.txt
Documentation/devicetree/bindings/hwmon/adm1275.txt new file +25 -0
new file mode 100644
index 000000000000..1ecd03f3da4d
@@ -0,0 +1,25 @@
+adm1275 properties
+
+Required properties:
+- compatible: Must be one of the supported compatible strings:
+	- "adi,adm1075" for adm1075
+	- "adi,adm1272" for adm1272
+	- "adi,adm1275" for adm1275
+	- "adi,adm1276" for adm1276
+	- "adi,adm1278" for adm1278
+	- "adi,adm1293" for adm1293
+	- "adi,adm1294" for adm1294
+- reg: I2C address
+
+Optional properties:
+
+- shunt-resistor-micro-ohms
+	Shunt resistor value in micro-Ohm
+
+Example:
+
+adm1272@10 {
+	compatible = "adi,adm1272";
+	reg = <0x10>;
+	shunt-resistor-micro-ohms = <500>;
+};