aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-03-23 22:53:57 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-04-17 12:28:57 +0200
commit4f18093743673d4e21a5619dc323adb1dc2021e9 (patch)
tree117584b60cb11e45833583683903e6b2bb69a354 /Documentation/devicetree/bindings/gpio
parentdt-bindings: gpio: Convert snps,dw-apb-gpio to DT schema (diff)
downloadwireguard-linux-4f18093743673d4e21a5619dc323adb1dc2021e9.tar.xz
wireguard-linux-4f18093743673d4e21a5619dc323adb1dc2021e9.zip
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 <Sergey.Semin@baikalelectronics.ru> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Cc: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Link: https://lore.kernel.org/r/20200323195401.30338-3-Sergey.Semin@baikalelectronics.ru Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-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