Skip to content

Commit

Permalink
ARM: dts: use upstream axi-clkgen clock-names order
Browse files Browse the repository at this point in the history
Change the order of clocks and clock-names in "adi,axi-clkgen-2.00.a"
node to match the order specified in the binding documentation.

This order was formalized upstream in [1].

[1]: https://lore.kernel.org/all/[email protected]/

Signed-off-by: David Lechner <[email protected]>
  • Loading branch information
dlech committed Dec 6, 2024
1 parent 7339f50 commit 19c0a52
Show file tree
Hide file tree
Showing 39 changed files with 79 additions and 79 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-adrv9361-z7035-fmc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x79000000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
};

axi_hdmi@70e00000 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-ad7687-pmdz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-ad7689-ardz.dts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-ad7946.dts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-ad7984.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-adaq4003.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-coraz7s-cn0540.dts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zc702-adv7511.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x79000000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
};

axi_hdmi@70e00000 {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511-adrv9008-1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c10000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_clkgen";
};

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511-adrv9008-2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,17 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c00000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_tx_clkgen";
};

axi_rx_os_clkgen: axi-clkgen@43c20000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c20000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_os_clkgen";
};

Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511-adrv9009.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,26 +148,26 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c00000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_tx_clkgen";
};

axi_rx_clkgen: axi-clkgen@43c10000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c10000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_clkgen";
};

axi_rx_os_clkgen: axi-clkgen@43c20000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c20000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_os_clkgen";
};

Expand Down
12 changes: 6 additions & 6 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511-adrv9371.dts
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,17 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c00000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_tx_clkgen";
};

axi_rx_clkgen: axi-clkgen@43c10000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c10000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_clkgen";

};
Expand All @@ -166,8 +166,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x43c20000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_os_clkgen";

};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x79000000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
};

axi_hdmi@70e00000 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4003.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4020.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4030-24.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4032-24.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4134.dts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
reg = <0x44b10000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
};
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4630-16.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4630-24.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad4696.dts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad7768-1-evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
};

axi_spi_engine_0: spi@0x44a00000 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad7944.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
reg = <0x44a70000 0x1000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";

/* needs to be high enough to allow >= 91.5MHz SCLK for turbo */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad7985.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
reg = <0x44a70000 0x1000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";

/* needs to be high enough to allow >= 91.5MHz SCLK for turbo */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad7986.dts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
reg = <0x44a70000 0x1000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";

/* needs to be high enough to allow >= 91.5MHz SCLK for turbo */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-adaq4003.dts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-adaq4216.dts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-adaq4220.dts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/xilinx/zynq-zed-adv7511-adaq4224-24.dts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "spi_clk";
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ltc2387.dts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&ext_clk>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&ext_clk>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "ref_clk";
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-m2k-revb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@
logic_analyzer_clkgen: clock@7000000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x70000000 0x10000>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";

#clock-cells = <0>;
};
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x79000000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
};

axi_hdmi@70e00000 {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/xilinx/zynq-zed-imageon.dts
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x79000000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 16>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clkc 16>, <&clkc 15>;
clock-names = "clkin1", "s_axi_aclk";
};

axi_hdmi_core: axi-hdmi-tx@70e00000 {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev10-adrv9008-1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x83c10000 0x10000>;
#clock-cells = <0>;
clocks = <&zynqmp_clk 71>, <&clk0_ad9528 1>;
clock-names = "s_axi_aclk", "clkin1";
clocks = <&clk0_ad9528 1>, <&zynqmp_clk 71>;
clock-names = "clkin1", "s_axi_aclk";
clock-output-names = "axi_rx_clkgen";
};

Expand Down
Loading

0 comments on commit 19c0a52

Please sign in to comment.