Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757948AbbFQH45 (ORCPT ); Wed, 17 Jun 2015 03:56:57 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:57352 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757793AbbFQH4v (ORCPT ); Wed, 17 Jun 2015 03:56:51 -0400 Date: Wed, 17 Jun 2015 09:56:47 +0200 From: Sascha Hauer To: Kevin Hilman Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, kernel@pengutronix.de, Matthias Brugger Subject: Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node Message-ID: <20150617075647.GG6325@pengutronix.de> References: <1433839623-10804-1-git-send-email-s.hauer@pengutronix.de> <1433839623-10804-6-git-send-email-s.hauer@pengutronix.de> <7hlhfjy0tq.fsf@deeprootsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7hlhfjy0tq.fsf@deeprootsystems.com> 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: 09:53:06 up 92 days, 19:45, 108 users, load average: 0.05, 0.18, 0.17 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 Content-Length: 1934 Lines: 51 On Tue, Jun 16, 2015 at 11:17:53AM -0700, Kevin Hilman wrote: > Sascha Hauer writes: > > > This adds the SCPSYS device node to the MT8173 dtsi file. > > > > Signed-off-by: Sascha Hauer > > --- > > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > index 924fdb6..12430f0 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > @@ -125,6 +125,16 @@ > > ; > > }; > > > > + scpsys: scpsys@10006000 { > > + compatible = "mediatek,mt8173-scpsys"; > > + #power-domain-cells = <1>; > > + reg = <0 0x10006000 0 0x1000>; > > + clocks = <&clk26m>, > > + <&topckgen CLK_TOP_MM_SEL>; > > Neither your binding doc (nor the generic one) mentions these clock > properties or what they are used for. They appear to define a clock > that must be enabled in order to for the power domain to be on. Ok, will add documentation for this. > > Also the order here seems rather important and probably needs > documenting in the binding (e.g. the clk_id order is hard-coded in the > driver.) The order is not important, the clock-names property defines which clock is which. 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 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/