diff mbox series

[1/2] arm64: dts: ti: k3-am62-main: PM fixes in the fss node

Message ID 20230818103750.516309-2-d-gole@ti.com
State New
Headers show
Series spi-cadence-quadspi: Introduce runtime_pm support | expand

Commit Message

Dhruva Gole Aug. 18, 2023, 10:37 a.m. UTC
* Make use of Simple Power-Managed Bus as the fss bus controller is under
the control of a functional clock, and also is part of a PM domain.
* Specify the appropriate k3 pd to the fss node as per tisci docs [0].

[0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/devices.html

Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
Co-developed-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Andrew Davis Aug. 21, 2023, 4:28 p.m. UTC | #1
On 8/18/23 5:37 AM, Dhruva Gole wrote:
> * Make use of Simple Power-Managed Bus as the fss bus controller is under
> the control of a functional clock, and also is part of a PM domain.
> * Specify the appropriate k3 pd to the fss node as per tisci docs [0].
> 
> [0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/devices.html
> 

This doc makes it look like the number should be 73, but you have 74, what is FSAS?

Andrew

> Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
> Co-developed-by: Vibhore Vardhan <vibhore@ti.com>
> Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
> Signed-off-by: Dhruva Gole <d-gole@ti.com>
> ---
>   arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index 284b90c94da8..b23c9e3d91cd 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -640,10 +640,11 @@ usb1: usb@31100000 {
>   	};
>   
>   	fss: bus@fc00000 {
> -		compatible = "simple-bus";
> +		compatible = "simple-pm-bus";
>   		reg = <0x00 0x0fc00000 0x00 0x70000>;
>   		#address-cells = <2>;
>   		#size-cells = <2>;
> +		power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>;
>   		ranges;
>   
>   		ospi0: spi@fc40000 {
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
index 284b90c94da8..b23c9e3d91cd 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
@@ -640,10 +640,11 @@  usb1: usb@31100000 {
 	};
 
 	fss: bus@fc00000 {
-		compatible = "simple-bus";
+		compatible = "simple-pm-bus";
 		reg = <0x00 0x0fc00000 0x00 0x70000>;
 		#address-cells = <2>;
 		#size-cells = <2>;
+		power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>;
 		ranges;
 
 		ospi0: spi@fc40000 {