arm/dt: msm9625: Add MSM USB BAM support
Add device tree entries for the MSM USB BAM. Add AUXDATA
to create "usb_bam" sysfs node for existing userspace scripts.
Also clarify device tree documentation on the use of reg-names
and interrupt-names properties of the USB BAM node.
Change-Id: I5a53d1f9c0416af58ea9c36d3618f4d328f9cf44
Signed-off-by: Jack Pham <jackp@codeaurora.org>
diff --git a/Documentation/devicetree/bindings/usb/msm-hsusb.txt b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
index 7bff0f2..015822f 100644
--- a/Documentation/devicetree/bindings/usb/msm-hsusb.txt
+++ b/Documentation/devicetree/bindings/usb/msm-hsusb.txt
@@ -100,13 +100,24 @@
- compatible: should be "qcom,usb-bam-msm"
- reg : pairs of physical base addresses and region sizes
of all the memory mapped BAM devices present
-- reg-names : Register region name(s) referenced in reg above
- SSUSB BAM expects "ssusb" and "hsusb" for HSSUB BAM.
- Specify "qscratch_ram1_reg" to provide QSCRATCH's RAM1
- register to control USB3 private memory for uses as BAM FIFOs.
+- reg-names : Register region name(s), in 1-1 correspondence with the
+ registers in 'reg'. This list should contain at least as many names
+ as the number of unique values given in both 'usb-active-bam' and
+ all the subnodes' 'usb-bam-type' properties.
+
+ If SSUSB_BAM is used, "ssusb" should be present.
+ If HSUSB_BAM is used, "hsusb" should be present.
+ If HSIC_BAM is used, "hsic" should be present.
+
+ If a QSCRATCH RAM1 register is designated for providing USB3
+ private memory to use as a BAM FIFO, specify "qscratch_ram1_reg".
- interrupts: IRQ lines for BAM devices
-- interrupt-names: BAM interrupt name(s) referenced in interrupts above
- SSUSB BAM expects "ssusb" and "hsusb" for HSSUB BAM
+- interrupt-names: BAM interrupt name(s), in 1-1 correspondence with
+ 'interrupts' above.
+
+ If SSUSB_BAM is used, "ssusb" should be present.
+ If HSUSB_BAM is used, "hsusb" should be present.
+ If HSIC_BAM is used, "hsic" should be present.
- qcom,usb-active-bam: active BAM type. Can be one of
0 - SSUSB_BAM
1 - HSUSB_BAM