[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228151543.GA18597@bogus>
Date: Thu, 28 Feb 2019 09:15:43 -0600
From: Rob Herring <robh@...nel.org>
To: Jagan Teki <jagan@...rulasolutions.com>
Cc: Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Mark Rutland <mark.rutland@....com>,
linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] dt-bindings: hwmon: Add missing documentation for lm75
On Tue, Feb 12, 2019 at 05:08:08PM +0530, Jagan Teki wrote:
> Add missing dt-binding documentation for lm75 hwmon sensor.
>
> Signed-off-by: Jagan Teki <jagan@...rulasolutions.com>
> ---
> Changes for v2:
> - Add all compatible nodes available in lm75.
>
> .../devicetree/bindings/hwmon/lm75.txt | 37 +++++++++++++++++++
> 1 file changed, 37 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/lm75.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/lm75.txt b/Documentation/devicetree/bindings/hwmon/lm75.txt
> new file mode 100644
> index 000000000000..12d8cf7cf592
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/lm75.txt
> @@ -0,0 +1,37 @@
> +*LM75 hwmon sensor.
> +
> +Required properties:
> +- compatible: manufacturer and chip name, one of
> + "adi,adt75",
> + "dallas,ds1775",
> + "dallas,ds75",
> + "dallas,ds7505",
> + "gmt,g751",
> + "national,lm75",
> + "national,lm75a",
> + "national,lm75b",
> + "maxim,max6625",
> + "maxim,max6626",
> + "maxim,max31725",
> + "maxim,max31726",
> + "maxim,mcp980x",
> + "st,stds75",
> + "st,stlm75",
> + "microchip,tcn75",
> + "ti,tmp100",
> + "ti,tmp101",
> + "ti,tmp105",
> + "ti,tmp112",
> + "ti,tmp175",
> + "ti,tmp275",
> + "ti,tmp75",
> + "ti,tmp75c",
Some of these are in trivial-devices.yaml already. So you either need to
remove them from there. Or you can move all these to trivial-devices and
benefit from having a schema. I prefer the latter, but either way is
fine. You can remove them from trivial-devices.yaml in a separate patch,
so:
Acked-by: Rob Herring <robh@...nel.org>
Rob
P.S. Third option is convert this doc to DT schema. Don't tell anyone,
but you'll be a the top of my review queue.
Powered by blists - more mailing lists