From patchwork Sat Mar 1 16:45:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 3747661 Return-Path: X-Original-To: patchwork-linux-arm@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 7F4A09F35F for ; Sat, 1 Mar 2014 16:47:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE0EE20374 for ; Sat, 1 Mar 2014 16:47:32 +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 C8A3720364 for ; Sat, 1 Mar 2014 16:47:31 +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 1WJn3a-0005UG-Fy; Sat, 01 Mar 2014 16:46:34 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJn3R-0003Ni-T1; Sat, 01 Mar 2014 16:46:25 +0000 Received: from mail-ea0-f173.google.com ([209.85.215.173]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJn36-0003JQ-BX for linux-arm-kernel@lists.infradead.org; Sat, 01 Mar 2014 16:46:05 +0000 Received: by mail-ea0-f173.google.com with SMTP id r15so2045047ead.4 for ; Sat, 01 Mar 2014 08:45:42 -0800 (PST) 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=8FLfvYtFg6DZNYDU6RtZljkuSd7ped7ZRSjsT98VV5M=; b=PfkWB7hhp4ULzQfwGjrzNMXf7VWfPdypNlH2qD4daz05MuSrQ4IpCLfKrJebnkDuZM juX1HyrT39wCegUBliBaNWBEPoyjcP2p6XLlXNBkvLjBpoer2jI6M4cS3mVOThw2i4EJ qdgRqsza08/5g8Ysct6mAOKtte4MAGnPpWDV+LM5J5TuaiWWGWL09HVuUHUJ+C/eM7lD XsccB24wBpywkdo7FvUeYJbG3ESJ4zUDYioteOW+c3b6V20qRQhRyTd7bulCwOufHPD9 C+0SbGUIiCsgyB8FI2UwhLlaonR/QZP2/V41rF0Aefn5XsP7PJd3Q47aiZMytjmz4hp8 LRPQ== X-Received: by 10.14.205.3 with SMTP id i3mr28450741eeo.23.1393692342315; Sat, 01 Mar 2014 08:45:42 -0800 (PST) Received: from localhost.fastwebnet.it (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by mx.google.com with ESMTPSA id a2sm25441488eem.18.2014.03.01.08.45.38 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Sat, 01 Mar 2014 08:45:41 -0800 (PST) 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 3/7] ARM: dts: cubieboard2: Add AXP209 support Date: Sat, 1 Mar 2014 17:45:48 +0100 Message-Id: <1393692352-10839-4-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393692352-10839-1-git-send-email-carlo@caione.org> References: <1393692352-10839-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140301_114604_500285_69118E3B X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.5 (/) 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=-1.1 required=5.0 tests=BAYES_00,KHOP_BIG_TO_CC, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 AXP209 is the PMU used by Cubieboard2. This patch enable the core support in the dts file. This patch requires: "ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller" Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts index 5c51cb8..234b14b 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts @@ -53,6 +53,20 @@ 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; + + compatible = "x-powers,axp209"; + interrupt-controller; + #interrupt-cells = <1>; + }; }; i2c1: i2c@01c2b000 {