[PATCH 19/20] ARM: dts: sun9i: Change node names to remove underscores

Chen-Yu Tsai wens at csie.org
Thu Oct 5 08:56:29 PDT 2017


On Thu, Oct 5, 2017 at 6:49 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> Some node names in the A80 DTSI still have underscores in them. Remove them
> in favour of hyphens to remove DTC warnings.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/boot/dts/sun9i-a80.dtsi | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
> index f9cb701f29b0..70d79ef711b3 100644
> --- a/arch/arm/boot/dts/sun9i-a80.dtsi
> +++ b/arch/arm/boot/dts/sun9i-a80.dtsi
> @@ -139,7 +139,7 @@
>                  * would also throw all the PLL clock rates off, or just the
>                  * downstream clocks in the PRCM.
>                  */
> -               osc24M: osc24M_clk {
> +               osc24M: clk-24M {

Can we stick with the same style for all clks? Like "X-clk"?

>                         #clock-cells = <0>;
>                         compatible = "fixed-clock";
>                         clock-frequency = <24000000>;
> @@ -151,7 +151,7 @@
>                  * AC100 codec/RTC chip. This serves as a placeholder for
>                  * board dts files to specify the source.
>                  */
> -               osc32k: osc32k_clk {
> +               osc32k: clk-32k {

And here.

>                         #clock-cells = <0>;
>                         compatible = "fixed-factor-clock";
>                         clock-div = <1>;
> @@ -169,7 +169,7 @@
>                         clock-output-names = "cpus";
>                 };
>
> -               ahbs: ahbs_clk {
> +               ahbs: ahbs-clk {
>                         compatible = "fixed-factor-clock";
>                         #clock-cells = <0>;
>                         clock-div = <1>;
> @@ -708,12 +708,12 @@
>                         #interrupt-cells = <3>;
>                         #gpio-cells = <3>;
>
> -                       r_ir_pins: r_ir {
> +                       r_ir_pins: r-ir {

"r-ir-pins".

>                                 pins = "PL6";
>                                 function = "s_cir_rx";
>                         };
>
> -                       r_rsb_pins: r_rsb {
> +                       r_rsb_pins: r-rsb {

"r-rsb-pins".

ChenYu

>                                 pins = "PN0", "PN1";
>                                 function = "s_rsb";
>                                 drive-strength = <20>;
> --
> git-series 0.9.1



More information about the linux-arm-kernel mailing list