[PATCH 1/5] pinctrl: imx: add generic pin config core support
Shawn Guo
shawnguo at kernel.org
Mon May 15 03:56:16 PDT 2017
On Mon, May 15, 2017 at 08:56:18AM +0000, A.S. Dong wrote:
> > > @@ -489,17 +547,29 @@ static int imx_pinctrl_parse_groups(struct
> > device_node *np,
> > > pin_size = SHARE_FSL_PIN_SIZE;
> > > else
> > > pin_size = FSL_PIN_SIZE;
> > > +
> > > + if (info->generic_pinconf)
> > > + pin_size -= 4;
> > > +
> > > /* Initialise group */
> > > grp->name = np->name;
> > >
> > > /*
> > > - * the binding format is fsl,pins = <PIN_FUNC_ID CONFIG ...>,
> > > + * the binding format is pins = <PIN_FUNC_ID CONFIG ...>,
> >
> > This is not correct for generic pinconf bindings. CONIFIG shouldn't be
> > there.
> >
>
> Yes, that's for legacy stuff.
If that's for legacy bindings, you shouldn't change 'fsl,pins' to
'pins', right?
Shawn
More information about the linux-arm-kernel
mailing list