From: Milo Kim <milo.kim@ti.com>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-pwm@vger.kernel.org, Lee Jones <lee.jones@linaro.org>,
Samuel Ortiz <sameo@linux.intel.com>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH v3 3/4] pwm: add LP3943 PWM driver
Date: Wed, 4 Dec 2013 08:27:08 +0900 [thread overview]
Message-ID: <529E68CC.4090808@ti.com> (raw)
In-Reply-To: <20131203102455.GH21178@ulmo.nvidia.com>
Hi Thierry,
On 12/03/2013 07:24 PM, Thierry Reding wrote:
> On Thu, Sep 12, 2013 at 10:33:50AM +0900, Milo Kim wrote:
>> This is the other of the LP3943 MFD driver.
>> LP3943 can be used as a PWM generator, up to 2 channels.
>>
>> * Two PWM generators supported
>>
>> * Supported PWM operations
>> request, free, config, enable and disable
>>
>> * Pin assignment
>> A driver data, 'pin_used' is checked when a PWM is requested.
>> If the output pin is already assigned, then returns as failure.
>> If the pin is available, 'pin_used' is set.
>> When the PWM is not used anymore, then it is cleared.
>> It is defined as unsigned long type for atomic bit operation APIs,
>> but only LSB 16bits are used because LP3943 has 16 outputs.
>>
>> Cc: Thierry Reding <thierry.reding@gmail.com>
>> Signed-off-by: Milo Kim <milo.kim@ti.com>
>> ---
>> * Patch v3
>> Manual polarity not supported any more.
>> Add encapsulation functions for accessing internal data structure.
>> Use pwm_set_chip_data() and pwm_get_chip_data().
>> And other code fixes based on Thierry's feedback.
>>
>> drivers/pwm/Kconfig | 10 ++
>> drivers/pwm/Makefile | 1 +
>> drivers/pwm/pwm-lp3943.c | 314 ++++++++++++++++++++++++++++++++++++++++++++++
>> 3 files changed, 325 insertions(+)
>> create mode 100644 drivers/pwm/pwm-lp3943.c
>
> Hi Milo,
>
> Is this patchset still the latest version? I've tried to remember the
> status of this series, but I could only draw a blank.
Thanks a lot for this reminder.
I forgot to check the status.
The latest one is the v4, but LP3943 PWM driver code is same as v3.
Update from v3 to v4:
Move the driver description from the documentation to the MFD
driver file.
There are two things to be ACKed for v4.
One is the PWM driver. (https://lkml.org/lkml/2013/9/25/11)
The other is the documentation. (https://lkml.org/lkml/2013/9/25/10)
Thanks,
Milo
prev parent reply other threads:[~2013-12-03 23:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 1:33 [PATCH v3 3/4] pwm: add LP3943 PWM driver Milo Kim
2013-12-03 10:24 ` Thierry Reding
2013-12-03 23:27 ` Milo Kim [this message]
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=529E68CC.4090808@ti.com \
--to=milo.kim@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=sameo@linux.intel.com \
--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).