Re: [PATCH 1/2] ARM: uniphier: dts: add more clocks to Denali NAND controller node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2018-07-20 17:50 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> Catch up with the new binding of the Denali IP where three clocks,
> "nand", "nand_x", "ecc" are required.
>
> For UniPhier SoCs, the "nand_x" and "ecc" are tied up because they
> are both 200MHz.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---


Both applied.


>  arch/arm/boot/dts/uniphier-ld4.dtsi  | 3 ++-
>  arch/arm/boot/dts/uniphier-pro4.dtsi | 3 ++-
>  arch/arm/boot/dts/uniphier-pro5.dtsi | 3 ++-
>  arch/arm/boot/dts/uniphier-pxs2.dtsi | 3 ++-
>  arch/arm/boot/dts/uniphier-sld8.dtsi | 3 ++-
>  5 files changed, 10 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/uniphier-ld4.dtsi b/arch/arm/boot/dts/uniphier-ld4.dtsi
> index 37950ad..2a17066 100644
> --- a/arch/arm/boot/dts/uniphier-ld4.dtsi
> +++ b/arch/arm/boot/dts/uniphier-ld4.dtsi
> @@ -347,7 +347,8 @@
>                         interrupts = <0 65 4>;
>                         pinctrl-names = "default";
>                         pinctrl-0 = <&pinctrl_nand2cs>;
> -                       clocks = <&sys_clk 2>;
> +                       clock-names = "nand", "nand_x", "ecc";
> +                       clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
>                         resets = <&sys_rst 2>;
>                 };
>         };
> diff --git a/arch/arm/boot/dts/uniphier-pro4.dtsi b/arch/arm/boot/dts/uniphier-pro4.dtsi
> index 49539f0..da88ccc 100644
> --- a/arch/arm/boot/dts/uniphier-pro4.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pro4.dtsi
> @@ -394,7 +394,8 @@
>                         interrupts = <0 65 4>;
>                         pinctrl-names = "default";
>                         pinctrl-0 = <&pinctrl_nand>;
> -                       clocks = <&sys_clk 2>;
> +                       clock-names = "nand", "nand_x", "ecc";
> +                       clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
>                         resets = <&sys_rst 2>;
>                 };
>         };
> diff --git a/arch/arm/boot/dts/uniphier-pro5.dtsi b/arch/arm/boot/dts/uniphier-pro5.dtsi
> index 06c2cef..40a84f2 100644
> --- a/arch/arm/boot/dts/uniphier-pro5.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pro5.dtsi
> @@ -439,7 +439,8 @@
>                         interrupts = <0 65 4>;
>                         pinctrl-names = "default";
>                         pinctrl-0 = <&pinctrl_nand2cs>;
> -                       clocks = <&sys_clk 2>;
> +                       clock-names = "nand", "nand_x", "ecc";
> +                       clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
>                         resets = <&sys_rst 2>;
>                 };
>         };
> diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi
> index 641d961..1903752 100644
> --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi
> +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi
> @@ -528,7 +528,8 @@
>                         interrupts = <0 65 4>;
>                         pinctrl-names = "default";
>                         pinctrl-0 = <&pinctrl_nand2cs>;
> -                       clocks = <&sys_clk 2>;
> +                       clock-names = "nand", "nand_x", "ecc";
> +                       clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
>                         resets = <&sys_rst 2>;
>                 };
>         };
> diff --git a/arch/arm/boot/dts/uniphier-sld8.dtsi b/arch/arm/boot/dts/uniphier-sld8.dtsi
> index e9b9b4f..dc723bf 100644
> --- a/arch/arm/boot/dts/uniphier-sld8.dtsi
> +++ b/arch/arm/boot/dts/uniphier-sld8.dtsi
> @@ -351,7 +351,8 @@
>                         interrupts = <0 65 4>;
>                         pinctrl-names = "default";
>                         pinctrl-0 = <&pinctrl_nand2cs>;
> -                       clocks = <&sys_clk 2>;
> +                       clock-names = "nand", "nand_x", "ecc";
> +                       clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
>                         resets = <&sys_rst 2>;
>                 };
>         };
> --
> 2.7.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Best Regards
Masahiro Yamada



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux