* [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
@ 2012-12-12 13:59 Kim, Milo
2012-12-18 17:50 ` Bryan Wu
0 siblings, 1 reply; 5+ messages in thread
From: Kim, Milo @ 2012-12-12 13:59 UTC (permalink / raw)
To: Bryan Wu; +Cc: linux-leds, linux-kernel
LP5521, LP5523 and L55231 have common features as below.
Register access via the I2C.
Device initialization/de-initialization.
Create LED class devices for multiple output channels.
Device attributes for user-space interface.
Therefore, this patch-set removes duplicate code for LP5521/5523 driver and
makes coherent driver structure, named lp55xx.
All patches have been tested in LP5521, LP5523 and LP55231 evaluation boards.
You can also pull from the location below.
This branch is based on 'for-next' branch of linux-leds.
https://github.com/milokim/lp55xx.git lp55xx
Cleanups before adding new driver architecture
leds-lp55xx: cleanup init_device() in lp5521/5523
leds-lp55xx: cleanup deinit_device() in lp5521/5523
leds-lp55xx: cleanup init leds in lp5521/5523
leds-lp55xx: cleanup deinit leds in lp5521/5523
leds-lp55xx: add device reset function in lp5521/5523
leds-lp55xx: do chip specific configuration on device init
Replace lp5521, lp5523 driver with new lp55xx driver architecture
leds-lp55xx: add new common driver for lp5521/5523
leds-lp55xx: replace name of data structure
leds-lp55xx: use common lp55xx data structure in _probe()
leds-lp55xx: use lp55xx common init function in _probe()
leds-lp55xx: use lp55xx common deinit function
leds-lp55xx: use lp55xx common led registration function
leds-lp55xx: use lp55xx_init_led() common function
leds-lp55xx: use lp55xx_set_brightness() for brightness control
leds-lp55xx: provide common LED current setting
leds-lp55xx: use lp55xx_unregister_leds()
leds-lp55xx: fix error condition in lp55xx_register_leds()
leds-lp55xx: add new lp55xx_register_sysfs() for FW interface
Adding the firmware interface
leds-lp55xx: support firmware interface
leds-lp55xx: use generic firmware interface
Cleanups lp5521, lp5523 device attributes
leds-lp55xx: support device specific attibutes
leds-lp55xx: use common driver function for adding attributes
Others
leds-lp55xx: code refactoring on selftest function
leds-lp55xx: add unregister dev attr function
leds-lp55xx: clean up _remove()
leds-lp55xx: clean up unused data and functions
leds-lp55xx: clean up definitions
leds-lp55xx: clean up headers
leds-lp5521: recovers previous driver patch for return value
leds-lp5521/5523: use new lp55xx common header
leds-lp5521/5523: add author and copyright description
leds-lp55xx: fix problem on removing LED attributes
Documentation: leds: update LP55xx family devices
Documentation/leds/00-INDEX | 2 +
Documentation/leds/leds-lp5521.txt | 63 +-
Documentation/leds/leds-lp5523.txt | 27 +-
Documentation/leds/leds-lp55xx.txt | 111 +++
arch/arm/mach-omap2/board-rx51-peripherals.c | 8 +-
arch/arm/mach-ux500/board-mop500.c | 14 +-
drivers/leds/Kconfig | 15 +-
drivers/leds/Makefile | 1 +
drivers/leds/leds-lp5521.c | 944 +++++++----------------
drivers/leds/leds-lp5523.c | 1050 +++++++-------------------
drivers/leds/leds-lp55xx-common.c | 519 +++++++++++++
drivers/leds/leds-lp55xx-common.h | 133 ++++
include/linux/leds-lp5521.h | 73 --
include/linux/leds-lp5523.h | 49 --
include/linux/platform_data/leds-lp55xx.h | 87 +++
15 files changed, 1410 insertions(+), 1686 deletions(-)
create mode 100644 Documentation/leds/leds-lp55xx.txt
create mode 100644 drivers/leds/leds-lp55xx-common.c
create mode 100644 drivers/leds/leds-lp55xx-common.h
delete mode 100644 include/linux/leds-lp5521.h
delete mode 100644 include/linux/leds-lp5523.h
create mode 100644 include/linux/platform_data/leds-lp55xx.h
--
1.7.9.5
Best Regards,
Milo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
2012-12-12 13:59 [PATCH 00/33] leds: cleanup LP5521/5523 LED driver Kim, Milo
@ 2012-12-18 17:50 ` Bryan Wu
2012-12-21 0:17 ` Kim, Milo
0 siblings, 1 reply; 5+ messages in thread
From: Bryan Wu @ 2012-12-18 17:50 UTC (permalink / raw)
To: Kim, Milo; +Cc: linux-leds, linux-kernel
Hi Kim
This patchset looks good, but I need some time to review it more
carefully especially during this merge window + holiday time.
Thanks,
-Bryan
On Wed, Dec 12, 2012 at 5:59 AM, Kim, Milo <Milo.Kim@ti.com> wrote:
> LP5521, LP5523 and L55231 have common features as below.
>
> Register access via the I2C.
> Device initialization/de-initialization.
> Create LED class devices for multiple output channels.
> Device attributes for user-space interface.
>
> Therefore, this patch-set removes duplicate code for LP5521/5523 driver and
> makes coherent driver structure, named lp55xx.
>
> All patches have been tested in LP5521, LP5523 and LP55231 evaluation boards.
>
> You can also pull from the location below.
> This branch is based on 'for-next' branch of linux-leds.
>
> https://github.com/milokim/lp55xx.git lp55xx
>
> Cleanups before adding new driver architecture
> leds-lp55xx: cleanup init_device() in lp5521/5523
> leds-lp55xx: cleanup deinit_device() in lp5521/5523
> leds-lp55xx: cleanup init leds in lp5521/5523
> leds-lp55xx: cleanup deinit leds in lp5521/5523
> leds-lp55xx: add device reset function in lp5521/5523
> leds-lp55xx: do chip specific configuration on device init
>
> Replace lp5521, lp5523 driver with new lp55xx driver architecture
> leds-lp55xx: add new common driver for lp5521/5523
> leds-lp55xx: replace name of data structure
> leds-lp55xx: use common lp55xx data structure in _probe()
> leds-lp55xx: use lp55xx common init function in _probe()
> leds-lp55xx: use lp55xx common deinit function
> leds-lp55xx: use lp55xx common led registration function
> leds-lp55xx: use lp55xx_init_led() common function
> leds-lp55xx: use lp55xx_set_brightness() for brightness control
> leds-lp55xx: provide common LED current setting
> leds-lp55xx: use lp55xx_unregister_leds()
> leds-lp55xx: fix error condition in lp55xx_register_leds()
> leds-lp55xx: add new lp55xx_register_sysfs() for FW interface
>
> Adding the firmware interface
> leds-lp55xx: support firmware interface
> leds-lp55xx: use generic firmware interface
>
> Cleanups lp5521, lp5523 device attributes
> leds-lp55xx: support device specific attibutes
> leds-lp55xx: use common driver function for adding attributes
>
> Others
> leds-lp55xx: code refactoring on selftest function
> leds-lp55xx: add unregister dev attr function
> leds-lp55xx: clean up _remove()
> leds-lp55xx: clean up unused data and functions
> leds-lp55xx: clean up definitions
> leds-lp55xx: clean up headers
> leds-lp5521: recovers previous driver patch for return value
> leds-lp5521/5523: use new lp55xx common header
> leds-lp5521/5523: add author and copyright description
> leds-lp55xx: fix problem on removing LED attributes
> Documentation: leds: update LP55xx family devices
>
> Documentation/leds/00-INDEX | 2 +
> Documentation/leds/leds-lp5521.txt | 63 +-
> Documentation/leds/leds-lp5523.txt | 27 +-
> Documentation/leds/leds-lp55xx.txt | 111 +++
> arch/arm/mach-omap2/board-rx51-peripherals.c | 8 +-
> arch/arm/mach-ux500/board-mop500.c | 14 +-
> drivers/leds/Kconfig | 15 +-
> drivers/leds/Makefile | 1 +
> drivers/leds/leds-lp5521.c | 944 +++++++----------------
> drivers/leds/leds-lp5523.c | 1050 +++++++-------------------
> drivers/leds/leds-lp55xx-common.c | 519 +++++++++++++
> drivers/leds/leds-lp55xx-common.h | 133 ++++
> include/linux/leds-lp5521.h | 73 --
> include/linux/leds-lp5523.h | 49 --
> include/linux/platform_data/leds-lp55xx.h | 87 +++
> 15 files changed, 1410 insertions(+), 1686 deletions(-)
> create mode 100644 Documentation/leds/leds-lp55xx.txt
> create mode 100644 drivers/leds/leds-lp55xx-common.c
> create mode 100644 drivers/leds/leds-lp55xx-common.h
> delete mode 100644 include/linux/leds-lp5521.h
> delete mode 100644 include/linux/leds-lp5523.h
> create mode 100644 include/linux/platform_data/leds-lp55xx.h
>
> --
> 1.7.9.5
>
> Best Regards,
> Milo
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
2012-12-18 17:50 ` Bryan Wu
@ 2012-12-21 0:17 ` Kim, Milo
2013-01-04 18:46 ` Bryan Wu
0 siblings, 1 reply; 5+ messages in thread
From: Kim, Milo @ 2012-12-21 0:17 UTC (permalink / raw)
To: Bryan Wu; +Cc: linux-leds, linux-kernel
> Hi Kim
>
> This patchset looks good, but I need some time to review it more
> carefully especially during this merge window + holiday time.
OK, thanks for the reply.
Please let me know if any problem in the git tree.
Happy holidays!
Best Regards,
Milo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
2012-12-21 0:17 ` Kim, Milo
@ 2013-01-04 18:46 ` Bryan Wu
2013-01-06 9:56 ` Kim, Milo
0 siblings, 1 reply; 5+ messages in thread
From: Bryan Wu @ 2013-01-04 18:46 UTC (permalink / raw)
To: Kim, Milo; +Cc: linux-leds, linux-kernel
On Thu, Dec 20, 2012 at 4:17 PM, Kim, Milo <Milo.Kim@ti.com> wrote:
>> Hi Kim
>>
>> This patchset looks good, but I need some time to review it more
>> carefully especially during this merge window + holiday time.
>
> OK, thanks for the reply.
> Please let me know if any problem in the git tree.
> Happy holidays!
>
Hi Milo,
Since we got several updates in our leds.git for-next branch, could
you please update your patch on top of my latest for-next branch? And
publish it somewhere, I can pull it cleanly.
Thanks,
-Bryan
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
2013-01-04 18:46 ` Bryan Wu
@ 2013-01-06 9:56 ` Kim, Milo
0 siblings, 0 replies; 5+ messages in thread
From: Kim, Milo @ 2013-01-06 9:56 UTC (permalink / raw)
To: Bryan Wu; +Cc: linux-leds, linux-kernel
> -----Original Message-----
> From: Bryan Wu [mailto:cooloney@gmail.com]
> Sent: Saturday, January 05, 2013 3:46 AM
> To: Kim, Milo
> Cc: linux-leds@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver
>
> On Thu, Dec 20, 2012 at 4:17 PM, Kim, Milo <Milo.Kim@ti.com> wrote:
> >> Hi Kim
> >>
> >> This patchset looks good, but I need some time to review it more
> >> carefully especially during this merge window + holiday time.
> >
> > OK, thanks for the reply.
> > Please let me know if any problem in the git tree.
> > Happy holidays!
> >
>
> Hi Milo,
>
> Since we got several updates in our leds.git for-next branch, could
> you please update your patch on top of my latest for-next branch? And
> publish it somewhere, I can pull it cleanly.
Hi Bryan,
New git place is here. You can pull them from the location below.
git://github.com/milokim/lp55xx.git lp55xx-for-next
This branch is based on latest 'for-next' branch of linux-leds.
And same patches have been sent to linux-leds mailing list.
Many thanks!
Milo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-06 9:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-12 13:59 [PATCH 00/33] leds: cleanup LP5521/5523 LED driver Kim, Milo
2012-12-18 17:50 ` Bryan Wu
2012-12-21 0:17 ` Kim, Milo
2013-01-04 18:46 ` Bryan Wu
2013-01-06 9:56 ` Kim, Milo
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).