aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2020-03-23 22:53:57 +0300
committerLinus Walleij <[email protected]>2020-04-17 12:28:57 +0200
commit4f18093743673d4e21a5619dc323adb1dc2021e9 (patch)
tree117584b60cb11e45833583683903e6b2bb69a354
parent657a06df993c92ca404da4c251f7f354f1069eaa (diff)
dt-bindings: gpio: Add DW GPIO debounce clock property
Port A of the DW GPIO controller may optionally have a debounce logic enabled if it was synthesized with that functionality enabled. In this case a dedicated reference clock should be declared in the node with corresponding "db" name presented in the clock-names property. Signed-off-by: Serge Semin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Acked-by: Rob Herring <[email protected]> Cc: Alexey Malahov <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
index f84f92c4dd53..58a8df367623 100644
--- a/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
@@ -31,12 +31,16 @@ properties:
maxItems: 1
clocks:
+ minItems: 1
items:
- description: APB interface clock source
+ - description: DW GPIO debounce reference clock source
clock-names:
+ minItems: 1
items:
- const: bus
+ - const: db
resets:
maxItems: 1