]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: display: Add hpd-gpios to panel-common bindings
authorDouglas Anderson <dianders@chromium.org>
Thu, 7 May 2020 21:34:56 +0000 (14:34 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 9 May 2020 20:11:22 +0000 (22:11 +0200)
In the cases where there is no connector in a system there's no great
place to put "hpd-gpios".  As per discussion [1] the best place to put
it is in the panel.  Add this to the device tree bindings.

[1] https://lore.kernel.org/r/20200417180819.GE5861@pendragon.ideasonboard.com

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200507143354.v5.2.I1976736b400a3b30e46efa47782248b86b3bc627@changeid
Documentation/devicetree/bindings/display/panel/panel-common.yaml

index 17b8367f12dd9593d9f1dff0625c313a027bdd20..a747b755ad0609a1af45780ad626f4afccd290b1 100644 (file)
@@ -96,6 +96,12 @@ properties:
       (hot plug detect) signal, but the signal isn't hooked up so we should
       hardcode the max delay from the panel spec when powering up the panel.
 
+  hpd-gpios:
+    maxItems: 1
+    description:
+      If Hot Plug Detect (HPD) is connected to a GPIO in the system rather
+      than a dedicated HPD pin the pin can be specified here.
+
   # Control I/Os
 
   # Many display panels can be controlled through pins driven by GPIOs. The nature