[PATCH 3/5] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc

A.S. Dong aisheng.dong at nxp.com
Mon May 15 06:32:48 PDT 2017


> -----Original Message-----
> From: Shawn Guo [mailto:shawnguo at kernel.org]
> Sent: Monday, May 15, 2017 9:31 PM
> To: A.S. Dong
> Cc: linux-gpio at vger.kernel.org; Mark Rutland; Andy Duan; Jacky Bai;
> devicetree at vger.kernel.org; linus.walleij at linaro.org; stefan at agner.ch; Rob
> Herring; kernel at pengutronix.de; linux-arm-kernel at lists.infradead.org
> Subject: Re: [PATCH 3/5] dt-bindings: pinctrl: add imx7ulp pinctrl binding
> doc
> 
> On Fri, May 12, 2017 at 08:38:04PM +0800, Dong Aisheng wrote:
> > diff --git a/include/dt-bindings/pinctrl/imx7ulp-pinfunc.h b/include/dt-
> bindings/pinctrl/imx7ulp-pinfunc.h
> > new file mode 100644
> > index 0000000..b6db73f
> > --- /dev/null
> > +++ b/include/dt-bindings/pinctrl/imx7ulp-pinfunc.h
> > @@ -0,0 +1,468 @@
> > +/*
> > + * Copyright 2016 Freescale Semiconductor, Inc.
> > + * Copyright 2017 NXP
> > + *
> > + * This program is free software; you can redistribute it and/or modify
> > + * it under the terms of the GNU General Public License version 2 as
> > + * published by the Free Software Foundation.
> > + *
> > + */
> > +
> > +#ifndef __DTS_ULP1_PINFUNC_H
> > +#define __DTS_ULP1_PINFUNC_H
> > +
> > +/*
> > + * The pin function ID is a tuple of
> > + * <mux_conf_reg conf_reg input_reg mux_mode input_val>
> 
> Forgot this one: it should have only 4 integers.
> 

Good catch!
Thanks a lot

Regards
Dong Aisheng

> Shawn
> 
> > + */
> > +
> > +#define ULP1_PAD_PTC0__PTC0
> 0x0000 0x0000 0x1 0x0
> > +#define ULP1_PAD_PTC0__TRACE_D15
> 0x0000 0x0000 0xa 0x0
> > +#define ULP1_PAD_PTC0__LPUART4_CTS_B
> 0x0000 0x0244 0x4 0x1



More information about the linux-arm-kernel mailing list