Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1253392

Re: [PATCH v3 1/2] Document: DT: Add bindings for mediatek MT2701 SoC Platform

From Rob Herring <robh+dt@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/2] Document: DT: Add bindings for mediatek MT2701 SoC Platform
Date 2015-10-22 03:30 +0200
Message-ID <qmcRA-3LF-5@gated-at.bofh.it> (permalink)
References <qlyKt-410-1@gated-at.bofh.it> <qlyKu-410-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Oct 20, 2015 at 1:34 AM, Erin Lo <erin.lo@mediatek.com> wrote:
> This adds a DT binding documentation for the MT2701 SoC from Mediatek.
>
> Signed-off-by: Erin Lo <erin.lo@mediatek.com>

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

> ---
>  Documentation/devicetree/bindings/arm/mediatek.txt         |  4 ++++
>  .../devicetree/bindings/arm/mediatek/mediatek,sysirq.txt   |  1 +
>  Documentation/devicetree/bindings/serial/mtk-uart.txt      | 14 +++++++-------
>  .../devicetree/bindings/timer/mediatek,mtk-timer.txt       |  5 +++--
>  Documentation/devicetree/bindings/watchdog/mtk-wdt.txt     |  6 +++++-
>  5 files changed, 20 insertions(+), 10 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt b/Documentation/devicetree/bindings/arm/mediatek.txt
> index 618a919..54f43bc 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek.txt
> @@ -6,6 +6,7 @@ following property:
>  Required root node property:
>
>  compatible: Must contain one of
> +   "mediatek,mt2701"
>     "mediatek,mt6580"
>     "mediatek,mt6589"
>     "mediatek,mt6592"
> @@ -17,6 +18,9 @@ compatible: Must contain one of
>
>  Supported boards:
>
> +- Evaluation board for MT2701:
> +    Required root node properties:
> +      - compatible = "mediatek,mt2701-evb", "mediatek,mt2701";
>  - Evaluation board for MT6580:
>      Required root node properties:
>        - compatible = "mediatek,mt6580-evbp1", "mediatek,mt6580";
> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt
> index afef6a8..b8e1674 100644
> --- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt
> +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,sysirq.txt
> @@ -14,6 +14,7 @@ Required properties:
>         "mediatek,mt6582-sysirq"
>         "mediatek,mt6580-sysirq"
>         "mediatek,mt6577-sysirq"
> +       "mediatek,mt2701-sysirq"
>  - interrupt-controller : Identifies the node as an interrupt controller
>  - #interrupt-cells : Use the same format as specified by GIC in
>    Documentation/devicetree/bindings/arm/gic.txt
> diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> index 2d47add..a833a01 100644
> --- a/Documentation/devicetree/bindings/serial/mtk-uart.txt
> +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt
> @@ -2,15 +2,15 @@
>
>  Required properties:
>  - compatible should contain:
> -  * "mediatek,mt8135-uart" for MT8135 compatible UARTS
> +  * "mediatek,mt2701-uart" for MT2701 compatible UARTS
> +  * "mediatek,mt6580-uart" for MT6580 compatible UARTS
> +  * "mediatek,mt6582-uart" for MT6582 compatible UARTS
> +  * "mediatek,mt6589-uart" for MT6589 compatible UARTS
> +  * "mediatek,mt6795-uart" for MT6795 compatible UARTS
>    * "mediatek,mt8127-uart" for MT8127 compatible UARTS
> +  * "mediatek,mt8135-uart" for MT8135 compatible UARTS
>    * "mediatek,mt8173-uart" for MT8173 compatible UARTS
> -  * "mediatek,mt6795-uart" for MT6795 compatible UARTS
> -  * "mediatek,mt6589-uart" for MT6589 compatible UARTS
> -  * "mediatek,mt6582-uart" for MT6582 compatible UARTS
> -  * "mediatek,mt6580-uart" for MT6580 compatible UARTS
> -  * "mediatek,mt6577-uart" for all compatible UARTS (MT8173, MT6795,
> -        MT6589, MT6582, MT6580, MT6577)
> +  * "mediatek,mt6577-uart" for MT6577 and all of the above
>
>  - reg: The base address of the UART register bank.
>
> diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> index 53a3029..54f858c 100644
> --- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
> @@ -3,10 +3,11 @@ Mediatek MT6577, MT6572 and MT6589 Timers
>
>  Required properties:
>  - compatible should contain:
> +       * "mediatek,mt2701-timer" for MT2701 compatible timers
>         * "mediatek,mt6589-timer" for MT6589 compatible timers
>         * "mediatek,mt6580-timer" for MT6580 compatible timers
> -       * "mediatek,mt6577-timer" for all compatible timers (MT6589, MT6580,
> -               MT6577)
> +       * "mediatek,mt6577-timer" for all compatible timers (MT2701, MT6589,
> +               MT6580, MT6577)
>  - reg: Should contain location and length for timers register.
>  - clocks: Clocks driving the timer hardware. This list should include two
>         clocks. The order is system clock and as second clock the RTC clock.
> diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> index af9eb5b..6a00939 100644
> --- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> +++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
> @@ -2,7 +2,11 @@ Mediatek SoCs Watchdog timer
>
>  Required properties:
>
> -- compatible : should be "mediatek,mt6589-wdt"
> +- compatible should contain:
> +       * "mediatek,mt2701-wdt" for MT2701 compatible watchdog timers
> +       * "mediatek,mt6589-wdt" for all compatible watchdog timers (MT2701,
> +               MT6589)
> +
>  - reg : Specifies base physical address and size of the registers.
>
>  Example:
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] Add basic support for Mediatek MT2701 SoC Erin Lo <erin.lo@mediatek.com> - 2015-10-20 08:40 +0200
  [PATCH v3 2/2] ARM: dts: mediatek: add MT2701 basic support Erin Lo <erin.lo@mediatek.com> - 2015-10-20 08:40 +0200
    Re: [PATCH v3 2/2] ARM: dts: mediatek: add MT2701 basic support Matthias Brugger <matthias.bgg@gmail.com> - 2015-10-23 12:50 +0200
  [PATCH v3 1/2] Document: DT: Add bindings for mediatek MT2701 SoC Platform Erin Lo <erin.lo@mediatek.com> - 2015-10-20 08:40 +0200
    Re: [PATCH v3 1/2] Document: DT: Add bindings for mediatek MT2701 SoC Platform Rob Herring <robh+dt@kernel.org> - 2015-10-22 03:30 +0200
  Re: [PATCH v3 0/2] Add basic support for Mediatek MT2701 SoC Matthias Brugger <matthias.bgg@gmail.com> - 2015-10-23 12:50 +0200

csiph-web