From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
linux-pwm@vger.kernel.org, linux-sh@vger.kernel.org,
devicetree@vger.kernel.org,
Ian Campbell <ian.campbell@citrix.com>,
Mark Rutland <Mark.Rutland@arm.com>,
Pawel Moll <pawel.moll@arm.com>,
Rob Herring <rob.herring@calxeda.com>,
Kumar Gala <galak@codeaurora.org>
Subject: Re: [PATCH] pwm: renesas-tpu: Add DT support
Date: Sat, 17 Aug 2013 23:53:03 +0200 [thread overview]
Message-ID: <2528852.ql9DjmTrjK@avalon> (raw)
In-Reply-To: <52091EA5.7070000@wwwdotorg.org>
Hi Stephen,
On Monday 12 August 2013 11:43:01 Stephen Warren wrote:
> On 07/25/2013 04:27 PM, Laurent Pinchart wrote:
> > Specify DT bindings for the TPU PWM controller and add OF support to the
> > driver.
> >
> > diff --git a/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt
> > b/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt
> >
> > + - compatible: should be one of the following.
> > + - "renesas,tpu-r8a73a4": for R8A77A4 (R-Mobile APE6) compatible PWM
> > controller.
> > + - "renesas,tpu-r8a7740": for R8A7740 (R-Mobile A1) compatible PWM
> > controller.
>
> In the bindings I've seen, it's more typical for the compatible value to
> be ${vendor},${soc}-${unit} than ${vendor},${unit}-${soc}. I guess I
> don't know how common one format or the other is though.
I'm personally fine with both. However, when using a version number, the
format is ${vendor},${unit}-${version}. As we don't have an IP core version
number we use the SoC name instead, so ${vendor},${unit}-${soc} would make
sense. We should probably decide on one of the two alternatives and document
it.
> Other than that, the binding,
> Acked-by: Stephen Warren <swarren@nvidia.com>
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
linux-pwm@vger.kernel.org, linux-sh@vger.kernel.org,
devicetree@vger.kernel.org,
Ian Campbell <ian.campbell@citrix.com>,
Mark Rutland <Mark.Rutland@arm.com>,
Pawel Moll <pawel.moll@arm.com>,
Rob Herring <rob.herring@calxeda.com>,
Kumar Gala <galak@codeaurora.org>
Subject: Re: [PATCH] pwm: renesas-tpu: Add DT support
Date: Sat, 17 Aug 2013 21:53:03 +0000 [thread overview]
Message-ID: <2528852.ql9DjmTrjK@avalon> (raw)
In-Reply-To: <52091EA5.7070000@wwwdotorg.org>
Hi Stephen,
On Monday 12 August 2013 11:43:01 Stephen Warren wrote:
> On 07/25/2013 04:27 PM, Laurent Pinchart wrote:
> > Specify DT bindings for the TPU PWM controller and add OF support to the
> > driver.
> >
> > diff --git a/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt
> > b/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt
> >
> > + - compatible: should be one of the following.
> > + - "renesas,tpu-r8a73a4": for R8A77A4 (R-Mobile APE6) compatible PWM
> > controller.
> > + - "renesas,tpu-r8a7740": for R8A7740 (R-Mobile A1) compatible PWM
> > controller.
>
> In the bindings I've seen, it's more typical for the compatible value to
> be ${vendor},${soc}-${unit} than ${vendor},${unit}-${soc}. I guess I
> don't know how common one format or the other is though.
I'm personally fine with both. However, when using a version number, the
format is ${vendor},${unit}-${version}. As we don't have an IP core version
number we use the SoC name instead, so ${vendor},${unit}-${soc} would make
sense. We should probably decide on one of the two alternatives and document
it.
> Other than that, the binding,
> Acked-by: Stephen Warren <swarren@nvidia.com>
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2013-08-17 21:51 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 22:27 [PATCH] pwm: renesas-tpu: Add DT support Laurent Pinchart
2013-07-25 22:27 ` Laurent Pinchart
2013-08-08 10:44 ` Laurent Pinchart
2013-08-08 10:44 ` Laurent Pinchart
2013-08-12 7:21 ` Thierry Reding
2013-08-12 7:21 ` Thierry Reding
2013-08-19 23:14 ` Laurent Pinchart
2013-08-19 23:14 ` Laurent Pinchart
2013-08-12 17:43 ` Stephen Warren
2013-08-12 17:43 ` Stephen Warren
2013-08-17 21:53 ` Laurent Pinchart [this message]
2013-08-17 21:53 ` Laurent Pinchart
2013-08-14 9:44 ` Thierry Reding
2013-08-14 9:44 ` Thierry Reding
2013-08-21 11:36 ` Laurent Pinchart
2013-08-21 11:36 ` Laurent Pinchart
2013-08-23 9:24 ` Thierry Reding
2013-08-23 9:24 ` Thierry Reding
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=2528852.ql9DjmTrjK@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=Mark.Rutland@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ian.campbell@citrix.com \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=swarren@wwwdotorg.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.