From patchwork Mon Jun 16 03:50:35 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: 4356111 Return-Path: X-Original-To: patchwork-dmaengine@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 F3000BEECB for ; Mon, 16 Jun 2014 04:12:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28B88202A1 for ; Mon, 16 Jun 2014 04:12:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3655320270 for ; Mon, 16 Jun 2014 04:12:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752623AbaFPEMe (ORCPT ); Mon, 16 Jun 2014 00:12:34 -0400 Received: from yotta.elopez.com.ar ([31.220.24.173]:58505 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbaFPEMc (ORCPT ); Mon, 16 Jun 2014 00:12:32 -0400 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=xrO/QRyXqvOIDfn+dFCIQ6eaZwsGrM8qTyj0imzbBpA=; b=VjDG0Wn0Rah5rHmN/Z8KGRowYZQahO4tOue4sVz6pzoP+8PQ54jHOQ+U+HY4t7kN2MmauCNOQ5XPkbAZHoIBBKRWa8byK5nMfHo90GzEW96r5WGFn9c7Ey7GKmDg4wOsWfn6kScy6b3WWyr4bnJbYAR/vQUIjsjFNnMvuXnc8+5BYrDu9stafwlncDsq+wqdbfK84tK/ZNTS0EP1LhGUewHEOVov7zde2e46R1p5ZcKNLPlM891Bi5/ajXzTG8SVBsCoX4fZd2wMw+FAvS3CdzB2LEEVbLcR0p9UgUNp7uPcmk+hMkIQbZw3thAoE7dWJ4jSlinIOum1sdKMlaGULg==; Received: from 200-122-75-123.cab.prima.net.ar ([200.122.75.123] 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 1WwNzD-0005L1-98; Mon, 16 Jun 2014 00:53:35 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: Maxime Ripard , vinod.koul@intel.com, dan.j.williams@intel.com Cc: Ezequiel Garcia , , , shuge@allwinnertech.com, sunny@allwinnertech.com, kevin.z.m.zh@gmail.com, zhuzhenhua@allwinnertech.com, =?UTF-8?q?Emilio=20L=C3=B3pez?= Subject: [PATCH 10/10] ARM: sun7i: cubietruck: add an SPIdev device for testing Date: Mon, 16 Jun 2014 00:50:35 -0300 Message-Id: <1402890635-12342-11-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1402890635-12342-1-git-send-email-emilio@elopez.com.ar> References: <1402890635-12342-1-git-send-email-emilio@elopez.com.ar> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 cb25d3c..2c852aa 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts @@ -47,6 +47,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 { ahci_pwr_pin_cubietruck: ahci_pwr_pin@1 { allwinner,pins = "PH12";