* [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260
@ 2023-11-30 9:59 Michal Simek
2023-11-30 9:59 ` [PATCH 1/2] arm64: zynqmp: Move fixed clock to / " Michal Simek
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michal Simek @ 2023-11-30 9:59 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Andrew Davis, Ashok Reddy Soma, Conor Dooley, Geert Uytterhoeven,
Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
Manikanta Guntupalli, Rob Herring, devicetree, linux-arm-kernel
Hi,
these two patches are moving clock nodes out of bus because they don't have
reg property and also align node names.
Thanks,
Michal
Michal Simek (2):
arm64: zynqmp: Move fixed clock to / for kv260
arm64: zynqmp: Fix clock node name in kv260 cards
.../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 40 +++++++++---------
.../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 42 +++++++++----------
2 files changed, 41 insertions(+), 41 deletions(-)
--
2.36.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] arm64: zynqmp: Move fixed clock to / for kv260
2023-11-30 9:59 [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
@ 2023-11-30 9:59 ` Michal Simek
2023-11-30 9:59 ` [PATCH 2/2] arm64: zynqmp: Fix clock node name in kv260 cards Michal Simek
2023-12-13 15:46 ` [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2023-11-30 9:59 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Andrew Davis, Ashok Reddy Soma, Conor Dooley, Geert Uytterhoeven,
Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
Manikanta Guntupalli, Rob Herring, devicetree, linux-arm-kernel
fixed clock nodes can't be on the bus because they are missing reg
property. That's why move them to root.
And because it is root it is good to have it as the first node in a file.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
.../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 28 ++++++++---------
.../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 30 +++++++++----------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index ae1b9b2bdbee..dee238739290 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -21,20 +21,7 @@
/dts-v1/;
/plugin/;
-&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
- #address-cells = <1>;
- #size-cells = <0>;
- pinctrl-names = "default", "gpio";
- pinctrl-0 = <&pinctrl_i2c1_default>;
- pinctrl-1 = <&pinctrl_i2c1_gpio>;
- scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
- sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
-
- /* u14 - 0x40 - ina260 */
- /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
-};
-
-&amba {
+&{/} {
si5332_0: si5332_0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -72,6 +59,19 @@ si5332_5: si5332_5 { /* u17 */
};
};
+&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default", "gpio";
+ pinctrl-0 = <&pinctrl_i2c1_default>;
+ pinctrl-1 = <&pinctrl_i2c1_gpio>;
+ scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+
+ /* u14 - 0x40 - ina260 */
+ /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
+};
+
/* DP/USB 3.0 and SATA */
&psgtr {
status = "okay";
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index b59e48be6465..73c5cb156caf 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -16,21 +16,7 @@
/dts-v1/;
/plugin/;
-&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
- #address-cells = <1>;
- #size-cells = <0>;
- pinctrl-names = "default", "gpio";
- pinctrl-0 = <&pinctrl_i2c1_default>;
- pinctrl-1 = <&pinctrl_i2c1_gpio>;
- scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
- sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
-
- /* u14 - 0x40 - ina260 */
- /* u43 - 0x2d - usb5744 */
- /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
-};
-
-&amba {
+&{/} {
si5332_0: si5332_0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -68,6 +54,20 @@ si5332_5: si5332_5 { /* u17 */
};
};
+&i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default", "gpio";
+ pinctrl-0 = <&pinctrl_i2c1_default>;
+ pinctrl-1 = <&pinctrl_i2c1_gpio>;
+ scl-gpios = <&gpio 24 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+ sda-gpios = <&gpio 25 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
+
+ /* u14 - 0x40 - ina260 */
+ /* u43 - 0x2d - usb5744 */
+ /* u27 - 0xe0 - STDP4320 DP/HDMI splitter */
+};
+
/* DP/USB 3.0 */
&psgtr {
status = "okay";
--
2.36.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] arm64: zynqmp: Fix clock node name in kv260 cards
2023-11-30 9:59 [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
2023-11-30 9:59 ` [PATCH 1/2] arm64: zynqmp: Move fixed clock to / " Michal Simek
@ 2023-11-30 9:59 ` Michal Simek
2023-12-13 15:46 ` [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2023-11-30 9:59 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Andrew Davis, Ashok Reddy Soma, Conor Dooley, Geert Uytterhoeven,
Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
Manikanta Guntupalli, Rob Herring, devicetree, linux-arm-kernel
node name shouldn't use '_' that's why convert it to '-'.
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 12 ++++++------
arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
index dee238739290..92f4190d564d 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
@@ -22,37 +22,37 @@
/plugin/;
&{/} {
- si5332_0: si5332_0 { /* u17 */
+ si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <125000000>;
};
- si5332_1: si5332_1 { /* u17 */
+ si5332_1: si5332-1 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <25000000>;
};
- si5332_2: si5332_2 { /* u17 */
+ si5332_2: si5332-2 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <48000000>;
};
- si5332_3: si5332_3 { /* u17 */
+ si5332_3: si5332-3 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
- si5332_4: si5332_4 { /* u17 */
+ si5332_4: si5332-4 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
};
- si5332_5: si5332_5 { /* u17 */
+ si5332_5: si5332-5 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <27000000>;
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
index 73c5cb156caf..f88b71f5b07a 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
@@ -17,37 +17,37 @@
/plugin/;
&{/} {
- si5332_0: si5332_0 { /* u17 */
+ si5332_0: si5332-0 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <125000000>;
};
- si5332_1: si5332_1 { /* u17 */
+ si5332_1: si5332-1 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <25000000>;
};
- si5332_2: si5332_2 { /* u17 */
+ si5332_2: si5332-2 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <48000000>;
};
- si5332_3: si5332_3 { /* u17 */
+ si5332_3: si5332-3 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
- si5332_4: si5332_4 { /* u17 */
+ si5332_4: si5332-4 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
};
- si5332_5: si5332_5 { /* u17 */
+ si5332_5: si5332-5 { /* u17 */
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <27000000>;
--
2.36.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260
2023-11-30 9:59 [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
2023-11-30 9:59 ` [PATCH 1/2] arm64: zynqmp: Move fixed clock to / " Michal Simek
2023-11-30 9:59 ` [PATCH 2/2] arm64: zynqmp: Fix clock node name in kv260 cards Michal Simek
@ 2023-12-13 15:46 ` Michal Simek
2 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2023-12-13 15:46 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Andrew Davis, Ashok Reddy Soma, Conor Dooley, Geert Uytterhoeven,
Harini Katakam, Krzysztof Kozlowski, Laurent Pinchart,
Manikanta Guntupalli, Rob Herring, devicetree, linux-arm-kernel
On 11/30/23 10:59, Michal Simek wrote:
> Hi,
>
> these two patches are moving clock nodes out of bus because they don't have
> reg property and also align node names.
>
> Thanks,
> Michal
>
>
> Michal Simek (2):
> arm64: zynqmp: Move fixed clock to / for kv260
> arm64: zynqmp: Fix clock node name in kv260 cards
>
> .../boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 40 +++++++++---------
> .../boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 42 +++++++++----------
> 2 files changed, 41 insertions(+), 41 deletions(-)
>
Applied.
M
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-12-13 15:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 9:59 [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
2023-11-30 9:59 ` [PATCH 1/2] arm64: zynqmp: Move fixed clock to / " Michal Simek
2023-11-30 9:59 ` [PATCH 2/2] arm64: zynqmp: Fix clock node name in kv260 cards Michal Simek
2023-12-13 15:46 ` [PATCH 0/2] arm64: zynqmp: Align fixed-clock nodes for kv260 Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).