Skip to content

Commit

Permalink
Documentation: dt: add Broadcom BCM7038 PWM controller binding
Browse files Browse the repository at this point in the history
Add a binding documentation for the Broadcom BCM7038 PWM controller found in
BCM7xxx chips.

Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
ffainelli authored and thierryreding committed Oct 6, 2015
1 parent ed6c147 commit 9495525
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/pwm/brcm,bcm7038-pwm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Broadcom BCM7038 PWM controller (BCM7xxx Set Top Box PWM controller)

Required properties:

- compatible: must be "brcm,bcm7038-pwm"
- reg: physical base address and length for this controller
- #pwm-cells: should be 2. See pwm.txt in this directory for a description
of the cells format
- clocks: a phandle to the reference clock for this block which is fed through
its internal variable clock frequency generator


Example:

pwm: pwm@f0408000 {
compatible = "brcm,bcm7038-pwm";
reg = <0xf0408000 0x28>;
#pwm-cells = <2>;
clocks = <&upg_fixed>;
};

0 comments on commit 9495525

Please sign in to comment.