[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1524584738.12322.17.camel@mtkswgap22>
Date: Tue, 24 Apr 2018 23:45:38 +0800
From: Sean Wang <sean.wang@...iatek.com>
To: Rob Herring <robh@...nel.org>
CC: <mturquette@...libre.com>, <sboyd@...nel.org>, <airlied@...ux.ie>,
<matthias.bgg@...il.com>, <mark.rutland@....com>,
<devicetree@...r.kernel.org>, <linux-mediatek@...ts.infradead.org>,
<linux-clk@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v1 2/4] dt-bindings: clock: mediatek: add g3dsys bindings
On Tue, 2018-04-24 at 09:39 -0500, Rob Herring wrote:
> On Wed, Apr 18, 2018 at 06:24:54PM +0800, sean.wang@...iatek.com wrote:
> > From: Sean Wang <sean.wang@...iatek.com>
> >
> > Add bindings to g3dsys providing necessary clock and reset control to
> > Mali-450.
> >
> > Signed-off-by: Sean Wang <sean.wang@...iatek.com>
> > ---
> > .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 ++++++++++++++++++++++
> > 1 file changed, 30 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt
> >
> > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt
> > new file mode 100644
> > index 0000000..ff2d70c
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,g3dsys.txt
> > @@ -0,0 +1,30 @@
> > +MediaTek g3dsys controller
> > +============================
> > +
> > +The MediaTek g3dsys controller provides various clocks and reset controller to
> > +the GPU.
> > +
> > +Required Properties:
> > +
> > +- compatible: Should be:
> > + - "mediatek,mt2701-g3dsys", "syscon":
> > + for MT2701 SoC
> > + - "mediatek,mt7623-ethsys", "mediatek,mt2701-g3dsys", "syscon":
> > + for MT7623 SoC
>
> ethsys?
>
thanks! I'll also fix it up in the next version.
> > +- #clock-cells: Must be 1
> > +- #reset-cells: Must be 1
> > +
> > +The ethsys 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.
> > +
> > +Example:
> > +
> > +g3dsys: clock-controller@...00000 {
> > + compatible = "mediatek,mt7623-g3dsys",
> > + "mediatek,mt2701-g3dsys",
> > + "syscon";
> > + reg = <0 0x13000000 0 0x200>;
> > + #clock-cells = <1>;
> > + #reset-cells = <1>;
> > +};
> > --
> > 2.7.4
> >
Powered by blists - more mailing lists