All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
To: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90
Date: Mon, 09 Sep 2013 03:52:27 -0700	[thread overview]
Message-ID: <522DA86B.6000603@roeck-us.net> (raw)
In-Reply-To: <1378722552-10357-3-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 09/09/2013 03:29 AM, Wei Ni wrote:
> Add OF document for LM90 in Documentation/devicetree/.
>
> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
>   Documentation/devicetree/bindings/hwmon/lm90.txt |   44 ++++++++++++++++++++++
>   1 file changed, 44 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/hwmon/lm90.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt
> new file mode 100644
> index 0000000..5570875
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt
> @@ -0,0 +1,44 @@
> +* LM90 series thermometer.
> +
> +Required node properties:
> +- compatible: manufacture and chip name, one of

manufacturer

> +		"<manufacture>,adm1032"
> +		"<manufacture>,adt7461"
> +		"<manufacture>,adt7461a"
> +		"<manufacture>,g781"
> +		"<manufacture>,lm90"
> +		"<manufacture>,lm86"
> +		"<manufacture>,lm89"
> +		"<manufacture>,lm99"
> +		"<manufacture>,max6646"
> +		"<manufacture>,max6647"
> +		"<manufacture>,max6649"
> +		"<manufacture>,max6657"
> +		"<manufacture>,max6658"
> +		"<manufacture>,max6659"
> +		"<manufacture>,max6680"
> +		"<manufacture>,max6681"
> +		"<manufacture>,max6695"
> +		"<manufacture>,max6696"
> +		"<manufacture>,nct1008"
> +		"<manufacture>,w83l771"
> +		"<manufacture>,sa56004"
> +
Shouldn't the manufacturers be listed explicitly ?

> +- reg: I2C bus address of the device
> +
> +Optional properties:
> +- vcc-supply: vcc regulator for the supply voltage.
> +              If this is not set, assuming vdd is always powered.

s/assuming/assume/

> +- interrupts: Contains a single interrupt specifier which describes the
> +              LM90 pin6 output.
> +              See interrupt-controller/interrupts.txt for the format.
> +
> +Example LM90 node:
> +
> +temp-sensor {
> +	compatible = "onnn,nct1008";
> +	reg = <0x4c>;
> +	vcc-supply = <&palmas_ldo6_reg>;
> +	interrupt-parent = <&gpio>;

List above as optional property.

> +	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
> +}
>

WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org,
	broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [lm-sensors] [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90
Date: Mon, 09 Sep 2013 10:52:27 +0000	[thread overview]
Message-ID: <522DA86B.6000603@roeck-us.net> (raw)
In-Reply-To: <1378722552-10357-3-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 09/09/2013 03:29 AM, Wei Ni wrote:
> Add OF document for LM90 in Documentation/devicetree/.
>
> Signed-off-by: Wei Ni <wni@nvidia.com>
> ---
>   Documentation/devicetree/bindings/hwmon/lm90.txt |   44 ++++++++++++++++++++++
>   1 file changed, 44 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/hwmon/lm90.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt
> new file mode 100644
> index 0000000..5570875
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt
> @@ -0,0 +1,44 @@
> +* LM90 series thermometer.
> +
> +Required node properties:
> +- compatible: manufacture and chip name, one of

manufacturer

> +		"<manufacture>,adm1032"
> +		"<manufacture>,adt7461"
> +		"<manufacture>,adt7461a"
> +		"<manufacture>,g781"
> +		"<manufacture>,lm90"
> +		"<manufacture>,lm86"
> +		"<manufacture>,lm89"
> +		"<manufacture>,lm99"
> +		"<manufacture>,max6646"
> +		"<manufacture>,max6647"
> +		"<manufacture>,max6649"
> +		"<manufacture>,max6657"
> +		"<manufacture>,max6658"
> +		"<manufacture>,max6659"
> +		"<manufacture>,max6680"
> +		"<manufacture>,max6681"
> +		"<manufacture>,max6695"
> +		"<manufacture>,max6696"
> +		"<manufacture>,nct1008"
> +		"<manufacture>,w83l771"
> +		"<manufacture>,sa56004"
> +
Shouldn't the manufacturers be listed explicitly ?

> +- reg: I2C bus address of the device
> +
> +Optional properties:
> +- vcc-supply: vcc regulator for the supply voltage.
> +              If this is not set, assuming vdd is always powered.

s/assuming/assume/

> +- interrupts: Contains a single interrupt specifier which describes the
> +              LM90 pin6 output.
> +              See interrupt-controller/interrupts.txt for the format.
> +
> +Example LM90 node:
> +
> +temp-sensor {
> +	compatible = "onnn,nct1008";
> +	reg = <0x4c>;
> +	vcc-supply = <&palmas_ldo6_reg>;
> +	interrupt-parent = <&gpio>;

List above as optional property.

> +	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
> +}
>


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <linux@roeck-us.net>
To: Wei Ni <wni@nvidia.com>
Cc: khali@linux-fr.org, broonie@kernel.org, swarren@wwwdotorg.org,
	lm-sensors@lm-sensors.org, linux-tegra@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90
Date: Mon, 09 Sep 2013 03:52:27 -0700	[thread overview]
Message-ID: <522DA86B.6000603@roeck-us.net> (raw)
In-Reply-To: <1378722552-10357-3-git-send-email-wni@nvidia.com>

On 09/09/2013 03:29 AM, Wei Ni wrote:
> Add OF document for LM90 in Documentation/devicetree/.
>
> Signed-off-by: Wei Ni <wni@nvidia.com>
> ---
>   Documentation/devicetree/bindings/hwmon/lm90.txt |   44 ++++++++++++++++++++++
>   1 file changed, 44 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/hwmon/lm90.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/lm90.txt b/Documentation/devicetree/bindings/hwmon/lm90.txt
> new file mode 100644
> index 0000000..5570875
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/lm90.txt
> @@ -0,0 +1,44 @@
> +* LM90 series thermometer.
> +
> +Required node properties:
> +- compatible: manufacture and chip name, one of

manufacturer

> +		"<manufacture>,adm1032"
> +		"<manufacture>,adt7461"
> +		"<manufacture>,adt7461a"
> +		"<manufacture>,g781"
> +		"<manufacture>,lm90"
> +		"<manufacture>,lm86"
> +		"<manufacture>,lm89"
> +		"<manufacture>,lm99"
> +		"<manufacture>,max6646"
> +		"<manufacture>,max6647"
> +		"<manufacture>,max6649"
> +		"<manufacture>,max6657"
> +		"<manufacture>,max6658"
> +		"<manufacture>,max6659"
> +		"<manufacture>,max6680"
> +		"<manufacture>,max6681"
> +		"<manufacture>,max6695"
> +		"<manufacture>,max6696"
> +		"<manufacture>,nct1008"
> +		"<manufacture>,w83l771"
> +		"<manufacture>,sa56004"
> +
Shouldn't the manufacturers be listed explicitly ?

> +- reg: I2C bus address of the device
> +
> +Optional properties:
> +- vcc-supply: vcc regulator for the supply voltage.
> +              If this is not set, assuming vdd is always powered.

s/assuming/assume/

> +- interrupts: Contains a single interrupt specifier which describes the
> +              LM90 pin6 output.
> +              See interrupt-controller/interrupts.txt for the format.
> +
> +Example LM90 node:
> +
> +temp-sensor {
> +	compatible = "onnn,nct1008";
> +	reg = <0x4c>;
> +	vcc-supply = <&palmas_ldo6_reg>;
> +	interrupt-parent = <&gpio>;

List above as optional property.

> +	interrupts = <TEGRA_GPIO(O, 4) IRQ_TYPE_LEVEL_LOW>;
> +}
>


  parent reply	other threads:[~2013-09-09 10:52 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 10:29 [PATCH v3 0/2] Add power control for lm90 Wei Ni
2013-09-09 10:29 ` Wei Ni
2013-09-09 10:29 ` [lm-sensors] " Wei Ni
     [not found] ` <1378722552-10357-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-09 10:29   ` [PATCH v3 1/2] hwmon: (lm90) Add power control Wei Ni
2013-09-09 10:29     ` Wei Ni
2013-09-09 10:29     ` [lm-sensors] " Wei Ni
     [not found]     ` <1378722552-10357-2-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-09 11:12       ` Mark Brown
2013-09-09 11:12         ` Mark Brown
2013-09-09 11:12         ` [lm-sensors] " Mark Brown
     [not found]         ` <20130909111242.GW29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-09 11:34           ` Guenter Roeck
2013-09-09 11:34             ` Guenter Roeck
2013-09-09 11:34             ` [lm-sensors] " Guenter Roeck
     [not found]             ` <522DB253.6000707-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-09 13:50               ` Mark Brown
2013-09-09 13:50                 ` Mark Brown
2013-09-09 13:50                 ` [lm-sensors] " Mark Brown
2013-09-09 15:50                 ` Guenter Roeck
2013-09-09 15:50                   ` [lm-sensors] " Guenter Roeck
2013-09-09 16:02                   ` Mark Brown
2013-09-09 16:02                     ` [lm-sensors] " Mark Brown
2013-09-09 16:17                     ` Guenter Roeck
2013-09-09 16:17                       ` [lm-sensors] " Guenter Roeck
     [not found]                       ` <20130909161735.GC18975-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-09 20:39                         ` Mark Brown
2013-09-09 20:39                           ` Mark Brown
2013-09-09 20:39                           ` [lm-sensors] " Mark Brown
     [not found]                           ` <20130909203910.GV29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-10  4:05                             ` Wei Ni
2013-09-10  4:05                               ` Wei Ni
2013-09-10  4:05                               ` [lm-sensors] " Wei Ni
     [not found]                               ` <522E9A85.9050803-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-10  4:50                                 ` Guenter Roeck
2013-09-10  4:50                                   ` Guenter Roeck
2013-09-10  4:50                                   ` [lm-sensors] " Guenter Roeck
     [not found]                                   ` <522EA51C.90706-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  5:39                                     ` Wei Ni
2013-09-10  5:39                                       ` Wei Ni
2013-09-10  5:39                                       ` [lm-sensors] " Wei Ni
     [not found]                                       ` <522EB0AF.9030708-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-10  5:54                                         ` Guenter Roeck
2013-09-10  5:54                                           ` Guenter Roeck
2013-09-10  5:54                                           ` [lm-sensors] " Guenter Roeck
     [not found]                                           ` <522EB41E.9030005-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  6:30                                             ` Wei Ni
2013-09-10  6:30                                               ` Wei Ni
2013-09-10  6:30                                               ` [lm-sensors] " Wei Ni
2013-09-10 10:13                                         ` Mark Brown
2013-09-10 10:13                                           ` Mark Brown
2013-09-10 10:13                                           ` [lm-sensors] " Mark Brown
2013-09-10 11:29                                           ` Wei Ni
2013-09-10 11:29                                             ` [lm-sensors] " Wei Ni
     [not found]                                             ` <522F02A4.7060702-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-10 12:11                                               ` Mark Brown
2013-09-10 12:11                                                 ` Mark Brown
2013-09-10 12:11                                                 ` [lm-sensors] " Mark Brown
     [not found]                                                 ` <20130910121157.GJ29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-11  9:40                                                   ` Wei Ni
2013-09-11  9:40                                                     ` Wei Ni
2013-09-11  9:40                                                     ` [lm-sensors] " Wei Ni
     [not found]                   ` <20130909155043.GA18975-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  3:22                     ` Wei Ni
2013-09-10  3:22                       ` Wei Ni
2013-09-10  3:22                       ` [lm-sensors] " Wei Ni
     [not found]                       ` <522E9059.3070305-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-10  3:36                         ` Guenter Roeck
2013-09-10  3:36                           ` Guenter Roeck
2013-09-10  3:36                           ` [lm-sensors] " Guenter Roeck
     [not found]                           ` <522E93D6.2010304-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  3:40                             ` Stephen Warren
2013-09-10  3:40                               ` Stephen Warren
2013-09-10  3:40                               ` [lm-sensors] " Stephen Warren
2013-09-10  3:53                               ` Guenter Roeck
2013-09-10  3:53                                 ` [lm-sensors] " Guenter Roeck
     [not found]                                 ` <522E97CE.4070300-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  4:12                                   ` Wei Ni
2013-09-10  4:12                                     ` Wei Ni
2013-09-10  4:12                                     ` [lm-sensors] " Wei Ni
2013-09-10  4:13                                   ` Stephen Warren
2013-09-10  4:13                                     ` Stephen Warren
2013-09-10  4:13                                     ` [lm-sensors] " Stephen Warren
     [not found]                                     ` <522E9C84.9070405-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-10  4:44                                       ` Guenter Roeck
2013-09-10  4:44                                         ` Guenter Roeck
2013-09-10  4:44                                         ` [lm-sensors] " Guenter Roeck
2013-09-10 10:09                                       ` Mark Brown
2013-09-10 10:09                                         ` Mark Brown
2013-09-10 10:09                                         ` [lm-sensors] " Mark Brown
     [not found]                                         ` <20130910100939.GW29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-10 15:07                                           ` Stephen Warren
2013-09-10 15:07                                             ` Stephen Warren
2013-09-10 15:07                                             ` [lm-sensors] " Stephen Warren
     [not found]                                             ` <522F35BF.6070909-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-10 17:04                                               ` Mark Brown
2013-09-10 17:04                                                 ` Mark Brown
2013-09-10 17:04                                                 ` [lm-sensors] " Mark Brown
     [not found]                                                 ` <20130910170438.GS29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-10 17:44                                                   ` Stephen Warren
2013-09-10 17:44                                                     ` Stephen Warren
2013-09-10 17:44                                                     ` [lm-sensors] " Stephen Warren
     [not found]                                                     ` <522F5A65.8040907-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-10 18:07                                                       ` Guenter Roeck
2013-09-10 18:07                                                         ` Guenter Roeck
2013-09-10 18:07                                                         ` [lm-sensors] " Guenter Roeck
2013-09-10 18:18                                                       ` Mark Brown
2013-09-10 18:18                                                         ` Mark Brown
2013-09-10 18:18                                                         ` [lm-sensors] " Mark Brown
     [not found]                                                         ` <20130910181837.GD29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-10 18:37                                                           ` Stephen Warren
2013-09-10 18:37                                                             ` Stephen Warren
2013-09-10 18:37                                                             ` [lm-sensors] " Stephen Warren
2013-09-10 18:52                                                             ` Mark Brown
2013-09-10 18:52                                                               ` [lm-sensors] " Mark Brown
     [not found]                                                               ` <20130910185235.GF29403-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-09-11 11:35                                                                 ` Wei Ni
2013-09-11 11:35                                                                   ` Wei Ni
2013-09-11 11:35                                                                   ` [lm-sensors] " Wei Ni
2013-09-10 17:05                       ` Mark Brown
2013-09-10 17:05                         ` [lm-sensors] " Mark Brown
2013-09-09 10:29   ` [PATCH v3 2/2] Documentation: dt: hwmon: add OF document for LM90 Wei Ni
2013-09-09 10:29     ` Wei Ni
2013-09-09 10:29     ` [lm-sensors] " Wei Ni
     [not found]     ` <1378722552-10357-3-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-09 10:52       ` Guenter Roeck [this message]
2013-09-09 10:52         ` Guenter Roeck
2013-09-09 10:52         ` [lm-sensors] " Guenter Roeck
     [not found]         ` <522DA86B.6000603-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-09 22:14           ` Stephen Warren
2013-09-09 22:14             ` Stephen Warren
2013-09-09 22:14             ` [lm-sensors] " Stephen Warren
     [not found]             ` <522E4854.1050800-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-10  4:25               ` Wei Ni
2013-09-10  4:25                 ` Wei Ni
2013-09-10  4:25                 ` [lm-sensors] " Wei Ni
2013-09-09 10:57       ` Ramkumar Ramachandra
2013-09-09 11:09         ` [lm-sensors] " Ramkumar Ramachandra
2013-09-09 10:57         ` Ramkumar Ramachandra
     [not found]         ` <CALkWK0nqgF6yn4QRe2tTD-Qd+5GLtH-ifCesayk-+uxkWMx-5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-10  4:35           ` Wei Ni
2013-09-10  4:35             ` Wei Ni
2013-09-10  4:35             ` [lm-sensors] " Wei Ni
     [not found]             ` <522EA177.6050608-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-09-10  4:36               ` Wei Ni
2013-09-10  4:36                 ` Wei Ni
2013-09-10  4:36                 ` [lm-sensors] " Wei Ni
2013-09-09 22:15       ` Stephen Warren
2013-09-09 22:15         ` Stephen Warren
2013-09-09 22:15         ` [lm-sensors] " Stephen Warren
     [not found]         ` <522E489D.6080903-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-09 22:23           ` Guenter Roeck
2013-09-09 22:23             ` Guenter Roeck
2013-09-09 22:23             ` [lm-sensors] " Guenter Roeck
     [not found]             ` <20130909222330.GA31708-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-09-10  4:25               ` Wei Ni
2013-09-10  4:25                 ` Wei Ni
2013-09-10  4:25                 ` [lm-sensors] " Wei Ni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522DA86B.6000603@roeck-us.net \
    --to=linux-0h96xk9xttrk1umjsbkqmq@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lm-sensors-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.