[PATCH v3 4/7] pinctrl: mvebu: a38x: Add UART1 muxing options

Andrew Lunn andrew at lunn.ch
Thu Jan 8 06:48:35 PST 2015


On Thu, Jan 08, 2015 at 03:39:40PM +0100, Maxime Ripard wrote:
> The MPP19 and MMP20 pins also have the ability to be muxed to the uart1
> function.
> 
> Add this case to the pinctrl driver.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Jason Cooper <jason at lakedaemon.net>
> ---
>  drivers/pinctrl/mvebu/pinctrl-armada-38x.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-38x.c b/drivers/pinctrl/mvebu/pinctrl-armada-38x.c
> index 224c6cff6aa2..7302f66f4f19 100644
> --- a/drivers/pinctrl/mvebu/pinctrl-armada-38x.c
> +++ b/drivers/pinctrl/mvebu/pinctrl-armada-38x.c
> @@ -145,14 +145,16 @@ static struct mvebu_mpp_mode armada_38x_mpp_modes[] = {
>  		 MPP_VAR_FUNCTION(2, "ptp",   "event_req",  V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(3, "pcie0", "clkreq",     V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(4, "sata1", "prsnt",      V_88F6810_PLUS),
> -		 MPP_VAR_FUNCTION(5, "ua0",   "cts",        V_88F6810_PLUS)),
> +		 MPP_VAR_FUNCTION(5, "ua0",   "cts",        V_88F6810_PLUS),
> +		 MPP_VAR_FUNCTION(6, "ua1",   "rxd",        V_88F6810_PLUS)),
>  	MPP_MODE(20,
>  		 MPP_VAR_FUNCTION(0, "gpio",  NULL,         V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(1, "ge0",   "txclk",      V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(2, "ptp",   "clk",        V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(3, "pcie1", "rstout",     V_88F6820_PLUS),
>  		 MPP_VAR_FUNCTION(4, "sata0", "prsnt",      V_88F6810_PLUS),
> -		 MPP_VAR_FUNCTION(5, "ua0",   "rts",        V_88F6810_PLUS)),
> +		 MPP_VAR_FUNCTION(5, "ua0",   "rts",        V_88F6810_PLUS),
> +		 MPP_VAR_FUNCTION(6, "ua1",   "txd",        V_88F6810_PLUS)),
>  	MPP_MODE(21,
>  		 MPP_VAR_FUNCTION(0, "gpio",  NULL,         V_88F6810_PLUS),
>  		 MPP_VAR_FUNCTION(1, "spi0",  "cs1",        V_88F6810_PLUS),
> -- 
> 2.2.1
> 

Hi Linus

I can take this though mvebu->arm-soc if you want? Or you can take
it. Please let me know your preference.

    Andrew



More information about the linux-arm-kernel mailing list