From patchwork Sun Jul 6 04:05:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 4489321 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 85CDBBEEAA for ; Sun, 6 Jul 2014 04:36:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B011720295 for ; Sun, 6 Jul 2014 04:36:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 D3B3F20266 for ; Sun, 6 Jul 2014 04:36:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X3e96-0004Cm-Gx; Sun, 06 Jul 2014 04:33:48 +0000 Received: from yotta.elopez.com.ar ([2a00:1768:1004:d00d:c0de:4:f00d:cafe]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X3e94-0004BP-An for linux-arm-kernel@lists.infradead.org; Sun, 06 Jul 2014 04:33:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=xs2kaytHPMBjwnrqIGhbHJPg9R4EUcUNTxHj5dX8mzg=; b=JLUlCfBSmDhb/uixIfMtYzLnV7Gdp5YTLfB3HTRB47y0m323SSApEhYyIEBSsqZaiHj7rDQaGc6pTajXRMtXSdLkjcfmSs5g2R6vLcQGXYTfECk6/4ngfNd+S8rz5nG8/TrfSlQ37EWwN469Cu4xXsT5Myw6ylphJqUjRhB+LxRGoEc5gewdZxvUCJN+eI/fFajAtU6pl0QdiZihG8t74KXEUF4sOL6H6XbSan62zEzuoPuLvSDTZvzKwh6eQxljENReDHbMUSz48A4qv5UdyqMzq20tYnG02E8Cu14h5bK/Bf+ED6amfuy6y+v4o/G5bYwCecWQe9MOkAHDn0y1Dw==; Received: from [181.164.71.8] (helo=desktop.lan) by yotta.elopez.com.ar with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.82_1-5b7a7c0-XX) id 1X3dkA-0001kf-Lx; Sun, 06 Jul 2014 01:08:02 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard , vinod.koul@intel.com, dan.j.williams@intel.com Subject: [PATCH v2 10/8] ARM: sun7i: cubietruck: add an SPIdev device for testing Date: Sun, 6 Jul 2014 01:05:17 -0300 Message-Id: <1404619518-7592-11-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.0.1 In-Reply-To: <1404619518-7592-1-git-send-email-emilio@elopez.com.ar> References: <1404619518-7592-1-git-send-email-emilio@elopez.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140705_213346_598623_5D8667CB X-CRM114-Status: UNSURE ( 5.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: =?UTF-8?q?Emilio=20L=C3=B3pez?= , zhuzhenhua@allwinnertech.com, shuge@allwinnertech.com, Chen-Yu Tsai , kevin.z.m.zh@gmail.com, Ezequiel Garcia , sunny@allwinnertech.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index b87fea9..4ef421f 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -66,6 +66,18 @@ status = "okay"; }; + spi2: spi@01c17000 { + pinctrl-names = "default"; + pinctrl-0 = <&spi2_pins_a>; + status = "okay"; + + dac0: dh2228@2 { + compatible = "rohm,dh2228fv"; + reg = <2>; + spi-max-frequency = <100000>; + }; + }; + pinctrl@01c20800 { mmc3_pins_a: mmc3@0 { /* AP6210 requires pull-up */