Re: [PATCH v5 2/6] pinctrl: mediatek: update pinmux definitions for mt6779

From: Hanks Chen
Date: Thu May 28 2020 - 07:59:23 EST


On Thu, 2020-04-02 at 14:54 -0700, Sean Wang wrote:
> Hi, Hanks
>
> Just a few nitpicks and then Acked-by: Sean Wang <sean.wang@xxxxxxxxxx>
>
> On Wed, Mar 25, 2020 at 2:31 AM Hanks Chen <hanks.chen@xxxxxxxxxxxx> wrote:
> >
> > Add devicetree bindings for Mediatek mt6779 SoC Pin Controller.
> >
> > Signed-off-by: Hanks Chen <hanks.chen@xxxxxxxxxxxx>
> > Signed-off-by: Mars Cheng <mars.cheng@xxxxxxxxxxxx>
> > Signed-off-by: Andy Teng <andy.teng@xxxxxxxxxxxx>
> > ---
> > include/dt-bindings/pinctrl/mt6779-pinfunc.h | 1242 ++++++++++++++++++++++++++
> > 1 file changed, 1242 insertions(+)
> > create mode 100644 include/dt-bindings/pinctrl/mt6779-pinfunc.h
> >
> > diff --git a/include/dt-bindings/pinctrl/mt6779-pinfunc.h b/include/dt-bindings/pinctrl/mt6779-pinfunc.h
> > new file mode 100644
> > index 0000000..4698d2f
> > --- /dev/null
> > +++ b/include/dt-bindings/pinctrl/mt6779-pinfunc.h
> > @@ -0,0 +1,1242 @@
> > +/* SPDX-License-Identifier: GPL-2.0 */
> > +/*
> > + * Copyright (C) 2019 MediaTek Inc.
> > + * Author: Andy Teng <andy.teng@xxxxxxxxxxxx>
> > + *
> > + */
> > +
> > +#ifndef __MT6779_PINFUNC_H
> > +#define __MT6779_PINFUNC_H
> > +
> > +#include "mt65xx.h"
>
> Use the standard include path instead: #include <dt-bindings/pinctrl/mt65xx.h>
>
Got it, I'll revise it in next version
Thanks for your comment.

> > +
> <snip>
> > +
> > +#define PINMUX_GPIO209__FUNC_GPIO209 (MTK_PIN_NO(209) | 0)
> > +
> > +#endif /* __MT6779-PINFUNC_H */
> __MT6779_PINFUNC_H
> > --
> > 1.7.9.5