Re: [PATCH v2] media: dt-bindings: hynix,hi846: Document orientation and rotation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jacopo,

On Fri, Sep 29, 2023 at 11:36 AM Jacopo Mondi
<jacopo.mondi@xxxxxxxxxxxxxxxx> wrote:

> Actually, if I'm going to s/additionalProperties/unevaluatedProperties/
> in this bindings as well, am I wrong this patch is not needed anymore ?

You can discard this patch.

Make sure that the schema warning below is gone:

imx8mq-librem5-r3.dtb: camera@20: 'orientation', 'rotation' do not
match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/media/i2c/hynix,hi846.yaml#

The diff below works for me:

--- 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:
   - |





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux