From patchwork Thu Jul 7 12:50:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Viorel Suman (OSS)" X-Patchwork-Id: 12909542 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 7B17FC43334 for ; Thu, 7 Jul 2022 12:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=qsic452KPBphiiJrYKof6WSkh/+inSnKZBYCKOj5/XA=; b=h4k889eT4GIxbv SJaCsDMH6tmzugFX2tRwL1C2Tryc7YqLzV4AHJ4w+8DBRisfXxEAzume3wzZNdO9GtE8Bg4emg3CE 33rct4hB15xlpK2S1LF/UDbxpoElUeDRILQOZTu6z/LFCpakrY04Qz8FsCGBgeHw2dSS+txSP0hR+ 621SMVv0N2/sGZeNwT6RT6himxpTPIacm8R+/PJ5l8Mi804X/tjuDQ0ONyH3mEO9TXHZPGoUTvmq/ VEe+1rzlzg62YwLi1CXvqkmHBhD6y8Wp+7conKIlXi1wXTOji6yr5dkMHEJG9OvMmcQHJ3BNsPath hqC4gmQeXdpXihpan6KA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9R0F-00G4ET-94; Thu, 07 Jul 2022 12:53:08 +0000 Received: from mail-vi1eur05on2041.outbound.protection.outlook.com ([40.107.21.41] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9QyO-00G3DS-Qq for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2022 12:51:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CYMwxQKcimMN8j2uI4XCBODmckp0fF5/tlGkUeyHJ58GA6fXszJ4kv9k+NfGxr5F98FuaAtgcRGxfnnnlRWUJCYITtTU14zmYUKev9uyRIRU9r/XmtPk4T4ouYGdCvv+vaHpwa1C1msSqW/Nq5C5JCZycxaqvh4Jo5mFzIcKC+weY2L9PTun/XJZ360N8cxSUcN6x2SNj/L7Z07zeNe9Yi6d5SQIciB4seWu2OLbj31VLxP0Q4zTRgzeGiE67k2EtWM9OwFQL/kZ8r/EqcAlHoEXoPdsfdjRMBIj842+j3pqiI6OXuhEmZjr4JzkEtVxbONIb6xFmjrvSwv9ccLCgA== 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=ajmS145l2hraJV0hvsPvp7Rtw7WtNorKE0MuE39VJNo=; b=OJqbsc7xWDitmPlBHWsZwt+gUCkSdA0VWQRDlvSzvQyBJiHkHBuWnE621/AQw4x6jQq+3NXqpkPQ2amnnq/EazPSN+vsa1hiq2mzwQ8jZ28XACmhZ5MYJNXqyAechh655COYZlbtEUkmowUj8cOi/aB0tCz3Jz4DhVYkZ7SbRembdA/2nbIJKXkrc7fWueC5kK6FoOLjHY7Mgo7GO1LQHATSnKyqsSAGx2JNS1UaDL7+qAwPA/Ck+g8f3YEhr5oH+pY21+nq6z64iGCgc+sT3vnVdWGW+o7uMQEOk3uZt0ZdkfXtoYxp0B8ol/+/GjyM0ipDRbay1JrBMOBl2j7ilg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ajmS145l2hraJV0hvsPvp7Rtw7WtNorKE0MuE39VJNo=; b=WRUFipZYnd71YQ/66xAxcJy7XJKw0fiHpygo71w5+8Cc05uAWtXDldMLGMIpd7t3VGDCO+u4AiBM9hf10D6Wk6Uv4dsjEbyITTcPzpJHM7F+xenXOB0UV2YFzZMZCXDa7n0DLDdWStHJvT88RWK07IqGmc0/2zcKonHbAN+M77w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by AM0PR04MB6418.eurprd04.prod.outlook.com (2603:10a6:208:169::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Thu, 7 Jul 2022 12:51:10 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f%5]) with mapi id 15.20.5417.016; Thu, 7 Jul 2022 12:51:10 +0000 From: "Viorel Suman (OSS)" To: Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Viorel Suman , Oliver Graute , Peng Fan , Liu Ying , Shijie Qin , Ming Qian , Mirela Rabulea , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Viorel Suman Subject: [PATCH v8 06/15] dt-bindings: rtc: Add fsl,scu-rtc yaml file Date: Thu, 7 Jul 2022 15:50:13 +0300 Message-Id: <20220707125022.1156498-7-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220707125022.1156498-1-viorel.suman@oss.nxp.com> References: <20220707125022.1156498-1-viorel.suman@oss.nxp.com> X-ClientProxiedBy: AM9P192CA0026.EURP192.PROD.OUTLOOK.COM (2603:10a6:20b:21d::31) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c93cf305-4ef8-4e1c-8e50-08da60175dcb X-MS-TrafficTypeDiagnostic: AM0PR04MB6418:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q2Z+HISxK2EKFtLcCQ+NGVm+7njtF/qlFgYYccxw2KhjDll7aIA9CFGukriIvvWdHCDrCf+TyEmbdb7jc4Fn4TTNK9EkMLeljEx/ux8U+/0NTX6JGBBCVStCjuTCpq+SJ25vJrK4hR98urVFfkvdulGErvgTQw+c9I0T7ckLL33wPKomH7hmsE6Y7TLTLU65xcGJrPz72d7TCZEVz/ikhNoIpkItDN6gtu+SfxB4hnyvQHagMigx4Dyz6ZgS5eZtKNT3zhOJIds216NpRDNK/We6Q5M8+G8pFIm/uqR6uLzMwQP+iJ/5Ayz1PjXzpOGwMXueGW/PzBX4JdgXkSFT9vfDE27KHM74Ze6xIS+mpJv1zi0jiXMOIV0fA4Vh5vTHMX4IdIavT18KBLfJdrmOtUC/bDAhYppTqGAxzVa6gwb0Hme2JV8Q+2n1FzrWzjv+4PCGNVyidVfeSwBvM9B4C5wQq+7fphTDHuqxEsPwC6yOmI94JgH9Q1QrDy1pEXNSTRZdjbG0hv38+ZAFmyngH6bwITUrFBCEr7jNicnONojgXCzRz6YnkOAoYYv16LVQcZn1sYC7QU4h3x4ORNYMF8M+3Ojxhe8pVSGbZ/jt43nOgzAFPueR1yaJpvbstQ3qBOae02Lw6fEdKLWKXXROhO+apYNzh/fHxMNiJYwTEobbHV4ofWuIOsh3WVNnk8hdi5U6Yoh2a5tmteWBPA0mjcJfy00iYJv19fXWJQ+G88TQBqraa2NurwPOi88kdK0sg7tbJcGwTgbs5Y96IoUDuwko6dJoU6KUY5BNC7OBzztOIqOzd7RpzsSzgnPoR0wnMJJiCICFd03jHEy6MF+585AVKQp1azXwCOSSB9VqIYmE4U4rWXNLDFEpQ1fHBniA4vd9y7/ewYIHuYZrB8zNfA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5005.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(136003)(376002)(346002)(39860400002)(366004)(86362001)(5660300002)(966005)(38350700002)(6486002)(316002)(38100700002)(2906002)(41300700001)(7416002)(478600001)(921005)(7406005)(66946007)(66476007)(6512007)(66556008)(8676002)(4326008)(8936002)(186003)(52116002)(83380400001)(26005)(110136005)(2616005)(6506007)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?rK0s0H78JX5yeRn2qVXSd7j?= =?iso-8859-1?q?MVJ4485R2xK22hks0CHPqwPaSLhtyd4Oe1MGSoip/t4qb3jCwo5+83I7Tkvd?= =?iso-8859-1?q?DHbq3spf5rBC99ZEtRmOX4cTB3wJjP5Sox4ApPt4uMiObdav67gMOE5Afd5j?= =?iso-8859-1?q?LGRW3KLYyY1I3oUDl7niVEL9yZ5iCffiQR2YYqkwzNqkQMAD9TiurVbsbztK?= =?iso-8859-1?q?Gru1455uCDZJ8TnMn0jjN+YLTtxGN+blp9aD9FDwrqLUYMQUxSFoYOSK64jj?= =?iso-8859-1?q?dllK5YHUIZ6dgzyskOus7y6v7b5vBDwkISMymHeoS/E377anYZcr37asIxkX?= =?iso-8859-1?q?vNAeARoonY7gL9c4lHDoRujQQ9+a0dLFYWRZgYGOqeaZTaNipf5wRXb4JR3P?= =?iso-8859-1?q?HOaewnkmGtNwkOrCYji+mS2NmdmyZNtd++GA08fmrFXmgyoSmn4hyo+5BKwy?= =?iso-8859-1?q?pRuSWh1qAE7wEUYY8KJM9pmbMlDsE2vX9iQAOmdCUfQfIWiyeC1zfDbMqviP?= =?iso-8859-1?q?Xoc387y4q4OsvICIgcUlvOmoGvjuQJs+sRXEyddSN/IkuWzXIt/QP7cVjTMS?= =?iso-8859-1?q?AvHSotXSLDfbuvktodH53Py3oPtz4mZed7KsWVJ8s2ztw1iEJGmc0NHP3Fwp?= =?iso-8859-1?q?ABH8bkpkdHD/VBpqyh2rTM+MHR2FoNqXzqP/Ds7W07jBPVXZu99TOTDbpsW+?= =?iso-8859-1?q?yeaxQRtdbiGOoK4ugU8jHdoBq2gIE+Z+oD0jhSL7KjFUUhwaK2eIEbPOX/qB?= =?iso-8859-1?q?8Vt4uQPYUwM0fIf7av9jk+wbk169ZdBMqf9UwyF/JjzEQuzsxbT8t4dexh4v?= =?iso-8859-1?q?k8I5c3z2Froqy0zhYd+mzcqfFFAZqs8LPuB9vfgUSuOXFzxsIDl8ssVYQdm+?= =?iso-8859-1?q?c79lW29BkQJvmAJ8JgO/5815apfeckrF3E1TGJH+XFGSMKFcPT5Yx/HN5LIW?= =?iso-8859-1?q?R14GaYV9N+BHJdhk2P9Xxz3kpqO/gjgUfQV3pncawfCJBZWom+G6vBEsmcNj?= =?iso-8859-1?q?TrtOsr4nhTJ7NqJ0NvpLq72dM++H2GfeLCsk1FIZCIiXxdBt/CUUsf9bL2pj?= =?iso-8859-1?q?SgnZh98MsAqiNrB2BIZqYKtwFtZC3yf5eUoDQzAQP8VHdO8KQIO9VI0jCLjF?= =?iso-8859-1?q?zEg56KSfWokB2OdZaSxkT6c73vXDQhpZGfYmxG2nXxAfPGZET2dnbD5sXIvv?= =?iso-8859-1?q?V7p1pXu7HOjHY123a0c5FQyezAOoiN8t0O2VsDKFM1rGrMq78tdDeKwdhNIX?= =?iso-8859-1?q?UZRDl52lk7QU3I/PKgNz2os7rgbJfRhRVxdivo8gK60MCKMl356x9fOKYf1w?= =?iso-8859-1?q?1dhf4wX6Nf4PpBtGlIpSa1z5apwowfxaF15X0Tom+o6vpbQpBFog9SX+iR9h?= =?iso-8859-1?q?xNcr3jSRkW4A7PygrqnBd9cuN9g0hdeHsNjW2eNAf19RlCI3b400EXFMNOhB?= =?iso-8859-1?q?9cNfz73WtxSOGpMEW1/Pg9GohOBWbc0qEVGcPSeiwvbzFp+Tt+7HSEqSA2ma?= =?iso-8859-1?q?iwuSh/rIyHML/pTTFrjTaiVaiyBgrtu3eN5w9NFPPTLMl50NpiA0c+k8Oy+p?= =?iso-8859-1?q?ssw7NwZWx9QzbUYD1ufe9SXPKtm0UYgRDlbdRuUwdvxAVh3XhvcSZQXheLCq?= =?iso-8859-1?q?pRQkpiejPI161llLz?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c93cf305-4ef8-4e1c-8e50-08da60175dcb X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2022 12:51:10.2200 (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: dHDOOuu914TLPIE3L6i2iymRW4md1XwSVESbyO24ycmJUHYdsgSByp2Qd3/2srMiTlv0AQb7UWZChYI7WFexrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6418 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220707_055112_941580_478D0D13 X-CRM114-Status: GOOD ( 15.56 ) 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 From: Abel Vesa In order to replace the fsl,scu txt file from bindings/arm/freescale, we need to split it between the right subsystems. This patch documents separately the 'rtc' child node of the SCU main node. Signed-off-by: Abel Vesa Signed-off-by: Viorel Suman Reviewed-by: Krzysztof Kozlowski --- .../bindings/arm/freescale/fsl,scu.txt | 10 ------ .../devicetree/bindings/rtc/fsl,scu-rtc.yaml | 31 +++++++++++++++++++ 2 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 1a06f627b125..6c0161fa4adf 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -62,12 +62,6 @@ i.MX SCU Client Device Node: Client nodes are maintained as children of the relevant IMX-SCU device node. -RTC bindings based on SCU Message Protocol ------------------------------------------------------------- - -Required properties: -- compatible: should be "fsl,imx8qxp-sc-rtc"; - Watchdog bindings based on SCU Message Protocol ------------------------------------------------------------ @@ -116,10 +110,6 @@ firmware { &lsio_mu1 1 3 &lsio_mu1 3 3>; - rtc: rtc { - compatible = "fsl,imx8qxp-sc-rtc"; - }; - watchdog { compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; timeout-sec = <60>; diff --git a/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml new file mode 100644 index 000000000000..8c102b70d735 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/fsl,scu-rtc.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/fsl,scu-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - RTC bindings based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + const: fsl,imx8qxp-sc-rtc + +required: + - compatible + +additionalProperties: false + +examples: + - | + rtc { + compatible = "fsl,imx8qxp-sc-rtc"; + };