
23 Oct
2014
23 Oct
'14
5:06 a.m.
On 1 October 2014 19:57, Simon Glass sjg@chromium.org wrote:
Add driver model support with this driver. In this case the platform data is in the driver. It would be better to put this into an SOC-specific file, but this is best attempted when more boards are moved over to use driver model.
Signed-off-by: Simon Glass sjg@chromium.org Acked-by: Igor Grinberg grinberg@compulab.co.il
Changes in v4: None Changes in v3:
- Use gpio_is_requested() in one more place
Changes in v2:
- Add an internal function to check if a GPIO is requested
- Change 'reserved' to 'requested'
- Tidy up confusing code that creates names for gpio_request()
drivers/gpio/mxc_gpio.c | 304 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 303 insertions(+), 1 deletion(-)
Applied to u-boot-dm/master.