On 09/19/2016 09:55 PM, Mahoda Ratnayaka wrote:
This patch adds lm87 hwmon device tree node documentation. Signed-off-by: Mahoda Ratnayaka <mahoda.ratnayaka@xxxxxxxxxxxxxxxxxxx>
It might make more sense to add this as trivial binding to Documentation/devicetree/bindings/i2c/trivial-devices.txt. Guenter
--- Documentation/devicetree/bindings/hwmon/lm87.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/lm87.txt diff --git a/Documentation/devicetree/bindings/hwmon/lm87.txt b/Documentation/devicetree/bindings/hwmon/lm87.txt new file mode 100644 index 0000000..fefcb48 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/lm87.txt @@ -0,0 +1,14 @@ +*LM87 temprature sensor. +
s/temprature/temperature/
+Required properties: +- compatible: Should be + "ti,lm87" + +- reg: I2C address + +Example: + +lm87@2e { + compatible = "ti,lm87"; + reg = <0x2e>; +};
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html