Skip to contentSkip to conversation

arm64: dts: ti: k3-j722s: use ti,j7200-padconf compatible

PATCH Superseded Richard Genoud (TI) 2 participants 3 messages Apr 20

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ti: k3-j722s: use ti,j7200-padconf compatible

From: Abhash Kumar Jha <[email protected]>

The pinctrl contexts for j722s should be saved and restored during suspend-to-ram, just like it is done for j7200 and j784s4 SoCs.

Use ti,j7200-padconf compatible to save and restore pinctrl contexts during suspend-to-ram.

---
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +2 -0
index e66330c71593..757eb6abcd72 100644
@@ -242,6 +242,7 @@ &phy_gmii_sel {
 };
 
 &main_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
 	main_mcan0_pins_default: main-mcan0-default-pins {
 		pinctrl-single,pins = <
@@ -418,6 +419,7 @@ &main_uart5 {
 };
 
 &mcu_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
 	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
 		pinctrl-single,pins = <
Signature · 1 line
2.47.3
#1 lore raw

Hello Richard,

Quoted 27 lines · Richard Genoud (TI)

From: Abhash Kumar Jha <[email protected]>

The pinctrl contexts for j722s should be saved and restored during suspend-to-ram, just like it is done for j7200 and j784s4 SoCs.

Use ti,j7200-padconf compatible to save and restore pinctrl contexts during suspend-to-ram.

---
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +1 -0
index e66330c71593..757eb6abcd72 100644
@@ -242,6 +242,7 @@ &phy_gmii_sel {
 };
 
 &main_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
 	main_mcan0_pins_default: main-mcan0-default-pins {
 		pinctrl-single,pins = <

arch/arm64/boot/dts/ti/k3-j722s-evm.dts &main_uart5 { · line 425

Quoted 7 lines
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +1 -0
@@ -418,6 +419,7 @@ &main_uart5 {
 };
 
 &mcu_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
 	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
 		pinctrl-single,pins = <

It should be done at SoC level, not just for the EVM board. You should modify k3-j722s-main.dtsi and create k3-j722s-mcu.dtsi.

Best Regards,
Thomas

#2 lore raw

Hi Thomas,

Le 20/04/2026 à 15:38, Thomas Richard a écrit :

Quoted 32 lines

Hello Richard,

Quoted 29 lines · Richard Genoud (TI)

From: Abhash Kumar Jha <[email protected]>

The pinctrl contexts for j722s should be saved and restored during suspend-to-ram, just like it is done for j7200 and j784s4 SoCs.

Use ti,j7200-padconf compatible to save and restore pinctrl contexts during suspend-to-ram.

---
  arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 ++
  1 file changed, 2 insertions(+)
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +1 -0
index e66330c71593..757eb6abcd72 100644
@@ -242,6 +242,7 @@ &phy_gmii_sel {
  };
 
  &main_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
  	main_mcan0_pins_default: main-mcan0-default-pins {
  		pinctrl-single,pins = <
@@ -418,6 +419,7 @@ &main_uart5 {
  };
 
Quoted 8 lines

arch/arm64/boot/dts/ti/k3-j722s-evm.dts &main_uart5 { · line 425

Quoted 5 lines
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +1 -0
  &mcu_pmx0 {
+	compatible = "ti,j7200-padconf", "pinctrl-single";
 
  	mcu_i2c0_pins_default: mcu-i2c0-default-pins {
  		pinctrl-single,pins = <

It should be done at SoC level, not just for the EVM board. You should modify k3-j722s-main.dtsi and create k3-j722s-mcu.dtsi.

Indeed.

Thanks!

Quoted 3 lines

Best Regards,
Thomas