From patchwork Fri Dec 1 13:44:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 10087221 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 246CA603B4 for ; Fri, 1 Dec 2017 14:06:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 235B02A55E for ; Fri, 1 Dec 2017 14:06:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17C732A561; Fri, 1 Dec 2017 14:06:02 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham 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 44C862A55F for ; Fri, 1 Dec 2017 14:06:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/i1MnO5pjLAWwuSCaIVg/WLTBYnHlBrF6tz9wh6+tWk=; b=r5CvK20PmGVSSVlOXp7RBP3KEV kJ7jmY+v1cbcdPu3HtfE0CetY9ImzDcWOVFsP5pIDcFQVWytggV2vYUmf5+zG981QJgJwyAl8JBHZ ChMZgEmDr3QzzNLOw1uzIbOVsK9xvRtPzfUd5Da3AaY1qqrFXXo+1NHsmYWHeOnajc67pbcBSgs1s Mfssc5WZryaaSecXh3CHsOdHsheuS1EY1YVj4I+fPo9IuYOBbcXDXN4TANNgoxNQEjf6/gJrTxPIr 7j1YHS9QzmZ587xWSu9GSi7Si2FvD+xGvzddMo5b/7yEvEx+UNzHPlpA3ECi5D2shaic2TeT5lgTA /TwEoH5g==; 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 1eKlx0-0006i3-Ew; Fri, 01 Dec 2017 14:05:58 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKlwc-0006I2-Tx for linux-arm-kernel@bombadil.infradead.org; Fri, 01 Dec 2017 14:05:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=892IFte6nQp6R8XXJpV4fBsdIunKVfQWI3sArMQ6li8=; b=nCBJ1D8Fnp+8SDInuYCDOoB9h WfuRljBxBj+kT+W4MWjV5iabQLvGr9dq3TCyvDgAs6qO6qp/TmmFWXq6Z11X87NOyFKKZ70j7qTmr vgH57CMJ9ah3MvfNoH8xdRfEK/LRQBdnHvzhisom3YDaD566YPAHEtoYmBDHTW4n7wz7EWqHeDEqi Qtb7KJSQnsGwN22cWy+sJJtCd+c6LHDql2q7hs0YIgqAA5YZbfp1uwHGZ86smOeHaGm7nII8oZYJX +GR/HdWtLGx2uCyh3Ga6pj44Ty8YwGtfobJn2egL3MbkFi2ZgPJoMm9vONghdKr4BO/3Ycj3ML6i8 xxFiqbEnQ==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eKleF-0004nM-An for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2017 13:46:36 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 39AB320D66; Fri, 1 Dec 2017 14:45:53 +0100 (CET) Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id E9CD4209B2; Fri, 1 Dec 2017 14:45:40 +0100 (CET) From: Quentin Schulz To: linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org Subject: [PATCH v4 09/10] ARM: dtsi: axp81x: add GPIO DT node Date: Fri, 1 Dec 2017 14:44:50 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: 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: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, Quentin Schulz , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.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 DT node for the GPIO/pinctrl part present in AXP813/AXP818. Signed-off-by: Quentin Schulz Acked-by: Linus Walleij Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/axp81x.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/axp81x.dtsi b/arch/arm/boot/dts/axp81x.dtsi index 73b761f..0ef959d 100644 --- a/arch/arm/boot/dts/axp81x.dtsi +++ b/arch/arm/boot/dts/axp81x.dtsi @@ -48,6 +48,12 @@ interrupt-controller; #interrupt-cells = <1>; + axp_gpio: axp-gpio { + compatible = "x-powers,axp813-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <3000>;