public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Supporting multiple PMICs
@ 2009-04-15  9:38 Premi, Sanjeev
  2009-04-20 17:50 ` RFC for supporting " Aggarwal, Anuj
  0 siblings, 1 reply; 4+ messages in thread
From: Premi, Sanjeev @ 2009-04-15  9:38 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

All,
 
I wanted to hear your views on supporting multiple
power management chips on OMAP3 - beyond TWL4030/TPS65950.
 
There is also a possibility of using TWL4030 being used
in conjuction with other processors as well.
 
Some patches for TPS6535x have earlier been submitted for
TPS6535x and there is ongoing development for TPS65023.
 
Suggestions:
1) Move the PMIC related code for TWL4030 to
   drivers/power/twl4030.c,h
   It will also help in reducing code duplication in the
   board specific files.
   (we already have twl4030_bc_battery.c in this dir)

2) board*.c files should do only the initialization specific
   to the PMIC connections in the board.

3) On same lines, move the specific peripherals - keypad,
   usb, ...
   (This will not be concern for other PMICs that are
   not as feature rich).
   However, it will allow better code sharing between
   PMICs with same/ similar functionality.
 
Still open questions:
1) Where does the generic initialization for the PMIC
   happen?

Best regards,
Sanjeev

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

end of thread, other threads:[~2009-04-27 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15  9:38 Supporting multiple PMICs Premi, Sanjeev
2009-04-20 17:50 ` RFC for supporting " Aggarwal, Anuj
2009-04-21 20:30   ` Tony Lindgren
2009-04-27 11:59     ` Aggarwal, Anuj

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