public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/22] twl4030 patches
@ 2008-09-29 13:14 Felipe Balbi
  2008-09-29 13:14 ` [PATCH 01/22] twl4030: fix potential null pointer dereference Felipe Balbi
  2008-09-29 18:39 ` [PATCH 00/22] twl4030 patches David Brownell
  0 siblings, 2 replies; 28+ messages in thread
From: Felipe Balbi @ 2008-09-29 13:14 UTC (permalink / raw)
  To: linux-omap; +Cc: David Brownell, Tony Lindgren, Felipe Balbi

I think now things are in pretty good shape and should be applied
to linux-omap mailing list.

With this patchset, we're moving twl4030 forward to a new registration
method and several children were already moved to this new style.

There are plenty of bug fixes as well, mainly to gpio and core modules
and still a lot of stuff to go.

I'd ask people to test the card detect features since I don't have
(damn it) the expansion board for 3430sdp but it looks fine as long
as Dave's tests can say.

This series was boot tested on 3430sdp and beagle B5 (couldn't mount fs
since hsmmc.c is broken on current l-o) and compile tested for all
omap3-based defconfigs plus 2430sdp.

We have a list of TODO so if people wanna help, go for it:

- twl4030-pwrirq.c needs atention. Probably get merged into
  twl4030-core.c

- twl4030_bci_battery.c needs rework as well. Move to new style
  registration is a must now.

- twl4030-power.c needs to get rid of the board specific calls

- twl4030-pwrbutton.c could move to drivers/input/misc

- mmc card detect should be stress tested since we've been
  playing with the edge control stuff. If that's working
  we can probaly switch hsmmc.c to standard gpio calls soon.

- there are too many header files for twl4030, we could merge them
  into one, maybe.

- twl4030-keypad.h should vanish. It's small and all those register
  definitions are used only by the keypad driver. Moving all that
  stuff should be simple.

- sound/soc/codecs/twl4030.c will probably need some attention as
  well.

- twl4030-madc.c could move to sysfs files and hwmon rules (??)

This list will probably grow as we continue doing stuff. Dave
has another queue waiting some other patches to get merged
upstream. After that, I'd say twl4030-core.c could go
upstream as well.

As these patches are quite important, give it a good review
and test so we avoid surprises later.

All-in-all, I'd say we can apply these patches and fix hsmmc.c
in the road. What say you Dave ? I put a few printk to hsmmc.c
and could see that the request_irq for card_detect is the one
which is failing. Maybe that TWL4030_GPIO_IRQ_NO() crap should
be changed. Better, removed.

David Brownell (11):
  twl4030 gpio platform data
  twl4030 uses gpiolib
  minor twl4030-core cleanups
  provide detailed diagnostics in add_children()
  move twl4030-gpio to drivers/gpio
  minor irq-related cleanups
  Move I2C driver model init earlier in the boot sequence
  twl4030-gpio irq_chip.set_type
  twl4030-gpio: remove legacy irq triggering calls and user
  twl4030-gpio: irq and other cleanup
  twl4030-core: portability updates

Felipe Balbi (10):
  twl4030: fix potential null pointer dereference
  i2c: clean add_children a bit
  i2c: move twl4030_keypad to new style registration
  i2c: move twl4030-usb to platform_device
  i2c: twl4030-usb: add 'vbus' sysfs file
  i2c: move twl4030-madc to new registration style
  i2c: added a few missing gotos to add_children()
  twl4030: move pm_power_off initialization to twl4030-core.c
  i2c: switch twl4030-usb to use a resource for irq
  i2c: minor cleanups to twl4030-pwrbutton.c

