From patchwork Mon Nov 12 01:28:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 10677981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AE9A41709 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D4262A0E1 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 918192A0E5; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E3002A0E1 for ; Mon, 12 Nov 2018 01:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1o4jeAERu3h5VSpmetUs41YsDC+Cu0cPdCKYcsD8BTk=; b=c0ll5KUINFvjHK I1lLAWLDSgu1GxWCizBWzm+PpW/ajEcWDs63LlRgm01mfuV29v31htWKzI2Z6gFNuorJ5KzjOcZqd /JdRbTveeXvSPLhpB9DPm7gk0tt3NvWJcx1PYDGOOyGKJTQQU0VURr3N4P1/RStDPDwrSclksVZrD 9bXMN2X0CyV7bKcLQveQIqDY3ms1R4j8/+ByEuSKYlIG4xiwxwJmwBK05+nQ67EWsMp1NHCWbrKZa yoEmgFMii5HY64ZjWXKix0RCAtuQ6k2OQ1NP39QWbdkpLSWZQnUIX7hZKsNTWjj6Kg31TrSsBfK9f c+ay6gV40J+L4Sr/4rmQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12S-0003jq-Dp; Mon, 12 Nov 2018 01:29:16 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12J-0003b8-8j; Mon, 12 Nov 2018 01:29:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=uds1d+Z7QyDh8X7p5DBPmGa3GqCQUaWjbV3F4FMcxvg=; b=Y/We1Qn6001s8TiSZOhazpHGh nYR2DblIoUVirzIxHrJhdB5EBJC+JVJfquL31Q5zgCHlmQM6/lRseplSEsjbBqqtBsAqDuke5p3kr cvlTuvYN9xkcaOmkI3Vi4xOEcqocnYngj6EaahuhEkNFQjQFtRr5Pto5XZNdmZia8JjNclU9z46fk zNGiZXmPZ53IE8TRMRx+EfVqxIrLMib8V8+ccJ0w39IuEMK1KGs0nXITCGUxL4uA5QzV8i3XGgnvj X/RLLanhUB7yrI94j4w1jCg2WZqlJL5pCZ+5sOp3jz/NJP3+aIS9ghNPvgwso91lkCEBDdHmaY40V gxXMY1woQ==; Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gM12D-0004i0-61; Mon, 12 Nov 2018 01:29:02 +0000 X-UUID: 47729ef156614660a8f08258a4e16968-20181112 X-UUID: 47729ef156614660a8f08258a4e16968-20181112 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 467778218; Mon, 12 Nov 2018 09:28:25 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 12 Nov 2018 09:28:19 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 12 Nov 2018 09:28:19 +0800 From: Ryder Lee To: Rob Herring , Matthias Brugger Subject: [PATCH v1 3/3] arm64: dts: mt7622: Drop the general purpose timer node Date: Mon, 12 Nov 2018 09:28:08 +0800 Message-ID: <17fde639c7d37f9cfabab230379913e652cf869a.1541643419.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> References: <30f4a4110190a175307ac4dfebc98ffe96c44b90.1541643419.git.ryder.lee@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181111_202901_450560_040BDB27 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ryder Lee , Weijie Gao , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The crash http://termbin.com/zitb is caused by the timer register into system in early pahse during kernel boot, but the clock sources didn't get ready at that time. A better way is to switch to use CLK_OF_DECLARE() in driver for things that need them early, but this node is actually useless in MT7622. So we drop it. Fixes: 9cc7f0de9e67 ("arm64: dts: mt7622: add timer, CCI-400 and PMU nodes") Cc: stable@vger.kernel.org Signed-off-by: Ryder Lee Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index fe0c875..14a1028 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -227,16 +227,6 @@ #reset-cells = <1>; }; - timer: timer@10004000 { - compatible = "mediatek,mt7622-timer", - "mediatek,mt6577-timer"; - reg = <0 0x10004000 0 0x80>; - interrupts = ; - clocks = <&infracfg CLK_INFRA_APXGPT_PD>, - <&topckgen CLK_TOP_RTC>; - clock-names = "system-clk", "rtc-clk"; - }; - scpsys: scpsys@10006000 { compatible = "mediatek,mt7622-scpsys", "syscon";