From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752567AbbEDIjf (ORCPT ); Mon, 4 May 2015 04:39:35 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:49699 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751576AbbEDIj1 (ORCPT ); Mon, 4 May 2015 04:39:27 -0400 Date: Mon, 4 May 2015 10:38:52 +0200 From: Sascha Hauer To: Stephen Boyd Cc: Mike Turquette , YH Chen , linux-kernel@vger.kernel.org, Henry Chen , linux-mediatek@lists.infradead.org, kernel@pengutronix.de, Matthias Brugger , Yingjoe Chen , Eddie Huang , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers Message-ID: <20150504083852.GJ4946@pengutronix.de> References: <1429778143-2074-1-git-send-email-s.hauer@pengutronix.de> <1429778143-2074-7-git-send-email-s.hauer@pengutronix.de> <20150501012039.GG32407@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150501012039.GG32407@codeaurora.org> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 10:37:15 up 48 days, 20:29, 90 users, load average: 0.08, 0.14, 0.21 User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2015 at 06:20:39PM -0700, Stephen Boyd wrote: > On 04/23, Sascha Hauer wrote: > > This adds the binding documentation for the apmixedsys, perisys and > > infracfg controllers found on Mediatek SoCs. > > > > Signed-off-by: Sascha Hauer > > Please Cc devicetree reviewers on bindings (CCed now). > > > --- > > .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 +++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,infracfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,pericfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,topckgen.txt | 23 +++++++++++++++++ > > 4 files changed, 106 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > new file mode 100644 > > index 0000000..5af6d73 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > @@ -0,0 +1,23 @@ > > +Mediatek apmixedsys controller > > +============================== > > + > > +The Mediatek apmixedsys controller provides the PLLs to the system. > > + > > +Required Properties: > > + > > +- compatible: Should be: > > + - "mediatek,mt8135-apmixedsys" > > + - "mediatek,mt8173-apmixedsys" > > +- #clock-cells: Must be 1 > > + > > +The apmixedsys 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: > > + > > +apmixedsys: apmixedsys@10209000 { > > apmixedsys: clock-controller@10209000 { > > would be more standard. The same comment applies throughout this > patch. Otherwise it looks good to me. For apmixed this I agree, but the others are also reset controllers, so I'm not sure if clock-controller is appropriate. Personally I don't care much, I'll change to whatever you like. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sascha Hauer Subject: Re: [PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers Date: Mon, 4 May 2015 10:38:52 +0200 Message-ID: <20150504083852.GJ4946@pengutronix.de> References: <1429778143-2074-1-git-send-email-s.hauer@pengutronix.de> <1429778143-2074-7-git-send-email-s.hauer@pengutronix.de> <20150501012039.GG32407@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20150501012039.GG32407-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stephen Boyd Cc: Mike Turquette , YH Chen , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Henry Chen , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, Matthias Brugger , Yingjoe Chen , Eddie Huang , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, Apr 30, 2015 at 06:20:39PM -0700, Stephen Boyd wrote: > On 04/23, Sascha Hauer wrote: > > This adds the binding documentation for the apmixedsys, perisys and > > infracfg controllers found on Mediatek SoCs. > > > > Signed-off-by: Sascha Hauer > > Please Cc devicetree reviewers on bindings (CCed now). > > > --- > > .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 +++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,infracfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,pericfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,topckgen.txt | 23 +++++++++++++++++ > > 4 files changed, 106 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > new file mode 100644 > > index 0000000..5af6d73 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > @@ -0,0 +1,23 @@ > > +Mediatek apmixedsys controller > > +============================== > > + > > +The Mediatek apmixedsys controller provides the PLLs to the system. > > + > > +Required Properties: > > + > > +- compatible: Should be: > > + - "mediatek,mt8135-apmixedsys" > > + - "mediatek,mt8173-apmixedsys" > > +- #clock-cells: Must be 1 > > + > > +The apmixedsys 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: > > + > > +apmixedsys: apmixedsys@10209000 { > > apmixedsys: clock-controller@10209000 { > > would be more standard. The same comment applies throughout this > patch. Otherwise it looks good to me. For apmixed this I agree, but the others are also reset controllers, so I'm not sure if clock-controller is appropriate. Personally I don't care much, I'll change to whatever you like. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: s.hauer@pengutronix.de (Sascha Hauer) Date: Mon, 4 May 2015 10:38:52 +0200 Subject: [PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers In-Reply-To: <20150501012039.GG32407@codeaurora.org> References: <1429778143-2074-1-git-send-email-s.hauer@pengutronix.de> <1429778143-2074-7-git-send-email-s.hauer@pengutronix.de> <20150501012039.GG32407@codeaurora.org> Message-ID: <20150504083852.GJ4946@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Apr 30, 2015 at 06:20:39PM -0700, Stephen Boyd wrote: > On 04/23, Sascha Hauer wrote: > > This adds the binding documentation for the apmixedsys, perisys and > > infracfg controllers found on Mediatek SoCs. > > > > Signed-off-by: Sascha Hauer > > Please Cc devicetree reviewers on bindings (CCed now). > > > --- > > .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 +++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,infracfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,pericfg.txt | 30 ++++++++++++++++++++++ > > .../bindings/arm/mediatek/mediatek,topckgen.txt | 23 +++++++++++++++++ > > 4 files changed, 106 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,infracfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.txt > > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,topckgen.txt > > > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > new file mode 100644 > > index 0000000..5af6d73 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,apmixedsys.txt > > @@ -0,0 +1,23 @@ > > +Mediatek apmixedsys controller > > +============================== > > + > > +The Mediatek apmixedsys controller provides the PLLs to the system. > > + > > +Required Properties: > > + > > +- compatible: Should be: > > + - "mediatek,mt8135-apmixedsys" > > + - "mediatek,mt8173-apmixedsys" > > +- #clock-cells: Must be 1 > > + > > +The apmixedsys 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: > > + > > +apmixedsys: apmixedsys at 10209000 { > > apmixedsys: clock-controller at 10209000 { > > would be more standard. The same comment applies throughout this > patch. Otherwise it looks good to me. For apmixed this I agree, but the others are also reset controllers, so I'm not sure if clock-controller is appropriate. Personally I don't care much, I'll change to whatever you like. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |