~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to Documentation/devicetree/bindings/tty/serial/msm_serial.txt

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
* Qualcomm MSM UART
 
2
 
 
3
Required properties:
 
4
- compatible :
 
5
        - "qcom,msm-uart", and one of "qcom,msm-hsuart" or
 
6
          "qcom,msm-lsuart".
 
7
- reg : offset and length of the register set for the device
 
8
        for the hsuart operating in compatible mode, there should be a
 
9
        second pair describing the gsbi registers.
 
10
- interrupts : should contain the uart interrupt.
 
11
 
 
12
There are two different UART blocks used in MSM devices,
 
13
"qcom,msm-hsuart" and "qcom,msm-lsuart".  The msm-serial driver is
 
14
able to handle both of these, and matches against the "qcom,msm-uart"
 
15
as the compatibility.
 
16
 
 
17
The registers for the "qcom,msm-hsuart" device need to specify both
 
18
register blocks, even for the common driver.
 
19
 
 
20
Example:
 
21
 
 
22
        uart@19c400000 {
 
23
                compatible = "qcom,msm-hsuart", "qcom,msm-uart";
 
24
                reg = <0x19c40000 0x1000>,
 
25
                      <0x19c00000 0x1000>;
 
26
                interrupts = <195>;
 
27
        };