lkml.org 
[lkml]   [2024]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH v2 1/6] dt-bindings: firmware: arm,scmi: set additionalProperties to true
    From: Peng Fan <peng.fan@nxp.com>

    When adding vendor extension protocols, there is dt-schema warning:
    "
    imx,scmi.example.dtb: scmi: 'protocol@81', 'protocol@84' do not match any
    of the regexes: 'pinctrl-[0-9]+'
    "

    Set additionalProperties to true to address the issue.

    Signed-off-by: Peng Fan <peng.fan@nxp.com>
    ---
    Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
    index 4591523b51a0..cfc613b65585 100644
    --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
    +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
    @@ -247,7 +247,7 @@ properties:
    reg:
    const: 0x18

    -additionalProperties: false
    +additionalProperties: true

    $defs:
    protocol-node:
    --
    2.37.1


    \
     
     \ /
      Last update: 2024-05-27 16:26    [W:3.568 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site