From 2980da404abe30af74605e0d1d57e39405f0e3ed Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Fri, 16 Oct 2020 10:24:38 +0800 Subject: [PATCH] dt-bindings: pwm: rockchip: Add pwm center-aligned optional property Signed-off-by: Steven Liu Change-Id: Ic1b8c9e13d12bc730eab2564784c71eb0d0ce796 --- Documentation/devicetree/bindings/pwm/pwm-rockchip.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt index 2c5e52a5bede..5ecd096623e2 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.txt @@ -17,6 +17,9 @@ Required properties: - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.txt in this directory for a description of the cell format. +Optional properties: + - center-aligned: support pwm output center aligned mode. + Example: pwm0: pwm@20030000 { @@ -24,4 +27,5 @@ Example: reg = <0x20030000 0x10>; clocks = <&cru PCLK_PWM01>; #pwm-cells = <2>; + center-aligned; };