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: 7214211 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0608E9F380 for ; Fri, 18 Sep 2015 09:02:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 373C5207A6 for ; Fri, 18 Sep 2015 09:02:51 +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 6B7D9207A4 for ; Fri, 18 Sep 2015 09:02:50 +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 1ZcrZB-00025p-H8; Fri, 18 Sep 2015 09:02:49 +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-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms 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-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=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>;