[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174133309361.1072814.8037717583251450140.b4-ty@ti.com>
Date: Fri, 7 Mar 2025 16:05:55 +0530
From: Vignesh Raghavendra <vigneshr@...com>
To: Nishanth Menon <nm@...com>, Tero Kristo <kristo@...nel.org>,
Rob Herring
<robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz
Golaszewski <brgl@...ev.pl>,
Jared McArthur <j-mcarthur@...com>, Michael
Walle <mwalle@...nel.org>
CC: Vignesh Raghavendra <vigneshr@...com>,
<linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH 1/2] arm64: dts: ti: k3-am62p: fix pinctrl settings
Hi Michael Walle,
On Fri, 21 Feb 2025 10:14:46 +0100, Michael Walle wrote:
> It appears that pinctrl-single is misused on this SoC to control both
> the mux and the input and output and bias settings. This results in
> non-working pinctrl configurations for GPIOs within the device tree.
>
> This is what happens:
> (1) During startup the pinctrl settings are applied according to the
> device tree. I.e. the pin is configured as output and with
> pull-ups enabled.
> (2) During startup a device driver requests a GPIO.
> (3) pinctrl-single is applying the default GPIO setting according to
> the pinctrl-single,gpio-range property.
>
> [...]
> Maybe one could also switch the pinctrl-single to a pinconf-single node
> which is able to control all the bias settings and restrict
> "pinctrl-single,function-mask" to just the actual function. Not
> sure
I agree, we should probably migrate to pinconf-single bindings in long
term. There is just too much legacy code and tools relying on current
bindings though. Something for look at for next SoC. Thanks for the
patch!
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/2] arm64: dts: ti: k3-am62p: fix pinctrl settings
commit: 33bab9d84e52188cf73c3573fd7cf3ec0e01d007
[2/2] arm64: dts: ti: k3-j722s: fix pinctrl settings
commit: 06daad327d043c23bc1ab4cdb519f589094b9e98
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
Powered by blists - more mailing lists