[PATCH 4/4] ARM: socfpga: dts: fix s2f_* clock name

Dinh Nguyen dinguyen at altera.com
Thu Oct 3 11:05:20 EDT 2013


On Wed, 2013-10-02 at 09:35 +0200, Steffen Trumtrar wrote:
> The s2f_* clocks are called h2f_* in the datasheets.
> Rename them accordingly in the socfpga.dtsi.
> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
>  arch/arm/boot/dts/socfpga.dtsi | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
> index 587096e..e245924 100644
> --- a/arch/arm/boot/dts/socfpga.dtsi
> +++ b/arch/arm/boot/dts/socfpga.dtsi
> @@ -147,7 +147,7 @@
>  							reg = <0x58>;
>  						};
>  
> -						cfg_s2f_usr0_clk: cfg_s2f_usr0_clk {
> +						cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
>  							#clock-cells = <0>;
>  							compatible = "altr,socfpga-perip-clk";
>  							clocks = <&main_pll>;
> @@ -198,7 +198,7 @@
>  							reg = <0x98>;
>  						};
>  
> -						s2f_usr1_clk: s2f_usr1_clk {
> +						h2f_usr1_clk: h2f_usr1_clk {
>  							#clock-cells = <0>;
>  							compatible = "altr,socfpga-perip-clk";
>  							clocks = <&periph_pll>;
> @@ -235,7 +235,7 @@
>  							reg = <0xD0>;
>  						};
>  
> -						s2f_usr2_clk: s2f_usr2_clk {
> +						h2f_usr2_clk: h2f_usr2_clk {
>  							#clock-cells = <0>;
>  							compatible = "altr,socfpga-perip-clk";
>  							clocks = <&sdram_pll>;
> @@ -335,14 +335,14 @@
>  					cfg_clk: cfg_clk {
>  						#clock-cells = <0>;
>  						compatible = "altr,socfpga-gate-clk";
> -						clocks = <&cfg_s2f_usr0_clk>;
> +						clocks = <&cfg_h2f_usr0_clk>;
>  						clk-gate = <0x60 8>;
>  					};
>  
> -					s2f_user0_clk: s2f_user0_clk {
> +					h2f_user0_clk: h2f_user0_clk {
>  						#clock-cells = <0>;
>  						compatible = "altr,socfpga-gate-clk";
> -						clocks = <&cfg_s2f_usr0_clk>;
> +						clocks = <&cfg_h2f_usr0_clk>;
>  						clk-gate = <0x60 9>;
>  					};
>  
> @@ -400,10 +400,10 @@
>  						div-reg = <0xa8 0 24>;
>  					};
>  
> -					s2f_user1_clk: s2f_user1_clk {
> +					h2f_user1_clk: h2f_user1_clk {
>  						#clock-cells = <0>;
>  						compatible = "altr,socfpga-gate-clk";
> -						clocks = <&s2f_usr1_clk>;
> +						clocks = <&h2f_usr1_clk>;
>  						clk-gate = <0xa0 7>;
>  					};
>  

Acked-by: Dinh Nguyen <dinguyen at altera.com>






More information about the linux-arm-kernel mailing list