From patchwork Mon Jan 30 19:36:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92916 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1602466qgi; Mon, 30 Jan 2017 11:44:33 -0800 (PST) X-Received: by 10.84.128.33 with SMTP id 30mr33940872pla.128.1485805473258; Mon, 30 Jan 2017 11:44:33 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g71si13528480pfd.122.2017.01.30.11.44.33; Mon, 30 Jan 2017 11:44:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754326AbdA3Toa (ORCPT + 13 others); Mon, 30 Jan 2017 14:44:30 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:35640 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754324AbdA3To3 (ORCPT ); Mon, 30 Jan 2017 14:44:29 -0500 Received: by mail-lf0-f54.google.com with SMTP id n124so199740472lfd.2 for ; Mon, 30 Jan 2017 11:44:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=C1kCK6C9XXhoxGHVyvtnrHdgd364b9n+7ZyhL0j8Peo=; b=dN0u3+FwTdpdGwTWEkeAXPj+6a6EVxz2lfVyTqFFeMwQYV87tJ2O1VevvdnQmN8irz 5lK2NI20nvPtQpLPCZwEsuydMqU7pQW1y0VXo/HuKhCXtR+f+eL99KCDEq7xKEjNmInA IRaa0gxegve5nD8a7jDUOosL4YeZC9Ql1Twfo= 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=C1kCK6C9XXhoxGHVyvtnrHdgd364b9n+7ZyhL0j8Peo=; b=BLcE3qRd1rTlyKNckbz6OAteLuAUfCpEHHIPndmVbB3ogt4NVfOEPVAsJyc/TxBURj AKnNwBFLmyOkC6V2SYKfAvyD3aYgQtY+BB1QB3LO+y/znihliznScgr/VgdB/7vanVmO NEQVOV4cJFoehRm2NLmelYOsG49mxru3RlwJh5f46TIFifjF4mLYIRpmNTX7yY+pCHZB Gcd4HFT8UByOxP1tboLRTywTiITGYAIU6fOb0UjYlO4pT48+Hnrra11dQVz506x1FRSe pFW1d6Gq/Tw6gPukp6iVo+4jhykwcEOzcppPrB8CGV2a7fTOdBjAeZkXYEVtXtG4G/6j V7Sg== X-Gm-Message-State: AIkVDXKnAK366l5r37RCOJOVfDyc9F0PIwCZygSO0y63k6WRBVaSyJf1ALYIGLkAD1YfIYtX X-Received: by 10.46.87.73 with SMTP id r9mr8586304ljd.22.1485805004027; Mon, 30 Jan 2017 11:36:44 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id m18sm3928521lfe.45.2017.01.30.11.36.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 11:36:43 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Sebastian Reichel Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-pm@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/4] power: reset: Add Gemini poweroff DT bindings Date: Mon, 30 Jan 2017 20:36:32 +0100 Message-Id: <20170130193635.18644-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This adds device tree bindings to the power management controller in the Gemini SoC. Cc: devicetree@vger.kernel.org Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Signed-off-by: Linus Walleij --- Sebastian: please just merge this when your are pleased with it. I will funnel the ARM parts through the ARM SoC tree. --- .../devicetree/bindings/power/reset/gemini-poweroff.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt b/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt new file mode 100644 index 000000000000..7fec3e100214 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt @@ -0,0 +1,17 @@ +* Device-Tree bindings for Cortina Systems Gemini Poweroff + +This is a special IP block in the Cortina Gemini SoC that only +deals with different ways to power the system down. + +Required properties: +- compatible: should be "cortina,gemini-power-controller" +- reg: should contain the physical memory base and size +- interrupts: should contain the power management interrupt + +Example: + +power-controller@4b000000 { + compatible = "cortina,gemini-power-controller"; + reg = <0x4b000000 0x100>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; +};