Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752502AbdDNPtt (ORCPT ); Fri, 14 Apr 2017 11:49:49 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35971 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751612AbdDNPtp (ORCPT ); Fri, 14 Apr 2017 11:49:45 -0400 Date: Fri, 14 Apr 2017 23:49:36 +0800 From: Dong Aisheng To: Andrey Smirnov Cc: Shawn Guo , Andrey Yurovsky , Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel , linux-arm-kernel Subject: Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC Message-ID: <20170414154936.GB1792@b29396-OptiPlex-7040> References: <20170413133242.5068-1-andrew.smirnov@gmail.com> <20170413133242.5068-5-andrew.smirnov@gmail.com> <20170414034005.GG14915@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 30 On Fri, Apr 14, 2017 at 08:19:44AM -0700, Andrey Smirnov wrote: ... > >> + gpc: gpc@303a0000 { > >> + compatible = "fsl,imx7d-gpc"; > >> + reg = <0x303a0000 0x10000>; > >> + interrupt-controller; > >> + interrupts = ; > >> + #interrupt-cells = <3>; > >> + interrupt-parent = <&intc>; > >> + #power-domain-cells = <1>; > >> + > >> + pgc { > >> + #address-cells = <1>; > >> + #size-cells = <0>; > >> + > >> + pgc_pcie_phy: pgc-pcie-phy-domain { > > > > The node name should be something generic and has a unit-address when > > there is a 'reg' property in the node. > > > > I'll change it to pgc-power-domain@0, let me know if you want > something different. > I think just power-domain@0 is ok. And also better replace unit-address by macro. Regards Dong Aisheng