[PATCH v3 1/7] mfd: add pruss mfd driver.
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-03-30 11:39:22
Also in:
lkml
From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-03-30 11:39:22
Also in:
lkml
On Wednesday 30 March 2011, Subhasish Ghosh wrote:
I am using a .setup to initialize pin mux etc. To use the mfd_cells directly should I use .enable and .disable of the mfd_cells instead of the .setup.
I think it would be best not to define any per-board functions that are needed to set up the cell, but rather to initialize it from the ->probe function of the cell specific driver. If you need board specific data such as GPIO lists, you can pass them in the mfd_cell platform_data. Arnd