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: 9546061 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 8F179604A0 for ; Mon, 30 Jan 2017 19:44:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 882D827E15 for ; Mon, 30 Jan 2017 19:44:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7CCFC2811E; Mon, 30 Jan 2017 19:44:32 +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 05B8C27E15 for ; Mon, 30 Jan 2017 19:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754326AbdA3Toa (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Rob Herring --- 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 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>; +};