From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753837AbdDNPvB (ORCPT ); Fri, 14 Apr 2017 11:51:01 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:32912 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbdDNPu7 (ORCPT ); Fri, 14 Apr 2017 11:50:59 -0400 MIME-Version: 1.0 In-Reply-To: <20170414154936.GB1792@b29396-OptiPlex-7040> References: <20170413133242.5068-1-andrew.smirnov@gmail.com> <20170413133242.5068-5-andrew.smirnov@gmail.com> <20170414034005.GG14915@dragon> <20170414154936.GB1792@b29396-OptiPlex-7040> From: Andrey Smirnov Date: Fri, 14 Apr 2017 08:50:58 -0700 Message-ID: Subject: Re: [PATCH 4/8] ARM: dts: imx7s: Add node for GPC To: Dong Aisheng Cc: Shawn Guo , Andrey Yurovsky , Sascha Hauer , Fabio Estevam , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel , linux-arm-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 14, 2017 at 8:49 AM, Dong Aisheng wrote: > 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. Fair enough. I'll do that. > And also better replace unit-address by macro. > Good point. Will do. Thanks, Andrey Smirnov