From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Arseniy Velikanov <me@adomerle.xyz>,
mturquette@baylibre.com, sboyd@kernel.org,
matthias.bgg@gmail.com, sean.wang@kernel.org,
linus.walleij@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, frank.li@vivo.com, jiasheng@iscas.ac.cn,
mars.cheng@mediatek.com, owen.chen@mediatek.com,
macpaul.lin@mediatek.com, zh.chen@mediatek.com,
argus.lin@mediatek.com
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 3/5] pinctrl: mediatek: mt6765: Add virtual GPIOs
Date: Mon, 29 Jul 2024 09:46:46 +0200 [thread overview]
Message-ID: <f73bf4de-0795-41a6-a94a-016e85721e2e@collabora.com> (raw)
In-Reply-To: <20240729073428.28983-4-me@adomerle.xyz>
Il 29/07/24 09:34, Arseniy Velikanov ha scritto:
> Add EINT-only virtual GPIOs as done for MT6735
> These pins are needed at least for PWRAP
>
Those are not virtual - they do exist. For real.
I would, at this point, describe this commit as such:
pinctrl: mediatek: mt6765: Add GPIOs for PWRAP
Introduce missing additional EINT pins, used mainly for the PMIC Wrapper.
> Fixes: 477fecee7ca9 ("pinctrl: mediatek: add MT6765 pinctrl driver")
...and this is an addition, not a fix, so please remove the Fixes tag.
Cheers,
Angelo
> Signed-off-by: Arseniy Velikanov <me@adomerle.xyz>
> ---
> drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h | 66 +++++++++++++++++++
> 1 file changed, 66 insertions(+)
>
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h b/drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h
> index 772563720461..070af420333b 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h
> +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt6765.h
> @@ -1749,6 +1749,72 @@ static struct mtk_pin_desc mtk_pins_mt6765[] = {
> DRV_GRP4,
> MTK_FUNCTION(0, "GPIO179")
> ),
> + MTK_PIN(
> + 180, "GPIO180",
> + MTK_EINT_FUNCTION(0, 144),
> + DRV_GRP4,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 181, "GPIO181",
> + MTK_EINT_FUNCTION(0, 145),
> + DRV_GRP4,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 182, "GPIO182",
> + MTK_EINT_FUNCTION(0, 152),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 183, "GPIO183",
> + MTK_EINT_FUNCTION(0, 153),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 184, "GPIO184",
> + MTK_EINT_FUNCTION(0, 154),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 185, "GPIO185",
> + MTK_EINT_FUNCTION(0, 155),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 186, "GPIO186",
> + MTK_EINT_FUNCTION(0, 156),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 187, "GPIO187",
> + MTK_EINT_FUNCTION(0, 157),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 188, "GPIO188",
> + MTK_EINT_FUNCTION(0, 158),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 189, "GPIO189",
> + MTK_EINT_FUNCTION(0, 159),
> + DRV_FIXED,
> + MTK_FUNCTION(0, NULL)
> + ),
> + MTK_PIN(
> + 190, "GPIO190",
> + MTK_EINT_FUNCTION(0, 147),
> + DRV_GRP4,
> + MTK_FUNCTION(0, NULL)
> + ),
> };
>
> #endif /* __PINCTRL_MTK_MT6765_H */
next prev parent reply other threads:[~2024-07-29 7:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 7:34 [PATCH 0/5] Initial preparations for MT6765 Arseniy Velikanov
2024-07-29 7:34 ` [PATCH 1/5] dt-bindings: clock: mt6765: Add missing PMIC clock Arseniy Velikanov
2024-07-29 7:36 ` Krzysztof Kozlowski
2024-07-29 7:46 ` AngeloGioacchino Del Regno
2024-07-29 7:34 ` [PATCH 2/5] clk: mediatek: " Arseniy Velikanov
2024-07-29 7:46 ` AngeloGioacchino Del Regno
2024-07-29 7:34 ` [PATCH 3/5] pinctrl: mediatek: mt6765: Add virtual GPIOs Arseniy Velikanov
2024-07-29 7:46 ` AngeloGioacchino Del Regno [this message]
2024-07-29 7:34 ` [PATCH 4/5] dt-bindings: pinctrl: mediatek: Add bindings for MT6765 pin controller Arseniy Velikanov
2024-07-29 7:39 ` Krzysztof Kozlowski
2024-07-29 7:46 ` AngeloGioacchino Del Regno
2024-07-29 7:34 ` [PATCH 5/5] soc: mediatek: mtk-pmic-wrap: Drop CAP reset in MT6765 Arseniy Velikanov
2024-07-29 7:48 ` AngeloGioacchino Del Regno
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=f73bf4de-0795-41a6-a94a-016e85721e2e@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=argus.lin@mediatek.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frank.li@vivo.com \
--cc=jiasheng@iscas.ac.cn \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=macpaul.lin@mediatek.com \
--cc=mars.cheng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=me@adomerle.xyz \
--cc=mturquette@baylibre.com \
--cc=owen.chen@mediatek.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=sean.wang@kernel.org \
--cc=zh.chen@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