Re: [PATCH v3 1/7] mfd: add pruss mfd driver.
From: Arnd Bergmann
Date: Wed Mar 30 2011 - 07:39:25 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/