mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 01:23:20 +00:00
6e01365c46
Let's fix up the msm serial device bindings so that it's clearer what hardware is supported. Instead of using hsuart (for high speed uart) let's use uartdm because that matches the actual name of the hardware. Also, let's add the version information in case we need to differentiate between different versions of the hardware in the future. Finally, lets specify that clocks are required (the clock bindings didn't exist when the original binding was written) and also specify dma bindings just in case we want to use it in software. We split the binding into two files to make it clearer what's required and not required. Cc: David Brown <davidb@codeaurora.org> Cc: <devicetree@vger.kernel.org> Acked-by: Kumar Gala <galak@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
717 B
Plaintext
26 lines
717 B
Plaintext
* MSM Serial UART
|
|
|
|
The MSM serial UART hardware is designed for low-speed use cases where a
|
|
dma-engine isn't needed. From a software perspective it's mostly compatible
|
|
with the MSM serial UARTDM except that it only supports reading and writing one
|
|
character at a time.
|
|
|
|
Required properties:
|
|
- compatible: Should contain "qcom,msm-uart"
|
|
- reg: Should contain UART register location and length.
|
|
- interrupts: Should contain UART interrupt.
|
|
- clocks: Should contain the core clock.
|
|
- clock-names: Should be "core".
|
|
|
|
Example:
|
|
|
|
A uart device at 0xa9c00000 with interrupt 11.
|
|
|
|
serial@a9c00000 {
|
|
compatible = "qcom,msm-uart";
|
|
reg = <0xa9c00000 0x1000>;
|
|
interrupts = <11>;
|
|
clocks = <&uart_cxc>;
|
|
clock-names = "core";
|
|
};
|