]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: dts: ti: k3-j7200: Fix physical address of pin
authorKeerthy <j-keerthy@ti.com>
Wed, 19 Apr 2023 04:00:06 +0000 (09:30 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 6 Jun 2023 17:32:21 +0000 (23:02 +0530)
commit3d011933000ed9054c649952d83162d24f020a93
treed0c82ac67f5ed946542bb7af2caa3f3b6c09fdb5
parentcf39ff15cc01adea0ec46d1571d5ae849bb02d43
arm64: dts: ti: k3-j7200: Fix physical address of pin

wkup_pmx splits into multiple regions. Like

    wkup_pmx0 -> 13 pins (WKUP_PADCONFIG 0 - 12)
    wkup_pmx1 -> 2 pins (WKUP_PADCONFIG 14 - 15)
    wkup_pmx2 -> 59 pins (WKUP_PADCONFIG 26 - 84)
    wkup_pmx3 -> 8 pins (WKUP_PADCONFIG 93 - 100)

With this split, pin offset needs to be adjusted to
match with new pmx for all pins above wkup_pmx0.

Example a pin under wkup_pmx1 should start from 0 instead of
old offset(0x38 WKUP_PADCONFIG 14 offset)

J7200 Datasheet (Table 6-106, Section 6.4 Pin Multiplexing) :
https://www.ti.com/lit/ds/symlink/dra821u.pdf

Fixes: 9ae21ac445e9 ("arm64: dts: ti: k3-j7200: Fix wakeup pinmux range")
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230419040007.3022780-2-u-kumar1@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts