Re: [PATCH v6 4/5] pinctrl: qcom: ipq5018: allow it to be bulid on arm32
From: Alexey Immoreev
Date: Wed Nov 18 2026 - 14:04:17 EST
Hi Karl and Bartosz,
The Xiaomi Mesh System AX3000 (RA82) is another IPQ5018 board where
32-bit kernel support is useful. Our working path from the vendor
firmware enters Linux in AArch32. This is a property of the chosen
firmware path.
On the current Qualcomm pinctrl tree, `PINCTRL_IPQ5018` is still
unavailable on `ARCH=arm` without `COMPILE_TEST`, even if the Qualcomm
pinctrl core is enabled. Your v6 patch makes the existing TLMM driver
selectable on ARM without changing its code, DT binding or ARM64
dependency. The separate IPQ5018 GCC change already landed as
`5d02941c8399`.
With the same Kconfig change and `COMPILE_TEST` disabled, our downstream
ARM32 OpenWrt kernel booted on the RA82 with a working serial console
configured to use TLMM. An isolated check against the current Kconfig
confirmed ARM32 selection without changing the tested ARM64 or
`COMPILE_TEST` cases; we did not build or boot the current upstream
kernel.
Since v6, the driver has gained `default ARCH_QCOM`. Adding `ARM`
alone now also defaults it on when the Qualcomm pinctrl core is built
into a 32-bit Qualcomm config. Is that desired, or should ARM32 be
opt-in while the existing ARM64 default is kept?
Would it make sense to revisit the pinctrl change on its own? I'd be
happy to help refresh it against the current tree.