Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eae266a2 authored by Beniamino Galvani's avatar Beniamino Galvani Committed by Thierry Reding
Browse files

pwm: rockchip: document device tree bindings



This adds binding documentation for Rockchip SoC PWM driver.

Signed-off-by: default avatarBeniamino Galvani <b.galvani@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 101353c8
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
Rockchip PWM controller

Required properties:
 - compatible: should be "rockchip,rk2928-pwm"
 - reg: physical base address and length of the controller's registers
 - clocks: phandle and clock specifier of the PWM reference clock
 - #pwm-cells: should be 2. See pwm.txt in this directory for a
   description of the cell format.

Example:

	pwm0: pwm@20030000 {
		compatible = "rockchip,rk2928-pwm";
		reg = <0x20030000 0x10>;
		clocks = <&cru PCLK_PWM01>;
		#pwm-cells = <2>;
	};