Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5102124ybe; Tue, 17 Sep 2019 02:38:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOurXbTWqBuQ2A6j+2+adcgOui1YSp1DX6mR2DG56YEY5sgcT03x2SUoJwGZlx2hUjEkRD X-Received: by 2002:a50:8d5e:: with SMTP id t30mr3666355edt.112.1568713101782; Tue, 17 Sep 2019 02:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713101; cv=none; d=google.com; s=arc-20160816; b=wIkBBs6k15gM5HSOp4zsQQnIQAMwVlqq84xROcjxm64EisF12LM5Z3QBqRTkVGGbM6 ok9QfbAohrZH70bAO4glpbWT+X/z4X5HrkYQuyzr+PVFwX3WKjSLI5dSo41e/UlRpoAR q+OhR5YHQ18gnAi9yrP9zFnR+n8IMhSB6u62nVCiBNpRcazgApfqwq+33NCVvf14NN7f D9f1/R48CoOeDQenc65RNkTfKyEafn0Y35IRJlvtglR1is/m6hoGkEjfHnEGs66MNd5E 7wFJHbe7UtqThXoxaQtRPq+z7eYQL4gWwTCGSn1C39w2HQbHJDnN1DQowA8zUmmS3COV vFKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=kIP6/RC4mbWYY815SAia+lWls+dToj1a55h1xfgH6l8=; b=LiDVufrajZisA66lJpDAigVtr7E1Qd6dQUUHWPPD2co0XEDkV1JKukxe2jDQaL3pAq YTRvd+MPsQ8OwBPcC8oyxiqkg87Gq5Q4WoTHz5qymOXGIheWdL9b4jlUCkiZOu3LNnUt NeLSksbewlyvd260+o6U4W55N1dE7EPd9fa4v0oarSkFVGOS0al6EL29yOgbNPPy7sMR wC1J139SKkMHMxSPQ54fW/+zz2WporpNvLJ6hQoXt06vVUI/ePkVzVC11xURToZqyDVE tEMukpYfBIUhRPJJlhBkRr+fZ1zlLw6RyvcqRsju1pj6z+CMTx/7UE3rtPkS24HMlIKq OBaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d25si965204eds.40.2019.09.17.02.37.58; Tue, 17 Sep 2019 02:38:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392315AbfIQEvu (ORCPT + 99 others); Tue, 17 Sep 2019 00:51:50 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36312 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392295AbfIQEvu (ORCPT ); Tue, 17 Sep 2019 00:51:50 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5460D20010A; Tue, 17 Sep 2019 06:51:48 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B02C720065B; Tue, 17 Sep 2019 06:51:43 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B782F402AD; Tue, 17 Sep 2019 12:51:37 +0800 (SGT) From: Biwen Li To: leoyang.li@nxp.com, shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Biwen Li Subject: [v2,2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep Date: Tue, 17 Sep 2019 12:41:18 +0800 Message-Id: <20190917044119.21895-2-biwen.li@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190917044119.21895-1-biwen.li@nxp.com> References: <20190917044119.21895-1-biwen.li@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- Change in v2: - None arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index e3973b611c3a..377bb4717584 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -1000,12 +1000,13 @@ compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1ee2140 0x0 0x8>; #fsl,rcpm-wakeup-cells = <2>; + fsl,rcpm-scfg = <&scfg 0x0 0x51c>; /* SCFG_SPARECR8 */ }; ftm_alarm0: timer0@29d0000 { compatible = "fsl,ls1021a-ftm-alarm"; reg = <0x0 0x29d0000 0x0 0x10000>; - fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>; + fsl,rcpm-wakeup = <&rcpm 0x0 0x30000000>; /* FlexTimer1 and OCRAM1 are not powerdown during LPM20(sleep) */ interrupts = ; big-endian; }; -- 2.17.1