* [PATCH 0/3] imx8mq DT fixes
@ 2023-06-06 15:09 Alexander Stein
2023-06-06 15:09 ` [PATCH 1/3] arm64: dts: imx8mq: Fix lcdif compatible Alexander Stein
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Alexander Stein @ 2023-06-06 15:09 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Fabio Estevam
Cc: Alexander Stein, Pengutronix Kernel Team, NXP Linux Team,
devicetree, linux-arm-kernel
Hi,
this series fixes various dtbs_check warnings for imx8mq.
Admittedly I do not know why lcdif is currently usable without apb and axi
clocks configured.
Best regards,
Alexander
Alexander Stein (3):
arm64: dts: imx8mq: Fix lcdif compatible
arm64: dts: imx8mq: Fix lcdif clocks
arm64: dts: imx8mq: Add missing pci property
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] arm64: dts: imx8mq: Fix lcdif compatible
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
@ 2023-06-06 15:09 ` Alexander Stein
2023-06-06 15:09 ` [PATCH 2/3] arm64: dts: imx8mq: Fix lcdif clocks Alexander Stein
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2023-06-06 15:09 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Fabio Estevam
Cc: Alexander Stein, Pengutronix Kernel Team, NXP Linux Team,
devicetree, linux-arm-kernel
"fsl,imx8mq-lcdif" is compatible to "fsl,imx6sx-lcdif", adjust the list
accordingly. Fixes the dtbs_check warning:
imx8mq-tqma8mq-mba8mx.dtb: lcd-controller@30320000: compatible: 'oneOf'
conditional failed, one must be fixed:
['fsl,imx8mq-lcdif', 'fsl,imx28-lcdif'] is too long
'fsl,imx8mq-lcdif' is not one of ['fsl,imx23-lcdif', 'fsl,imx28-lcdif',
'fsl,imx6sx-lcdif', 'fsl,imx8mp-lcdif', 'fsl,imx93-lcdif']
'fsl,imx6sx-lcdif' was expected
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 54e374e81ce6c..b7f296fe5bb8c 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -547,7 +547,7 @@ sdma2: dma-controller@302c0000 {
};
lcdif: lcd-controller@30320000 {
- compatible = "fsl,imx8mq-lcdif", "fsl,imx28-lcdif";
+ compatible = "fsl,imx8mq-lcdif", "fsl,imx6sx-lcdif";
reg = <0x30320000 0x10000>;
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MQ_CLK_LCDIF_PIXEL>;
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] arm64: dts: imx8mq: Fix lcdif clocks
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
2023-06-06 15:09 ` [PATCH 1/3] arm64: dts: imx8mq: Fix lcdif compatible Alexander Stein
@ 2023-06-06 15:09 ` Alexander Stein
2023-06-06 15:09 ` [PATCH 3/3] arm64: dts: imx8mq: Add missing pci property Alexander Stein
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2023-06-06 15:09 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Fabio Estevam
Cc: Alexander Stein, Pengutronix Kernel Team, NXP Linux Team,
devicetree, linux-arm-kernel
Add display APB and AXI clocks as required by bindings. This fixes the
warnings:
lcd-controller@30320000: clocks: [[2, 128]] is too short
From schema: Documentation/devicetree/bindings/display/fsl,lcdif.yaml
lcd-controller@30320000: clock-names: ['pix'] is too short
From schema: Documentation/devicetree/bindings/display/fsl,lcdif.yaml
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index b7f296fe5bb8c..813fd85657f6b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -550,8 +550,10 @@ lcdif: lcd-controller@30320000 {
compatible = "fsl,imx8mq-lcdif", "fsl,imx6sx-lcdif";
reg = <0x30320000 0x10000>;
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk IMX8MQ_CLK_LCDIF_PIXEL>;
- clock-names = "pix";
+ clocks = <&clk IMX8MQ_CLK_LCDIF_PIXEL>,
+ <&clk IMX8MQ_CLK_DISP_APB_ROOT>,
+ <&clk IMX8MQ_CLK_DISP_AXI_ROOT>;
+ clock-names = "pix", "axi", "disp_axi";
assigned-clocks = <&clk IMX8MQ_VIDEO_PLL1_REF_SEL>,
<&clk IMX8MQ_VIDEO_PLL1_BYPASS>,
<&clk IMX8MQ_CLK_LCDIF_PIXEL>,
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] arm64: dts: imx8mq: Add missing pci property
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
2023-06-06 15:09 ` [PATCH 1/3] arm64: dts: imx8mq: Fix lcdif compatible Alexander Stein
2023-06-06 15:09 ` [PATCH 2/3] arm64: dts: imx8mq: Fix lcdif clocks Alexander Stein
@ 2023-06-06 15:09 ` Alexander Stein
2023-06-06 19:06 ` [PATCH 0/3] imx8mq DT fixes Fabio Estevam
2023-06-09 14:28 ` Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2023-06-06 15:09 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Fabio Estevam
Cc: Alexander Stein, Pengutronix Kernel Team, NXP Linux Team,
devicetree, linux-arm-kernel
Add the required bus-range property to PCI RC node. Fixes the warning:
pcie@33c00000: 'bus-range' is a required property
From schema: Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 813fd85657f6b..b53592df94b59 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -1579,6 +1579,7 @@ pcie1: pcie@33c00000 {
#address-cells = <3>;
#size-cells = <2>;
device_type = "pci";
+ bus-range = <0x00 0xff>;
ranges = <0x81000000 0 0x00000000 0x27f80000 0 0x00010000>, /* downstream I/O 64KB */
<0x82000000 0 0x20000000 0x20000000 0 0x07f00000>; /* non-prefetchable memory */
num-lanes = <1>;
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] imx8mq DT fixes
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
` (2 preceding siblings ...)
2023-06-06 15:09 ` [PATCH 3/3] arm64: dts: imx8mq: Add missing pci property Alexander Stein
@ 2023-06-06 19:06 ` Fabio Estevam
2023-06-09 14:28 ` Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2023-06-06 19:06 UTC (permalink / raw)
To: Alexander Stein
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, NXP Linux Team, devicetree,
linux-arm-kernel
On Tue, Jun 6, 2023 at 12:09 PM Alexander Stein
<alexander.stein@ew.tq-group.com> wrote:
>
> Hi,
>
> this series fixes various dtbs_check warnings for imx8mq.
> Admittedly I do not know why lcdif is currently usable without apb and axi
> clocks configured.
>
> Best regards,
> Alexander
>
> Alexander Stein (3):
> arm64: dts: imx8mq: Fix lcdif compatible
> arm64: dts: imx8mq: Fix lcdif clocks
> arm64: dts: imx8mq: Add missing pci property
Reviewed-by: Fabio Estevam <festevam@gmail.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/3] imx8mq DT fixes
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
` (3 preceding siblings ...)
2023-06-06 19:06 ` [PATCH 0/3] imx8mq DT fixes Fabio Estevam
@ 2023-06-09 14:28 ` Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2023-06-09 14:28 UTC (permalink / raw)
To: Alexander Stein
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
Fabio Estevam, Pengutronix Kernel Team, NXP Linux Team,
devicetree, linux-arm-kernel
On Tue, Jun 06, 2023 at 05:09:16PM +0200, Alexander Stein wrote:
> Hi,
>
> this series fixes various dtbs_check warnings for imx8mq.
> Admittedly I do not know why lcdif is currently usable without apb and axi
> clocks configured.
>
> Best regards,
> Alexander
>
> Alexander Stein (3):
> arm64: dts: imx8mq: Fix lcdif compatible
> arm64: dts: imx8mq: Fix lcdif clocks
> arm64: dts: imx8mq: Add missing pci property
Applied all, thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-09 14:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 15:09 [PATCH 0/3] imx8mq DT fixes Alexander Stein
2023-06-06 15:09 ` [PATCH 1/3] arm64: dts: imx8mq: Fix lcdif compatible Alexander Stein
2023-06-06 15:09 ` [PATCH 2/3] arm64: dts: imx8mq: Fix lcdif clocks Alexander Stein
2023-06-06 15:09 ` [PATCH 3/3] arm64: dts: imx8mq: Add missing pci property Alexander Stein
2023-06-06 19:06 ` [PATCH 0/3] imx8mq DT fixes Fabio Estevam
2023-06-09 14:28 ` Shawn Guo
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).