Commit df08a6fc authored by Chris Packham's avatar Chris Packham Committed by Bartosz Golaszewski

dt-bindings: gpio: gpio-mvebu: document offset and marvell,pwm-offset

The offset and marvell,pwm-offset properties weren't in the old binding.
Add them based on the existing usage in the driver and board DTS when
the marvell,armada-8k-gpio compatible is used.
Signed-off-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: default avatarThierry Reding <thierry.reding@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent 988c8c0c
...@@ -45,6 +45,10 @@ properties: ...@@ -45,6 +45,10 @@ properties:
- const: pwm - const: pwm
minItems: 1 minItems: 1
offset:
$ref: /schemas/types.yaml#/definitions/uint32
description: Offset in the register map for the gpio registers (in bytes)
interrupts: interrupts:
description: | description: |
The list of interrupts that are used for all the pins managed by this The list of interrupts that are used for all the pins managed by this
...@@ -68,6 +72,10 @@ properties: ...@@ -68,6 +72,10 @@ properties:
"#gpio-cells": "#gpio-cells":
const: 2 const: 2
marvell,pwm-offset:
$ref: /schemas/types.yaml#/definitions/uint32
description: Offset in the register map for the pwm registers (in bytes)
"#pwm-cells": "#pwm-cells":
description: description:
The first cell is the GPIO line number. The second cell is the period The first cell is the GPIO line number. The second cell is the period
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment