mbox series

[0/3] i.MX8M Nano ISI single port support

Message ID 20240223140445.1885083-1-alexander.stein@ew.tq-group.com
Headers show
Series i.MX8M Nano ISI single port support | expand

Message

Alexander Stein Feb. 23, 2024, 2:04 p.m. UTC
Hi,

I'm trying to fix the dtbs_check warning:
/soc@0/bus@32c00000/isi@32e20000/ports: graph node has single child node
'port@0', #address-cells/#size-cells are not necessary

OF graphs with a single port should be placed inside a 'port' node, rather than
a single 'port' node inside a 'ports' node. Bindings were designed for the
latter case.
Adjust the bindings so a seconds port (port@1) is not allowed for
single-pipeline models and allow both 'ports' (current one) and 'port' based
OF graph connections for single-pipeline models.

Best regards,
Alexander

Alexander Stein (3):
  media: dt-bindings: nxp,imx8-isi: Refuse port@1 for single pipeline
    models
  media: dt-bindings: nxp,imx8-isi: Allow single port for single
    pipeline models
  arm64: dts: imx8mn: Use single port for ISI

 .../devicetree/bindings/media/nxp,imx8-isi.yaml   | 15 ++++++++++++++-
 arch/arm64/boot/dts/freescale/imx8mn.dtsi         | 12 +++---------
 2 files changed, 17 insertions(+), 10 deletions(-)