From patchwork Tue Jun 10 10:51:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 31640 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6132B20675 for ; Tue, 10 Jun 2014 10:52:54 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id n16sf6582923oag.10 for ; Tue, 10 Jun 2014 03:52:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=MznnyiVdnXZ+dzIzmi+RCyXl4aC3Iaw6ULCNpzQS6Ko=; b=hhMxW5WbamIMoAFAgGVd7c4ONmjhMnTRUCUqn1xGOmfCgGPGBrOpLyq/Aj8bqA1SRM 6ND6MKVun62+aHVhVfB/uXJdCunnbYOl+yRsGfBzpkG/iPOinnoeAkDphWyOhiMfV2Hj BxxgAynkGtTr+8HeSxwbWZRojdSkzDzmmP5kazxGpAMoCjdbhR3lPIvsEb0tjix5k0f/ IL6dti/rgMclRYSB0AiTD8vpozsGjaaWQuQmjBwbjTBKj0EXN4fhq4BZ1JEoxBg9GPwp bounSw/U2/P2QfcTLfWa/pdBke5gh/r/CJR3I4LcwU9+45mP4L1hgjjB4ir3NPpegogw cWWw== X-Gm-Message-State: ALoCoQmqKni5ZiPOfD70gQjTevRTB7VpQ0Y9ea978LQx7DVVaElcFcvGPwI7BJGr+0KJZsvtB2eQ X-Received: by 10.42.85.142 with SMTP id q14mr14857923icl.16.1402397573960; Tue, 10 Jun 2014 03:52:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.196 with SMTP id l62ls1999604qgl.35.gmail; Tue, 10 Jun 2014 03:52:53 -0700 (PDT) X-Received: by 10.221.27.8 with SMTP id ro8mr31989561vcb.30.1402397573819; Tue, 10 Jun 2014 03:52:53 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id v18si11689741vcu.0.2014.06.10.03.52.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 03:52:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id hy4so3280617vcb.20 for ; Tue, 10 Jun 2014 03:52:53 -0700 (PDT) X-Received: by 10.52.52.168 with SMTP id u8mr23206666vdo.25.1402397573746; Tue, 10 Jun 2014 03:52:53 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp215580vcb; Tue, 10 Jun 2014 03:52:52 -0700 (PDT) X-Received: by 10.152.6.37 with SMTP id x5mr22102734lax.15.1402397572045; Tue, 10 Jun 2014 03:52:52 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx.google.com with ESMTPS id h2si21089665lab.33.2014.06.10.03.52.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 03:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id l4so3752141lbv.6 for ; Tue, 10 Jun 2014 03:52:51 -0700 (PDT) X-Received: by 10.152.87.52 with SMTP id u20mr1423011laz.52.1402397571510; Tue, 10 Jun 2014 03:52:51 -0700 (PDT) Received: from linaro-ulf.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id y6sm18329925laj.17.2014.06.10.03.52.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 03:52:50 -0700 (PDT) From: Ulf Hansson To: "Rafael J. Wysocki" , Len Brown , Pavel Machek , linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Kevin Hilman , Alan Stern , Greg Kroah-Hartman , Daniel Lezcano , Tomasz Figa , devicetree@vger.kernel.org, Linus Walleij , Simon Horman , Magnus Damm , Ben Dooks , Kukjin Kim , Stephen Boyd , Philipp Zabel , Mark Brown , Ulf Hansson Subject: [PATCH 19/24] dt: bindings: ux500: Add documentation for power domains Date: Tue, 10 Jun 2014 12:51:32 +0200 Message-Id: <1402397497-26737-20-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1402397497-26737-1-git-send-email-ulf.hansson@linaro.org> References: <1402397497-26737-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Cc: Linus Walleij Cc: Tomasz Figa Cc: devicetree@vger.kernel.org Signed-off-by: Ulf Hansson --- .../devicetree/bindings/arm/ux500/power_domain.txt | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/ux500/power_domain.txt diff --git a/Documentation/devicetree/bindings/arm/ux500/power_domain.txt b/Documentation/devicetree/bindings/arm/ux500/power_domain.txt new file mode 100644 index 0000000..1c98f01 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/ux500/power_domain.txt @@ -0,0 +1,35 @@ +* ST-Ericsson UX500 Power Domains + +UX500 supports multiple power domains which are used to gate power to one or +more peripherals on the SOC. + +The implementation of power domains for UX500 are based upon the generic power +domain and use the corresponding DT bindings. + +==Power domain providers== + +Required properties: + - compatible: Must be "stericsson,ux500-pm-domains". + - #power-domain-cells : Number of cells in a power domain specifier, must be 1. + +Example: + pm_domains: pm_domains0 { + compatible = "stericsson,ux500-pm-domains"; + #power-domain-cells = <1>; + }; + +==Power domain consumers== + +Required properties: + - power-domains: A phandle and power domain specifier. Below are the list of + valid specifiers: + + Index Specifier + ----- --------- + 0 DOMAIN_VAPE + +Example: + sdi0_per1@80126000 { + compatible = "arm,pl18x", "arm,primecell"; + power-domains = <&pm_domains DOMAIN_VAPE> + };