Skip to content
Snippets Groups Projects
Commit ea6fe47f authored by Baruch Siach's avatar Baruch Siach Committed by Bartosz Golaszewski
Browse files

dt-bindings: ap806: document gpio marvell,pwm-offset property


Update the example as well. Add the '#pwm-cells' and 'clocks' properties
for a complete working example.

Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent 85b7d8ab
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,11 @@ Required properties: ...@@ -80,6 +80,11 @@ Required properties:
- offset: offset address inside the syscon block - offset: offset address inside the syscon block
Optional properties:
- marvell,pwm-offset: offset address of PWM duration control registers inside
the syscon block
Example: Example:
ap_syscon: system-controller@6f4000 { ap_syscon: system-controller@6f4000 {
compatible = "syscon", "simple-mfd"; compatible = "syscon", "simple-mfd";
...@@ -101,6 +106,9 @@ ap_syscon: system-controller@6f4000 { ...@@ -101,6 +106,9 @@ ap_syscon: system-controller@6f4000 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&ap_pinctrl 0 0 19>; gpio-ranges = <&ap_pinctrl 0 0 19>;
marvell,pwm-offset = <0x10c0>;
#pwm-cells = <2>;
clocks = <&ap_clk 3>;
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment