[PATCH v5 3/3] dt-bindings: add documentation for Mediatek SoC

Matthias Brugger matthias.bgg at gmail.com
Wed Nov 12 03:43:13 PST 2014


2014-11-11 4:55 GMT+01:00 Howard Chen <ibanezchen at gmail.com>:
> This adds a DT binding documentation for the MT6592 SoC from Mediatek.
>
> Signed-off-by: Howard Chen <ibanezchen at gmail.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.txt    | 7 +++++--
>  Documentation/devicetree/bindings/serial/mtk-uart.txt | 3 ++-
>  2 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
> index fa25226..1d2d151 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek.txt
> @@ -1,10 +1,10 @@
>  Mediatek MT6589 Platforms Device Tree Bindings
>
> -Boards with a SoC of the Mediatek MT6589 shall have the following property:
> +Boards with a SoC from Mediatek shall have the following property:
>
>  Required root node property:
>
> -compatible: must contain "mediatek,mt6589"
> +compatible: must contain one of "mediatek,mt6589", "mediatek,mt6592"
>
>
>  Supported boards:
> @@ -12,3 +12,6 @@ Supported boards:
>  - bq Aquaris5 smart phone:
>      Required root node properties:
>        - compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589";
> +
> +- Evaluation board for MT6592:
> +      - compatible = "mediatek,mt6592-evb", "mediatek,mt6592";
> diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> index 48358a3..e2864b7 100644
> --- a/Documentation/devicetree/bindings/serial/mtk-uart.txt
> +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> @@ -2,9 +2,10 @@
>
>  Required properties:
>  - compatible should contain:
> +  * "mediatek,mt6592-uart" for MT6592 compatible UARTS
>    * "mediatek,mt6589-uart" for MT6589 compatible UARTS
>    * "mediatek,mt6582-uart" for MT6582 compatible UARTS
> -  * "mediatek,mt6577-uart" for all compatible UARTS (MT6589, MT6582, MT6577)
> +  * "mediatek,mt6577-uart" for all compatible UARTS on MT65xx

This should be two seperate patches, one for the SoC documentation and
one for the UART documentation.

>
>  - reg: The base address of the UART register bank.
>
> --
> 1.9.1
>



-- 
motzblog.wordpress.com



More information about the linux-arm-kernel mailing list