OSDN Git Service

dt-bindings: gpio: msc313: Add compatible for ssd20xd
authorDaniel Palmer <daniel@0x0f.com>
Mon, 13 Dec 2021 09:40:32 +0000 (18:40 +0900)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 20 Dec 2021 14:48:24 +0000 (15:48 +0100)
Add a compatible string for "ssd20xd" for the SigmaStar SSD201
and SSD202D chips. These chips are the same die with different
memory bonded so they don't need their own strings.

Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Documentation/devicetree/bindings/gpio/mstar,msc313-gpio.yaml

index fe1e1c6..18fe903 100644 (file)
@@ -14,7 +14,9 @@ properties:
     pattern: "^gpio@[0-9a-f]+$"
 
   compatible:
-    const: mstar,msc313-gpio
+    enum:
+      - mstar,msc313-gpio
+      - sstar,ssd20xd-gpio
 
   reg:
     maxItems: 1