]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: imx8mq: fix the schema check errors
authorRichard Zhu <hongxing.zhu@nxp.com>
Fri, 27 Aug 2021 06:43:00 +0000 (14:43 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 22 Sep 2021 06:44:57 +0000 (14:44 +0800)
commitf0ec2ea63104adcca15125ff5c48c58596b5b2ed
treebdb9ec11c40561a23f3bfacf4163f7f2f22609c5
parentadf6fb5a6adf184142828b96e038654ef72aaae0
arm64: dts: imx8mq: fix the schema check errors

No functional changes, but the ranges should be grouped by region.
Otherwise, schema dtbs_check would report the following errors.

"/linux-imx/arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: pcie@33800000: ranges: 'oneOf' conditional failed, one must be fixed:
        /linux-imx/arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: pcie@33800000: ranges: 'oneOf' conditional failed, one must be fixed:
                [[2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184402653184, 0, 133169152]] is not of type 'boolean'
                True was expected
                [[2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184402653184, 0, 133169152]] is not of type 'null'
        [2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184402653184, 0, 133169152] is too long
        From schema: //linux-imx/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml"

Refer to commit 415e9b909dfd ("PCI: dwc: Detect number of iATU windows").
The num-viewport is not required anymore, remove them totally.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi