Skip to contentSkip to conversation

arm64: dts: ti: k3-am62-main: Remove power-domains from crypto node

PATCH Superseded Kamlesh Gurudasani 2 participants 2 messages Jun 14, 2023 – Jun 15, 2023

Subsystems (2)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: ti: k3-am62-main: Remove power-domains from crypto node

Only SYSFW has control of SA3UL power.
From SYSFW 08.04.00.002, for security reasons, device ID for power management of SA3UL has been removed.

"power-domains" property in crypto node tries to access the SA3UL, for which it gets NACK and hence, SA3UL driver doesn't probe properly.

Fixes 8af893654c02 ("arm64: dts: ti: k3-am62-main: Enable crypto accelerator")

---
v2 changes:
-make commit message clearer

---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +0 -1
index b3e4857bbbe4..18a6e9ffaf58 100644
@@ -174,7 +174,6 @@ k3_reset: reset-controller {
 	crypto: crypto@40900000 {
 		compatible = "ti,am62-sa3ul";
 		reg = <0x00 0x40900000 0x00 0x1200>;
-		power-domains = <&k3_pds 70 TI_SCI_PD_SHARED>;
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;

---
base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669
change-id: 20230614-sa3ul-cb4bd1bb4d08

Best regards,

Signature · 7 lines
Kamlesh Gurudasani <[email protected]>


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 23 lines · Kamlesh Gurudasani

Only SYSFW has control of SA3UL power.
From SYSFW 08.04.00.002, for security reasons, device ID for power management of SA3UL has been removed.

"power-domains" property in crypto node tries to access the SA3UL, for which it gets NACK and hence, SA3UL driver doesn't probe properly.

Fixes 8af893654c02 ("arm64: dts: ti: k3-am62-main: Enable crypto accelerator")

---
v2 changes:

(quoted diff) +0 -2
-make commit message clearer
---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +0 -0
index b3e4857bbbe4..18a6e9ffaf58 100644

arch/arm64/boot/dts/ti/k3-am62-main.dtsi k3_reset: reset-controller { · line 177

Quoted 4 lines
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +0 -1
@@ -174,7 +174,6 @@ k3_reset: reset-controller {
 	crypto: crypto@40900000 {
 		compatible = "ti,am62-sa3ul";
 		reg = <0x00 0x40900000 0x00 0x1200>;
-		power-domains = <&k3_pds 70 TI_SCI_PD_SHARED>;

Per Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml this is a required property. This would need binding update to make power-domains optional for certain compatibles.

Quoted 9 lines
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +0 -1
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
 
---

base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669
change-id: 20230614-sa3ul-cb4bd1bb4d08

Best regards,

Signature · 2 lines
Regards
Vignesh