From patchwork Tue Oct 25 15:26:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 9394893 X-Patchwork-Delegate: agross@codeaurora.org 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 947E960231 for ; Tue, 25 Oct 2016 15:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 879C629655 for ; Tue, 25 Oct 2016 15:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BFCD2965B; Tue, 25 Oct 2016 15:26:54 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 645DB29655 for ; Tue, 25 Oct 2016 15:26:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933381AbcJYP0u (ORCPT ); Tue, 25 Oct 2016 11:26:50 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:35243 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932951AbcJYP0t (ORCPT ); Tue, 25 Oct 2016 11:26:49 -0400 Received: by mail-pf0-f170.google.com with SMTP id s8so121223536pfj.2 for ; Tue, 25 Oct 2016 08:26:49 -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:in-reply-to:references; bh=MdU9mXSI+Ur0+aRy1X7dwpnu4P+cafV036GgdomNyr4=; b=B27eY+vczpIdLf9ElKpSARE8QibdYbiqXb9f+irqIgCJdIVRZ4F/Iyoj5gmlGZVCHg ILg1+rVBiRv17LwApXaA8NzOT7lBLlO2TMDvP/0o5l+FFZnrO3AhHL28Y2NUBsx42DYz SskRfRWAo0rheUNUtLkI8iyxUMpjE8v00zizE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MdU9mXSI+Ur0+aRy1X7dwpnu4P+cafV036GgdomNyr4=; b=A47fpCcqofAMQIaKHvfoCSCzuBZgtZFQ56QDCXGwP1HiCty2o9ZkhvR5DWztewRx51 Gxmnte2dgbc95YGZ8EvJSbaW2w6aoXbAOCphEOiAvYV384evi53I9I7f4G2jaYLpTd/2 EXFbtykWYr+U5Y2FK/hmgVNPxMfbEhBDN2zj4Kkl3EzzRJwJ+3fCr/EQlZm7N4f1inB/ ipHTQd+mfl1K0J8fd67aay1nZRXALY2VmrH9s6tFMZP+xHpN9zb94uiR2/r96FKhXYCG VjuDPZ8UvhbzA6fcXpwTtXj0jsaFpH+8v/+x51+h7Dq4fobRuUeRtrPNZs4sBO5hfA4c 9eZw== X-Gm-Message-State: ABUngvdlGJlOa71fT8fIl9XJlUEDz4yKUfaDOoXgRNGss4OaxlEL5VfKxliXn9EVd1VQBQ+r X-Received: by 10.99.147.11 with SMTP id b11mr33796098pge.22.1477409208792; Tue, 25 Oct 2016 08:26:48 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id s85sm34320569pfi.17.2016.10.25.08.26.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Oct 2016 08:26:47 -0700 (PDT) From: Lina Iyer To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: andy.gross@linaro.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, brendan.jackman@arm.com, lorenzo.pieralisi@arm.com, sudeep.holla@arm.com, Juri.Lelli@arm.com, Lina Iyer , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH 2/4] dt-bindings: add domain-idle-state compatible to arm, idle-state Date: Tue, 25 Oct 2016 08:26:37 -0700 Message-Id: <1477409199-52182-3-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477409199-52182-1-git-send-email-lina.iyer@linaro.org> References: <1477409199-52182-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CPU's idle states are defined by the arm,idle-state compatible flag. PM domains that can contains devices and other domains also has similar definition for its idle state. Reuse the definition of arm,idle-state for PM domains by allowing an addition compatible string ("domain-idle-state") to denote idle states that are specific to PM Domains. Cc: Cc: Rob Herring Suggested-by: Sudeep Holla Signed-off-by: Lina Iyer --- Documentation/devicetree/bindings/arm/idle-states.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt index b8e41c1..4b0ff59 100644 --- a/Documentation/devicetree/bindings/arm/idle-states.txt +++ b/Documentation/devicetree/bindings/arm/idle-states.txt @@ -271,6 +271,9 @@ follows: Usage: Required Value type: Definition: Must be "arm,idle-state". + Additionally, nodes that are used to describe a + idle-state of PM domain must also define + "domain-idle-state" as compatible string. - local-timer-stop Usage: See definition