devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-pwm@vger.kernel.org, linux-sh@vger.kernel.org,
	devicetree@vger.kernel.org, Rob Herring <rob.herring@calxeda.com>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH] pwm: renesas-tpu: Add DT support
Date: Tue, 20 Aug 2013 01:14:25 +0200	[thread overview]
Message-ID: <2198434.TehIm1zVvo@avalon> (raw)
In-Reply-To: <20130812072157.GA17056@ulmo>

[-- Attachment #1: Type: text/plain, Size: 2428 bytes --]

Hi Thierry,

On Monday 12 August 2013 09:21:58 Thierry Reding wrote:
> On Thu, Aug 08, 2013 at 12:44:42PM +0200, Laurent Pinchart wrote:
> > Hi Thierry,
> > 
> > I'd like to get this patch in v3.12, could you please take it in your tree
> > ?
>
> I'm Cc'ing the device tree bindings maintainers. Given that this uses
> only the standard PWM bindings in the first place I suppose it would be
> okay to take this in, but I'd like to run it past them to make sure.
> 
> > On Friday 26 July 2013 00:27:41 Laurent Pinchart wrote:
> > > Specify DT bindings for the TPU PWM controller and add OF support to the
> > > driver.
> > > 
> > > Signed-off-by: Laurent Pinchart
> > > <laurent.pinchart+renesas@ideasonboard.com>
> > > ---
> > > 
> > >  .../devicetree/bindings/pwm/renesas,tpu-pwm.txt    | 28 +++++++++++++++
> > >  drivers/pwm/pwm-renesas-tpu.c                      | 41 +++++++++++----
> > >  2 files changed, 62 insertions(+), 7 deletions(-)
> > >  create mode 100644
> > > 
> > > Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt
> > > 
> > > This patch depends on the "[PATCH v2 0/4] Add PWM polarity flag macro
> > > for DT" series that is scheduled for merge in the PWM tree, and should
> > > thus go in via the same tree.
> > > 
> > > The code has been tested on an Armadillo800EVA with additional platform
> > > patches that I'm going to submit next.

[snip]

> > > diff --git a/drivers/pwm/pwm-renesas-tpu.c
> > > b/drivers/pwm/pwm-renesas-tpu.c
> > > index 2600892..3eeffff 100644
> > > --- a/drivers/pwm/pwm-renesas-tpu.c
> > > +++ b/drivers/pwm/pwm-renesas-tpu.c

[snip]

> > >  static struct platform_driver tpu_driver = {
> > >  	.probe		= tpu_probe,
> > >  	.remove		= tpu_remove,
> > >  	.driver		= {
> > >  		.name	= "renesas-tpu-pwm",
> > >  		.owner	= THIS_MODULE,
> > > +		.of_match_table = of_match_ptr(tpu_of_table),
> 
> I'd like to point this out as an example of why I think aligning on the
> = here is a bad idea. Eventually you're bound to add a field which is
> longer than all the others and therefore can't be aligned consistently.
> So instead of coming up with some kind of fancy formatting it often
> turns out better to just use a regular single space around =. That you
> can always consistently use, no matter how long the field names are.

Thanks, I'll keep that in mind.
 
> To be clear, I don't expect you to change the patch because of this.

OK.

-- 
Regards,

Laurent Pinchart

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2013-08-19 23:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25 22:27 [PATCH] pwm: renesas-tpu: Add DT support Laurent Pinchart
2013-08-08 10:44 ` Laurent Pinchart
2013-08-12  7:21   ` Thierry Reding
2013-08-19 23:14     ` Laurent Pinchart [this message]
2013-08-12 17:43 ` Stephen Warren
2013-08-17 21:53   ` Laurent Pinchart
2013-08-14  9:44 ` Thierry Reding
2013-08-21 11:36   ` Laurent Pinchart
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=2198434.TehIm1zVvo@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ian.campbell@citrix.com \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=rob.herring@calxeda.com \
    --cc=swarren@wwwdotorg.org \
    --cc=thierry.reding@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).