diff options
author | Scott Branden <sbranden@broadcom.com> | 2015-03-20 18:06:22 -0700 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2015-03-26 12:14:11 -0500 |
commit | 23a71fd616bf77fcc630ea514c469b0dd09cb99c (patch) | |
tree | 9172aa58dea51022af10f8f910dbdf00c120511c /Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt | |
parent | 9697a5595ece52a722d88f25a90ded0028e5e6b4 (diff) | |
download | blackbird-obmc-linux-23a71fd616bf77fcc630ea514c469b0dd09cb99c.tar.gz blackbird-obmc-linux-23a71fd616bf77fcc630ea514c469b0dd09cb99c.zip |
dt-bindings: brcm: rationalize Broadcom documentation naming
This patchset attempts to standardize the naming of dt-bindings
documents based on the Broadcom vendor prefix of brcm.
Although there are no guidelines currently present for how to name
the dt-bindings document the "vendor,binding.txt" style is in use by
some of the other vendors.
Acked-by: Lee Jones <lee@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt b/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt new file mode 100644 index 000000000000..8eae9fe7841c --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/brcm,kona-pwm.txt @@ -0,0 +1,21 @@ +Broadcom Kona PWM controller device tree bindings + +This controller has 6 channels. + +Required Properties : +- compatible: should contain "brcm,kona-pwm" +- reg: physical base address and length of the controller's registers +- clocks: phandle + clock specifier pair for the external clock +- #pwm-cells: Should be 3. See pwm.txt in this directory for a + description of the cells format. + +Refer to clocks/clock-bindings.txt for generic clock consumer properties. + +Example: + +pwm: pwm@3e01a000 { + compatible = "brcm,bcm11351-pwm", "brcm,kona-pwm"; + reg = <0x3e01a000 0xc4>; + clocks = <&pwm_clk>; + #pwm-cells = <3>; +}; |