[PATCH V2 1/3] dt-bindings: pinctrl: Convert i.MX8MQ to json-schema

Anson Huang anson.huang at nxp.com
Tue Jan 14 17:37:11 PST 2020


Hi, Rob

> Subject: Re: [PATCH V2 1/3] dt-bindings: pinctrl: Convert i.MX8MQ to json-
> schema
> 
> On Fri, Jan 10, 2020 at 12:05:18PM +0800, Anson Huang wrote:
> > Convert the i.MX8MQ pinctrl binding to DT schema format using
> > json-schema
> >
> > Signed-off-by: Anson Huang <Anson.Huang at nxp.com>
> > ---
> > Changes since V1:
> > 	- use "grp$" instead of "-grp$";
> > 	- use space instead of tab for "ref$";
> > 	- add missed "reg" property;
> > 	- remove the "maxItem" for "fsl,pins" to avoid build warning, as the
> item number is changable.
> > ---
> >  .../bindings/pinctrl/fsl,imx8mq-pinctrl.txt        | 36 -----------
> >  .../bindings/pinctrl/fsl,imx8mq-pinctrl.yaml       | 69
> ++++++++++++++++++++++
> >  2 files changed, 69 insertions(+), 36 deletions(-)  delete mode
> > 100644
> > Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.txt
> >  create mode 100644
> > Documentation/devicetree/bindings/pinctrl/fsl,imx8mq-pinctrl.yaml
> 
> Actually, it looks like you can combine all 3 into a single schema. The only diff
> is the compatible string.

The header files name, reference manual name and the examples are also different,
so, personally, I prefer to have them separately if no strong objection.

Thanks,
Anson


More information about the linux-arm-kernel mailing list