From patchwork Wed Jul 3 18:08:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13722674 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 8ED78C2BD09 for ; Wed, 3 Jul 2024 18:09:04 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2WFoiVMxzk63U6c2g8X8aE/EZVcqit6RvXoTMGmiOJk=; b=PTdazeNqsoRIWpnAZwh2nscGdi k3A/YYFQ21W1f4fcLZsXBMCGumbNaCgqfQijEtqgkOmVTfpt5MS1Q5GcoLvTniXemwdwe6TZpbMX5 gA8P7Sh6wI7RKIPf0E3/GKXfLkIhllE0N6xc1rsotUMDGy7D0GJsnmpuKp7WrmwENeDYpgcNThshF G2AbQhbgzTCjkpkuWCZCalolQy6Fwira/LB97GAQj3rkuD5hCd7NKINtUUsTOKrpBlO6Bdw1BraGO yab6BsTNlyuFXfNUuLEQThgJgr2tQiIgJY0WfzE9E1uUr0jEtiBERX5fYYEEuJdFSA5Wn9dvaBmvC OUiba1tQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP4PR-0000000B7Hj-3Nv4; Wed, 03 Jul 2024 18:08:50 +0000 Received: from mail-vi1eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2613::600] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sP4P6-0000000B7Au-0E1z for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2024 18:08:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V0n8ghIxFNqReS8eGAZ6VXJhZaVu65+dm63vQnfxEl8Asj6y2LW/KhM1YD9i9wm1G5V52KAik8IMaHAi645uuCU5MyLiDdNluQByh/XolBNxBbXkExL2++LdQgutFMwPMEpMekxwZ7U+L5QsqWAPQ4KufVInQmHhAgxBCyEJo1RzFg2xl7t6cpWci2fq455PyoRj8YxCmFqa0XoEKtEDhlY2MvbwWKUj8SAjzjw1vZkNVQOHHAVUDBn4hpG5BUpKtvcAoA70Lp/mAZbw1kMJkMyR3G6Y5mRixBCjExLEx1t666jNceIrI0XnZjz0iC83r+wU25wXMIQxE6PyV4k+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=2WFoiVMxzk63U6c2g8X8aE/EZVcqit6RvXoTMGmiOJk=; b=l6tGUDxZdzGLW9xAmWvsXIXD3SeRDY0tqpruDrln7wt8cEHmESVIk0dGDUpkcWkyz61SdrXYNPo/PScgauYFPKTjEnoewxZJSDsMwbBy4AkuVepD70T6KoF0zDO/1ZQTmTMEVHEKK6UWOF+oEBE49vBr/HdFd9GeAE7XfOv/jzV47XwiNS+sVTvLq3TkP3C49EgPwYZxYfK61CADLDiAp6g65ZbAquobjlC4nSB1vcufGAKdYFBgiECt79JeJwihROgk9X6j6GExTJBwJdQwSW5I1MSsWz8UWBqo38S1py0PF6kwEraPm+FoVmAoUt5NfRN7wXLzgkhjMjY3B4LJeg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2WFoiVMxzk63U6c2g8X8aE/EZVcqit6RvXoTMGmiOJk=; b=XyeAzVUoeh0u1EtVGqCpy0JBgK561OMH5J2I/RDCu4Gs/uXM8macJUDUQOPHET7+/uf1+5+KkzFrA/zpwQNIb3nxmF0Q1P6CZJDvMZkygpVc/j8QPr1Gf67KdHDwdjwUWrDtVpGI4eIkf5tgFERaSvWcMFoSeIpHiO04LSu95QI= 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 GVXPR04MB10111.eurprd04.prod.outlook.com (2603:10a6:150:1b1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7719.32; Wed, 3 Jul 2024 18:08:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7719.029; Wed, 3 Jul 2024 18:08:24 +0000 From: Frank Li Date: Wed, 03 Jul 2024 14:08:11 -0400 Subject: [PATCH 1/2] dt-bindings: soc: fsl: Add fsl,ls1028a-reset for reset syscon node Message-Id: <20240703-ls_reset_syscon-v1-1-338f41b3902d@nxp.com> References: <20240703-ls_reset_syscon-v1-0-338f41b3902d@nxp.com> In-Reply-To: <20240703-ls_reset_syscon-v1-0-338f41b3902d@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1720030099; l=2033; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=qW1hSFXT1qGrZSRciF7udZ1srolOq6juGxpnZygHLzI=; b=MTiSzFBxSNm434D/zLyYbzCcRQjVC/il5xA9QcpXOMD/3Hn18CgV2HpwjrgCnhzz5WfC4RRFv 3CoWWXPKgYwDMgDM0FMOjdyxROay4FycpuW+8WN/9LbJ/hQqnAyxBY/ X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR05CA0178.namprd05.prod.outlook.com (2603:10b6:a03:339::33) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|GVXPR04MB10111:EE_ X-MS-Office365-Filtering-Correlation-Id: 0274bf82-b700-4493-54d2-08dc9b8b21b4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|52116014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?V1V4l1eZuELK2x+l3qPlP5dtFxYo3Ro?= =?utf-8?q?i+z0ydiMLOt+a98nBpheSIbQd2ygqoGhT9o+w6yj6wqaOlLt1y/gft4P1xVfuCZze?= =?utf-8?q?qIRuT5bJR3vDBGOU8O8+o8KPrNoNYfUF1p3vBigauhHHM1Y04PWGhFs36UneJn4yn?= =?utf-8?q?kgd/iiAtjN34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/2iX5KPsiQyHayGF+v5IZqiYImpDXMh3VSikO9/eD2wumkAlMuMNJ?= =?utf-8?q?KGMyDzjzHsg+AjAfB8ZIRcYvR2wizMlb5BfzEhcK/0QU1cJdMKzzy5UMXNkTLFDss?= =?utf-8?q?zwW57HEAhF1W4Fndv5/2VGzbMxV6ofltVBv7Xj0cqfdB7bPzS+qIYNlNiV401yIJ9?= =?utf-8?q?mrWtPXN3iA/IrJwHX2ZbCImxlbPrR4fU1odXVKbfoQp+DTe68PvxSxbd1rsAumX0I?= =?utf-8?q?xcXYxo+qZ3JnBhOve+sC+Np3s+KRj+6Pzk+nrAj5IF6xOWLWwvYL5dK4=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(52116014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?jf5+pOCUNp10udQ7ElzizjOXLTcH?= =?utf-8?q?6kyodyAgK51Bwzs3B+k0LRTRLDld9O7TeABf6tOCGgnWRInnV4J6rJQGk1Y33PJQZ?= =?utf-8?q?SkGgZKdc3kJMZX8mSKEv3GtqGsf1sGjsOClKjuz+xIg46WKgqhBxWJrqm+CLFdeXZ?= =?utf-8?q?GOCb7uVcHCstlQFsGdR0FPrO94a89gKG6taCt7Br6j0+I0+O7ZOaxic2nbB5xkEC8?= =?utf-8?q?CEz7UNsvWwTD1SO/wiaTYNZtXSKOLLs+AaATid01PKbRc32lqtcdo4Gg4i1Rj/dJg?= =?utf-8?q?kjenhb4DB1CGYuesruZ20fP3Bk3Hvd/OyJY6DrwyTcsLK331vKWtMLm7PNYAOUiFE?= =?utf-8?q?MANkdvF6k3AblzbS5eaw31yibhU5/qIJDzmGXW2KQ80AKfNV1Azd8YIT09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pRVvl5mvStjv1Jdh5YI?= =?utf-8?q?m0pMiZxAgQ5h2kJYjTGZsrG1vXnSWj5LJX6nanGyltN7kgyLyQcx6Ys3d/3dm/GGp?= =?utf-8?q?9hT+nGUJlBXjwFX97bzW7sIO+vT2EkXmgWiWPIrcGkR5k6lSvJip9NcsmpM08/S5Q?= =?utf-8?q?9VqsHl7gLX5Wq+yvOGv7DwTsFN79YRm3vyMBAg0Fbi3OhkfD1rRNs68Ji1gnIWAta?= =?utf-8?q?IfxO9hiEGG7EVQfqWnj6leYLt9DDoFSPN3fRP2YWgboe2mhrSosKPWMcs6vknFsMr?= =?utf-8?q?cf3aTMiy9L5i?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0274bf82-b700-4493-54d2-08dc9b8b21b4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2024 18:08:24.8932 (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: AtTuy1WKP1iny3iDLnkGP4KKWP8tyQ8yBSnD6eZ9/WoB4SagJmPdcyd01GrL8E4JjbzZQjiw2Y+xk8dzlleWfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB10111 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240703_110828_136169_75CB58AA X-CRM114-Status: GOOD ( 12.39 ) 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 ls1028a has a reset module that includes reboot, reset control word, and service processor control. Add platform specific compatible string to fix the below warning. syscon@1e60000: compatible: 'anyOf' conditional failed, one must be fixed: ['syscon'] is too short 'syscon' is not one of ['al,alpine-sysfabric-service', ...] Signed-off-by: Frank Li --- .../bindings/soc/fsl/fsl,ls1028a-reset.yaml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml b/Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml new file mode 100644 index 0000000000000..31295be910130 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/fsl/fsl,ls1028a-reset.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas//soc/fsl/fsl,ls1028a-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale Layerscape Reset Registers Module + +maintainers: + - Frank Li + +description: + Reset Module includes chip reset, service processor control and Reset Control + Word (RCW) status. + +properties: + $nodename: + pattern: "^syscon@[0-9a-f]+$" + + compatible: + items: + - enum: + - fsl,ls1028a-reset + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + little-endian: true + + reboot: + $ref: /schemas/power/reset/syscon-reboot.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + - reboot + +additionalProperties: false + +examples: + - | + syscon@1e60000 { + compatible = "fsl,ls1028a-reset", "syscon", "simple-mfd"; + reg = <0x1e60000 0x10000>; + little-endian; + + reboot { + compatible = "syscon-reboot"; + offset = <0>; + mask = <0x02>; + }; + }; +