diff mbox

[RFC,03/10] dt-bindings: document the MPS2 UART bindings

Message ID 1448447621-17900-4-git-send-email-vladimir.murzin@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vladimir Murzin Nov. 25, 2015, 10:33 a.m. UTC
This adds documentation of device tree bindings for the
UART found on ARM MPS2 platform

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
 .../devicetree/bindings/serial/arm,mps2-uart.txt   |   22 ++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt

Comments

Rob Herring (Arm) Nov. 25, 2015, 8:07 p.m. UTC | #1
On Wed, Nov 25, 2015 at 10:33:34AM +0000, Vladimir Murzin wrote:
> This adds documentation of device tree bindings for the
> UART found on ARM MPS2 platform
> 
> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>

Why did ARM invent a new UART?

Acked-by: Rob Herring <robh@kernel.org

> ---
>  .../devicetree/bindings/serial/arm,mps2-uart.txt   |   22 ++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
> 
> diff --git a/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt b/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
> new file mode 100644
> index 0000000..b3f7cb1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
> @@ -0,0 +1,22 @@
> +ARM MPS2 UART
> +
> +Required properties:
> +- compatible	: Should be "arm,mps2-uart"
> +- reg		: Address and length of the register set
> +- interrupts	: Reference to the UART RX, TX and overrun interrupts
> +
> +Required clocking property:
> +- clocks	: The input clock of the UART
> +
> +
> +Examples:
> +
> +uart0: serial@40004000 {
> +	compatible = "arm,mps2-uart";
> +	reg = <0x40004000 0x1000>;
> +	interrupts = <0 1 12>;
> +	clocks = <&sysclk>;
> +};
> +
> +
> +
> -- 
> 1.7.9.5
>
Vladimir Murzin Dec. 1, 2015, 11:35 a.m. UTC | #2
On 25/11/15 20:07, Rob Herring wrote:
> On Wed, Nov 25, 2015 at 10:33:34AM +0000, Vladimir Murzin wrote:
>> This adds documentation of device tree bindings for the
>> UART found on ARM MPS2 platform
>>
>> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
> 
> Why did ARM invent a new UART?

It is not something new and it was inherited from MPS (version 1) and I
can only guess why it was there in a first place ;)

> 
> Acked-by: Rob Herring <robh@kernel.org

Thanks for your time.

Vladimir
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt b/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
new file mode 100644
index 0000000..b3f7cb1
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
@@ -0,0 +1,22 @@ 
+ARM MPS2 UART
+
+Required properties:
+- compatible	: Should be "arm,mps2-uart"
+- reg		: Address and length of the register set
+- interrupts	: Reference to the UART RX, TX and overrun interrupts
+
+Required clocking property:
+- clocks	: The input clock of the UART
+
+
+Examples:
+
+uart0: serial@40004000 {
+	compatible = "arm,mps2-uart";
+	reg = <0x40004000 0x1000>;
+	interrupts = <0 1 12>;
+	clocks = <&sysclk>;
+};
+
+
+