lkml.org 
[lkml]   [2022]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.16 0984/1017] media: dt-binding: media: hynix,hi846: use $defs/port-base port description
    Date
    From: Martin Kepplinger <martin.kepplinger@puri.sm>

    commit 6492eba4fafb5a9715ecf78b7155e88f8f88909a upstream.

    This fixes "make dt_binding_check":

    Documentation/devicetree/bindings/media/i2c/hynix,hi846.example.dt.yaml:
    camera@20: port:endpoint: Unevaluated properties are not allowed
    ('link-frequencies', 'data-lanes' were unexpected)
    From schema: Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml

    [Sakari Ailus: Reword commit message]

    Fixes: f3ce7200ca18 ("media: dt-bindings: media: document SK Hynix Hi-846 MIPI CSI-2 8M pixel sensor")
    Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    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 85a8877c2f38..5d0fc18a2ea2 100644
    --- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
    +++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
    @@ -49,7 +49,8 @@ properties:
    description: Definition of the regulator used for the VDDD power supply.

    port:
    - $ref: /schemas/graph.yaml#/properties/port
    + $ref: /schemas/graph.yaml#/$defs/port-base
    + unevaluatedProperties: false

    properties:
    endpoint:
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-04-05 16:07    [W:4.025 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site