[U-Boot] [PATCH v5 12/21] rockchip: rk3036: Add pinctrl driver

Ariel D'Alessandro ariel at vanguardiasur.com.ar
Sat Nov 14 00:54:48 CET 2015


Hi Lin,

El 10/11/15 a las 07:24, Lin Huang escribió:
> Add a driver which support pin multiplexing setup for rk3036
> 
> Signed-off-by: Lin Huang <hl at rock-chips.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
> Changes in v1:
> - clean copyright announcement
> Changes in v2: None
> Changes in v3:
> - fix some coding style error
> Changes in v4: None
> Changes in v5: None
> 
>  drivers/pinctrl/Kconfig                   |  18 ++
>  drivers/pinctrl/rockchip/Makefile         |   1 +
>  drivers/pinctrl/rockchip/pinctrl_rk3036.c | 276 ++++++++++++++++++++++++++++++
>  3 files changed, 295 insertions(+)
>  create mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3036.c
> 
> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
> index 3b6e3b7..6495313 100644
> --- a/drivers/pinctrl/Kconfig
> +++ b/drivers/pinctrl/Kconfig
> @@ -114,6 +114,24 @@ config ROCKCHIP_PINCTRL
>  	  definitions and pin control functions for each available multiplex
>  	  function.
>  
> +config ROCKCHIP_3036_PINCTRL
> +	bool "Rockchip rk3036 pin control driver"
> +	depends on DM
> +	help
> +	  Support pin multiplexing control on Rockchip rk3036 SoCs. The driver is
> +	  controlled by a device tree node which contains both the GPIO
> +	  definitions and pin control functions for each available multiplex
> +	  function.
> +
> +config ROCKCHIP_PINCTRL

You're duplicating ROCKCHIP_PINCTRL entry here.

> +	bool "Rockchip pin control driver"
> +	depends on DM
> +	help
> +	  Support pin multiplexing control on Rockchip SoCs. The driver is
> +	  controlled by a device tree node which contains both the GPIO
> +	  definitions and pin control functions for each available multiplex
> +	  function.
> +
>  config PINCTRL_SANDBOX
>  	bool "Sandbox pinctrl driver"
>  	depends on SANDBOX

[...]

-- 
Ariel D'Alessandro, VanguardiaSur
www.vanguardiasur.com.ar


More information about the U-Boot mailing list