mbox series

[v4,0/6] media: bindings: Fix handling of video-interface-devices

Message ID 20231006124101.181555-1-jacopo.mondi@ideasonboard.com (mailing list archive)
Headers show
Series media: bindings: Fix handling of video-interface-devices | expand

Message

Jacopo Mondi Oct. 6, 2023, 12:40 p.m. UTC
v3->v4:
- drop v3 2/7
- Add Rob's tags
- s/video-interface-device/video-interface-devices everywhere
- Remove the word "fix" from commit message and subject as there was actually
  nothing to fix

v2->v3:
- s/bindings/dt-bindings/ in $SUBJECT

v1->v2:
- Fix a typo in the ov5640 bindings

As discussed in
https://patchwork.linuxtv.org/project/linux-media/patch/20230928121424.388019-1-festevam@gmail.com/

all properties specified in video-interface-device.yaml are valid for
image sensors.

Some schema however either allow only some of them one by one, or restrict
the supported values for no specific reason.

Fix this by allowing all properties from video-interface-device.yaml
and removing restrictions on the accepted values.

Jacopo Mondi (6):
  media: dt-bindings: hynix,hi846: Add video-interface-devices
    properties
  media: dt-bindings: ovti,ov02a10: Allow props from
    video-interface-devices
  media: dt-bindings: ovti,ov4689: Allow props from
    video-interface-devices
  media: dt-bindings: ovti,ov5640: Allow props from
    video-interface-devices
  media: dt-bindings: sony,imx214: Allow props from
    video-interface-devices
  media: dt-bindings: sony,imx415: Allow props from
    video-interface-devices

 .../devicetree/bindings/media/i2c/hynix,hi846.yaml     |  7 ++++++-
 .../devicetree/bindings/media/i2c/ovti,ov02a10.yaml    |  8 +-------
 .../devicetree/bindings/media/i2c/ovti,ov4689.yaml     |  6 +-----
 .../devicetree/bindings/media/i2c/ovti,ov5640.yaml     |  7 +------
 .../devicetree/bindings/media/i2c/sony,imx214.yaml     |  2 +-
 .../devicetree/bindings/media/i2c/sony,imx415.yaml     | 10 +---------
 6 files changed, 11 insertions(+), 29 deletions(-)

--
2.42.0