-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add devicetree support to the msm_serial driver. Clocks are still queried by direct name from the driver until device tree clock support is implemented. Change-Id: Ia6b2ddfcf1e5dc3bd25dd502662f971202e6d56f Signed-off-by: David Brown <davidb@codeaurora.org> Acked-by: Arnd Bergmann <arnd@arndb.de>
- Loading branch information
David Brown
committed
Aug 29, 2011
1 parent
886a451
commit cfdad2a
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/tty/serial/msm_serial.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
* Qualcomm MSM UART | ||
|
||
Required properties: | ||
- compatible : | ||
- "qcom,msm-uart", and one of "qcom,msm-hsuart" or | ||
"qcom,msm-lsuart". | ||
- reg : offset and length of the register set for the device | ||
for the hsuart operating in compatible mode, there should be a | ||
second pair describing the gsbi registers. | ||
- interrupts : should contain the uart interrupt. | ||
|
||
There are two different UART blocks used in MSM devices, | ||
"qcom,msm-hsuart" and "qcom,msm-lsuart". The msm-serial driver is | ||
able to handle both of these, and matches against the "qcom,msm-uart" | ||
as the compatibility. | ||
|
||
The registers for the "qcom,msm-hsuart" device need to specify both | ||
register blocks, even for the common driver. | ||
|
||
Example: | ||
|
||
uart@19c400000 { | ||
compatible = "qcom,msm-hsuart", "qcom,msm-uart"; | ||
reg = <0x19c40000 0x1000>, | ||
<0x19c00000 0x1000>; | ||
interrupts = <195>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters