Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring <robh@kernel.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

authored by

Baruch Siach and committed by
Bartosz Golaszewski
ea6fe47f 85b7d8ab

+8
+8
Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
··· 80 80 81 81 - offset: offset address inside the syscon block 82 82 83 + Optional properties: 84 + 85 + - marvell,pwm-offset: offset address of PWM duration control registers inside 86 + the syscon block 87 + 83 88 Example: 84 89 ap_syscon: system-controller@6f4000 { 85 90 compatible = "syscon", "simple-mfd"; ··· 106 101 gpio-controller; 107 102 #gpio-cells = <2>; 108 103 gpio-ranges = <&ap_pinctrl 0 0 19>; 104 + marvell,pwm-offset = <0x10c0>; 105 + #pwm-cells = <2>; 106 + clocks = <&ap_clk 3>; 109 107 }; 110 108 }; 111 109