[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAL2FKYmz+EgKkq201X-e+980yMMtn8v3R_fC=3Hg=L1WX_NtSw@mail.gmail.com>
Date: Thu, 23 Jun 2016 23:16:27 +0530
From: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@...adcom.com>
To: Brian Norris <computersforpeace@...il.com>,
Thierry Reding <thierry.reding@...il.com>
Cc: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Gregory Fong <gregory.0xf0@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King <linux@...linux.org.uk>,
Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Jon Mason <jonmason@...adcom.com>, Tejun Heo <tj@...nel.org>,
Kishon Vijay Abraham I <kishon@...com>,
Jaedon Shin <jaedon.shin@...il.com>,
Anup Patel <anup.patel@...adcom.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
BCM Kernel Feedback <bcm-kernel-feedback-list@...adcom.com>,
linux-ide@...r.kernel.org,
Boris Brezillon <boris.brezillon@...e-electrons.com>
Subject: Re: [PATCH v4 2/3] pwm: iproc: Add support for Broadcom iproc pwm controller
Hi Brian,
On Wed, Jun 22, 2016 at 11:01 PM, Brian Norris
<computersforpeace@...il.com> wrote:
> On Wed, Jun 22, 2016 at 07:29:46AM -0400, Yendapally Reddy Dhananjaya Reddy wrote:
>> Add support for the PWM controller present in Broadcom's iProc
>> family of SoCs. This driver is derived from the pwm-bcm-kona
>> driver, with changes to the register offsets and bit positions.
>> It has been tested on the Northstar+ bcm958625HR board.
>>
>> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@...adcom.com>
>> ---
>> drivers/pwm/Kconfig | 10 ++
>> drivers/pwm/Makefile | 1 +
>> drivers/pwm/pwm-bcm-iproc.c | 327 ++++++++++++++++++++++++++++++++++++++++++++
>> 3 files changed, 338 insertions(+)
>> create mode 100644 drivers/pwm/pwm-bcm-iproc.c
>>
> [...]
>> diff --git a/drivers/pwm/pwm-bcm-iproc.c b/drivers/pwm/pwm-bcm-iproc.c
>> new file mode 100644
>> index 0000000..952c457
>> --- /dev/null
>> +++ b/drivers/pwm/pwm-bcm-iproc.c
>> @@ -0,0 +1,327 @@
> [...]
>> +static const struct pwm_ops iproc_pwm_ops = {
>> + .config = iproc_pwmc_config_check,
>> + .set_polarity = iproc_pwmc_set_polarity,
>> + .enable = iproc_pwmc_enable,
>> + .disable = iproc_pwmc_disable,
>> + .owner = THIS_MODULE,
>> +};
>
> Have you considered trying the new apply() callback instead of
> config()/set_polarity()/enable()/disable()?
>
I will make it and provide a v5 version patches.
Thanks
Dhananjay
> [...]
>
> Brian
Powered by blists - more mailing lists