diff mbox series

[1/2] hwmon: (ad741x) Add DT bindings for Analog Devices AD741x

Message ID 20190128210637.22323-1-linus.walleij@linaro.org
State Accepted
Commit badf14ceba5589711f149a48f57c342032e55d03
Headers show
Series [1/2] hwmon: (ad741x) Add DT bindings for Analog Devices AD741x | expand

Commit Message

Linus Walleij Jan. 28, 2019, 9:06 p.m. UTC
This adds device tree bindings for Analog Devices AD741x
as found in Gateway routers.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 .../devicetree/bindings/hwmon/ad741x.txt          | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/ad741x.txt

-- 
2.20.1

Comments

Rob Herring Feb. 25, 2019, 2:28 p.m. UTC | #1
On Mon, 28 Jan 2019 22:06:36 +0100, Linus Walleij wrote:
> This adds device tree bindings for Analog Devices AD741x

> as found in Gateway routers.

> 

> Cc: devicetree@vger.kernel.org

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  .../devicetree/bindings/hwmon/ad741x.txt          | 15 +++++++++++++++

>  1 file changed, 15 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/hwmon/ad741x.txt

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Guenter Roeck Feb. 25, 2019, 2:36 p.m. UTC | #2
On Mon, Jan 28, 2019 at 10:06:36PM +0100, Linus Walleij wrote:
> This adds device tree bindings for Analog Devices AD741x

> as found in Gateway routers.

> 

> Cc: devicetree@vger.kernel.org

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> Reviewed-by: Rob Herring <robh@kernel.org>


Applied to hwmon-next.

Thanks,
Guenter

> ---

>  .../devicetree/bindings/hwmon/ad741x.txt          | 15 +++++++++++++++

>  1 file changed, 15 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/hwmon/ad741x.txt

> 

> diff --git a/Documentation/devicetree/bindings/hwmon/ad741x.txt b/Documentation/devicetree/bindings/hwmon/ad741x.txt

> new file mode 100644

> index 000000000000..9102152c8410

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/hwmon/ad741x.txt

> @@ -0,0 +1,15 @@

> +* AD7416/AD7417/AD7418 Temperature Sensor Device Tree Bindings

> +

> +Required properties:

> +- compatible: one of

> +		"adi,ad7416"

> +		"adi,ad7417"

> +		"adi,ad7418"

> +- reg: I2C address

> +

> +Example:

> +

> +hwmon@28 {

> +	compatible = "adi,ad7418";

> +	reg = <0x28>;

> +};
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/hwmon/ad741x.txt b/Documentation/devicetree/bindings/hwmon/ad741x.txt
new file mode 100644
index 000000000000..9102152c8410
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ad741x.txt
@@ -0,0 +1,15 @@ 
+* AD7416/AD7417/AD7418 Temperature Sensor Device Tree Bindings
+
+Required properties:
+- compatible: one of
+		"adi,ad7416"
+		"adi,ad7417"
+		"adi,ad7418"
+- reg: I2C address
+
+Example:
+
+hwmon@28 {
+	compatible = "adi,ad7418";
+	reg = <0x28>;
+};