Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH v3 1/7] mfd: add pruss mfd driver. | Date | Wed, 30 Mar 2011 13:38:56 +0200 |
| |
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
| |