All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	SH-Linux <linux-sh@vger.kernel.org>,
	linux-leds@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Thierry Reding <thierry.reding@avionic-design.de>,
	Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH 3/9] pwm: Add Renesas Mobile TPU PWM driver
Date: Wed, 24 Apr 2013 18:55:45 +0000	[thread overview]
Message-ID: <4234281.i4nY8H6pM1@avalon> (raw)
In-Reply-To: <CANqRtoQzuBg7Y=zPGPDfmWzKjuR8nGfgEgK43+7uSdivmyaBjg@mail.gmail.com>

Hi Magnus,

Thanks for the review.

On Wednesday 24 April 2013 18:37:57 Magnus Damm wrote:
> On Wed, Apr 24, 2013 at 1:06 AM, Laurent Pinchart wrote:
> > The Timer Pulse Unit (TPU is a 4-channels 16-bit timer used to generate
> > waveforms. This driver exposes PWM functions through the PWM API for
> > other drivers to use.
> > 
> > The code is loosely based on the leds-renesas-tpu driver by Magnus Damm
> > and the TPU PWM driver shipped in the Armadillo EVA 800 kernel sources.
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > Tested-by: Simon Horman <horms@verge.net.au>
> > ---
> > 
> >  drivers/pwm/Kconfig                    |   7 +
> >  drivers/pwm/Makefile                   |   1 +
> >  drivers/pwm/pwm-rmob.c                 | 462 ++++++++++++++++++++++++++++
> >  include/linux/platform_data/pwm-rmob.h |  18 ++
> >  4 files changed, 488 insertions(+)
> >  create mode 100644 drivers/pwm/pwm-rmob.c
> >  create mode 100644 include/linux/platform_data/pwm-rmob.h
> 
> Thanks for your efforts with this driver. The new code becomes much nicer
> compared to my old driver.
> 
> The TPU hardware block is used across several different Renesas product
> lines, including R-Mobile and R-Car. So with that in mind, can you please
> consider renaming this driver?
> 
> I propose pwm-renesas-tpu.c or pwm-tpu.c instead of pwm-rmob.c. This
> because this driver has nothing to do with the R mobile product line.

pwm-renesas-tpu.c sounds good. I'll rename the driver accordingly and will 
resubmit the patch set.

-- 
Regards,

Laurent Pinchart


WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	SH-Linux <linux-sh@vger.kernel.org>,
	linux-leds@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Thierry Reding <thierry.reding@avionic-design.de>,
	Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH 3/9] pwm: Add Renesas Mobile TPU PWM driver
Date: Wed, 24 Apr 2013 20:55:45 +0200	[thread overview]
Message-ID: <4234281.i4nY8H6pM1@avalon> (raw)
In-Reply-To: <CANqRtoQzuBg7Y=zPGPDfmWzKjuR8nGfgEgK43+7uSdivmyaBjg@mail.gmail.com>

Hi Magnus,

Thanks for the review.

On Wednesday 24 April 2013 18:37:57 Magnus Damm wrote:
> On Wed, Apr 24, 2013 at 1:06 AM, Laurent Pinchart wrote:
> > The Timer Pulse Unit (TPU is a 4-channels 16-bit timer used to generate
> > waveforms. This driver exposes PWM functions through the PWM API for
> > other drivers to use.
> > 
> > The code is loosely based on the leds-renesas-tpu driver by Magnus Damm
> > and the TPU PWM driver shipped in the Armadillo EVA 800 kernel sources.
> > 
> > Signed-off-by: Laurent Pinchart
> > <laurent.pinchart+renesas@ideasonboard.com>
> > Tested-by: Simon Horman <horms@verge.net.au>
> > ---
> > 
> >  drivers/pwm/Kconfig                    |   7 +
> >  drivers/pwm/Makefile                   |   1 +
> >  drivers/pwm/pwm-rmob.c                 | 462 ++++++++++++++++++++++++++++
> >  include/linux/platform_data/pwm-rmob.h |  18 ++
> >  4 files changed, 488 insertions(+)
> >  create mode 100644 drivers/pwm/pwm-rmob.c
> >  create mode 100644 include/linux/platform_data/pwm-rmob.h
> 
> Thanks for your efforts with this driver. The new code becomes much nicer
> compared to my old driver.
> 
> The TPU hardware block is used across several different Renesas product
> lines, including R-Mobile and R-Car. So with that in mind, can you please
> consider renaming this driver?
> 
> I propose pwm-renesas-tpu.c or pwm-tpu.c instead of pwm-rmob.c. This
> because this driver has nothing to do with the R mobile product line.

pwm-renesas-tpu.c sounds good. I'll rename the driver accordingly and will 
resubmit the patch set.

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2013-04-24 18:55 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  0:06 [PATCH 0/9] TPU PWM support Laurent Pinchart
2013-04-24  0:06 ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 1/9] sh-pfc: sh73a0: Add TPU pin groups and functions Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 2/9] sh-pfc: r8a7740: " Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 3/9] pwm: Add Renesas Mobile TPU PWM driver Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24 17:37   ` Magnus Damm
2013-04-24 17:37     ` Magnus Damm
2013-04-24 18:55     ` Laurent Pinchart [this message]
2013-04-24 18:55       ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 4/9] ARM: mach-shmobile: clock-r8a7740: add TPU PWM support Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 5/9] ARM: mach-shmobile: armadillo800eva: Add backlight support Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 6/9] ARM: mach-shmobile: kota2: Use leds-pwm + pwm-rmob Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 7/9] sh-pfc: sh73a0: Remove function GPIOs Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 8/9] ARM: shmobile: sh73a0: Remove all GPIOs Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  0:06 ` [PATCH 9/9] leds: Remove leds-renesas-tpu driver Laurent Pinchart
2013-04-24  0:06   ` Laurent Pinchart
2013-04-24  7:40 ` [PATCH 0/9] TPU PWM support Simon Horman
2013-04-24  7:40   ` Simon Horman
2013-04-25  0:54   ` Simon Horman
2013-04-25  0:54     ` Simon Horman
2013-04-25 10:18     ` Laurent Pinchart
2013-04-25 10:18       ` Laurent Pinchart

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=4234281.i4nY8H6pM1@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=thierry.reding@avionic-design.de \
    /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.