From patchwork Sun Mar 12 22:36:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 737893 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vhG7X1Prtz9s7C for ; Mon, 13 Mar 2017 09:36:24 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="htXAc98+"; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A37DCB9103A; Sun, 12 Mar 2017 23:36:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Sun, 12 Mar 2017 23:36:19 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 057B0B91039 for ; Sun, 12 Mar 2017 23:36:17 +0100 (CET) X-policyd-weight: using cached result; rate: -7 Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 12 Mar 2017 23:36:16 +0100 (CET) Received: by mail-lf0-f48.google.com with SMTP id z15so35264753lfd.1 for ; Sun, 12 Mar 2017 15:36:16 -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=k/ubpDkzjIkolPtWR6MwsKbJvuYLmL8aVvPZmCsjDsY=; b=htXAc98+SEuSUC4TouXYsuRnYeu1myqi0HIb3dAfZqVwUJT8DHxZur7uVjHEfPydik z2rLWEJD9YqLU2nzpEY2jtfFqTo6U1+UPtV2NLPYA1AQM+HpxdQRkcUE1NU3hd6j4b9w 8taWBKfVSzN5hxudG15t3iAmoVrBeGttCJjEA= 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=k/ubpDkzjIkolPtWR6MwsKbJvuYLmL8aVvPZmCsjDsY=; b=N6Vn3W+2YB7c02uVNtS//k4dmaIg7DrcuAVUbNAVDx/kYGSlBeGbxaA3o1tZkq2oxX KxF9PoPnpg0qgjQi9/gRWhcJnY7G9//hnhSjXXbW63JfdhAoLiXqbjqByG2WGkam3RA5 EpuwOHulMVK/PQPRozFUE3xgXp4hh7D2ZjEufALN588SQGQBv/TLkfIRH7/xe/EVO+Ue pWHJ+ihKXDSEkoSSolmURiZh+yKx9eiVHcyhey1/LiYCuw0D7Qgqu1hcjbYhVmScPrIp MFDX+/XgfDRwXx/oNpjZWOWUH/2UgXc8RvYHMLXeh5yx7FkSdlLZPzJ2dlO3GFQNvhhK 3XXg== X-Gm-Message-State: AMke39mwJEigRCDv0Fp8ZXQtnZMZ1lV1jMB653KjnV8yopmfr33UBdhd667kmk93t8eIyPok X-Received: by 10.25.151.196 with SMTP id z187mr7353049lfd.126.1489358176396; Sun, 12 Mar 2017 15:36:16 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id o80sm3215832lff.25.2017.03.12.15.36.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Mar 2017 15:36:14 -0700 (PDT) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , Sebastian Reichel Date: Sun, 12 Mar 2017 23:36:01 +0100 Message-Id: <20170312223601.2952-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [OpenWrt-Devel] [PATCH 1/2 RESEND] power: reset: Add Gemini poweroff DT bindings X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, devicetree@vger.kernel.org, Paulius Zaleckas , inux-pm@vger.kernel.org, Janos Laube , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 Acked-by: Rob Herring 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 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>; +};