Re: [PATCH v2 1/3] dt-bindings: aspeed-lpc: Add UART routing compatible string

From: Rob Herring
Date: Tue Sep 07 2021 - 14:47:02 EST


On Thu, Sep 02, 2021 at 10:18:14AM +0800, Chia-Wei Wang wrote:
> Add the compatible string and the device tree description for the
> Aspeed AST25xx/AST26xx UART routing control.
>
> Signed-off-by: Chia-Wei Wang <chiawei_wang@xxxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/mfd/aspeed-lpc.txt | 22 +++++++++++++++++++
> 1 file changed, 22 insertions(+)

Either convert aspeed-lpc.txt to DT schema or make this a separate
schema doc.

>
> diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> index 936aa108eab4..45d44f812e5e 100644
> --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt
> @@ -155,3 +155,25 @@ lpc_reset: reset-controller@98 {
> reg = <0x98 0x4>;
> #reset-cells = <1>;
> };
> +
> +UART routing control
> +--------------------
> +
> +The UART routing control manages the RX muxes among the UART controllers
> +and the I/O pins. This is typicall used for the Serial-Over-Lan (SOL)
> +service.
> +
> +Required properties:
> +
> + - compatible: One of:
> + "aspeed,ast2500-uart-routing";
> + "aspeed,ast2600-uart-routing";
> +
> + - reg: offset and length of the IP in the LPC memory region
> +
> +Example:
> +
> +uart_routing: uart-routing@98 {
> + compatible = "aspeed,ast2600-uart-routing";
> + reg = <0x98 0x8>;
> +};
> --
> 2.17.1
>
>