From patchwork Fri May 23 10:31:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 30712 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1B74C20369 for ; Fri, 23 May 2014 10:35:16 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id z6sf18117097yhz.1 for ; Fri, 23 May 2014 03:35:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=XiYro0nHvY/0X2Ck9VReWn4aWo60gPh4gtL468PU0xo=; b=gF9a+OU78lzC6y349EjFc6y4qPR4owlbFPa1kbWPekN3+czvIVb08E6brzcBoBr9eK ufO+hTd3hLqu7McFyVm6xMBqyhg2ZwpIoOAJU812uMBkKjh/4PEcT0/ZlIiGJKt19FkD pE9pyaQn8ytlmiKgFhNtHJ5d7OtezjPRiOY6+b5EOJa+zYrJRefKYEMl5m4kgF8b/sVq WgEvMEiYzjzzTTtIu9keYrhZt9b41KVebBbmb0AKIy6SsgkCTSJ96d78XlWn2nOBFedj aqxnDt8AVzC7VVwQpJ05ZUNJeTZtT4IkpXjXj9NGp1AR6Mfl2PqR9Qod7vqL4z3WE0ye gffw== X-Gm-Message-State: ALoCoQn4lSE5FP2WJ8QCu6Yptp/GLYYq4NqYb9dDBaMGi9AmPdSHKHZObJ0JrRo/8kNPKrMyiV/p X-Received: by 10.58.30.108 with SMTP id r12mr1269321veh.17.1400841315916; Fri, 23 May 2014 03:35:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.138 with SMTP id 10ls1688751qgx.9.gmail; Fri, 23 May 2014 03:35:15 -0700 (PDT) X-Received: by 10.221.37.1 with SMTP id tc1mr1393661vcb.32.1400841315828; Fri, 23 May 2014 03:35:15 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id i11si1367942vdf.96.2014.05.23.03.35.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:35:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so6034831veb.29 for ; Fri, 23 May 2014 03:35:15 -0700 (PDT) X-Received: by 10.52.185.72 with SMTP id fa8mr2903960vdc.12.1400841315745; Fri, 23 May 2014 03:35:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp19978vcb; Fri, 23 May 2014 03:35:15 -0700 (PDT) X-Received: by 10.66.179.111 with SMTP id df15mr4769207pac.52.1400841314973; Fri, 23 May 2014 03:35:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd13si3269463pac.216.2014.05.23.03.35.14; Fri, 23 May 2014 03:35:14 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753155AbaEWKcz (ORCPT + 27 others); Fri, 23 May 2014 06:32:55 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:48018 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbaEWKcv (ORCPT ); Fri, 23 May 2014 06:32:51 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so4646506wgh.20 for ; Fri, 23 May 2014 03:32:50 -0700 (PDT) X-Received: by 10.180.106.1 with SMTP id gq1mr2373243wib.45.1400841169988; Fri, 23 May 2014 03:32:49 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-404-187.w82-125.abo.wanadoo.fr. [82.125.3.187]) by mx.google.com with ESMTPSA id s9sm2200908wix.13.2014.05.23.03.32.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 03:32:49 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 59/71] ARM: sun6i: a31: Add support for the High Speed Timers Date: Fri, 23 May 2014 12:31:39 +0200 Message-Id: <1400841111-6683-59-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> References: <537F214C.8000700@linaro.org> <1400841111-6683-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Maxime Ripard The Allwinner A31 has support for four high speed timers. Apart for the number of timers (4 vs 2), it's basically the same logic than the high speed timers found in the sun5i chips. Now that we have a driver to support it, we can enable them in the device tree. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano --- arch/arm/boot/dts/sun6i-a31.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index d45efa7..8cee8a1 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -428,6 +428,17 @@ status = "disabled"; }; + timer@01c60000 { + compatible = "allwinner,sun6i-a31-hstimer", "allwinner,sun7i-a20-hstimer"; + reg = <0x01c60000 0x1000>; + interrupts = <0 51 4>, + <0 52 4>, + <0 53 4>, + <0 54 4>; + clocks = <&ahb1_gates 19>; + resets = <&ahb1_rst 19>; + }; + spi0: spi@01c68000 { compatible = "allwinner,sun6i-a31-spi"; reg = <0x01c68000 0x1000>;