Re: [PATCH v3 6/6] dt-bindings: ap806: document gpio pwm-offset property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 02, 2020 at 09:15:37AM +0200, Baruch Siach wrote:
> Update the example as well. Add the '#pwm-cells' and 'clocks' properties
> for a complete working example.
> 
> Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx>
> ---
>  .../bindings/arm/marvell/ap80x-system-controller.txt      | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt b/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
> index e31511255d8e..a754e8992450 100644
> --- a/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
> +++ b/Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
> @@ -80,6 +80,11 @@ Required properties:
>  
>  - offset: offset address inside the syscon block
>  
> +Optional properties:
> +
> +- pwm-offset: offset address of PWM duration control registers inside the
> +  syscon block

marvell,pwm-offset

> +
>  Example:
>  ap_syscon: system-controller@6f4000 {
>  	compatible = "syscon", "simple-mfd";
> @@ -101,6 +106,9 @@ ap_syscon: system-controller@6f4000 {
>  		gpio-controller;
>  		#gpio-cells = <2>;
>  		gpio-ranges = <&ap_pinctrl 0 0 19>;
> +		pwm-offset = <0x10c0>;
> +		#pwm-cells = <2>;
> +		clocks = <&ap_clk 3>;
>  	};
>  };
>  
> -- 
> 2.29.2
> 



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux