[PATCH 2/4] pinctrl: mediatek: mt6797: Add pin configuration support
Roman Vivchar
rva333 at protonmail.com
Wed Dec 2 09:48:14 PST 2026
On Wednesday, December 2nd, 2026 at 6:47 PM, Ben Grisdale via B4 Relay <devnull+bengris32.protonmail.ch at kernel.org> wrote:
> From: Ben Grisdale <bengris32 at protonmail.ch>
>
> The MT6797 pinctrl driver currently only provides support for GPIO
> mode, direction and data, whilst pull, drive strength, input enable,
> Schmitt trigger and slew rate cannot be configured.
>
> Add the IES, SMT, SR, PU, PD, PUPD, R0, R1, DRV, TDSEL and RDSEL fields
> of the four IOCFG banks, along with the pull type and drive strength
> group of each pin, as described in the MT6797 register tables [1].
>
> Link: https://www.96boards.org/documentation/consumer/mediatekx20/additional-docs/docs/MT6797_Register_Table_Part_1.pdf [1]
> Signed-off-by: Ben Grisdale <bengris32 at protonmail.ch>
> ---
Tested-by: Roman Vivchar <rva333 at protonmail.com> # Xiaomi Redmi Note 4 (MTK)
More information about the linux-arm-kernel
mailing list