devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] media: bindings: Fix handling of video-interface-device
@ 2023-09-29 15:18 Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties Jacopo Mondi
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink

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 (7):
  media: bindings: hynix,hi846: Add video-interface-device properties
  media: bindings: hynix,hi846: Restrict endpoint properties
  media: bindings: ovti,ov02a10: Fix handling of video-interface-device
  media: bindings: ovti,ov4689: Fix handling of video-interface-device
  media: bindings: ovti,ov5640: Fix handling of video-interface-device
  media: bindings: sony,imx214: Fix handling of video-interface-device
  media: bindings: sony,imx415: Fix handling of video-interface-device

 .../devicetree/bindings/media/i2c/hynix,hi846.yaml     | 10 ++++++++--
 .../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, 13 insertions(+), 30 deletions(-)

--
2.42.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-30 14:21   ` Krzysztof Kozlowski
  2023-09-29 15:18 ` [PATCH 2/7] media: bindings: hynix,hi846: Restrict endpoint properties Jacopo Mondi
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink

Allow properties from video-interface-device.yaml for the SK Hynix Hi-846
sensor.

All properties specified in video-interface-device.yaml schema are
valid, so make them accepted by changing "additionalProperties: false"
to "unevaluatedProperties: false" at the schema top-level.

Add two properties from video-interface-device.yaml to the example
to validate the new schema.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 .../devicetree/bindings/media/i2c/hynix,hi846.yaml         | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
index 1e2df8cf2937..60f19e1152b3 100644
--- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
@@ -14,6 +14,9 @@ description: |-
   interface and CCI (I2C compatible) control bus. The output format
   is raw Bayer.

+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
 properties:
   compatible:
     const: hynix,hi846
@@ -86,7 +89,7 @@ required:
   - vddd-supply
   - port

-additionalProperties: false
+unevaluatedProperties: false

 examples:
   - |
@@ -109,6 +112,8 @@ examples:
             vddio-supply = <&reg_camera_vddio>;
             reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
             shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
+            orientation = <0>;
+            rotation = <0>;

             port {
                 camera_out: endpoint {
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/7] media: bindings: hynix,hi846: Restrict endpoint properties
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 3/7] media: bindings: ovti,ov02a10: Fix handling of video-interface-device Jacopo Mondi
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink

Only properties explicitly listed in the schema are accepted as
endpoint properties.

Make sure this is actually enforced by setting 'additionalProperties'
to false and explicitly allow 'remote-endpoint' in the list of
endpoint properties.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
index 60f19e1152b3..f2ca86501d3c 100644
--- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
@@ -58,7 +58,7 @@ properties:
     properties:
       endpoint:
         $ref: /schemas/media/video-interfaces.yaml#
-        unevaluatedProperties: false
+        additionalProperties: false

         properties:
           data-lanes:
@@ -73,6 +73,7 @@ properties:
                   - const: 2

           link-frequencies: true
+          remote-endpoint: true

         required:
           - data-lanes
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 3/7] media: bindings: ovti,ov02a10: Fix handling of video-interface-device
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 2/7] media: bindings: hynix,hi846: Restrict endpoint properties Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 4/7] media: bindings: ovti,ov4689: " Jacopo Mondi
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink,
	Dongchun Zhu

Fix handling of properties from video-interface-device.yaml for
Omnivision OV02A10 sensor.

There is no reason to restrict the allowed rotation degrees to 0 and 180,
as the sensor can be mounted with any rotation.

Also, as all the properties described by video-interface-device.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 .../devicetree/bindings/media/i2c/ovti,ov02a10.yaml       | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml
index 763cebe03dc2..67c1c291327b 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml
@@ -68,12 +68,6 @@ properties:
       marked GPIO_ACTIVE_LOW.
     maxItems: 1

-  rotation:
-    enum:
-      - 0    # Sensor Mounted Upright
-      - 180  # Sensor Mounted Upside Down
-    default: 0
-
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     additionalProperties: false
@@ -114,7 +108,7 @@ required:
   - reset-gpios
   - port

-additionalProperties: false
+unevaluatedProperties: false

 examples:
   - |
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 4/7] media: bindings: ovti,ov4689: Fix handling of video-interface-device
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
                   ` (2 preceding siblings ...)
  2023-09-29 15:18 ` [PATCH 3/7] media: bindings: ovti,ov02a10: Fix handling of video-interface-device Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 5/7] media: bindings: ovti,ov5640: " Jacopo Mondi
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink,
	Mikhail Rudenko

Fix handling of properties from video-interface-device.yaml for
Omnivision OV4689.

All the properties described by video-interface-device.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 .../devicetree/bindings/media/i2c/ovti,ov4689.yaml          | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml
index 50579c947f3c..d96199031b66 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov4689.yaml
@@ -52,10 +52,6 @@ properties:
     description:
       GPIO connected to the reset pin (active low)

