From: Udit Kumar <u-kum...@ti.com>

commit fa3fc9dd2eae576a047cefa1bed9b8568143a0a8 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git

Commit 8be3ac2d8bd77bb9cb9ddbb7a545decf9f5e4181 Upstream.

After splitting wkup_pmx pin mux for J784S4 into four regions.
Pin mux offset for ADC nodes were not updated to align with new
regions, due to this while probing ADC driver out of range
error was seen.

Pin mux offsets for ADC nodes are corrected in this patch.

Fixes: 14462bd0b247 ("arm64: dts: ti: k3-j784s4: Fix wakeup pinmux range and 
pinctrl node offsets")
Signed-off-by: Udit Kumar <u-kum...@ti.com>
Reviewed-by: Vaishnav Achath <vaishna...@ti.com>
Link: https://lore.kernel.org/r/20230809050108.751164-1-u-kum...@ti.com
Signed-off-by: Nishanth Menon <n...@ti.com>
Reviewed-by: Bhavya Kapoor <b-kap...@ti.com>
Signed-off-by: Vignesh Raghavendra <vigne...@ti.com>
Signed-off-by: Xulin Sun <xulin....@windriver.com>
---
 arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 32 ++++++++++++------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts 
b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
index c029005f3ac6..b2970e9eb1ff 100644
--- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
+++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
@@ -420,27 +420,27 @@ J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) 
MCU_MDIO0_MDIO */
 
        mcu_adc0_pins_default: mcu-adc0-pins-default {
                pinctrl-single,pins = <
-                       J784S4_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (P36) 
MCU_ADC0_AIN0 */
-                       J784S4_WKUP_IOPAD(0x138, PIN_INPUT, 0) /* (V36) 
MCU_ADC0_AIN1 */
-                       J784S4_WKUP_IOPAD(0x13c, PIN_INPUT, 0) /* (T34) 
MCU_ADC0_AIN2 */
-                       J784S4_WKUP_IOPAD(0x140, PIN_INPUT, 0) /* (T36) 
MCU_ADC0_AIN3 */
-                       J784S4_WKUP_IOPAD(0x144, PIN_INPUT, 0) /* (P34) 
MCU_ADC0_AIN4 */
-                       J784S4_WKUP_IOPAD(0x148, PIN_INPUT, 0) /* (R37) 
MCU_ADC0_AIN5 */
-                       J784S4_WKUP_IOPAD(0x14c, PIN_INPUT, 0) /* (R33) 
MCU_ADC0_AIN6 */
-                       J784S4_WKUP_IOPAD(0x150, PIN_INPUT, 0) /* (V38) 
MCU_ADC0_AIN7 */
+                       J784S4_WKUP_IOPAD(0x0cc, PIN_INPUT, 0) /* (P36) 
MCU_ADC0_AIN0 */
+                       J784S4_WKUP_IOPAD(0x0d0, PIN_INPUT, 0) /* (V36) 
MCU_ADC0_AIN1 */
+                       J784S4_WKUP_IOPAD(0x0d4, PIN_INPUT, 0) /* (T34) 
MCU_ADC0_AIN2 */
+                       J784S4_WKUP_IOPAD(0x0d8, PIN_INPUT, 0) /* (T36) 
MCU_ADC0_AIN3 */
+                       J784S4_WKUP_IOPAD(0x0dc, PIN_INPUT, 0) /* (P34) 
MCU_ADC0_AIN4 */
+                       J784S4_WKUP_IOPAD(0x0e0, PIN_INPUT, 0) /* (R37) 
MCU_ADC0_AIN5 */
+                       J784S4_WKUP_IOPAD(0x0e4, PIN_INPUT, 0) /* (R33) 
MCU_ADC0_AIN6 */
+                       J784S4_WKUP_IOPAD(0x0e8, PIN_INPUT, 0) /* (V38) 
MCU_ADC0_AIN7 */
                >;
        };
 
        mcu_adc1_pins_default: mcu-adc1-pins-default {
                pinctrl-single,pins = <
-                       J784S4_WKUP_IOPAD(0x154, PIN_INPUT, 0) /* (Y38) 
MCU_ADC1_AIN0 */
-                       J784S4_WKUP_IOPAD(0x158, PIN_INPUT, 0) /* (Y34) 
MCU_ADC1_AIN1 */
-                       J784S4_WKUP_IOPAD(0x15c, PIN_INPUT, 0) /* (V34) 
MCU_ADC1_AIN2 */
-                       J784S4_WKUP_IOPAD(0x160, PIN_INPUT, 0) /* (W37) 
MCU_ADC1_AIN3 */
-                       J784S4_WKUP_IOPAD(0x164, PIN_INPUT, 0) /* (AA37) 
MCU_ADC1_AIN4 */
-                       J784S4_WKUP_IOPAD(0x168, PIN_INPUT, 0) /* (W33) 
MCU_ADC1_AIN5 */
-                       J784S4_WKUP_IOPAD(0x16c, PIN_INPUT, 0) /* (U33) 
MCU_ADC1_AIN6 */
-                       J784S4_WKUP_IOPAD(0x170, PIN_INPUT, 0) /* (Y36) 
MCU_ADC1_AIN7 */
+                       J784S4_WKUP_IOPAD(0x0ec, PIN_INPUT, 0) /* (Y38) 
MCU_ADC1_AIN0 */
+                       J784S4_WKUP_IOPAD(0x0f0, PIN_INPUT, 0) /* (Y34) 
MCU_ADC1_AIN1 */
+                       J784S4_WKUP_IOPAD(0x0f4, PIN_INPUT, 0) /* (V34) 
MCU_ADC1_AIN2 */
+                       J784S4_WKUP_IOPAD(0x0f8, PIN_INPUT, 0) /* (W37) 
MCU_ADC1_AIN3 */
+                       J784S4_WKUP_IOPAD(0x0fc, PIN_INPUT, 0) /* (AA37) 
MCU_ADC1_AIN4 */
+                       J784S4_WKUP_IOPAD(0x100, PIN_INPUT, 0) /* (W33) 
MCU_ADC1_AIN5 */
+                       J784S4_WKUP_IOPAD(0x104, PIN_INPUT, 0) /* (U33) 
MCU_ADC1_AIN6 */
+                       J784S4_WKUP_IOPAD(0x108, PIN_INPUT, 0) /* (Y36) 
MCU_ADC1_AIN7 */
                >;
        };
 
-- 
2.35.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13213): 
https://lists.yoctoproject.org/g/linux-yocto/message/13213
Mute This Topic: https://lists.yoctoproject.org/mt/102074937/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to