* [PATCH 2/7] arm64: dts: imx8-ss-lsio: Move lsio_bus_clk outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-07 15:20 ` [PATCH 3/7] arm64: dts: imx8-ss-dma: Move dma_ipg_clk " Fabio Estevam
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The lsio_bus_clk node does not have any register associated with it,
so it should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
index f5911dac68ec..b3987dd45372 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi
@@ -7,6 +7,13 @@
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
+lsio_bus_clk: clock-lsio-bus {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <100000000>;
+ clock-output-names = "lsio_bus_clk";
+};
+
lsio_subsys: bus@5d000000 {
compatible = "simple-bus";
#address-cells = <1>;
@@ -14,13 +21,6 @@ lsio_subsys: bus@5d000000 {
ranges = <0x5d000000 0x0 0x5d000000 0x1000000>,
<0x08000000 0x0 0x08000000 0x10000000>;
- lsio_bus_clk: clock-lsio-bus {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <100000000>;
- clock-output-names = "lsio_bus_clk";
- };
-
lsio_pwm0: pwm@5d000000 {
compatible = "fsl,imx27-pwm";
reg = <0x5d000000 0x10000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/7] arm64: dts: imx8-ss-dma: Move dma_ipg_clk outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
2023-09-07 15:20 ` [PATCH 2/7] arm64: dts: imx8-ss-lsio: Move lsio_bus_clk outside of soc Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-07 15:20 ` [PATCH 4/7] arm64: dts: imx8-ss-conn: Move conn clocks " Fabio Estevam
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The dma_ipg_clk node does not have any register associated with it,
so it should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
index adb98a72bdfd..0fa0e97628e6 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
@@ -7,19 +7,19 @@
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
+dma_ipg_clk: clock-dma-ipg {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <120000000>;
+ clock-output-names = "dma_ipg_clk";
+};
+
dma_subsys: bus@5a000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x5a000000 0x0 0x5a000000 0x1000000>;
- dma_ipg_clk: clock-dma-ipg {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <120000000>;
- clock-output-names = "dma_ipg_clk";
- };
-
lpspi0: spi@5a000000 {
compatible = "fsl,imx7ulp-spi";
reg = <0x5a000000 0x10000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/7] arm64: dts: imx8-ss-conn: Move conn clocks outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
2023-09-07 15:20 ` [PATCH 2/7] arm64: dts: imx8-ss-lsio: Move lsio_bus_clk outside of soc Fabio Estevam
2023-09-07 15:20 ` [PATCH 3/7] arm64: dts: imx8-ss-dma: Move dma_ipg_clk " Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-07 15:20 ` [PATCH 5/7] arm64: dts: imx8-ss-img: Move img_ipg_clk " Fabio Estevam
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The conn clock nodes do not have any register associated with it,
so they should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
.../boot/dts/freescale/imx8-ss-conn.dtsi | 42 +++++++++----------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
index fc1a5d34382b..3c42240e78e2 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi
@@ -7,33 +7,33 @@
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
+conn_axi_clk: clock-conn-axi {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <333333333>;
+ clock-output-names = "conn_axi_clk";
+};
+
+conn_ahb_clk: clock-conn-ahb {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <166666666>;
+ clock-output-names = "conn_ahb_clk";
+};
+
+conn_ipg_clk: clock-conn-ipg {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <83333333>;
+ clock-output-names = "conn_ipg_clk";
+};
+
conn_subsys: bus@5b000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x5b000000 0x0 0x5b000000 0x1000000>;
- conn_axi_clk: clock-conn-axi {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <333333333>;
- clock-output-names = "conn_axi_clk";
- };
-
- conn_ahb_clk: clock-conn-ahb {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <166666666>;
- clock-output-names = "conn_ahb_clk";
- };
-
- conn_ipg_clk: clock-conn-ipg {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <83333333>;
- clock-output-names = "conn_ipg_clk";
- };
-
usbotg1: usb@5b0d0000 {
compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb", "fsl,imx27-usb";
reg = <0x5b0d0000 0x200>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/7] arm64: dts: imx8-ss-img: Move img_ipg_clk outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
` (2 preceding siblings ...)
2023-09-07 15:20 ` [PATCH 4/7] arm64: dts: imx8-ss-conn: Move conn clocks " Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-07 15:20 ` [PATCH 6/7] arm64: dts: imx8-ss-audio: Move audio_ipg_clk " Fabio Estevam
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The img_ipg_clk node does not have any register associated with it,
so it should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi
index a90654155a88..a185f42486c6 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi
@@ -3,19 +3,19 @@
* Copyright 2019-2021 NXP
* Zhou Guoniu <guoniu.zhou@nxp.com>
*/
+img_ipg_clk: clock-img-ipg {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <200000000>;
+ clock-output-names = "img_ipg_clk";
+};
+
img_subsys: bus@58000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x58000000 0x0 0x58000000 0x1000000>;
- img_ipg_clk: clock-img-ipg {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <200000000>;
- clock-output-names = "img_ipg_clk";
- };
-
jpegdec: jpegdec@58400000 {
reg = <0x58400000 0x00050000>;
interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 6/7] arm64: dts: imx8-ss-audio: Move audio_ipg_clk outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
` (3 preceding siblings ...)
2023-09-07 15:20 ` [PATCH 5/7] arm64: dts: imx8-ss-img: Move img_ipg_clk " Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-07 15:20 ` [PATCH 7/7] arm64: dts: imx8dxl-ss-conn: Move conn_enet0_root_clk " Fabio Estevam
2023-09-25 1:45 ` [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The audio_ipg_clk node does not have any register associated with it,
so it should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
index 6c8d75ef9250..f248e78fb1e0 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-audio.dtsi
@@ -7,19 +7,19 @@
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
+audio_ipg_clk: clock-audio-ipg {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <120000000>;
+ clock-output-names = "audio_ipg_clk";
+};
+
audio_subsys: bus@59000000 {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x59000000 0x0 0x59000000 0x1000000>;
- audio_ipg_clk: clock-audio-ipg {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <120000000>;
- clock-output-names = "audio_ipg_clk";
- };
-
dsp_lpcg: clock-controller@59580000 {
compatible = "fsl,imx8qxp-lpcg";
reg = <0x59580000 0x10000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 7/7] arm64: dts: imx8dxl-ss-conn: Move conn_enet0_root_clk outside of soc
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
` (4 preceding siblings ...)
2023-09-07 15:20 ` [PATCH 6/7] arm64: dts: imx8-ss-audio: Move audio_ipg_clk " Fabio Estevam
@ 2023-09-07 15:20 ` Fabio Estevam
2023-09-25 1:45 ` [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Fabio Estevam @ 2023-09-07 15:20 UTC (permalink / raw)
To: shawnguo
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
The conn_enet0_root_clk node does not have any register associated with it,
so it should be moved outside of soc to fix schema warning from
simple-bus.yaml.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
index 652493ae4bb5..b47752a878c9 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
@@ -6,14 +6,16 @@
/delete-node/ &enet1_lpcg;
/delete-node/ &fec2;
-&conn_subsys {
+/ {
conn_enet0_root_clk: clock-conn-enet0-root {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <250000000>;
clock-output-names = "conn_enet0_root_clk";
};
+};
+&conn_subsys {
eqos: ethernet@5b050000 {
compatible = "nxp,imx8dxl-dwmac-eqos", "snps,dwmac-5.10a";
reg = <0x5b050000 0x10000>;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock
2023-09-07 15:20 [PATCH 1/7] arm64: dts: imx8-ss-lsio: Remove unused clock Fabio Estevam
` (5 preceding siblings ...)
2023-09-07 15:20 ` [PATCH 7/7] arm64: dts: imx8dxl-ss-conn: Move conn_enet0_root_clk " Fabio Estevam
@ 2023-09-25 1:45 ` Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2023-09-25 1:45 UTC (permalink / raw)
To: Fabio Estevam
Cc: linux-arm-kernel, devicetree, krzysztof.kozlowski+dt, robh+dt,
conor+dt, alexander.stein, Fabio Estevam
On Thu, Sep 07, 2023 at 12:20:02PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> The lsio_mem_clk is not used anywhere, so simply remove it.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Applied all, thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread