OpenCloudOS-Kernel/Documentation/devicetree/bindings/media
Rob Herring b54472a02c dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema
The if/then schema for 'data-lanes' doesn't work as 'compatible' is at a
different level than 'data-lanes'. To make it work, the if/then schema
would have to be moved to the top level and then whole hierarchy of
nodes down to 'data-lanes' created. I don't think it is worth the
complexity to do that, so let's just drop it.

The error in this schema is masked by a fixup in the tools causing the
'allOf' to get overwritten. Removing the fixup as part of moving to
json-schema draft 2019-09 revealed the issue:

Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.example.dt.yaml: mipi-csi@30750000: ports:port@0:endpoint:data-lanes:0: [1] is too short
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.yaml
Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.example.dt.yaml: mipi-csi@32e30000: ports:port@0:endpoint:data-lanes:0: [1, 2, 3, 4] is too long
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/media/nxp,imx7-mipi-csi2.yaml

The if condition was always true because 'compatible' did not exist in
'endpoint' node and a non-existent property is true for json-schema.

Fixes: 85b62ff2cb ("media: dt-bindings: media: nxp,imx7-mipi-csi2: Add i.MX8MM support")
Cc: Rui Miguel Silva <rmfrfs@gmail.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: linux-media@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Link: https://lore.kernel.org/r/20211203164828.187642-1-robh@kernel.org
2021-12-03 11:33:06 -06:00
..
i2c Devicetree updates for v5.16: 2021-11-02 22:22:13 -07:00
spi media: sony-cxd2880: add optional vcc regulator to bindings 2018-12-03 13:33:51 -05:00
xilinx media: dt-bindings: media: Use graph and video-interfaces schemas 2021-01-22 22:40:15 +01:00
allegro,al5e.yaml media: dt-bindings: media: allegro,al5e: Convert to YAML 2021-01-04 13:21:40 +01:00
allwinner,sun4i-a10-csi.yaml media: dt-bindings: media: Use graph and video-interfaces schemas 2021-01-22 22:40:15 +01:00
allwinner,sun4i-a10-ir.yaml media: dt-bindings: media: IR: Add H616 IR compatible string 2021-04-09 13:03:56 +02:00
allwinner,sun4i-a10-video-engine.yaml dt-bindings: Add missing array size constraints 2021-01-11 17:42:25 -06:00
allwinner,sun6i-a31-csi.yaml media: dt-bindings: media: Use graph and video-interfaces schemas 2021-01-22 22:40:15 +01:00
allwinner,sun8i-a83t-de2-rotate.yaml dt-bindings: Whitespace clean-ups in schema files 2020-08-14 08:55:58 -06:00
allwinner,sun8i-h3-deinterlace.yaml dt-bindings: media: Add Allwinner R40 deinterlace compatible 2021-01-07 10:39:34 +01:00
amlogic,axg-ge2d.yaml media: dt-bindings: media: Add bindings for the Amlogic GE2D Accelerator Unit 2020-12-07 15:01:36 +01:00
amlogic,gx-vdec.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
amlogic,meson-gx-ao-cec.yaml dt-bindings: Fix incorrect 'reg' property sizes 2020-05-14 14:43:27 -05:00
amlogic,meson-ir-tx.yaml media: rc: meson-ir-tx: document device tree bindings 2021-08-04 14:43:49 +02:00
aspeed-video.txt media: Documentation: dt-bindings: media: add AST2600 Video Engine support 2020-02-24 16:08:14 +01:00
atmel,isc.yaml dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings 2021-07-27 08:03:11 -06:00
atmel-isi.txt dt-bindings: atmel-isi: add microchip,sam9x60-isi 2020-01-14 15:06:30 +01:00
cdns,csi2rx.txt media: dt-bindings: media: Add Cadence MIPI-CSI2 RX Device Tree bindings 2018-05-16 11:08:35 -04:00
cdns,csi2tx.txt media: dt-bindings: Update bindings for Cadence CSI2TX version 2.1 2019-07-25 06:42:16 -04:00
cec-gpio.txt media: cec-gpio.txt: add v5-gpios for testing the 5V line 2018-07-25 06:58:00 -04:00
cec.txt [media] dt-bindings: add media/cec.txt 2017-06-20 06:57:11 -03:00
coda.yaml media: dt-bindings: coda: Add missing 'additionalProperties' 2020-12-18 15:15:20 -06:00
exynos-fimc-lite.txt
exynos-jpeg-codec.txt dt-bindings: Rename Exynos to lowercase 2020-01-06 16:16:41 -06:00
exynos4-fimc-is.txt [media] exynos4-is: Add support for all required clocks 2016-09-22 10:13:53 -03:00
exynos5-gsc.txt dt-bindings: Rename Exynos to lowercase 2020-01-06 16:16:41 -06:00
fsl-pxp.txt media: dt-bindings: media: fsl-pxp: add missing imx6sll 2019-12-23 09:22:35 +08:00
fsl-vdoa.txt [media] dt-bindings: Add a binding for Video Data Order Adapter 2017-01-31 08:08:03 -02:00
gpio-ir-receiver.txt media: bindings: media: gpio-ir-receiver: add linux,autosuspend-period property 2020-09-27 11:27:44 +02:00
hix5hd2-ir.txt media: dt-bindings: media: add "hisilicon,hi3796cv300-ir" compatible 2020-01-08 11:48:00 +01:00
img-ir-rev1.txt dt-bindings: Remove leading zeros from bindings notation 2017-11-09 17:05:05 -06:00
imx.txt [media] dt-bindings: Add bindings for i.MX media driver 2017-06-20 07:24:38 -03:00
marvell,mmp2-ccic.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
mediatek-jpeg-decoder.txt dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references 2021-04-06 14:44:47 +02:00
mediatek-jpeg-encoder.txt dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references 2021-04-06 14:44:47 +02:00
mediatek-mdp.txt dt-bindings: iommu: mediatek: update mediatek,iommu.yaml references 2021-04-06 14:44:47 +02:00
mediatek-vcodec.txt media: dt-bindings: media: document mediatek,mt8183-vcodec-dec 2021-09-30 10:07:42 +02:00
mediatek-vpu.txt
meson-ir.txt [media] Documentation: devicetree: meson-ir: "linux,rc-map-name" is supported 2017-02-03 14:23:35 -02:00
microchip,sama5d4-vdec.yaml media: dt-bindings: Document SAMA5D4 VDEC bindings 2021-05-19 09:51:40 +02:00
microchip,xisc.yaml dt-bindings: media: Fix graph 'unevaluatedProperties' related warnings 2021-07-27 08:03:11 -06:00
mtk-cir.txt media: dt-bindings: media: mtk-cir: Add support for MT7622 SoC 2017-08-20 09:34:57 -04:00
nokia,n900-ir
nvidia,tegra-vde.txt media: dt: bindings: tegra-vde: Document new optional IOMMU property 2019-07-25 06:20:01 -04:00
nxp,imx7-csi.yaml media: dt-bindings: media: nxp,imx7-csi: Add i.MX8MM support 2021-08-04 14:43:51 +02:00
nxp,imx7-mipi-csi2.yaml dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema 2021-12-03 11:33:06 -06:00
nxp,imx8-jpeg.yaml dt-bindings: media: imx-jpeg: Add compatible for i.MX8QM JPEG codec 2021-07-14 15:42:58 +08:00
nxp,imx8mq-mipi-csi2.yaml media: dt-bindings: media: document the nxp,imx8mq-mipi-csi2 receiver phy and controller 2021-08-04 14:43:51 +02:00
nxp,imx8mq-vpu.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
pxa-camera.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
qcom,msm8916-camss.yaml media: dt-bindings: media: camss: Add qcom,msm8916-camss binding 2021-03-22 12:32:09 +01:00
qcom,msm8916-venus.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
qcom,msm8996-camss.yaml media: dt-bindings: media: camss: Add qcom,msm8996-camss binding 2021-03-22 12:37:29 +01:00
qcom,msm8996-venus.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
qcom,sc7180-venus.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
qcom,sc7280-venus.yaml bindings: media: venus: Drop redundant maxItems for power-domain-names 2021-11-11 22:27:16 -06:00
qcom,sdm660-camss.yaml media: dt-bindings: media: camss: Add qcom,sdm660-camss binding 2021-03-22 12:37:54 +01:00
qcom,sdm660-venus.yaml media: dt-bindings: media: venus: Add sdm660 dt schema 2021-10-21 14:25:43 +01:00
qcom,sdm845-camss.yaml media: dt-bindings: media: camss: Add qcom,sdm845-camss binding 2021-03-22 12:38:27 +01:00
qcom,sdm845-venus-v2.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
qcom,sdm845-venus.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
qcom,sm8250-venus.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
rc.txt media: dt-bindings: media: Add YAML schemas for the generic RC bindings 2019-08-21 18:39:55 -03:00
rc.yaml media: rc: add keymap for Toshiba CT-90405 remote 2021-06-08 15:56:58 +02:00
renesas,ceu.yaml media: dt-bindings: media: Use graph and video-interfaces schemas 2021-01-22 22:40:15 +01:00
renesas,csi2.yaml media: dt-bindings: media: renesas,csi2: Add r8a779a0 support 2021-09-30 10:07:33 +02:00
renesas,drif.yaml dt-bindings: Remove "status" from schema examples 2021-07-27 08:03:12 -06:00
renesas,fcp.yaml media: dt-bindings: media: renesas,fcp: Add resets and iommus properties 2020-07-19 14:20:16 +02:00
renesas,fdp1.yaml media: dt-bindings: media: renesas,fdp1: Add resets property 2020-07-19 14:21:07 +02:00
renesas,imr.yaml media: dt-bindings: media: renesas,imr: Convert to json-schema 2021-09-30 10:07:44 +02:00
renesas,isp.yaml media: dt-bindings: media: renesas,isp: Add bindings for ISP Channel Selector 2021-06-02 12:06:50 +02:00
renesas,jpu.txt
renesas,vin.yaml Devicetree updates for v5.14: 2021-07-03 10:54:08 -07:00
renesas,vsp1.yaml media: dt-bindings: media: renesas,vsp1: Add power-domains and resets 2020-07-19 14:21:42 +02:00
rockchip,vdec.yaml media: dt-bindings: media: rockchip-vdec: add RK3228 compatible 2021-06-17 10:57:12 +02:00
rockchip-isp1.yaml media: dt-bindings: media: rkisp1: document px30 isp compatible 2021-09-30 10:07:37 +02:00
rockchip-rga.yaml media: dt-bindings: media: rockchip-rga: add power-domains property 2020-04-21 17:28:47 +02:00
rockchip-vpu.yaml media: dt-bindings: media: rockchip-vpu: Add PX30 compatible 2021-07-22 08:47:14 +02:00
s5p-cec.txt dt-bindings: Use lower case hex in unit-addresses 2017-12-26 10:37:05 -06:00
s5p-mfc.txt media: s5p-mfc: Adding initial support for MFC v10.10 2018-03-22 07:06:26 -04:00
samsung-fimc.txt media: dt-bindings: media: Correct samsung-fimc parallel port numbering 2020-09-01 14:13:26 +02:00
samsung-mipi-csis.txt dt-bindings: Rename Exynos to lowercase 2020-01-06 16:16:41 -06:00
samsung-s5c73m3.txt dt-bindings: Use lower case hex in unit-addresses 2017-12-26 10:37:05 -06:00
samsung-s5k5baf.txt
samsung-s5k6a3.txt
si470x.txt media: dt-bindings: Add binding for si470x radio 2019-01-21 15:36:53 -02:00
si4713.txt
st,st-delta.txt [media] Documentation: DT: add bindings for ST DELTA 2017-02-08 09:56:47 -02:00
st,st-hva.txt [media] Documentation: DT: add bindings for ST HVA 2016-09-06 16:54:02 -03:00
st,stih4xx.txt
st,stm32-cec.yaml dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
st,stm32-dcmi.yaml dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
st-rc.txt
stih-cec.txt dt-bindings: Remove leading zeros from bindings notation 2017-11-09 17:05:05 -06:00
stih407-c8sectpfe.txt devicetree: fix name of pinctrl-bindings.txt 2018-06-15 18:10:01 -03:00
tegra-cec.txt media: dt-bindings: document the tegra CEC bindings 2017-10-27 15:41:52 +02:00
ti,cal.yaml dt-bindings: media: ti,cal: Fix example 2021-09-13 08:20:19 -05:00
ti,da850-vpif.txt dt-bindings: Remove "status" from examples 2017-09-05 10:03:06 -05:00
ti,omap3isp.txt
ti,vpe.yaml dt-bindings: Clean-up schema indentation formatting 2020-04-16 16:59:22 -05:00
ti-am437x-vpfe.txt
video-interface-devices.yaml media: dt-bindings: Convert video-interfaces.txt properties to schemas 2021-01-22 22:37:15 +01:00
video-interfaces.txt media: dt-bindings: Convert video-interfaces.txt properties to schemas 2021-01-22 22:37:15 +01:00
video-interfaces.yaml dt-bindings: media: video-interfaces: Drop the example 2021-03-26 13:51:19 -06:00
video-mux.yaml dt-bindings: media: Convert video-mux to DT schema 2021-03-23 15:27:51 -06:00