From patchwork Wed Jul 31 15:04:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13748875 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2D3DC3DA64 for ; Wed, 31 Jul 2024 15:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=60KRb2GKTzaPOVBx0dWjAp9lQc9Vt9jLYjF5/7sfktI=; b=0kKKr8ACr7ySet4fSyeHf4H0F/ 8Y0hm55aXG+A1Y8dAZ9OLnX7TPUG7vxR8Iu5vQNRW4UA8i9SFea/tw/t78NTDx0jrtgnc10nrWAuI SgieTg8AaWaxSkHo903n9vXn/njvljxVcY7YBscsOPmb3viDASx6CBSgWV7EMa0w/9B4+loOffWsu Cf9vOraC5J7mO66pMzk/RqjcruzJiqN+S6Rk5rOltoNShXj7KSc/keWmyl6j7g30QcUb4dPAuuLgn E2USz9eU7BpOt365RHMLWL6GlmKUKqVXrdF6LWY8wDmodz1XauGJYTyb9fRdItIhJ0+V00ZAYqZhO ylpkYIkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZAt8-00000001c8p-3ySp; Wed, 31 Jul 2024 15:05:14 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZAse-00000001bxc-1BVO for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 15:04:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JfPJn39UDSJQpl1oP+JnPlRunRonc1Y/unhcLtdEI5rJE7LMhdfb2wm13kDyEKtywbqd74PfE17Uo9btOfmOJftmoI/SDLjWTIi51xaxJBFZ0An+4jCqNDsGKj/a9xv8UDm1efKi5a2qHV0tescVg9cVO0DBPUhRjCJqQ4H1eYHGX3auT6K59TkAAIMLF3M01hHCpkIx+peFfvFFCBmOgPzhu0hFh7/p+VNbPxE0HlcvO/LbH6ksx7yI5NwjaJjGUK6hR7aEwzyA+qEfPm3SPTQwhAIuRFbJzFtjpVGW39f2AkNQyfAb3+dVMXbMEM6s6cKSd0eYg9JH2O0CL8sADA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=60KRb2GKTzaPOVBx0dWjAp9lQc9Vt9jLYjF5/7sfktI=; b=zJcZCwpJRn8IYf0Y9FN+1YV5IWr7+jkHCNyKRnjHtOqzRDPXX8fvOgqPd9kRCTNocnCruXMRoEMg7gigwB+Fmp54+NUCcgAmTNjJu9n9RNEMK9g3nrMO1fHyMmjmlIofIb+a0ghsl0VQDvSB/nLczIZGpVwTUih3rzo4wkwWpKphDncBQa1ihlw3FH/V+402vCd0oaMorJKi2zp+aj+lhdl8NahwZmzbE1ULBzNmN+Y58ygNQ0+kcAOgPUaAoKn4J/mfj5BbfsCc3/SlietIlfg3QVAG0ZO3soFoVzQhHz11mQYwJk7q1BgDgHOSZn56IorFD/j9infGBataXmmYyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=60KRb2GKTzaPOVBx0dWjAp9lQc9Vt9jLYjF5/7sfktI=; b=NtNKPUreOwSgiqtSbSdCgdg3zr5oBxztNnEI02xWjd6+Px3VtIckL/8jJaj5JQuWuc3F470mL00oKX/om3HniKQc3HinuvY9xLRewxI2fTnqxvf5cYitV7yyqbwNaAg0WJcjfN1T64SPvqyk6hZhIvf89bbQPJ/t6FCds2r0dQPKLP7pM+dTwf6WGk7vpIXaJhWuXsC2h3dw3CGK4vkWsMVjNesNqMz2zofv4fCdxLm306vwWExBlXbDUGCA4WnMLmv6Gk7eWkiWjKUah1XBvHHlZC3w/5CARi/bDGX01PEGaUKNpzi6/F7SmgnD87UeQn6Uz3SBLDeNxoTHMyU09g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB9092.eurprd04.prod.outlook.com (2603:10a6:102:22a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.19; Wed, 31 Jul 2024 15:04:38 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7807.026; Wed, 31 Jul 2024 15:04:38 +0000 From: Frank Li To: robh@kernel.org Cc: Frank.Li@nxp.com, alexandre.belloni@bootlin.com, christophe.leroy@csgroup.eu, conor+dt@kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 1/1] dt-bindings: soc: fsl: Convert rcpm to yaml format Date: Wed, 31 Jul 2024 11:04:20 -0400 Message-Id: <20240731150420.2217925-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR08CA0005.namprd08.prod.outlook.com (2603:10b6:a03:100::18) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9092:EE_ X-MS-Office365-Filtering-Correlation-Id: 79408280-ec48-4f66-9b82-08dcb17218f5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|52116014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: jqQmIFyFOKVwxeuM8RtApPrY0q6x0pOPvQay4bncB+UK3k/mAccQKPVO1BQky3bpumJ9LCp+SoJ0O0m8pyCHGwZMba+TpIo+rxtrWBTCfaLRDqiukDrk2vc5XMCVTqRQ1nMSkYVgMcWNPFWPJkK5bUOw1IzhGBpSQc1Ha61rn0i4tEJ7w2HKUf8XOXBtG/S/hP2NBdhPqUPe/vKYkHPEeUMnBubb8OOpabOQKuyqzRP7LBFftKfixsLDlleIMTZ+r9k+V2YJ0WRe0f12zAiHBGPoQbA8RktoBSTRNfwMHKRDa0ArGT1+D2PSP4eWY2FWaPGOTDTB6F8XHA26AhcC9bHIgImByepBiaxk7HGP1uvWGgXq97y+5KaNUbji8oTVCdQCEP+3OX4A9vMxm8tNbhyFgfNWHZVzT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t+DzV0It3f7Ym/41A5/sb/1juDoV5JXJ2FngJcuKXO0FvKKDyJP07knrws1lN3gOzq3XG3aQ7BZkdApFr6LGfDQHODM6Fks6hYt7CHs6giWQrPK6hhDzqYUHwWHWTysyrgYL2rj7MO0GADK22UA/Xi84mWtxMtFyl/IPUXkuXfo72HUlWrohuM86ekBxc1OYdjkWR2vgxMQeANfsPIUEUvKP9SSzoS6Dkgfa9RwJE7396szPAf+ZHoC/NFD0PQJFsqtBMpeqVt96JYjYLFxjfPgRc1fmLlEN1DTeiij/2dsCHSk3m48pK1h9pW5jTqsVbxs0YpJc3G4u1Oj46C3ILmFnNNq6vedZwcd/xiQaNV2OBWhF2Kk7GupxjKN8PiwLD4u9cnfpc6tOePFtwzO/Ur0p4uWVAwP/+Bx5zzrKHtzO9cOQOyBOWudnBmUlLw/B5tnQm6L7PXFeqlnChMEwH9Wxh5SaQKkSDVHF53IXGUmiGiz/yGdltDqL893yzN7qPVz3JOLfZoD1iFse6544z0qg39Y6Fdex3g1LJb8Rsx7BnOeKnAxYCHOGu0CLD8osx+SrQ/HbpoUgluRV+YId5BOypbh/dMhu2TNMCIH2UnyzFvG1XhbxnvE= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 79408280-ec48-4f66-9b82-08dcb17218f5 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2024 15:04:38.4216 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: SYVPB8Qn6vhxnrP5TNZbya8fhYFNBTs3kUyEcUCKvNpmvmicMjZbW5YPs7GKDwVYN3TC6nSMpyh10OBUGOuq2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9092 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240731_080444_512689_FDEB72E4 X-CRM114-Status: GOOD ( 22.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert dt-binding rcpm from txt to yaml format. Add fsl,ls1028a-rcpm compatible string. Additional changes: - Add missed compatible string fsl,-rcpm. - Remove map fsl,-rcpm to fsl,qoriq-rcpm-. Signed-off-by: Frank Li --- Change from v1 to v2 - add missed compatible string - Remove compatible string map table - use oneof Item to align compatible string map table - Fix typo 1045a --- .../bindings/rtc/fsl,ls-ftm-alarm.yaml | 2 +- .../devicetree/bindings/soc/fsl/fsl,rcpm.yaml | 101 ++++++++++++++++++ .../devicetree/bindings/soc/fsl/rcpm.txt | 69 ------------ 3 files changed, 102 insertions(+), 70 deletions(-) create mode 100644 Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml delete mode 100644 Documentation/devicetree/bindings/soc/fsl/rcpm.txt diff --git a/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml b/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml index 388102ae30cd8..3ec111f2fdc40 100644 --- a/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml +++ b/Documentation/devicetree/bindings/rtc/fsl,ls-ftm-alarm.yaml @@ -42,7 +42,7 @@ properties: minItems: 1 description: phandle to rcpm node, Please refer - Documentation/devicetree/bindings/soc/fsl/rcpm.txt + Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml big-endian: $ref: /schemas/types.yaml#/definitions/flag diff --git a/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml new file mode 100644 index 0000000000000..762316ef4d150 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/fsl/fsl,rcpm.yaml @@ -0,0 +1,101 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/fsl/fsl,rcpm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Run Control and Power Management + +description: + The RCPM performs all device-level tasks associated with device run control + and power management. + +maintainers: + - Frank Li + +properties: + compatible: + oneOf: + - items: + - enum: + - fsl,ls1012a-rcpm + - fsl,ls1021a-rcpm + - fsl,ls1028a-rcpm + - fsl,ls1043a-rcpm + - fsl,ls1045a-rcpm + - enum: + - fsl,qoriq-rcpm-2.1+ + minItems: 1 + - items: + - enum: + - fsl,p2041-rcpm + - fsl,p3041-rcpm + - fsl,p4080-rcpm + - fsl,p5020-rcpm + - fsl,p5040-rcpm + - enum: + - fsl,qoriq-rcpm-1.0 + minItems: 1 + - items: + - enum: + - fsl,b4420-rcpm + - fsl,b4860-rcpm + - fsl,t4240-rcpm + - enum: + - fsl,qoriq-rcpm-2.0 + minItems: 1 + - items: + - enum: + - fsl,t1040-rcpm + - enum: + - fsl,qoriq-rcpm-2.1 + minItems: 1 + + reg: + maxItems: 1 + + "#fsl,rcpm-wakeup-cells": + description: | + The number of IPPDEXPCR register cells in the + fsl,rcpm-wakeup property. + + 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. + + little-endian: + $ref: /schemas/types.yaml#/definitions/flag + description: + RCPM register block is Little Endian. Without it RCPM + will be Big Endian (default case). + +additionalProperties: false + +examples: + - | + #include + rcpm: global-utilities@e2000 { + compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0"; + reg = <0xe2000 0x1000>; + #fsl,rcpm-wakeup-cells = <2>; + }; + + serial@2950000 { + compatible = "fsl,ls1021a-lpuart"; + reg = <0x2950000 0x1000>; + interrupts = ; + clocks = <&sysclk>; + clock-names = "ipg"; + fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; + }; diff --git a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt b/Documentation/devicetree/bindings/soc/fsl/rcpm.txt deleted file mode 100644 index 5a33619d881d0..0000000000000 --- a/Documentation/devicetree/bindings/soc/fsl/rcpm.txt +++ /dev/null @@ -1,69 +0,0 @@ -* Run Control and Power Management -------------------------------------------- -The RCPM performs all device-level tasks associated with device run control -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", - such as: - * "fsl,p2041-rcpm" - * "fsl,p5020-rcpm" - * "fsl,t4240-rcpm" - - Chassis-version strings are of the form "fsl,qoriq-rcpm-", - such as: - * "fsl,qoriq-rcpm-1.0": for chassis 1.0 rcpm - * "fsl,qoriq-rcpm-2.0": for chassis 2.0 rcpm - * "fsl,qoriq-rcpm-2.1": for chassis 2.1 rcpm - * "fsl,qoriq-rcpm-2.1+": for chassis 2.1+ rcpm - -All references to "1.0" and "2.0" refer to the QorIQ chassis version to -which the chip complies. -Chassis Version Example Chips ---------------- ------------------------------- -1.0 p4080, p5020, p5040, p2041, p3041 -2.0 t4240, b4860, b4420 -2.1 t1040, -2.1+ ls1021a, ls1012a, ls1043a, ls1046a - -Optional properties: - - little-endian : RCPM register block is Little Endian. Without it RCPM - will be Big Endian (default case). - -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>; - };