[U-Boot] [PATCH v4 7/9] dm: imx: gpio: Support driver model in MXC gpio driver

Simon Glass sjg at chromium.org
Thu Oct 23 05:06:37 CEST 2014


On 1 October 2014 19:57, Simon Glass <sjg at 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 at chromium.org>
> Acked-by: Igor Grinberg <grinberg at 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.


More information about the U-Boot mailing list