Skip to content

Commit b04f127

Browse files
Rob RiceJassiBrar
authored andcommitted
dt-bindings: add bindings documentation for PDC driver.
Add the device tree binding documentation for the PDC hardware in Broadcom iProc SoCs. Signed-off-by: Rob Rice <rob.rice@broadcom.com> Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Reviewed-by: Anup Patel <anup.patel@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
1 parent 9ac3e85 commit b04f127

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
The PDC driver manages data transfer to and from various offload engines
2+
on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is
3+
one device tree entry per block.
4+
5+
Required properties:
6+
- compatible : Should be "brcm,iproc-pdc-mbox".
7+
- reg: Should contain PDC registers location and length.
8+
- interrupts: Should contain the IRQ line for the PDC.
9+
- #mbox-cells: 1
10+
- brcm,rx-status-len: Length of metadata preceding received frames, in bytes.
11+
12+
Optional properties:
13+
- brcm,use-bcm-hdr: present if a BCM header precedes each frame.
14+
15+
Example:
16+
pdc0: iproc-pdc0@0x612c0000 {
17+
compatible = "brcm,iproc-pdc-mbox";
18+
reg = <0 0x612c0000 0 0x445>; /* PDC FS0 regs */
19+
interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
20+
#mbox-cells = <1>; /* one cell per mailbox channel */
21+
brcm,rx-status-len = <32>;
22+
brcm,use-bcm-hdr;
23+
};

0 commit comments

Comments
 (0)