lkml.org 
[lkml]   [2021]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v5 4/8] dt-bindings: touchscreen: validate nodename
    Date
    Validate touchscreen nodes. Make sure it is named touchscreen*.

    Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
    ---
    .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
    index 046ace461cc9..057e1063759c 100644
    --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
    +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
    @@ -10,6 +10,9 @@ maintainers:
    - Dmitry Torokhov <dmitry.torokhov@gmail.com>

    properties:
    + $nodename:
    + pattern: "^touchscreen(@.*)?$"
    +
    touchscreen-min-x:
    description: minimum x coordinate reported
    $ref: /schemas/types.yaml#/definitions/uint32
    --
    2.29.2
    \
     
     \ /
      Last update: 2021-05-21 06:46    [W:2.425 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site