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: [email protected]
> Signed-off-by: Linus Walleij <[email protected]>
> Reviewed-by: Rob Herring <[email protected]>
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>;
> +};