linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] pwm support for Broadcom iProc SoC's
@ 2016-07-05  6:00 Yendapally Reddy Dhananjaya Reddy
  2016-07-05  6:00 ` [PATCH v5 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding Yendapally Reddy Dhananjaya Reddy
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Yendapally Reddy Dhananjaya Reddy @ 2016-07-05  6:00 UTC (permalink / raw)
  To: Thierry Reding, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Ray Jui, Scott Branden, Jon Mason,
	Russell King
  Cc: linux-pwm, devicetree, linux-arm-kernel,
	bcm-kernel-feedback-list, linux-kernel,
	Yendapally Reddy Dhananjaya Reddy

This patchset contains the pwm support for the Broadcom's iProc SoC's.

The first patch provides the documentation details and the
second patch contains the controller support details. The third patch
contains the enable method for Northstar Plus SoC.

This patch series has been tested on NSP bcm958625HR board.
The pwm is not enabled for this board as the pins are open and not used.

This patch series is based on v4.7.0-rc1 and is available from github
repo: https://github.com/Broadcom/cygnus-linux.git
branch: iproc-pwm-v5

Changes since v4
Supported apply() callback instead of config()/set_polarity()
/enable()/disable()? as suggested by Brian

Changes since v3
Addressed comments from Scott to include COMPILE_TEST

Changes since v2
Rebased on v4.7.0-rc1

Changes since v1
Addressed the review comments from Thierry
 1. Use separate driver for iProc SoC's.
 2. Added Robs ack to the Documentation patch

Yendapally Reddy Dhananjaya Reddy (3):
  Documentation: dt: Add Broadcom iproc pwm controller binding
  pwm: iproc: Add support for Broadcom iproc pwm controller
  ARM: dts: NSP: Add PWM Support to DT

 .../devicetree/bindings/pwm/brcm,iproc-pwm.txt     |  21 ++
 arch/arm/boot/dts/bcm-nsp.dtsi                     |   8 +
 drivers/pwm/Kconfig                                |  10 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-bcm-iproc.c                        | 268 +++++++++++++++++++++
 5 files changed, 308 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
 create mode 100644 drivers/pwm/pwm-bcm-iproc.c

-- 
2.1.0

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [PATCH v5 2/3] pwm: iproc: Add support for Broadcom iproc pwm controller
@ 2016-07-11  6:52 Yendapally Reddy Dhananjaya Reddy
  2016-07-11 10:31 ` Thierry Reding
  0 siblings, 1 reply; 9+ messages in thread
From: Yendapally Reddy Dhananjaya Reddy @ 2016-07-11  6:52 UTC (permalink / raw)
  To: Thierry Reding
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Ray Jui, Scott Branden, Jon Mason, Russell King, linux-pwm,
	devicetree, linux-arm-kernel, BCM Kernel Feedback, linux-kernel

Hi Thierry,

On Fri, Jul 8, 2016 at 8:46 PM, Thierry Reding <thierry.reding@gmail.com> wrote:
> On Tue, Jul 05, 2016 at 02:00:25AM -0400, Yendapally Reddy Dhananjaya Reddy wrote:
>> Add support for the PWM controller present in Broadcom's iProc
>> family of SoCs.It has been tested on the  Northstar+ bcm958625HR board.
>>
>> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
>> ---
>>  drivers/pwm/Kconfig         |  10 ++
>>  drivers/pwm/Makefile        |   1 +
>>  drivers/pwm/pwm-bcm-iproc.c | 268 ++++++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 279 insertions(+)
>>  create mode 100644 drivers/pwm/pwm-bcm-iproc.c
>
> I've applied this, but I had to make a couple of changes for coding
> style and to squash compiler warnings. Please check the PWM tree's
> for-next branch to see if it still works for you.
>

  Thanks. It is working fine for me. A small change is required here,
NSEC_PER_SEC
instead of USEC_PER_SEC in two places.

Thanks
Dhananjay


> Thierry

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-27 18:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05  6:00 [PATCH v5 0/3] pwm support for Broadcom iProc SoC's Yendapally Reddy Dhananjaya Reddy
2016-07-05  6:00 ` [PATCH v5 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding Yendapally Reddy Dhananjaya Reddy
2016-07-08 14:35   ` Thierry Reding
2016-07-05  6:00 ` [PATCH v5 2/3] pwm: iproc: Add support for Broadcom iproc pwm controller Yendapally Reddy Dhananjaya Reddy
2016-07-08 15:16   ` Thierry Reding
2016-07-05  6:00 ` [PATCH v5 3/3] ARM: dts: NSP: Add PWM Support to DT Yendapally Reddy Dhananjaya Reddy
2016-07-27 18:29   ` Florian Fainelli
2016-07-11  6:52 [PATCH v5 2/3] pwm: iproc: Add support for Broadcom iproc pwm controller Yendapally Reddy Dhananjaya Reddy
2016-07-11 10:31 ` Thierry Reding

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).