Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3930818ybe; Mon, 16 Sep 2019 03:57:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwu1+zMIiwcQMyxXRYxBvzEOsD3/2ssaoAhVocp99ciIn3tb+9ugHSI5sQuNZRv3u3GT34P X-Received: by 2002:a50:b884:: with SMTP id l4mr4715989ede.295.1568631475355; Mon, 16 Sep 2019 03:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568631475; cv=none; d=google.com; s=arc-20160816; b=EvMrIfZ9uD2UbWEJ4ZD5KhxN8QPj5bSSlcCKwcJWwfeSPrGWFERGIZ1T6Nb2QSGv/9 7hta3m925zi3SLWxMCNhZJ4dVEeCWWOUGh8TO23QbYp+/G50jaMfD51RRbN7CoKIu5Xw F2NMlXlvOWrMZ5gKDQPrZMrE9ILRMq6ApF3X1cv0cY6v93bbOR6wJzDZDewh96HOW2xp GN67KjsYJkoxdJ5m3RBNMOqWGsS0W4We/9GaCP4UaPrYul5L2/a3gBRbvQnysFaFt7TI dJHFuHhT95yfpdwGtkB9DCq44RoYHNKKfhw73lE1+IGxzsUijft9c4na8LC8dEE9ZD77 OSzA== 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=FluW93gyOyZMoRk+071YsvycRjbEUcR+YhOcldSZuZQ=; b=Sm8N7MFtHDJaQxLDH7EU3yW9BhRQn9vhTA6SWPKrFoZGjSmAWG9WmLIa4ch32iSL57 bkLFyfBEjXFbuy650YySQDfsrlP1fUGOLIn0HZqfiKG3mq09tgKOcPBL1xuKUACj0kKD xOvsh6ODALo4XQ78i29yzqtfLFGbd88THnzntzOUgYN9rZ19lI7ve0yVZP34O74skw8i K2kableDT+1fgTEDRMJPzzPTekYkOjNCvcJb1qH9qc6T+Fz+8kTdJvZ4GQTfCRop0DKs di/0rPapfvpsqBnmXeioIlA1uAAxsu7JrZxfh7s2uPj2eVvVMbHyCnLUK/EUkRGls25G s/ew== 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 z10si21207632edd.140.2019.09.16.03.57.32; Mon, 16 Sep 2019 03:57:55 -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 S1732306AbfIPKgZ (ORCPT + 99 others); Mon, 16 Sep 2019 06:36:25 -0400 Received: from inva021.nxp.com ([92.121.34.21]:49176 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726604AbfIPKgY (ORCPT ); Mon, 16 Sep 2019 06:36:24 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5B18D200022; Mon, 16 Sep 2019 12:36:23 +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 1777D20058B; Mon, 16 Sep 2019 12:36:19 +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 88257402E6; Mon, 16 Sep 2019 18:36:13 +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: [3/3] Documentation: dt: binding: fsl: Add 'fsl,rcpm-scfg' property Date: Mon, 16 Sep 2019 18:25:56 +0800 Message-Id: <20190916102556.16655-3-biwen.li@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190916102556.16655-1-biwen.li@nxp.com> References: <20190916102556.16655-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 'fsl,rcpm-scfg' property is used to fix a bug that FlexTimer cannot wakeup system in deep sleep on LS1021A Signed-off-by: Biwen Li --- .../devicetree/bindings/soc/fsl/rcpm.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt index 5a33619d881d..31e22f092b51 100644 --- a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt +++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt @@ -34,6 +34,12 @@ Chassis Version Example Chips Optional properties: - little-endian : RCPM register block is Little Endian. Without it RCPM will be Big Endian (default case). + - fsl,rcpm-scfg : Must add the property for SoC LS1021A, + Must include n + 1 entries (n = #fsl,rcpm-wakeup-cells, such as: + #fsl,rcpm-wakeup-cells equal to 2, then must include 2 + 1 entries). + The first entry must be a link to the SCFG device node. + The non-first entry must be offset of registers of SCFG. + (Currently only support SoC LS1021A) Example: The RCPM node for T4240: @@ -43,6 +49,15 @@ The RCPM node for T4240: #fsl,rcpm-wakeup-cells = <2>; }; +The RCPM node for LS1021A: + rcpm: rcpm@1ee2140 { + 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 */ + }; + + * Freescale RCPM Wakeup Source Device Tree Bindings ------------------------------------------- Required fsl,rcpm-wakeup property should be added to a device node if the device -- 2.17.1