From patchwork Tue Apr 25 07:18:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 9697615 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DBEB9601D3 for ; Tue, 25 Apr 2017 07:18:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D80042845E for ; Tue, 25 Apr 2017 07:18:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D68CD28625; Tue, 25 Apr 2017 07:18:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7C9212845E for ; Tue, 25 Apr 2017 07:18:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1175142AbdDYHSh (ORCPT ); Tue, 25 Apr 2017 03:18:37 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35569 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161015AbdDYHS1 (ORCPT ); Tue, 25 Apr 2017 03:18:27 -0400 Received: by mail-pf0-f181.google.com with SMTP id v14so19234559pfd.2 for ; Tue, 25 Apr 2017 00:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=agK8krxByPDh5lobJM3FEvLURiU8cZRWVUeAsjDiLZs=; b=Lolgd12MwIYZpt2Sjot1y6NnK1rjz1b9E1BnxTkoYIO6eArO2dojsdA7XJjPSsQvNG +M4YRPgbiebe0Ou8dMUhxhQ5IHwi0ZyiKoJVy+2bddHLJZIIzSGicEsSnEb4bI9EZL2O pyzcT54g7rfK4u9bRYkHCIslIZRRoIeTNOAxg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=agK8krxByPDh5lobJM3FEvLURiU8cZRWVUeAsjDiLZs=; b=gPGjyx7PNFrP251GQ7tuhCuR1TQWsBDTI3ou2wPfjTAUP2jhNYozbDb+DFWAcYdX+r DBtuR6Ay5xozHNTenhGZ5BRA9k3/Ikz+9DxYEXURghDDnA9ihuGTAjWgYzoq+g4SHnA3 ajf/Jz9yzUMQ3kJagfGQfD9iC/TjCC8/2NrNQejEynUd4V2mO5qHoYRuMubVrhtg/6RK EFrQJfgbN/wZebYTrNAzIHOychpdH06o2S+0f4yib1XCjl0UQue1U5K/S1I+/ehsE6Hs oNJeTHMzQ1/VsIYF9mgSxEEI6yDU84mM5Ta9ENQyICI2yKwEw7dTAmmRN3Aote4pReIc vJ3w== X-Gm-Message-State: AN3rC/4Ay7cZ9IThBTWTVh9zI9UrKh6yR9ED8WhdJiDJHA5BGQoj8BqW iWY7kGV7vu8q2MQh X-Received: by 10.99.96.88 with SMTP id u85mr23007566pgb.213.1493104706866; Tue, 25 Apr 2017 00:18:26 -0700 (PDT) Received: from localhost ([122.172.121.5]) by smtp.gmail.com with ESMTPSA id u85sm22852761pfg.64.2017.04.25.00.18.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Apr 2017 00:18:26 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Kevin Hilman , Ulf Hansson Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , Viresh Kumar , devicetree@vger.kernel.org Subject: [PATCH] PM / Domains: Fix DT example Date: Tue, 25 Apr 2017 12:48:21 +0530 Message-Id: <533b52e0ea175bf6bb893370c7f8c0309aae235a.1493104411.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.12.0.432.g71c3a4f4ba37 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The power-domain provider's #power-domain-cells field is set to 0 and yet the children is using an index to point the power domain. Fix it by removing the index field. Fixes: 70bb510e4279 ("dt/bindings / PM/Domains: Update binding for PM domain idle states") Signed-off-by: Viresh Kumar Acked-by: Ulf Hansson Acked-by: Rob Herring --- Documentation/devicetree/bindings/power/power_domain.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/power_domain.txt b/Documentation/devicetree/bindings/power/power_domain.txt index 940707d095cc..14bd9e945ff6 100644 --- a/Documentation/devicetree/bindings/power/power_domain.txt +++ b/Documentation/devicetree/bindings/power/power_domain.txt @@ -81,7 +81,7 @@ domain provided by the 'parent' power controller. child: power-controller@12341000 { compatible = "foo,power-controller"; reg = <0x12341000 0x1000>; - power-domains = <&parent 0>; + power-domains = <&parent>; #power-domain-cells = <0>; domain-idle-states = <&DOMAIN_PWR_DN>; };