Jagadeesh Bhaskar Pakaravoor (1):
  twl4030-gpio: Remove default pullup enable/disable of GPIO

 arch/arm/mach-omap2/board-2430sdp.c         |   32 +-
 arch/arm/mach-omap2/board-3430sdp.c         |   31 +-
 arch/arm/mach-omap2/board-ldp.c             |   19 +
 arch/arm/mach-omap2/board-omap2evm.c        |   33 +-
 arch/arm/mach-omap2/board-omap3beagle.c     |   19 +
 arch/arm/mach-omap2/board-omap3evm.c        |   85 ++-
 arch/arm/mach-omap2/board-overo.c           |    7 +
 arch/arm/mach-omap2/hsmmc.c                 |    5 -
 arch/arm/plat-omap/include/mach/irqs.h      |    2 +-
 drivers/gpio/Kconfig                        |    7 +
 drivers/gpio/Makefile                       |    1 +
 drivers/gpio/twl4030-gpio.c                 |  951 +++++++++++++++++++++++++++
 drivers/i2c/chips/Kconfig                   |   24 -
 drivers/i2c/chips/Makefile                  |    2 -
 drivers/i2c/chips/twl4030-core.c            |  311 ++++++++--
 drivers/i2c/chips/twl4030-gpio.c            |  788 ----------------------
 drivers/i2c/chips/twl4030-madc.c            |  243 +++++---
 drivers/i2c/chips/twl4030-poweroff.c        |   76 ---
 drivers/i2c/chips/twl4030-pwrbutton.c       |   10 +-
 drivers/i2c/chips/twl4030-usb.c             |  375 ++++++-----
 drivers/i2c/i2c-core.c                      |    2 +-
 drivers/input/keyboard/omap-twl4030keypad.c |   10 +-
 drivers/mmc/host/omap_hsmmc.c               |    4 +-
 drivers/rtc/rtc-twl4030.c                   |   11 +-
 include/linux/i2c/twl4030.h                 |   59 ++-
 25 files changed, 1796 insertions(+), 1311 deletions(-)
 create mode 100644 drivers/gpio/twl4030-gpio.c
 delete mode 100644 drivers/i2c/chips/twl4030-gpio.c
 delete mode 100644 drivers/i2c/chips/twl4030-poweroff.c


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

end of thread, other threads:[~2008-10-01  6:54 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29 13:14 [PATCH 00/22] twl4030 patches Felipe Balbi
2008-09-29 13:14 ` [PATCH 01/22] twl4030: fix potential null pointer dereference Felipe Balbi
2008-09-29 13:14   ` [PATCH 02/22] twl4030-gpio: Remove default pullup enable/disable of GPIO Felipe Balbi
2008-09-29 13:14     ` [PATCH 03/22] i2c: clean add_children a bit Felipe Balbi
2008-09-29 13:14       ` [PATCH 04/22] i2c: move twl4030_keypad to new style registration Felipe Balbi
2008-09-29 13:14         ` [PATCH 05/22] i2c: move twl4030-usb to platform_device Felipe Balbi
2008-09-29 13:14           ` [PATCH 06/22] i2c: twl4030-usb: add 'vbus' sysfs file Felipe Balbi
2008-09-29 13:14             ` [PATCH 07/22] twl4030 gpio platform data Felipe Balbi
2008-09-29 13:14               ` [PATCH 08/22] twl4030 uses gpiolib Felipe Balbi
2008-09-29 13:14                 ` [PATCH 09/22] i2c: move twl4030-madc to new registration style Felipe Balbi
2008-09-29 13:14                   ` [PATCH 10/22] minor twl4030-core cleanups Felipe Balbi
2008-09-29 13:14                     ` [PATCH 11/22] provide detailed diagnostics in add_children() Felipe Balbi
2008-09-29 13:14                       ` [PATCH 12/22] move twl4030-gpio to drivers/gpio Felipe Balbi
2008-09-29 13:14                         ` [PATCH 13/22] i2c: added a few missing gotos to add_children() Felipe Balbi
2008-09-29 13:14                           ` [PATCH 14/22] minor irq-related cleanups Felipe Balbi
2008-09-29 13:14                             ` [PATCH 15/22] twl4030: move pm_power_off initialization to twl4030-core.c Felipe Balbi
2008-09-29 13:14                               ` [PATCH 16/22] i2c: switch twl4030-usb to use a resource for irq Felipe Balbi
2008-09-29 13:14                                 ` [PATCH 17/22] Move I2C driver model init earlier in the boot sequence Felipe Balbi
2008-09-29 13:14                                   ` [PATCH 18/22] i2c: minor cleanups to twl4030-pwrbutton.c Felipe Balbi
2008-09-29 13:14                                     ` [PATCH 19/22] twl4030-gpio irq_chip.set_type Felipe Balbi
2008-09-29 13:14                                       ` [PATCH 20/22] twl4030-gpio: remove legacy irq triggering calls and user Felipe Balbi
2008-09-29 13:14                                         ` [PATCH 21/22] twl4030-gpio: irq and other cleanup Felipe Balbi
2008-09-29 13:14                                           ` [PATCH 22/22] twl4030-core: portability updates Felipe Balbi
2008-09-29 15:42                               ` [PATCH 15/22] twl4030: move pm_power_off initialization to twl4030-core.c Felipe Balbi
2008-10-01  6:53                             ` [PATCH 14/22] minor irq-related cleanups Pakaravoor, Jagadeesh
2008-09-29 15:02           ` [PATCH 05/22] i2c: move twl4030-usb to platform_device Steve Sakoman
2008-09-29 15:43             ` Felipe Balbi
2008-09-29 18:39 ` [PATCH 00/22] twl4030 patches David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox