[PATCH v2] pinctrl: aspeed: Fix names for balls at GPIOD2,3

Andrew Jeffery andrew at aj.id.au
Tue Sep 27 11:41:04 AEST 2016


Hi Xo,

On Mon, 2016-09-26 at 18:33 -0700, Xo Wang wrote:
> Update ball names in SDIO block per AST2500 pin mapping table. Functions
> and select expressions are correct; they were just one ball low.

Thanks. I also found this whilst preparing some follow-up patches which
I'm hoping to send out shortly. I'll add your Reported-by.

Cheers,

Andrew

> 
> Signed-off-by: Xo Wang <xow at google.com>
> ---
> Changes for v2: now it compiles.
> ---
>  drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
> index c98beb6..d8e5824 100644
> --- a/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
> +++ b/drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
> @@ -129,21 +129,21 @@ FUNC_GROUP_DECL(GPID0, F19, E21);
>  
>  #define GPID1_DESC      SIG_DESC_SET(SCU8C, 9)
>  
> -#define D20 26
> +#define F20 26
>  SIG_EXPR_LIST_DECL_SINGLE(SD2DAT0, SD2, SD2_DESC);
>  SIG_EXPR_DECL(GPID1IN, GPID1, GPID1_DESC);
>  SIG_EXPR_DECL(GPID1IN, GPID, GPID_DESC);
>  SIG_EXPR_LIST_DECL_DUAL(GPID1IN, GPID1, GPID);
> -MS_PIN_DECL(D20, GPIOD2, SD2DAT0, GPID1IN);
> +MS_PIN_DECL(F20, GPIOD2, SD2DAT0, GPID1IN);
>  
> -#define D21 27
> +#define D20 27
>  SIG_EXPR_LIST_DECL_SINGLE(SD2DAT1, SD2, SD2_DESC);
>  SIG_EXPR_DECL(GPID1OUT, GPID1, GPID1_DESC);
>  SIG_EXPR_DECL(GPID1OUT, GPID, GPID_DESC);
>  SIG_EXPR_LIST_DECL_DUAL(GPID1OUT, GPID1, GPID);
> -MS_PIN_DECL(D21, GPIOD3, SD2DAT1, GPID1OUT);
> +MS_PIN_DECL(D20, GPIOD3, SD2DAT1, GPID1OUT);
>  
> -FUNC_GROUP_DECL(GPID1, D20, D21);
> +FUNC_GROUP_DECL(GPID1, F20, D20);
>  
>  #define I2C5_DESC       SIG_DESC_SET(SCU90, 18)
>  
> @@ -522,8 +522,8 @@ static struct pinctrl_pin_desc aspeed_g5_pins[ASPEED_G5_NR_PINS] = {
>  	ASPEED_PINCTRL_PIN(D1),
>  	ASPEED_PINCTRL_PIN(D10),
>  	ASPEED_PINCTRL_PIN(D2),
> +	ASPEED_PINCTRL_PIN(F20),
>  	ASPEED_PINCTRL_PIN(D20),
> -	ASPEED_PINCTRL_PIN(D21),
>  	ASPEED_PINCTRL_PIN(D4),
>  	ASPEED_PINCTRL_PIN(D5),
>  	ASPEED_PINCTRL_PIN(D6),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160927/9dbce2d6/attachment.sig>


More information about the openbmc mailing list