Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1722951

Re: [v2,2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Re: [v2,2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation
Date 2017-08-30 03:10 +0200
Message-ID <ujZG1-1EU-15@gated-at.bofh.it> (permalink)
References <ugUjw-4pR-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 21, 2017 at 02:41:23PM +0200, Florian Eckert wrote:
> Document the devicetree bindings for the ltq-cputemp
> 
> Signed-off-by: Florian Eckert <fe@dev.tdt.de>

When you resend, please copy DT maintainers.

> ---
>  Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
> new file mode 100644
> index 000000000000..991b05cbcb4a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/ltq-cputemp.txt
> @@ -0,0 +1,10 @@
> +Lantiq cpu temperatur sensor driver

Nitpick: s/driver//

The file describes the sensor, not the driver.

> +
> +Requires node properties:

Required

> +- "compatible" value :

Just "- compatible:" (without the '"')

> +	"lantiq,cputemp"
> +
> +Example:
> +	cputemp@0 {
> +		compatible = "lantiq,cputemp";
> +	};

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [v2,2/2] hwmon: (ltq-cputemp) add devicetree bindings  documentation Guenter Roeck <linux@roeck-us.net> - 2017-08-30 03:10 +0200

csiph-web