From patchwork Fri Sep 18 08:51:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7214231 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7399ABEEC1 for ; Fri, 18 Sep 2015 09:04:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A05E0207A6 for ; Fri, 18 Sep 2015 09:04:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C79AC2071C for ; Fri, 18 Sep 2015 09:04:51 +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 1ZcrYz-0001yn-Ja; Fri, 18 Sep 2015 09:02:37 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcrYw-0001x7-6e; Fri, 18 Sep 2015 09:02:34 +0000 Received: from mail-pa0-f50.google.com ([209.85.220.50]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcrOw-0003nA-Az; Fri, 18 Sep 2015 08:52:15 +0000 Received: by pacex6 with SMTP id ex6so45889575pac.0; Fri, 18 Sep 2015 01:51:49 -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=ktk1tTUFB+oSxwiEJf+pQ3s4X9QNgTYpkrf5mWdHbjk=; b=JawRlyUYrSuoiKi+/wNmSODpGL2Qf2ZsS7uOOIT/F3slck/QCN3IolHnErADPJbD+U P3gaAx1VuXJIhLdIvRiJR12sU5iqrf+Na3LTIYsYN95mhExWWAT5zCJ117FINquTJklc vUNEKa/GvRzn9T/k0Vs+g8kSvJhQ6EkIwI2/r0Vva34T4AnFHAFt6gyiJqgM+Am+Yevh 0qQvqftgzwkwNNtT4MTSV8iu+fs+IGboq1WGHIIP9BVjAblMxWdGtiWld31AfYKbpWcd onTAGGMhTt1LnEWWSdMDvmeBPRum0pl3MHw0TEyjEivoWSugv0MErOB1EQ9vEiVTDk+c HzUA== X-Received: by 10.66.65.234 with SMTP id a10mr6055482pat.2.1442566308928; Fri, 18 Sep 2015 01:51:48 -0700 (PDT) Received: from localhost.localdomain ([103.46.142.38]) by smtp.gmail.com with ESMTPSA id fd9sm7699307pab.34.2015.09.18.01.51.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 01:51:48 -0700 (PDT) From: Caesar Wang To: heiko@sntech.de, daniel.lezcano@linaro.org, will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH v1 3/3] arm64: dts: rockchip: Add the needed timer for RK3368 SoC Date: Fri, 18 Sep 2015 16:51:11 +0800 Message-Id: <1442566271-10695-4-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442566271-10695-1-git-send-email-wxt@rock-chips.com> References: <1442566271-10695-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150918_095214_535720_086BA759 X-CRM114-Status: GOOD ( 11.08 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, olof@lixom.net, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, Caesar Wang 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. Signed-off-by: Caesar Wang --- Changes in v1: - As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the 'rockchip,rk3288-timer' is working for RK3368, need to add the 'rockchip,rk3368-timer' for the rk3368-spec timer in the future. arch/arm64/boot/dts/rockchip/rk3368.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a712bea..c4b3870 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -214,6 +214,12 @@ (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>; }; + timer@ff810000 { + compatible = "rockchip,rk3368-timer", "rockchip,rk3288-timer"; + reg = <0x0 0xff810000 0x0 0x20>; + interrupts = ; + }; + xin24m: oscillator { compatible = "fixed-clock"; clock-frequency = <24000000>;