-  orientation: true
-
-  rotation: true
-
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     additionalProperties: false
@@ -95,7 +91,7 @@ required:
   - dvdd-supply
   - port

-additionalProperties: false
+unevaluatedProperties: false

 examples:
   - |
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 5/7] media: bindings: ovti,ov5640: Fix handling of video-interface-device
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
                   ` (3 preceding siblings ...)
  2023-09-29 15:18 ` [PATCH 4/7] media: bindings: ovti,ov4689: " Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-29 16:55   ` Rob Herring
  2023-09-30  0:15   ` kernel test robot
  2023-09-29 15:18 ` [PATCH 6/7] media: bindings: sony,imx214: " Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 7/7] media: bindings: sony,imx415: " Jacopo Mondi
  6 siblings, 2 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink,
	Steve Longerbeam

Fix handling of properties from video-interface-device.yaml for
Omnivision OV5640 sensor.

There is no reason to restrict the allowed rotation degrees to 0 and 180,
as the sensor can be mounted with any rotation.

Also, as all the properties described by video-interface-device.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 .../devicetree/bindings/media/i2c/ovti,ov5640.yaml         | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
index a621032f9bd0..58c442cfb612 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
@@ -44,11 +44,6 @@ properties:
     description: >
       Reference to the GPIO connected to the reset pin, if any.

-  rotation:
-    enum:
-      - 0
-      - 180
-
   port:
     description: Digital Output Port
     $ref: /schemas/graph.yaml#/$defs/port-base
@@ -85,7 +80,7 @@ required:
   - DOVDD-supply
   - port

-additionalProperties: false
+unevaluatatedProperties: false

 examples:
   - |
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 6/7] media: bindings: sony,imx214: Fix handling of video-interface-device
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
                   ` (4 preceding siblings ...)
  2023-09-29 15:18 ` [PATCH 5/7] media: bindings: ovti,ov5640: " Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  2023-09-29 15:18 ` [PATCH 7/7] media: bindings: sony,imx415: " Jacopo Mondi
  6 siblings, 0 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink,
	Ricardo Ribalda

Fix handling of properties from video-interface-device.yaml for
Sony IMX214.

All the properties described by video-interface-device.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
index e2470dd5920c..60903da84e1f 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
@@ -91,7 +91,7 @@ required:
   - vddd-supply
   - port

-additionalProperties: false
+unevaluatedProperties: false

 examples:
   - |
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 7/7] media: bindings: sony,imx415: Fix handling of video-interface-device
  2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
                   ` (5 preceding siblings ...)
  2023-09-29 15:18 ` [PATCH 6/7] media: bindings: sony,imx214: " Jacopo Mondi
@ 2023-09-29 15:18 ` Jacopo Mondi
  6 siblings, 0 replies; 11+ messages in thread
From: Jacopo Mondi @ 2023-09-29 15:18 UTC (permalink / raw)
  To: linux-media, devicetree
  Cc: Jacopo Mondi, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sakari Ailus, Laurent Pinchart, Fabio Estevam, martink,
	Michael Riesch

Fix handling of properties from video-interface-device.yaml for
Sony IMX415.

All the properties described by video-interface-device.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Because all properties are now accepted, there is no need to explicitly
allow them in the schema.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 .../devicetree/bindings/media/i2c/sony,imx415.yaml     | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
index ffccf5f3c9e3..8ea3ddd251f6 100644
--- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
@@ -44,14 +44,6 @@ properties:
     description: Sensor reset (XCLR) GPIO
     maxItems: 1

-  flash-leds: true
-
-  lens-focus: true
-
-  orientation: true
-
-  rotation: true
-
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base

@@ -88,7 +80,7 @@ required:
   - ovdd-supply
   - port

-additionalProperties: false
+unevaluatedProperties: false

 examples:
   - |
--
2.42.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/7] media: bindings: ovti,ov5640: Fix handling of video-interface-device
  2023-09-29 15:18 ` [PATCH 5/7] media: bindings: ovti,ov5640: " Jacopo Mondi
@ 2023-09-29 16:55   ` Rob Herring
  2023-09-30  0:15   ` kernel test robot
  1 sibling, 0 replies; 11+ messages in thread
From: Rob Herring @ 2023-09-29 16:55 UTC (permalink / raw)
  To: Jacopo Mondi
  Cc: Sakari Ailus, martink, Steve Longerbeam, Rob Herring, devicetree,
	Laurent Pinchart, linux-media, Krzysztof Kozlowski, Fabio Estevam,
	Conor Dooley


