Received: by 10.223.176.5 with SMTP id f5csp1158569wra; Wed, 7 Feb 2018 13:49:53 -0800 (PST) X-Google-Smtp-Source: AH8x225QW+0IMZBm/XdPnf8XrDwfuR8vXe+ViuTBvJ9Drcir1A5D2kBSQgEggbbx/eJaVswQ8rV7 X-Received: by 10.101.90.193 with SMTP id d1mr5987673pgt.366.1518040193468; Wed, 07 Feb 2018 13:49:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518040193; cv=none; d=google.com; s=arc-20160816; b=ZhJjruoqZdD3733sGl+XW8Eq8r+veGapmXu9leu4jci+xBIqwZx4ZrIKR7lcEZGaoe a8W4BNXs6r+1LEHd/kgM1ASgRKF+pNLg2aMpCmK2UBXw7bItN5v4eonTzt7QikZpCknY 8CRqi9osD5fDZ2DmbaJFj6XSzyUQrqdDixrjPmwFErCiZtXXy4neD7T5186Fqiohe1cq Ih/dQ9VzwssxuZUDFQe/q2lPrWrtoBK4Ifu1l3A5esgwXErxi/4ccKLXcJetYGUIbn+j xZwXKaIQ6/Kj9Dc2Sl7YBFvzbpXehfVA6z5JAfSieQ/vAOGAcSt+HvMcUejvCpOW7ys/ VLrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=63iTSzljT5xTLyU4BAPxUJM+5Q4NgixDlBiZsPChzkQ=; b=wVgNlrD/sOM+bXnuKHfrOdAp//SABtWBAQpbuOLGF/+XaMLGApaD3MPjdVj/tszobV 7KcxFuQcXhMOm0+NLvRa7kh6HBHGF5rfRNXOp0/uX2ZHZI3TvuvOrfVqIy3I6rZeIJCU R0/ZH7w6jXV4l/7KkjgGWUsLP9TnuOc2XLyzNbIRWB+BR1YTe6S7gRy167mxmbvMwMyw iUAn6sasFWkZ9leCScQiV/3GhD9ZykLAoYIXDTsYooRm2LUt7M/FK35vqGqloEQoNL6W hdZqg4qAHbPlmiAzJLKUgYWPCwxQ8/4O8yRTm4niDEsgzEPCM2PjkozpTUnDxTmcKO/f FAZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=NGRFX+4B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si59318pla.156.2018.02.07.13.49.39; Wed, 07 Feb 2018 13:49:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=NGRFX+4B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752013AbeBGVrI (ORCPT + 99 others); Wed, 7 Feb 2018 16:47:08 -0500 Received: from vern.gendns.com ([206.190.152.46]:38927 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbeBGVrG (ORCPT ); Wed, 7 Feb 2018 16:47:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=63iTSzljT5xTLyU4BAPxUJM+5Q4NgixDlBiZsPChzkQ=; b=NGRFX+4BJBZLxaZhXEVBE4wPG4 xATO5YUeXPPMFrOQUT5PHJ+1yXVPLMPVe5gjY3xqeq59dpZfF377Cq9UObSBKjrgAJmnqJtMM73Ic Rnel0So6q/DmHUlAmoCKBwb8a4nwMbO2zP51nWYLQJh9uv0fS+D8tnW4Zl6vS2vLCgm5XDpsAzZKL Nr2/zgRQ+BRJJU6u/ck0OWhY6RSR7Prp6wn9G9vBzW9wx2IEwEr7mobv1K0IelfESZwKxWET8SzI+ WpJB5psSAv3kapyBpS1YKZ2gzg2tozUdQUGQpmsztM2Du2bxcKZqSP6J/hsz5bBm7VraFLyL0j5mL T7hkiU0g==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:57548 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1ejXXX-000CHv-JU; Wed, 07 Feb 2018 16:46:03 -0500 Subject: Re: [PATCH 1/7] dt-bindings: soc: new driver for DaVinci genpd To: Bartosz Golaszewski , Rob Herring , Mark Rutland , Sekhar Nori , Kevin Hilman , Russell King Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski References: <20180207134553.13510-1-brgl@bgdev.pl> <20180207134553.13510-2-brgl@bgdev.pl> From: David Lechner Message-ID: <36aebdca-2a7d-07a3-8632-95992d74cae6@lechnology.com> Date: Wed, 7 Feb 2018 15:47:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180207134553.13510-2-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/07/2018 07:45 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add a simple document for the DaVinci genpd driver. We use clock pm > exclusively hence no reg property. > > Signed-off-by: Bartosz Golaszewski > --- > .../devicetree/bindings/soc/ti,davinci-pm-domains.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt > > diff --git a/Documentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt b/Documentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt > new file mode 100644 > index 000000000000..935d063c7b35 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/ti,davinci-pm-domains.txt > @@ -0,0 +1,13 @@ > +Device tree bindings for the genpd driver for Texas Instruments DaVinci SoCs > + > +Required properties: > + > +- compatible: must be "ti,davinci-pm-domains" > +- #power-domain-cells: must be 0 > + > +Example: > + > +pwc1: power-controller@227000 { > + compatible = "ti,davinci-pm-domains"; > + #power-domain-cells = <0>; > +}; > We already have the PSC @227000. Why not just add #power-domain-cells = <0>; to that node instead of creating a new "device" when this is really the same device?