Messages in this thread | | | From | Davide Ciminaghi <> | Subject | [PATCH 00/14] sta2x11-mfd patches | Date | Mon, 11 Jun 2012 02:57:45 +0200 |
| |
From: Davide Ciminaghi <ciminaghi@gnudd.com>
Hi,
I'm working on the implementation of the common clock framework for the STA2X11 (aka CONNEXT) soc. To configure, enable and disable clocks, some general purpose registers (apb-soc-registers) must be accessed. Such registers can be reached through bar #1 of a multifunction pci device, which is not covered by the current version of sta2x11-mfd. This patch series adds support for the apb-soc-registers device and rearranges the sta2x11-mfd driver to avoid unnecessary code duplications and to cope with the increased number of platform devices.
Davide Ciminaghi (14): sta2x11 mfd : also deal with PCI_DEVICE_ID_STMICRO_VIC. sta2x11-mfd : add apb-soc regs driver and factor out common code sta2x11-mfd : only add sta2x11_mfd if it hasn't already been added sta2x11-mfd : platform probe: don't mind about gpio platform data sta2x11-mfd : make enum sta2x11_mfd_plat_dev public sta2x11-mfd, sta2x11-mfd.h: add more platform device types sta2x11-mfd : implement apbreg_mask and sctl_mask as static inlines sta2x11-mfd : add apb-soc-regs defines and mask function sta2x11-mfd : add apb-soc-regs debugfs register set sta2x11-mfd : use one lock per device instead of one lock per mfd. sta2x11-mfd : add defines for platform devices' names sta2x11-mfd : use defines for platform devices' names sta2x11-mfd : add sta2x11_mfd_get_regs_data() function sta2x11-mfd : add myself to copyright
drivers/mfd/sta2x11-mfd.c | 416 ++++++++++++++++++++++++++------------- include/linux/mfd/sta2x11-mfd.h | 169 ++++++++++++++++- 2 files changed, 449 insertions(+), 136 deletions(-)
-- 1.7.9.1
| |