Re: [PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

From: Rob Herring
Date: Wed Jul 01 2015 - 12:03:30 EST


On Mon, Jun 29, 2015 at 9:58 PM, James Liao <jamesjj.liao@xxxxxxxxxxxx> wrote:
> This adds the binding documentation for the mmsys, imgsys, vdecsys,
> vencsys and vencltsys controllers found on Mediatek SoCs.
>
> Signed-off-by: James Liao <jamesjj.liao@xxxxxxxxxxxx>
> ---
> .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++++++++++++++++++++++
> .../bindings/arm/mediatek/mediatek,mmsys.txt | 22 ++++++++++++++++++++++
> .../bindings/arm/mediatek/mediatek,vdecsys.txt | 22 ++++++++++++++++++++++
> .../bindings/arm/mediatek/mediatek,vencltsys.txt | 22 ++++++++++++++++++++++
> .../bindings/arm/mediatek/mediatek,vencsys.txt | 22 ++++++++++++++++++++++
> 5 files changed, 110 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.txt
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vdecsys.txt
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencltsys.txt
> create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,vencsys.txt
>
> diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
> new file mode 100644
> index 0000000..7612bac
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,imgsys.txt
> @@ -0,0 +1,22 @@
> +Mediatek imgsys controller
> +============================
> +
> +The Mediatek imgsys controller provides various clocks to the system.

Perhaps some detail on what clocks exactly.

> +
> +Required Properties:
> +
> +- compatible: Should be:
> + - "mediatek,mt8173-imgsys", "syscon"
> +- #clock-cells: Must be 1
> +
> +The imgsys controller uses the common clk binding from
> +Documentation/devicetree/bindings/clock/clock-bindings.txt
> +The available clocks are defined in dt-bindings/clock/mt*-clk.h.

The header should be part of this patch as it is part of the binding doc.

Same comments apply to the other files.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/