diff mbox series

[2/2] hwmon: (as370-hwmon) Add DT bindings for Synaptics AS370 PVT

Message ID 20190826175113.74be0368@xhacker.debian
State Superseded, archived
Headers show
Series hwmon: a new driver for Synaptics AS370 PVT sensor | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Jisheng Zhang Aug. 26, 2019, 10:02 a.m. UTC
Add device tree bindings for Synaptics AS370 PVT sensors.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
 Documentation/devicetree/bindings/hwmon/as370.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/as370.txt
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/as370.txt b/Documentation/devicetree/bindings/hwmon/as370.txt
new file mode 100644
index 000000000000..d102fe765124
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/as370.txt
@@ -0,0 +1,11 @@ 
+Bindings for Synaptics AS370 PVT sensors
+
+Required properties:
+- compatible : "syna,as370-hwmon"
+- reg        : address and length of the register set.
+
+Example:
+	hwmon@ea0810 {
+		compatible = "syna,as370-hwmon";
+		reg = <0xea0810 0xc>;
+	};