From: Rob Herring <robh@kernel.org>
To: Hoan Tran <hotran@apm.com>
Cc: Jean Delvare <jdelvare@suse.com>,
Guenter Roeck <linux@roeck-us.net>,
Jonathan Corbet <corbet@lwn.net>,
Jassi Brar <jassisinghbrar@gmail.com>,
Ashwin Chaugule <ashwin.chaugule@linaro.org>,
Duc Dang <dhdang@apm.com>,
lho@apm.com, linux-hwmon@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation
Date: Mon, 23 May 2016 15:30:44 -0500 [thread overview]
Message-ID: <20160523203044.GA17450@rob-hp-laptop> (raw)
In-Reply-To: <1463415447-29903-2-git-send-email-hotran@apm.com>
On Mon, May 16, 2016 at 09:17:25AM -0700, Hoan Tran wrote:
> This patch adds the APM X-Gene hwmon device tree node documentation.
>
> Signed-off-by: Hoan Tran <hotran@apm.com>
> ---
> .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
>
> diff --git a/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
> new file mode 100644
> index 0000000..49a482e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
> @@ -0,0 +1,14 @@
> +APM X-Gene hwmon driver
> +
> +Hwmon driver accesses sensors over the "SLIMpro" mailbox.
DT bindings describe h/w, not driver data. I'm not sure this belongs in
DT and perhaps the devices for the mailbox should be created by the
mailbox driver.
> +
> +Required properties :
> + - compatible : should be "apm,xgene-slimpro-hwmon"
> + - mboxes : use the label reference for the mailbox as the first parameter.
> + The second parameter is the channel number.
When do you expect this to be different mailbox numbers?
> +
> +Example :
> + hwmonslimpro {
> + compatible = "apm,xgene-slimpro-hwmon";
> + mboxes = <&mailbox 7>;
> + };
> --
> 1.9.1
>
next prev parent reply other threads:[~2016-05-23 20:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 16:17 [PATCH 0/3] Add support for X-Gene hwmon driver Hoan Tran
2016-05-16 16:17 ` [PATCH 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation Hoan Tran
2016-05-23 20:30 ` Rob Herring [this message]
2016-05-24 1:01 ` Hoan Tran
2016-05-25 17:09 ` Rob Herring
2016-06-07 16:31 ` Hoan Tran
2016-06-07 17:20 ` Jassi Brar
2016-06-07 18:05 ` Hoan Tran
2016-06-23 16:42 ` Hoan Tran
2016-05-16 16:17 ` [PATCH 2/3] hwmon: xgene: Adds hwmon driver Hoan Tran
2016-05-30 5:25 ` [2/3] " Guenter Roeck
2016-06-01 6:00 ` Hoan Tran
2016-06-01 18:10 ` Guenter Roeck
2016-05-16 16:17 ` [PATCH 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree Hoan Tran
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=20160523203044.GA17450@rob-hp-laptop \
--to=robh@kernel.org \
--cc=ashwin.chaugule@linaro.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dhdang@apm.com \
--cc=hotran@apm.com \
--cc=jassisinghbrar@gmail.com \
--cc=jdelvare@suse.com \
--cc=lho@apm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox