2024-06-04 14:35:44

by Michael Walle

[permalink] [raw]
Subject: [PATCH 00/10] ARM: dts: kontron-samx6i: various fixes

While working on a new PHY support for this board I've noticed quite
a few errors. Fix these and introduce an actual board for the
module. For now, there was just a dtsi and no actual user of it.

Michael Walle (10):
ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
ARM: dts: imx6qdl-kontron-samx6i: fix board reset
ARM: dts: imx6qdl-kontron-samx6i: cleanup the PMIC node
ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
ARM: dts: imx6qdl-kontron-samx6i: fix product name
ARM: dts: imx6qdl-kontron-samx6i: always enable eMMC
ARM: dts: imx6qdl-kontron-samx6i: add SDIO_PWR_EN support
dt-bindings: arm: fsl: document Kontron SMARC-sAMX6i boards
ARM: dts: imx6qdl-kontron-samx6i: add actual device trees

.../devicetree/bindings/arm/fsl.yaml | 12 ++
arch/arm/boot/dts/nxp/imx/Makefile | 2 +
.../nxp/imx/imx6dl-kontron-samx6i-ads2.dts | 12 ++
.../dts/nxp/imx/imx6dl-kontron-samx6i.dtsi | 2 +-
.../dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts | 12 ++
.../dts/nxp/imx/imx6q-kontron-samx6i.dtsi | 25 +---
.../nxp/imx/imx6qdl-kontron-samx6i-ads2.dtsi | 121 ++++++++++++++++++
.../dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 41 ++++--
8 files changed, 190 insertions(+), 37 deletions(-)
create mode 100644 arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts
create mode 100644 arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts
create mode 100644 arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i-ads2.dtsi

--
2.39.2



2024-06-04 15:30:48

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 00/10] ARM: dts: kontron-samx6i: various fixes


On Tue, 04 Jun 2024 15:59:24 +0200, Michael Walle wrote:
> While working on a new PHY support for this board I've noticed quite
> a few errors. Fix these and introduce an actual board for the
> module. For now, there was just a dtsi and no actual user of it.
>
> Michael Walle (10):
> ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
> ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
> ARM: dts: imx6qdl-kontron-samx6i: fix board reset
> ARM: dts: imx6qdl-kontron-samx6i: cleanup the PMIC node
> ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
> ARM: dts: imx6qdl-kontron-samx6i: fix product name
> ARM: dts: imx6qdl-kontron-samx6i: always enable eMMC
> ARM: dts: imx6qdl-kontron-samx6i: add SDIO_PWR_EN support
> dt-bindings: arm: fsl: document Kontron SMARC-sAMX6i boards
> ARM: dts: imx6qdl-kontron-samx6i: add actual device trees
>
> .../devicetree/bindings/arm/fsl.yaml | 12 ++
> arch/arm/boot/dts/nxp/imx/Makefile | 2 +
> .../nxp/imx/imx6dl-kontron-samx6i-ads2.dts | 12 ++
> .../dts/nxp/imx/imx6dl-kontron-samx6i.dtsi | 2 +-
> .../dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts | 12 ++
> .../dts/nxp/imx/imx6q-kontron-samx6i.dtsi | 25 +---
> .../nxp/imx/imx6qdl-kontron-samx6i-ads2.dtsi | 121 ++++++++++++++++++
> .../dts/nxp/imx/imx6qdl-kontron-samx6i.dtsi | 41 ++++--
> 8 files changed, 190 insertions(+), 37 deletions(-)
> create mode 100644 arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dts
> create mode 100644 arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dts
> create mode 100644 arch/arm/boot/dts/nxp/imx/imx6qdl-kontron-samx6i-ads2.dtsi
>
> --
> 2.39.2
>
>
>


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y nxp/imx/imx6dl-kontron-samx6i-ads2.dtb nxp/imx/imx6q-kontron-samx6i-ads2.dtb' for [email protected]:

arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /ldb: failed to match any schema with compatible: ['fsl,imx6q-ldb', 'fsl,imx53-ldb']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /ldb: failed to match any schema with compatible: ['fsl,imx6q-ldb', 'fsl,imx53-ldb']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /ldb: failed to match any schema with compatible: ['fsl,imx6q-ldb', 'fsl,imx53-ldb']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /ldb: failed to match any schema with compatible: ['fsl,imx6q-ldb', 'fsl,imx53-ldb']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: iomuxc-gpr@20e0000: 'ipu1_csi0_mux', 'ipu1_csi1_mux' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: iomuxc-gpr@20e0000: 'ipu1_csi0_mux', 'ipu2_csi1_mux' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/soc/imx/fsl,imx-iomuxc-gpr.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /soc/bus@2000000/pinctrl@20e0000: failed to match any schema with compatible: ['fsl,imx6dl-iomuxc']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /soc/bus@2000000/pinctrl@20e0000: failed to match any schema with compatible: ['fsl,imx6q-iomuxc']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audio-codec@1a: 'AVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audio-codec@1a: 'CPVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audio-codec@1a: 'DBVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audio-codec@1a: 'DCVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audio-codec@1a: 'MICVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audio-codec@1a: 'AVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audio-codec@1a: 'CPVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audio-codec@1a: 'DBVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audio-codec@1a: 'DCVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audio-codec@1a: 'MICVDD-supply' is a required property
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8904.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: audmux@21d8000: 'audmux_adu3', 'audmux_adu4', 'audmux_ssi1', 'audmux_ssi2' do not match any of the regexes: '^mux-[0-9a-z]*$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/sound/imx-audmux.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: audmux@21d8000: 'audmux_adu3', 'audmux_adu4', 'audmux_ssi1', 'audmux_ssi2' do not match any of the regexes: '^mux-[0-9a-z]*$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/sound/imx-audmux.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /soc/bus@2100000/mipi@21dc000: failed to match any schema with compatible: ['fsl,imx6-mipi-csi2']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /soc/bus@2100000/mipi@21dc000: failed to match any schema with compatible: ['fsl,imx6-mipi-csi2']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /soc/bus@2100000/vdoa@21e4000: failed to match any schema with compatible: ['fsl,imx6q-vdoa']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /soc/bus@2100000/vdoa@21e4000: failed to match any schema with compatible: ['fsl,imx6q-vdoa']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /soc/ipu@2400000: failed to match any schema with compatible: ['fsl,imx6q-ipu']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /soc/ipu@2400000: failed to match any schema with compatible: ['fsl,imx6q-ipu']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /capture-subsystem: failed to match any schema with compatible: ['fsl,imx-capture-subsystem']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /soc/ipu@2800000: failed to match any schema with compatible: ['fsl,imx6q-ipu']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /display-subsystem: failed to match any schema with compatible: ['fsl,imx-display-subsystem']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: /lcd: failed to match any schema with compatible: ['fsl,imx-parallel-display']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: i2c-gpio-intern: $nodename:0: 'i2c-gpio-intern' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: i2c-gpio-intern: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'pmic@8' were unexpected)
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /capture-subsystem: failed to match any schema with compatible: ['fsl,imx-capture-subsystem']
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /display-subsystem: failed to match any schema with compatible: ['fsl,imx-display-subsystem']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: i2c-gpio-lcd: $nodename:0: 'i2c-gpio-lcd' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: /lcd: failed to match any schema with compatible: ['fsl,imx-parallel-display']
arch/arm/boot/dts/nxp/imx/imx6dl-kontron-samx6i-ads2.dtb: i2c-gpio-cam: $nodename:0: 'i2c-gpio-cam' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: i2c-gpio-intern: $nodename:0: 'i2c-gpio-intern' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: i2c-gpio-intern: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'pmic@8' were unexpected)
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: i2c-gpio-lcd: $nodename:0: 'i2c-gpio-lcd' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#
arch/arm/boot/dts/nxp/imx/imx6q-kontron-samx6i-ads2.dtb: i2c-gpio-cam: $nodename:0: 'i2c-gpio-cam' does not match '^i2c(@.*|-[0-9a-z]+)?$'
from schema $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml#