Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp204122imm; Thu, 30 Aug 2018 20:57:02 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZbcb7GAV+S2cBe1R4hFAN3rpERqAy0LGalVeBCFdePVURZdPGrxx9IGEvVhyurPpNxmBka X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr12853932pgt.164.1535687822338; Thu, 30 Aug 2018 20:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535687822; cv=none; d=google.com; s=arc-20160816; b=UI4ooLz+neDfg1UtsHmrKxtFr4itr/zvNJv2eC51Bs+jSX6OA/SwBtilCsH3EQWvn9 gCOzjCywYs9dPwvFHofWM5ivTmvLbRjFsKaCEX4UZCLJmj0t9hFJhyuA3YWv4T2HP/+i X1Oy1vQK005leuCyA3ug7fY4cWJHR14fsJYwrOy+qcBbayM0kxF//8yTaalhlyvx1xlt acF7rMSdAi72h1dAfgA4MhUWWVh8aZBvP4d4yGSGWM3Bnt2ie6piNyPd+bb3bGfANQFy 3pG4ZgoV92aVcd7k4/WgX32+uJhu/wPI9mivp0BO2BbG1A+v1XIfYm5BR5XOw3Bspq19 0Ktg== 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:arc-authentication-results; bh=Y+Kgl/lPGjbotn7J8o7yeiEugcLiwN67JHTYsa6NGW4=; b=UeH6pJcNtoi37Z4id3IlfRnksCWl3dyaxhQyTb5KH1QMYRtr19+n2YSlGo3oJqaQ3x gycEb2/kRqFCiMpcpzbLy1xnMZLPuSPeW1b3wOXu+Q+QVBIsqcLWRzD8ZVZsZ24tW9Mn ILbvBx9PRVU3NBk/Cv+fcejeFAFw0QDNIIJ7USIjWQrBvMkg/JTWAPDqq41cleT82qTg OiIUCfVxV1pQ4jSuJPzmbK0SWKX2kU48Jh1gXR/L1CsIwNpG0LqKe4HUB4bLLZLMHAvA A1HVwjeLaHcGAMd3K6vpCNVWUCDtmbLgAPtyuqW3z57tQK6oxAGM/aJH//8fm+SqzZuh V4nw== 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 g20-v6si8455319pgb.239.2018.08.30.20.56.46; Thu, 30 Aug 2018 20:57:02 -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 S1727356AbeHaIBE (ORCPT + 99 others); Fri, 31 Aug 2018 04:01:04 -0400 Received: from inva021.nxp.com ([92.121.34.21]:46368 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727098AbeHaIBE (ORCPT ); Fri, 31 Aug 2018 04:01:04 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 22584200075; Fri, 31 Aug 2018 05:55:39 +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 5D5DD200063; Fri, 31 Aug 2018 05:55:35 +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 60E0B402FB; Fri, 31 Aug 2018 11:55:30 +0800 (SGT) From: Ran Wang To: Leo Li , Rob Herring , Mark Rutland Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ran Wang Subject: [PATCH 2/3] Documentation: dt: binding: fsl: update property description for RCPM Date: Fri, 31 Aug 2018 11:52:18 +0800 Message-Id: <20180831035219.31619-2-ran.wang_1@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180831035219.31619-1-ran.wang_1@nxp.com> References: <20180831035219.31619-1-ran.wang_1@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 Add property 'big-endian' and supportted IP's configuration info. Remove property 'fsl,#rcpm-wakeup-cell'. Signed-off-by: Ran Wang --- Documentation/devicetree/bindings/soc/fsl/rcpm.txt | 42 ++++++------------- 1 files changed, 13 insertions(+), 29 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt index e284e4e..7fc630a 100644 --- a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt +++ b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt @@ -5,8 +5,6 @@ and power management. Required properites: - reg : Offset and length of the register set of the RCPM block. - - fsl,#rcpm-wakeup-cells : The number of IPPDEXPCR register cells in the - fsl,rcpm-wakeup property. - compatible : Must contain a chip-specific RCPM block compatible string and (if applicable) may contain a chassis-version RCPM compatible string. Chip-specific strings are of the form "fsl,-rcpm", @@ -27,37 +25,23 @@ Chassis Version Example Chips --------------- ------------------------------- 1.0 p4080, p5020, p5040, p2041, p3041 2.0 t4240, b4860, b4420 -2.1 t1040, ls1021 +2.1 t1040, ls1021, ls1012 + +Optional properties: + - big-endian : Indicate RCPM registers is big-endian. A RCPM node + that doesn't have this property will be regarded as little-endian. + - : This string + is referred by RCPM driver to judge if the consumer (such as flex timer) + is able to be regards as wakeup source or not, such as 'fsl,ls1012a-ftm'. + Further, this property will carry the bit mask info to control + coresponding wake up source. Example: The RCPM node for T4240: rcpm: global-utilities@e2000 { compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; reg = <0xe2000 0x1000>; - fsl,#rcpm-wakeup-cells = <2>; - }; - -* Freescale RCPM Wakeup Source Device Tree Bindings -------------------------------------------- -Required fsl,rcpm-wakeup property should be added to a device node if the device -can be used as a wakeup source. - - - fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR - register cells. The number of IPPDEXPCR register cells is defined in - "fsl,#rcpm-wakeup-cells" in the rcpm node. The first register cell is - the bit mask that should be set in IPPDEXPCR0, and the second register - cell is for IPPDEXPCR1, and so on. - - Note: IPPDEXPCR(IP Powerdown Exception Control Register) provides a - mechanism for keeping certain blocks awake during STANDBY and MEM, in - order to use them as wake-up sources. - -Example: - lpuart0: serial@2950000 { - compatible = "fsl,ls1021a-lpuart"; - reg = <0x0 0x2950000 0x0 0x1000>; - interrupts = ; - clocks = <&sysclk>; - clock-names = "ipg"; - fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; + big-endian; + fsl,ls1012a-ftm = <0x20000>; + fsl,pfe = <0xf0000020>; }; -- 1.7.1