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: 3837761 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0EB629F1CD for ; Sat, 15 Mar 2014 15:43:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1015220380 for ; Sat, 15 Mar 2014 15:43:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B43920373 for ; Sat, 15 Mar 2014 15:43:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756276AbaCOPnH (ORCPT ); Sat, 15 Mar 2014 11:43:07 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:35262 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755689AbaCOPnG (ORCPT ); Sat, 15 Mar 2014 11:43:06 -0400 Received: by mail-ee0-f46.google.com with SMTP id t10so2410447eei.5 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 Cc: Carlo Caione 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> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 {