diff options
| author | A.s. Dong <[email protected]> | 2018-10-31 14:43:04 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-11-05 08:54:42 +0100 |
| commit | b45f2869a7aa067e5499ffe0ac1e32496e559638 (patch) | |
| tree | 8fdbecc53730b9c2f64b9e34b0bac20b51543d85 | |
| parent | 18534df419041e6c1f4b41af56ee7d41f757815c (diff) | |
dt-bindings: gpio: vf610: add optional clocks property
On some SoCs(e.g. MX7ULP), GPIO clock is gatable and maybe
disabled by default. Users have to make sure it's enabled before
being able to access controller registers, otherwise an external
abort error may occur. Let's add the optional clocks property to
handle this case.
For ULP GPIO clock, it includes two separate clocks: one is for
GPIO controller Input/Output function clock while another is
GPIO port control clock for interrupt function.
Cc: Linus Walleij <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Stefan Agner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Dong Aisheng <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-vf610.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.txt b/Documentation/devicetree/bindings/gpio/gpio-vf610.txt index 0ccbae44019c..ae254aadee35 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.txt @@ -24,6 +24,12 @@ Required properties for GPIO node: 4 = active high level-sensitive. 8 = active low level-sensitive. +Optional properties: +-clocks: Must contain an entry for each entry in clock-names. + See common clock-bindings.txt for details. +-clock-names: A list of clock names. For imx7ulp, it must contain + "gpio", "port". + Note: Each GPIO port should have an alias correctly numbered in "aliases" node. |