From patchwork Mon Jan 30 19:36:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9546057 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 D89E7604A0 for ; Mon, 30 Jan 2017 19:38:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDB7D26E4F for ; Mon, 30 Jan 2017 19:38:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2B9E281A7; Mon, 30 Jan 2017 19:38:46 +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=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8336D26E4F for ; Mon, 30 Jan 2017 19:38:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cYHmk-00084Y-Ld; Mon, 30 Jan 2017 19:38:42 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYHlQ-0006WJ-GI for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2017 19:37:31 +0000 Received: by mail-lf0-x235.google.com with SMTP id z134so200051923lff.3 for ; Mon, 30 Jan 2017 11:36:59 -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:in-reply-to:references; bh=mZsw8yNPp34p/LxyyYOI4QPRZ5Wuf9wwkLPpxfp6+1A=; b=bXkpCuCNMA8aD2IJeHY44CjXR6d0XkLcbUjvq5ATkAuN5bbarGma7gdBIADbuQSJm2 cFoEMQuIiBu9k5ctnWPSZM6mEzC5EzxZM+5aRv55Ak5tlUGDSmHAc62YX9/ox7n3WEII DWy4+3Ttbzi/S4KQsL665cJchSk+xI3E2noVs= 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:in-reply-to :references; bh=mZsw8yNPp34p/LxyyYOI4QPRZ5Wuf9wwkLPpxfp6+1A=; b=HBSLneDbWjWvKo3bdyympq5dtaHZTgTqZvKlkqfxKlu65BCoYwQbbqtoE6lA0ZmfRJ uw81rXrhyTI6VKaRFy17l5QeKx1PZacyewR3OOkSbpboEu5ZEq+RQZjDKU/79/S3WJnj wFA5wGZZ8cqfk0Ezp/jqkscY/p5wVPhNqESNQw7xDIOv/uP9nTj4e8mNaJDy4zP9hFeR WmWkuqHxyywUBf93p8TzN/cEXtoy1r+Hc0dP/Bu/CS4sFT12wvPli8d0gFlQAVBtCO/j 2E30D7Mpo090f9x6n3hZM5loI8WqlONMxcoq1c0rySTe12GlvFH/Jk2JZTGhx+uME2FG MKag== X-Gm-Message-State: AIkVDXJS5gvI+TvVj2Ix3jc8+oADieNb/Aj++18STIqpWu6owTLCq3Avnug/eEZM+/fVjqkQ X-Received: by 10.25.221.193 with SMTP id w62mr7488300lfi.169.1485805018347; Mon, 30 Jan 2017 11:36:58 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 11:36:57 -0800 (PST) From: Linus Walleij To: Hans Ulli Kroll , Florian Fainelli , linux-arm-kernel@lists.infradead.org, Sebastian Reichel Subject: [PATCH 4/4] ARM: dts: add power controller to the Gemini DTS Date: Mon, 30 Jan 2017 20:36:35 +0100 Message-Id: <20170130193635.18644-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170130193635.18644-1-linus.walleij@linaro.org> References: <20170130193635.18644-1-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170130_113721_364537_D6428D0E X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, Janos Laube , Linus Walleij , Paulius Zaleckas , linux-pm@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the Gemini power controller to the SoC DTSI file. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Signed-off-by: Linus Walleij --- Sebastian: this patch is just for context. I will funnel the ARM parts through the ARM SoC tree. --- arch/arm/boot/dts/gemini.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index df5630958038..8a2501239ae5 100644 --- a/arch/arm/boot/dts/gemini.dtsi +++ b/arch/arm/boot/dts/gemini.dtsi @@ -70,6 +70,12 @@ #interrupt-cells = <2>; }; + power-controller@4b000000 { + compatible = "cortina,gemini-power-controller"; + reg = <0x4b000000 0x100>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; + }; + gpio0: gpio@4d000000 { compatible = "cortina,gemini-gpio"; reg = <0x4d000000 0x100>;