2023-02-02 09:00:19

by Nitin Yadav

[permalink] [raw]
Subject: [PATCH] arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT

Fix number of gpio pins in main_gpio0 & main_gpio1
DT nodes according to AM62x SK datasheet. The Link
of datasheet is in the following line:
https://www.ti.com/lit/ds/symlink/am625.pdf?ts=1673852494660

Section: 6.3.10 GPIO (Page No. 63-67)

Signed-off-by: Nitin Yadav <[email protected]>
---
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 072903649d6e..73104b5b00b7 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -461,7 +461,7 @@ main_gpio0: gpio@600000 {
<193>, <194>, <195>;
interrupt-controller;
#interrupt-cells = <2>;
- ti,ngpio = <87>;
+ ti,ngpio = <92>;
ti,davinci-gpio-unbanked = <0>;
power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 77 0>;
@@ -478,7 +478,7 @@ main_gpio1: gpio@601000 {
<183>, <184>, <185>;
interrupt-controller;
#interrupt-cells = <2>;
- ti,ngpio = <88>;
+ ti,ngpio = <52>;
ti,davinci-gpio-unbanked = <0>;
power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 78 0>;
--
2.25.1



2023-03-09 16:56:40

by Bryan Brattlof

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT

Hi Nitin!

On February 2, 2023 thus sayeth Nitin Yadav:
> Fix number of gpio pins in main_gpio0 & main_gpio1
> DT nodes according to AM62x SK datasheet. The Link
> of datasheet is in the following line:
> https://www.ti.com/lit/ds/symlink/am625.pdf?ts=1673852494660
>
> Section: 6.3.10 GPIO (Page No. 63-67)
>

Thanks for getting this fixed. Should we add a fixes tag to help get
this back ported?

Fixes: f1d17330a5bedc ("arm64: dts: ti: Introduce base support for AM62x SoC")

> Signed-off-by: Nitin Yadav <[email protected]>
> ---
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bryan Brattlof <[email protected]>

~Bryan

2023-03-10 04:50:17

by Nishanth Menon

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT

Hi Nitin Yadav,

On Thu, 2 Feb 2023 14:29:17 +0530, Nitin Yadav wrote:
> Fix number of gpio pins in main_gpio0 & main_gpio1
> DT nodes according to AM62x SK datasheet. The Link
> of datasheet is in the following line:
> https://www.ti.com/lit/ds/symlink/am625.pdf?ts=1673852494660
>
> Section: 6.3.10 GPIO (Page No. 63-67)
>
> [...]

I have applied the following to branch ti-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am62-main: Fix GPIO numbers in DT
commit: 21609ca1f13fc1feca7b4b4aa63d21d95b2e69e2

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] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Nishanth Menon <[email protected]>