This patches series aim is to resolve NXP flexspi bindings compatibility
warnings which were observed after running 'make dtbs_check' with
https://lore.kernel.org/linux-devicetree/[email protected]/
patch applied.
Below error was observed:
/opt/samba/nxf51654/spi/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: spi@30bb0000: clock-names:0: 'fspi_en' was expected
From schema: /opt/samba/nxf51654/spi/Documentation/devicetree/bindings/spi/nxp,spi-nxp-fspi.yaml
/opt/samba/nxf51654/spi/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: spi@30bb0000: clock-names:1: 'fspi' was expected
From schema: /opt/samba/nxf51654/spi/Documentation/devicetree/bindings/spi/nxp,spi-nxp-fspi.yaml
Resolving above error may require reordering of flexspi clock-names entry.
Kuldeep Singh (2):
arm64: dts: imx8mm: Reorder flexspi clock-names entry
arm64: dts: imx8mn: Reorder flexspi clock-names entry
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.25.1
Reorder flexspi clock-names entry to make it compliant with bindings.
Signed-off-by: Kuldeep Singh <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
index 6bf1d15ba16a..a27e02bee6b4 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi
@@ -887,7 +887,7 @@ flexspi: spi@30bb0000 {
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_QSPI_ROOT>,
<&clk IMX8MM_CLK_QSPI_ROOT>;
- clock-names = "fspi", "fspi_en";
+ clock-names = "fspi_en", "fspi";
status = "disabled";
};
--
2.25.1
On Tue, Mar 09, 2021 at 04:44:23PM +0530, Kuldeep Singh wrote:
> This patches series aim is to resolve NXP flexspi bindings compatibility
> warnings which were observed after running 'make dtbs_check' with
> https://lore.kernel.org/linux-devicetree/[email protected]/
> patch applied.
>
> Below error was observed:
> /opt/samba/nxf51654/spi/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: spi@30bb0000: clock-names:0: 'fspi_en' was expected
> From schema: /opt/samba/nxf51654/spi/Documentation/devicetree/bindings/spi/nxp,spi-nxp-fspi.yaml
> /opt/samba/nxf51654/spi/arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: spi@30bb0000: clock-names:1: 'fspi' was expected
> From schema: /opt/samba/nxf51654/spi/Documentation/devicetree/bindings/spi/nxp,spi-nxp-fspi.yaml
>
> Resolving above error may require reordering of flexspi clock-names entry.
>
> Kuldeep Singh (2):
> arm64: dts: imx8mm: Reorder flexspi clock-names entry
> arm64: dts: imx8mn: Reorder flexspi clock-names entry
Applied both, thanks.