From patchwork Fri Sep 25 02:14:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 7262041 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 1D9169F380 for ; Fri, 25 Sep 2015 02:16:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48E0F20B00 for ; Fri, 25 Sep 2015 02:16:24 +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 64F7C20AF5 for ; Fri, 25 Sep 2015 02:16:23 +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 1ZfIYg-00012y-Vx; Fri, 25 Sep 2015 02:16:23 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZfIYK-0000YP-Fw; Fri, 25 Sep 2015 02:16:01 +0000 Received: by pacgz1 with SMTP id gz1so7775662pac.3; Thu, 24 Sep 2015 19:15:40 -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=zWhhDuxZ8PAlwbSjB5iUho8vTdu3O6+uAuOdVF/Ixr4=; b=SbIjIuB4TP8b/GQcBOhG91VpRhAI35lkLbGT28sxGy+9Qh8UhxZxN29Jzj02+xh5Nb E66Euy55NDSlayRefTtmjch1PXaklmF8QfM5143190YB6x51jhgTzPprbsqZUHVchbeK TwY2B8WIrzc/0c5D8M14HkPDLxCIOIZ7Z6nZML+7RaqrTlYNZarbNgNMSt8Obu+oaMwz eduyg6CwWiGEgcLLh6g4fswJ5zDtH1GLX8sC9xRoYp3jbjjAVlaCTm6tNZ9nQx1jmIs3 kZRDMTxAUqiJDjmEOpsnJnmggdWX8jE5bEQHOWVIQyyuoUtdTTBwH1wzIWwmLWrPHoii WAqw== X-Received: by 10.66.222.6 with SMTP id qi6mr3643039pac.97.1443147340497; Thu, 24 Sep 2015 19:15:40 -0700 (PDT) Received: from localhost.localdomain ([103.47.144.164]) by smtp.gmail.com with ESMTPSA id bk8sm876722pad.18.2015.09.24.19.15.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Sep 2015 19:15:39 -0700 (PDT) From: Caesar Wang To: heiko@sntech.de, daniel.lezcano@linaro.org, will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH v2 4/4] arm64: dts: rockchip: Add the needed timer for RK3368 SoC Date: Fri, 25 Sep 2015 10:14:58 +0800 Message-Id: <1443147298-12603-5-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443147298-12603-1-git-send-email-wxt@rock-chips.com> References: <1443147298-12603-1-git-send-email-wxt@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150924_191600_737794_721ADDE6 X-CRM114-Status: GOOD ( 10.32 ) 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, Caesar Wang , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org 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, 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 v2: None 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>;