pwm: rockchip: need the Distinguish between rk3328 and rk3288 for clk used
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / pwm / pwm-rockchip.txt
index b8be3d09ee26b7522fa373eefd1903aef8ce3d41..f944723128b8f20dbb25f2ea6172a3a9e9f2b5f5 100644 (file)
@@ -5,8 +5,16 @@ Required properties:
    "rockchip,rk2928-pwm": found on RK29XX,RK3066 and RK3188 SoCs
    "rockchip,rk3288-pwm": found on RK3288 SoC
    "rockchip,vop-pwm": found integrated in VOP on RK3288 SoC
+   "rockchip,rk3328-pwm": found on RK3328 SoC
+   "rockchip,rk3399-pwm", "rockchip,rk3288-pwm": found on RK3399 SoC
  - reg: physical base address and length of the controller's registers
- - clocks: phandle and clock specifier of the PWM reference clock
+ - clocks: See ../clock/clock-bindings.txt
+   - For older hardware (rk2928, rk3066, rk3188, rk3228, rk3288, rk3399):
+     - There is one clock that's used both to derive the functional clock
+       for the device and as the bus clock.
+   - For newer hardware (rk3328): specified by name
+     - "pwm": This is used to derive the functional clock.
+     - "pclk": This is the bus clock.
  - #pwm-cells: must be 2 (rk2928) or 3 (rk3288). See pwm.txt in this directory
    for a description of the cell format.