[PATCH] arm64: dts: Reformat PCI ranges/dma-ranges entries

Michal Simek michal.simek at xilinx.com
Thu Aug 20 03:25:38 EDT 2020



On 20. 08. 20 0:17, Rob Herring wrote:
> While bracketing doesn't matter for a DTB, the DT schema checks rely on
> bracketing around each distinct entry. Reformat ranges and dma-ranges
> entries to fix warnings such as:
> 
> arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dt.yaml: pcie at f8000000: ranges: [[2197815296, 0, 4194304000, 0, 4194304000, 0, 31457280, 2164260864, 0, 4225761280, 0, 4225761280, 0, 1048576]] is not valid under any of the given schemas (Possible causes of the failure):
>         arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dt.yaml: pcie at f8000000: ranges: True was expected
>         arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dt.yaml: pcie at f8000000: ranges:0: [2197815296, 0, 4194304000, 0, 4194304000, 0, 31457280, 2164260864, 0, 4225761280, 0, 4225761280, 0, 1048576] is too long
>         arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dt.yaml: pcie at f8000000: ranges:0:0: 2197815296 is not one of [16777216, 33554432, 50331648, 1107296256, 1124073472]
> 
> Cc: Kevin Hilman <khilman at baylibre.com>
> Cc: Neil Armstrong <narmstrong at baylibre.com>
> Cc: Jerome Brunet <jbrunet at baylibre.com>
> Cc: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
> Cc: Khuong Dinh <khuong at os.amperecomputing.com>
> Cc: Robert Richter <rrichter at marvell.com>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Li Yang <leoyang.li at nxp.com>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: NXP Linux Team <linux-imx at nxp.com>
> Cc: Wei Xu <xuwei5 at hisilicon.com>
> Cc: Jason Cooper <jason at lakedaemon.net>
> Cc: Andrew Lunn <andrew at lunn.ch>
> Cc: Gregory Clement <gregory.clement at bootlin.com>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
> Cc: Andy Gross <agross at kernel.org>
> Cc: Bjorn Andersson <bjorn.andersson at linaro.org>
> Cc: Heiko Stuebner <heiko at sntech.de>
> Cc: Tero Kristo <t-kristo at ti.com>
> Cc: Nishanth Menon <nm at ti.com>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: linux-amlogic at lists.infradead.org
> Cc: linux-arm-msm at vger.kernel.org
> Cc: linux-rockchip at lists.infradead.org
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> SoC maintainers, please apply this directly.
> 
>  .../boot/dts/amlogic/meson-g12-common.dtsi    |  4 +-
>  arch/arm64/boot/dts/apm/apm-shadowcat.dtsi    | 20 ++++----
>  arch/arm64/boot/dts/apm/apm-storm.dtsi        | 50 +++++++++----------
>  arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi |  4 +-
>  .../arm64/boot/dts/freescale/fsl-ls1012a.dtsi |  4 +-
>  .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 22 ++++----
>  .../boot/dts/freescale/fsl-ls1043a-qds.dts    |  6 +--
>  .../boot/dts/freescale/fsl-ls1043a-rdb.dts    |  6 +--
>  .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 12 ++---
>  .../boot/dts/freescale/fsl-ls1046a-qds.dts    |  6 +--
>  .../boot/dts/freescale/fsl-ls1046a-rdb.dts    |  4 +-
>  .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 12 ++---
>  .../boot/dts/freescale/fsl-ls1088a-qds.dts    |  6 +--
>  .../boot/dts/freescale/fsl-ls1088a-rdb.dts    |  4 +-
>  .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 16 +++---
>  .../arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 16 +++---
>  .../arm64/boot/dts/freescale/fsl-ls2088a.dtsi | 16 +++---
>  .../boot/dts/freescale/fsl-ls208xa-qds.dtsi   |  6 +--
>  .../boot/dts/freescale/fsl-ls208xa-rdb.dtsi   |  6 +--
>  .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 10 ++--
>  .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi |  4 +-
>  arch/arm64/boot/dts/freescale/imx8mq.dtsi     |  8 +--
>  .../arm64/boot/dts/hisilicon/hi3798cv200.dtsi |  4 +-
>  arch/arm64/boot/dts/hisilicon/hip06.dtsi      |  5 +-
>  arch/arm64/boot/dts/hisilicon/hip07.dtsi      |  4 +-
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi  |  4 +-
>  arch/arm64/boot/dts/qcom/ipq8074.dtsi         | 12 ++---
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi      |  4 +-
>  arch/arm64/boot/dts/ti/k3-am65-main.dtsi      |  8 +--
>  arch/arm64/boot/dts/xilinx/zynqmp.dtsi        |  4 +-

Reviewed-by: Michal Simek <michal.simek at xilinx.com> (zynqmp)

Thanks,
Michal



More information about the Linux-rockchip mailing list