From patchwork Sat Mar 15 15:43:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 3837861 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA76CBF540 for ; Sat, 15 Mar 2014 15:46:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF42D2035E for ; Sat, 15 Mar 2014 15:46:42 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A2D820295 for ; Sat, 15 Mar 2014 15:46:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOqlO-0007Yi-9y; Sat, 15 Mar 2014 15:44:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOqkt-0007N9-Fe; Sat, 15 Mar 2014 15:44:11 +0000 Received: from mail-ee0-f41.google.com ([74.125.83.41]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOqkB-0007I0-3Z for linux-arm-kernel@lists.infradead.org; Sat, 15 Mar 2014 15:43:28 +0000 Received: by mail-ee0-f41.google.com with SMTP id t10so2469671eei.14 for ; Sat, 15 Mar 2014 08:43:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=J7mo8YAgMrBe6Tl02ElorwtvoEt2dE9jv6QniGiqrZw=; b=UzDVPzZpW/pZa+L7j5zDO49Jn793GfUe5gFjq36+2HNF3c99pgn/EpubPPih0+lJFM pnHAHtXGXhDsiNW+gYXXiL9r8glQDcVUoPZ24NCLAslK3OkAb2SAAOH2IVVsAMibHdpH sWWGl01F1WPJTcEXs8TEihUr6VRKRmsnwiIvDiOxkT7aBWGzYVYIYP7+SjXfG8nGjk5F hRxX6BCIB9+IxeZXvdj32vog3t+P9TNHycscBGwzLMVQZnX7a6yUY6qST9CbOGUovPZw WPQGcOGA3JWXIHFVlFeAX0dBI5uXPav23YsZG0dT5yA1qP8JwVDRQ8TKcMeazuIvlas+ Im8Q== X-Received: by 10.15.49.65 with SMTP id i41mr34605eew.87.1394898185150; Sat, 15 Mar 2014 08:43:05 -0700 (PDT) Received: from localhost.fastwebnet.it (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by mx.google.com with ESMTPSA id 43sm25467569eeh.13.2014.03.15.08.43.03 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Sat, 15 Mar 2014 08:43:04 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, maxime.ripard@free-electrons.com, hdegoede@redhat.com, emilio@elopez.com.ar, wens@csie.org, sameo@linux.intel.com, lee.jones@linaro.org, devicetree@vger.kernel.org, dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, linux-doc@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org Subject: [PATCH v2 7/8] ARM: sun7i: dt: Add AXP209 support to various boards Date: Sat, 15 Mar 2014 16:43:44 +0100 Message-Id: <1394898225-28452-8-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394898225-28452-1-git-send-email-carlo@caione.org> References: <1394898225-28452-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140315_114327_309528_752059CB X-CRM114-Status: UNSURE ( 7.52 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Carlo Caione X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Hans de Goede Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 12 ++++++++++++ arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 13 +++++++++++++ arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 12 ++++++++++++ 3 files changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts index 5c51cb8..9ad7da5 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts @@ -53,6 +53,18 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + axp: axp20x@34 { + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 8>; + + axp,system-power-controller; + + /include/ "x-powers-axp209.dtsi" + }; }; i2c1: i2c@01c2b000 { diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index f9dcb61..aab77f9 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -38,6 +38,19 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + axp: axp20x@34 { + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 8>; + + axp,system-power-controller; + + /include/ "x-powers-axp209.dtsi" + }; + }; i2c1: i2c@01c2b000 { diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts index ead3013..a5fe5d0 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts @@ -65,6 +65,18 @@ pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>; status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + axp: axp20x@34 { + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 8>; + + axp,system-power-controller; + + /include/ "x-powers-axp209.dtsi" + }; }; i2c1: i2c@01c2b000 {