diff mbox series

[v3,11/12] arm64: dts: exynosautov9: switch usi clocks

Message ID 20220504075154.58819-12-chanho61.park@samsung.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [v3,01/12] dt-bindings: clock: add clock binding definitions for Exynos Auto v9 | expand

Commit Message

Chanho Park May 4, 2022, 7:51 a.m. UTC
This changes to use cmu clock nodes instead of dummy fixed-rate-clock.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
---
 arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)

Comments

Chanwoo Choi May 4, 2022, 9:56 a.m. UTC | #1
On 22. 5. 4. 16:51, Chanho Park wrote:
> This changes to use cmu clock nodes instead of dummy fixed-rate-clock.
> 
> Signed-off-by: Chanho Park <chanho61.park@samsung.com>
> ---
>   arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 17 ++++-------------
>   1 file changed, 4 insertions(+), 13 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> index c9cd3774f298..68335fefa5f3 100644
> --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
> @@ -158,17 +158,6 @@ xtcxo: clock {
>   			clock-output-names = "oscclk";
>   		};
>   
> -		/*
> -		 * Keep the stub clock for serial driver, until proper clock
> -		 * driver is implemented.
> -		 */
> -		uart_clock: uart-clock {
> -			compatible = "fixed-clock";
> -			#clock-cells = <0>;
> -			clock-frequency = <133250000>;
> -			clock-output-names = "uart";
> -		};
> -
>   		/*
>   		 * Keep the stub clock for ufs driver, until proper clock
>   		 * driver is implemented.
> @@ -355,7 +344,8 @@ usi_0: usi@103000c0 {
>   			#address-cells = <1>;
>   			#size-cells = <1>;
>   			ranges;
> -			clocks = <&uart_clock>, <&uart_clock>;
> +			clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
> +				 <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
>   			clock-names = "pclk", "ipclk";
>   			status = "disabled";
>   
> @@ -366,7 +356,8 @@ serial_0: serial@10300000 {
>   				interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
>   				pinctrl-names = "default";
>   				pinctrl-0 = <&uart0_bus_dual>;
> -				clocks = <&uart_clock>, <&uart_clock>;
> +				clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
> +					 <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
>   				clock-names = "uart", "clk_uart_baud0";
>   				status = "disabled";
>   			};

Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Krzysztof Kozlowski May 5, 2022, 7:08 a.m. UTC | #2
On Wed, 4 May 2022 16:51:53 +0900, Chanho Park wrote:
> This changes to use cmu clock nodes instead of dummy fixed-rate-clock.
> 
> 

Applied, thanks!

[11/12] arm64: dts: exynosautov9: switch usi clocks
        commit: 4c882968d434c9968f53fbefa3ba6e64ff33d6a0

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index c9cd3774f298..68335fefa5f3 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -158,17 +158,6 @@  xtcxo: clock {
 			clock-output-names = "oscclk";
 		};
 
-		/*
-		 * Keep the stub clock for serial driver, until proper clock
-		 * driver is implemented.
-		 */
-		uart_clock: uart-clock {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <133250000>;
-			clock-output-names = "uart";
-		};
-
 		/*
 		 * Keep the stub clock for ufs driver, until proper clock
 		 * driver is implemented.
@@ -355,7 +344,8 @@  usi_0: usi@103000c0 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
-			clocks = <&uart_clock>, <&uart_clock>;
+			clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
+				 <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
 			clock-names = "pclk", "ipclk";
 			status = "disabled";
 
@@ -366,7 +356,8 @@  serial_0: serial@10300000 {
 				interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
 				pinctrl-names = "default";
 				pinctrl-0 = <&uart0_bus_dual>;
-				clocks = <&uart_clock>, <&uart_clock>;
+				clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PCLK_0>,
+					 <&cmu_peric0 CLK_GOUT_PERIC0_IPCLK_0>;
 				clock-names = "uart", "clk_uart_baud0";
 				status = "disabled";
 			};