diff mbox series

[3/4] arm64: dts: hisilicon: Source SoC clock for UART6

Message ID 20180921060103.21370-4-manivannan.sadhasivam@linaro.org
State Accepted
Commit a758dd2e3a5108ab84c33c1069dd838f866b014e
Headers show
Series [1/4] dt-bindings: clk: hisilicon: Add bindings for Hi3670 clk | expand

Commit Message

Manivannan Sadhasivam Sept. 21, 2018, 6:01 a.m. UTC
Remove fixed clock and source SoC clock for UART6 for
HiSilicon Hi3670 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

-- 
2.17.1

Comments

Wei Xu Nov. 29, 2018, 3:22 p.m. UTC | #1
Hi Manivannan,

On 2018/9/21 7:01, Manivannan Sadhasivam wrote:
> Remove fixed clock and source SoC clock for UART6 for

> HiSilicon Hi3670 SoC.

> 

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>


Applied to the hisilicon soc dt tree.
Thanks!

Best Regards,
Wei

> ---

>  arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 9 ++-------

>  1 file changed, 2 insertions(+), 7 deletions(-)

> 

> diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi

> index 8a0ee4b08886..34a2f0dbc6f7 100644

> --- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi

> +++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi

> @@ -187,17 +187,12 @@

>  			#clock-cells = <1>;

>  		};

>  

> -		uart6_clk: clk_19_2M {

> -			compatible = "fixed-clock";

> -			#clock-cells = <0>;

> -			clock-frequency = <19200000>;

> -		};

> -

>  		uart6: serial@fff32000 {

>  			compatible = "arm,pl011", "arm,primecell";

>  			reg = <0x0 0xfff32000 0x0 0x1000>;

>  			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;

> -			clocks = <&uart6_clk &uart6_clk>;

> +			clocks = <&crg_ctrl HI3670_CLK_UART6>,

> +				 <&crg_ctrl HI3670_PCLK>;

>  			clock-names = "uartclk", "apb_pclk";

>  			status = "disabled";

>  		};

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
index 8a0ee4b08886..34a2f0dbc6f7 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
@@ -187,17 +187,12 @@ 
 			#clock-cells = <1>;
 		};
 
-		uart6_clk: clk_19_2M {
-			compatible = "fixed-clock";
-			#clock-cells = <0>;
-			clock-frequency = <19200000>;
-		};
-
 		uart6: serial@fff32000 {
 			compatible = "arm,pl011", "arm,primecell";
 			reg = <0x0 0xfff32000 0x0 0x1000>;
 			interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&uart6_clk &uart6_clk>;
+			clocks = <&crg_ctrl HI3670_CLK_UART6>,
+				 <&crg_ctrl HI3670_PCLK>;
 			clock-names = "uartclk", "apb_pclk";
 			status = "disabled";
 		};