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: 95185 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp941365qgd; Sun, 12 Mar 2017 15:36:19 -0700 (PDT) X-Received: by 10.84.131.33 with SMTP id 30mr42704016pld.45.1489358179572; Sun, 12 Mar 2017 15:36:19 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q87si9645224pfk.243.2017.03.12.15.36.19; Sun, 12 Mar 2017 15:36:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S935371AbdCLWgT (ORCPT + 7 others); Sun, 12 Mar 2017 18:36:19 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:34875 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935355AbdCLWgS (ORCPT ); Sun, 12 Mar 2017 18:36:18 -0400 Received: by mail-lf0-f41.google.com with SMTP id j90so57368449lfk.2 for ; Sun, 12 Mar 2017 15:36:17 -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=FGzWPTgRhBPaUbDT4Tw2JLTAAtqRPXpKXEfa0npPSklkpK8AIVdVC6ZgTnuZOEMrwm UKrposZoSsiGfKdJuiB/q3BWqXqwCIRBIFH7efwjGLTQ4VHlxaUvJbTYDGqVjFQtiWj/ 5hl3x63KFKcroaf/hun9yT/uKN25H4cMLAvIw/KRuXFpGjioesIlGuVT1EfUnKWMSgVC os2lpHCf5IvIW6IFIOXDZJC9RNII5jPqyXezx7Euiv2EJjhQeC6FZC0x6AmeN/Mkv7gi t+5f0kaghgWOx6dFg6TgH43gknRz5lu57ULek+tVkC9BN3PI+HoLncdpvS2urNP2vgel f6sA== X-Gm-Message-State: AMke39mvCrWcBF7Zz8dxHw9veCwbEegeXt4mqeJnnZNaf3S+Wkhj+g5mUabn26IMQb+WmpBY 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 Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, linux-arm-kernel@lists.infradead.org, inux-pm@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 RESEND] power: reset: Add Gemini poweroff DT bindings 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 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 -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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>; +};