On Fri, 29 Sep 2023 17:18:23 +0200, Jacopo Mondi wrote:
> Fix handling of properties from video-interface-device.yaml for
> Omnivision OV5640 sensor.
> 
> There is no reason to restrict the allowed rotation degrees to 0 and 180,
> as the sensor can be mounted with any rotation.
> 
> Also, as all the properties described by video-interface-device.yaml are
> allowed for the image sensor, make them accepted by changing
> "additionalProperties: false" to "unevaluatedProperties: false" at the
> schema top-level.
> 
> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
> ---
>  .../devicetree/bindings/media/i2c/ovti,ov5640.yaml         | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml: 'unevaluatatedProperties' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'dependentRequired', 'dependentSchemas', 'patternProperties', 'properties', 'not', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select', '$ref']
	from schema $id: http://devicetree.org/meta-schemas/base.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml: 'oneOf' conditional failed, one must be fixed:
	'unevaluatedProperties' is a required property
	'additionalProperties' is a required property
	hint: Either unevaluatedProperties or additionalProperties must be present
	from schema $id: http://devicetree.org/meta-schemas/core.yaml#

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230929151825.6535-6-jacopo.mondi@ideasonboard.com

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 5/7] media: bindings: ovti,ov5640: Fix handling of video-interface-device
  2023-09-29 15:18 ` [PATCH 5/7] media: bindings: ovti,ov5640: " Jacopo Mondi
  2023-09-29 16:55   ` Rob Herring
@ 2023-09-30  0:15   ` kernel test robot
  1 sibling, 0 replies; 11+ messages in thread
From: kernel test robot @ 2023-09-30  0:15 UTC (permalink / raw)
  To: Jacopo Mondi, linux-media, devicetree
  Cc: oe-kbuild-all, Jacopo Mondi, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Sakari Ailus, Laurent Pinchart, Fabio Estevam,
	martink, Steve Longerbeam

Hi Jacopo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on media-tree/master]
[also build test WARNING on sailus-media-tree/streams linus/master v6.6-rc3 next-20230929]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Jacopo-Mondi/media-bindings-hynix-hi846-Add-video-interface-device-properties/20230929-232019
base:   git://linuxtv.org/media_tree.git master
patch link:    https://lore.kernel.org/r/20230929151825.6535-6-jacopo.mondi%40ideasonboard.com
patch subject: [PATCH 5/7] media: bindings: ovti,ov5640: Fix handling of video-interface-device
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230930/202309300855.B0j1LqGe-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309300855.B0j1LqGe-lkp@intel.com/

dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml: 'unevaluatatedProperties' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'dependentRequired', 'dependentSchemas', 'patternProperties', 'properties', 'not', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select', '$ref']
   	from schema $id: http://devicetree.org/meta-schemas/base.yaml#
>> Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml: 'oneOf' conditional failed, one must be fixed:
   	'unevaluatedProperties' is a required property
   	'additionalProperties' is a required property
   	hint: Either unevaluatedProperties or additionalProperties must be present
   	from schema $id: http://devicetree.org/meta-schemas/core.yaml#

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties
  2023-09-29 15:18 ` [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties Jacopo Mondi
@ 2023-09-30 14:21   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-30 14:21 UTC (permalink / raw)
  To: Jacopo Mondi, linux-media, devicetree
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sakari Ailus,
	Laurent Pinchart, Fabio Estevam, martink

On 29/09/2023 17:18, Jacopo Mondi wrote:
> Allow properties from video-interface-device.yaml for the SK Hynix Hi-846
> sensor.
> 
> All properties specified in video-interface-device.yaml schema are
> valid, so make them accepted by changing "additionalProperties: false"
> to "unevaluatedProperties: false" at the schema top-level.
> 
> Add two properties from video-interface-device.yaml to the example
> to validate the new schema.

Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching. dt-bindings, not bindings. You mess with all our
filters...


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-09-30 14:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 15:18 [PATCH 0/7] media: bindings: Fix handling of video-interface-device Jacopo Mondi
2023-09-29 15:18 ` [PATCH 1/7] media: bindings: hynix,hi846: Add video-interface-device properties Jacopo Mondi
2023-09-30 14:21   ` Krzysztof Kozlowski
2023-09-29 15:18 ` [PATCH 2/7] media: bindings: hynix,hi846: Restrict endpoint properties Jacopo Mondi
2023-09-29 15:18 ` [PATCH 3/7] media: bindings: ovti,ov02a10: Fix handling of video-interface-device Jacopo Mondi
2023-09-29 15:18 ` [PATCH 4/7] media: bindings: ovti,ov4689: " Jacopo Mondi
2023-09-29 15:18 ` [PATCH 5/7] media: bindings: ovti,ov5640: " Jacopo Mondi
2023-09-29 16:55   ` Rob Herring
2023-09-30  0:15   ` kernel test robot
2023-09-29 15:18 ` [PATCH 6/7] media: bindings: sony,imx214: " Jacopo Mondi
2023-09-29 15:18 ` [PATCH 7/7] media: bindings: sony,imx415: " Jacopo Mondi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).