From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Igor Belwon <igor.belwon@mentallysanemainliners.org>,
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: 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
Subject: Re: [PATCH 3/4] pinctrl: mediatek: Add debounce times for MT6878
Date: Tue, 9 Sep 2025 10:00:15 +0200 [thread overview]
Message-ID: <493794af-a1e8-4a4e-a253-2b6b703df53b@collabora.com> (raw)
In-Reply-To: <20250908-mt6878-pinctrl-support-v1-3-3fb78c8ab4e8@mentallysanemainliners.org>
Il 08/09/25 21:17, Igor Belwon ha scritto:
> MT6878 uses different debounce times than other SoCs. Add them to the
> EINT driver.
The only reason why I can't give you a R-b for this is that you forgot to add
your S-o-b...
Cheers,
Angelo
> ---
> drivers/pinctrl/mediatek/mtk-eint.c | 5 +++++
> drivers/pinctrl/mediatek/mtk-eint.h | 1 +
> 2 files changed, 6 insertions(+)
>
> diff --git a/drivers/pinctrl/mediatek/mtk-eint.c b/drivers/pinctrl/mediatek/mtk-eint.c
> index 9f175c73613f84b47c0160947f32da7aca7d5a18..c8c5097c11c4d14eb41bdd7f9cb93b4a5756d2b2 100644
> --- a/drivers/pinctrl/mediatek/mtk-eint.c
> +++ b/drivers/pinctrl/mediatek/mtk-eint.c
> @@ -66,6 +66,11 @@ const unsigned int debounce_time_mt6795[] = {
> };
> EXPORT_SYMBOL_GPL(debounce_time_mt6795);
>
> +const unsigned int debounce_time_mt6878[] = {
> + 156, 313, 625, 1250, 20000, 40000, 80000, 160000, 320000, 640000, 0
> +};
> +EXPORT_SYMBOL_GPL(debounce_time_mt6878);
> +
> static void __iomem *mtk_eint_get_offset(struct mtk_eint *eint,
> unsigned int eint_num,
> unsigned int offset)
> diff --git a/drivers/pinctrl/mediatek/mtk-eint.h b/drivers/pinctrl/mediatek/mtk-eint.h
> index fc31a4c0c77bf28b106943e9292d0dcc425c4922..3cdd6f6310cd0da5aa74623c5f1dbe8f8495d689 100644
> --- a/drivers/pinctrl/mediatek/mtk-eint.h
> +++ b/drivers/pinctrl/mediatek/mtk-eint.h
> @@ -52,6 +52,7 @@ struct mtk_eint_pin {
> extern const unsigned int debounce_time_mt2701[];
> extern const unsigned int debounce_time_mt6765[];
> extern const unsigned int debounce_time_mt6795[];
> +extern const unsigned int debounce_time_mt6878[];
>
> struct mtk_eint;
>
>
next prev parent reply other threads:[~2025-09-09 8:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 19:17 [PATCH 0/4] Add support for mt6878 pinctrl Igor Belwon
2025-09-08 19:17 ` [PATCH 1/4] dt-bindings: pinctrl: mediatek: Document MT6878 pin controller bindings Igor Belwon
2025-09-09 7:37 ` Krzysztof Kozlowski
2025-09-09 12:14 ` Igor Belwon
2025-09-08 19:17 ` [PATCH 2/4] pinctrl: mediatek: Add support for eh bit Igor Belwon
2025-09-09 7:57 ` AngeloGioacchino Del Regno
2025-09-09 11:53 ` Igor Belwon
2025-09-08 19:17 ` [PATCH 3/4] pinctrl: mediatek: Add debounce times for MT6878 Igor Belwon
2025-09-09 8:00 ` AngeloGioacchino Del Regno [this message]
2025-09-09 11:54 ` Igor Belwon
2025-09-08 19:17 ` [PATCH 4/4] pinctrl: mediatek: Add support for MT6878 pinctrl Igor Belwon
2025-09-09 7:59 ` 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=493794af-a1e8-4a4e-a253-2b6b703df53b@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=igor.belwon@mentallysanemainliners.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 \
/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®