From: "Cathy Xu (许华婷)" <ot_cathy.xu@mediatek.com>
To: "robh@kernel.org" <robh@kernel.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"sean.wang@kernel.org" <sean.wang@kernel.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
"linus.walleij@linaro.org" <linus.walleij@linaro.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"Lei Xue (薛磊)" <Lei.Xue@mediatek.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"Wenbin Mei (梅文彬)" <Wenbin.Mei@mediatek.com>,
"Yong Mao (毛勇)" <yong.mao@mediatek.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Axe Yang (杨磊)" <Axe.Yang@mediatek.com>
Subject: Re: [PATCH v2 2/3] arm64: dts: mediatek: mt8189: Add pinmux macro header file
Date: Wed, 27 Aug 2025 02:12:57 +0000 [thread overview]
Message-ID: <86543aedd6537e5b3068653761218944352a0461.camel@mediatek.com> (raw)
In-Reply-To: <987aeeef-6f3e-4ba3-b04f-a60e0cf201ac@collabora.com>
On Fri, 2025-07-18 at 08:44 +0200, AngeloGioacchino Del Regno wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> Il 11/07/25 11:44, Cathy Xu ha scritto:
> > Add the pinctrl header file on MediaTek mt8189.
> >
> > Signed-off-by: Cathy Xu <ot_cathy.xu@mediatek.com>
> > ---
> > arch/arm64/boot/dts/mediatek/mt8189-pinfunc.h | 1125
> > +++++++++++++++++
> > 1 file changed, 1125 insertions(+)
> > create mode 100644 arch/arm64/boot/dts/mediatek/mt8189-pinfunc.h
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8189-pinfunc.h
> > b/arch/arm64/boot/dts/mediatek/mt8189-pinfunc.h
> > new file mode 100644
> > index 000000000000..f9c270ebab89
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/mediatek/mt8189-pinfunc.h
> > @@ -0,0 +1,1125 @@
> > +/* SPDX-License-Identifier: GPL-2.0 */
> > +/*
> > + * Copyright (C) 2025 MediaTek Inc.
> > + * Author: Lei Xue <lei.xue@mediatek.com>
> > + * Cathy Xu <ot_cathy.xu@mediatek.com>
> > + */
> > +
> > +#ifndef __MT8189_PINFUNC_H
> > +#define __MT8189_PINFUNC_H
> > +
> > +#include "mt65xx.h"
> > +
>
> ..snip..
>
> > +#define PINMUX_GPIO27__FUNC_GPIO27 (MTK_PIN_NO(27) | 0)
> > +#define PINMUX_GPIO27__FUNC_DP_TX_HPD (MTK_PIN_NO(27) | 1)
>
>
> > +#define PINMUX_GPIO27__FUNC_mbistreaden_trigger (MTK_PIN_NO(27) |
> > 2)
>
> ^^^^^^^^^^^^^^^^^^^
> Please fix: this has to be uppercase as much as the other
> definitions.
Thank you for your review. It will be fixed in next version.
>
>
> > +#define PINMUX_GPIO27__FUNC_MD32_0_GPIO0 (MTK_PIN_NO(27) | 3)
> > +#define PINMUX_GPIO27__FUNC_TP_UCTS1_VCORE (MTK_PIN_NO(27) | 4)
> > +#define PINMUX_GPIO27__FUNC_CMVREF4 (MTK_PIN_NO(27) | 5)
> > +#define PINMUX_GPIO27__FUNC_EXTIF0_ACT (MTK_PIN_NO(27) | 6)
> > +#define PINMUX_GPIO27__FUNC_ANT_SEL0 (MTK_PIN_NO(27) | 7)
> > +
> > +#define PINMUX_GPIO28__FUNC_GPIO28 (MTK_PIN_NO(28) | 0)
> > +#define PINMUX_GPIO28__FUNC_EDP_TX_HPD (MTK_PIN_NO(28) | 1)
> > +#define PINMUX_GPIO28__FUNC_mbistwriteen_trigger (MTK_PIN_NO(28) |
> > 2)
>
> same here
It will be fixed in next version.
>
> > +#define PINMUX_GPIO28__FUNC_MD32_1_GPIO0 (MTK_PIN_NO(28) | 3)
> > +#define PINMUX_GPIO28__FUNC_TP_URTS1_VCORE (MTK_PIN_NO(28) | 4)
> > +#define PINMUX_GPIO28__FUNC_EXTIF0_PRI (MTK_PIN_NO(28) | 6)
> > +#define PINMUX_GPIO28__FUNC_ANT_SEL1 (MTK_PIN_NO(28) | 7)
> > +
>
> Cheers,
> Angelo
next prev parent reply other threads:[~2025-08-27 2:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-11 9:44 [PATCH v2 0/3] pinctrl: mediatek: Add pinctrl driver on mt8189 Cathy Xu
2025-07-11 9:44 ` [PATCH v2 1/3] dt-bindings: pinctrl: mediatek: Add support for mt8189 Cathy Xu
2025-07-15 3:08 ` Rob Herring (Arm)
2025-07-18 6:45 ` AngeloGioacchino Del Regno
2025-07-11 9:44 ` [PATCH v2 2/3] arm64: dts: mediatek: mt8189: Add pinmux macro header file Cathy Xu
2025-07-15 3:08 ` Rob Herring
2025-08-27 2:07 ` Cathy Xu (许华婷)
2025-07-18 6:44 ` AngeloGioacchino Del Regno
2025-08-27 2:12 ` Cathy Xu (许华婷) [this message]
2025-07-11 9:44 ` [PATCH v2 3/3] pinctrl: mediatek: Add pinctrl driver on mt8189 Cathy Xu
2025-07-18 6:45 ` AngeloGioacchino Del Regno
2025-07-14 7:53 ` [PATCH v2 0/3] " Krzysztof Kozlowski
2025-08-27 2:00 ` Cathy Xu (许华婷)
2025-07-23 11:36 ` Linus Walleij
2025-08-27 2:03 ` Cathy Xu (许华婷)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86543aedd6537e5b3068653761218944352a0461.camel@mediatek.com \
--to=ot_cathy.xu@mediatek.com \
--cc=Axe.Yang@mediatek.com \
--cc=Lei.Xue@mediatek.com \
--cc=Wenbin.Mei@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
--cc=sean.wang@kernel.org \
--cc=yong.mao@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®