From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Cathy Xu <ot_cathy.xu@mediatek.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Sean Wang <sean.wang@kernel.org>
Cc: Lei Xue <lei.xue@mediatek.com>,
linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
Yong Mao <yong.mao@mediatek.com>,
Wenbin Mei <Wenbin.Mei@mediatek.com>,
Axe Yang <Axe.Yang@mediatek.com>
Subject: Re: [PATCH v2 2/3] arm64: dts: mediatek: mt8189: Add pinmux macro header file
Date: Fri, 18 Jul 2025 08:44:59 +0200 [thread overview]
Message-ID: <987aeeef-6f3e-4ba3-b04f-a60e0cf201ac@collabora.com> (raw)
In-Reply-To: <20250711094513.17073-3-ot_cathy.xu@mediatek.com>
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.
> +#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
> +#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-07-18 6:45 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 [this message]
2025-08-27 2:12 ` Cathy Xu (许华婷)
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=987aeeef-6f3e-4ba3-b04f-a60e0cf201ac@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=Axe.Yang@mediatek.com \
--cc=Wenbin.Mei@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lei.xue@mediatek.com \
--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=ot_cathy.xu@mediatek.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;
as well as URLs for NNTP newsgroup(s).