From patchwork Mon Jul 4 16:15:34 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: 587424 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DABEC43334 for ; Mon, 4 Jul 2022 16:17:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234806AbiGDQRj (ORCPT ); Mon, 4 Jul 2022 12:17:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235026AbiGDQRL (ORCPT ); Mon, 4 Jul 2022 12:17:11 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60047.outbound.protection.outlook.com [40.107.6.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7B1710FD6; Mon, 4 Jul 2022 09:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRNEiuNEATPonBC9Z38MHtwyCjLAP/v4Qa/OJ3J1cTsVP+KrCvXYxRerbQpfFg86psAE8WVECzkq7zx92zcYiTydPkay02WyEJSZelmVw1Xufx59VXoWWcfWQIaMwdrs50r4Cc3eP68MXlRgthucsuw9gmH96gbpe5swcq6NgFFR/Mad7R5dBShe7JqJ/wmyV4N/X3AdB2N8JZQGhIUy3D+coKwvq6khDxrpMveLJpzZ6jdC3Um+NjYJ8JkigNgzbEhZHITbgfS9CqNhROXPbFbDzde4YviEQRIujag1XMjztRgcNUVRw0OcsvA2Fx8LmLAokAfdTOK83qYTfxl0bA== 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=DT3GZRjvqevWlbCR2D1bXMUzASCzP5mlZRxuhVjx598=; b=T/NeClQoLSDmA4bnIHFFtbGM40kgUgHxqTkQBkA9NW6sKucexH0HoJ9DrAv8hcksjq857skDzsyc5dIaU7L7dvLtAym9obQrbyKOCuFDgvoEdkjppM+mEDP/GtfdwMxdCS3iigA8bDDdq8/9oFSYZkcle5T1k4vOCGtO2GcRAs7WNrTsKQ78b9QTSPTJS8M1F2YzmlEDp+wWEaUR3D7sUA89cbkp3R4Hr/UkyVdEhDDSOGBFZ1AA6j9NwmXgZNEMV5OlhkXKeQytzggq0hVizibwHIPRozQud61KNYYpDILQOwb8oZg4ybhjgue1AvkAyQPxwl1smXzYLXlCBOTzcQ== 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=DT3GZRjvqevWlbCR2D1bXMUzASCzP5mlZRxuhVjx598=; b=Ucn6v/Q8CApWvOr1azkjRIKMb8DxnqS4VEQTArVaTT7UAG9YV0yHEwChd92WfInz1hIY0cegsxQgLGNWkqWtmd82c30zDXW/8lQH+GEti4maNgrjtkS9vN1rjr/vPpQ/k2tr7pSWG6UzMJoggxIg5y5nsl2vtWBYrpLkyZxkvjQ= 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 AS8PR04MB8213.eurprd04.prod.outlook.com (2603:10a6:20b:3f3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.20; Mon, 4 Jul 2022 16:16:44 +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.5395.020; Mon, 4 Jul 2022 16:16:44 +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 , Peng Fan , Mirela Rabulea , Liu Ying , Oliver Graute , Ming Qian , 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 , Abel Vesa Subject: [PATCH v7 08/15] dt-bindings: watchdog: Add fsl,scu-wdt yaml file Date: Mon, 4 Jul 2022 19:15:34 +0300 Message-Id: <20220704161541.943696-9-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220704161541.943696-1-viorel.suman@oss.nxp.com> References: <20220704161541.943696-1-viorel.suman@oss.nxp.com> X-ClientProxiedBy: AM0PR07CA0008.eurprd07.prod.outlook.com (2603:10a6:208:ac::21) 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: 21ba7747-0a20-4d1f-c421-08da5dd89604 X-MS-TrafficTypeDiagnostic: AS8PR04MB8213: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: DRwjTeJ8XJ6OceFJwmKBYcQlWgzoQuUC5SpnBfPbc298Frtd3nRVE3oBowLEFhkajkKNmoILonx/O/utufhY3T/L0SSfvM2fGcIlzD0VzJhKQO6l4j5KI/e7OF5V6kTa/rgYlAhitWKKA7wux8llD1ARBVOVQcUl7gaj7S4CmfYswwOZSD0EyE+kN8QqvS0YWvRHja+tDBqCEnAbEHmGHXxJfUZuvsoV3n5rp4fZi9Fw/uFl7iAHFj/oxqyYxAMv1wBS+xwH2jGXD+sdZXElKsTLIXJkFUHwnFfYPKYKmIwXpMJPebipOHm6Y/57ROyVokPn3qe8WZ/PoSKMKp+gkckML0+XnjZHxRm0Jq33VFfV1CZm6wEnJTX2eHrlT2qrznX8MXqNgLTqYxa3tvYYB3DR/tR9AoqiAFw0U3TGZIS8Nq/vUYwVjYfOwy1RsK48j1bdvG9p8ABgrxSMqWpuzS42E3IAFXb+fjZ2hfpXTqeImVxVErS3NRNgy6ghCZdJmC2RMKOl1maD+gSLrmC5aPcgJNjEVs9KAVHGPSHpvsFg7/a8qnHGferczH+1gW7x0faawGyq2TN1doFvyoz4fbqi6hq9GUJGJTX16DGVN3kyH5X8IpiQpJgoDbHFW1ES6PFfawQCOqT7PaJBE3lFvN+yMtwQDNx4/0PC+uj5VO6XMZtk6DwIr7BZ05AsCmKgWf+Q4Dr+Myulo16Ab8ys+6YJMhtcF2Q3SVLnoC2fQMp2/McC1k+mq/2UejGO211gGXtFeW3Kgps5BHoU8CnVboaSPpcvljk5ft1tAPeYd5yq3eny1FJz11P3QL6c1gHVggYPcDMDlzOB45A+iev6ragiS3bmoGBf92pdFTjIOHl0bMQuno/sniUCvSjCcXxccAy22XVm1jpBFGPoM1Rz1w== 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)(366004)(136003)(39860400002)(346002)(376002)(186003)(26005)(52116002)(2906002)(6506007)(6666004)(6512007)(1076003)(2616005)(41300700001)(86362001)(38350700002)(83380400001)(38100700002)(921005)(5660300002)(4326008)(316002)(8676002)(110136005)(66556008)(7416002)(7406005)(66946007)(54906003)(8936002)(66476007)(6486002)(478600001)(966005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?WAzWO3mv48EgIKyywldQoN2?= =?iso-8859-1?q?MEOmVbqxV2jd3Q71ANATOPZZZoVwfEAeUef/VSaOg21gpEh25Lwn64/Ft2LR?= =?iso-8859-1?q?iTh4bTXc/e6h4n1Nw9t41obg37n2ffYeaqecUymIfx7thu7Y1DLms46xCbSw?= =?iso-8859-1?q?faT2I6WjSuxaHTWF+BgNC1zvYwI1fviaWAJEoUkximKX1bbzI+F5SiWn573A?= =?iso-8859-1?q?OTexWvX+VBZ+iof7t0ON+sZh08dl2UXtoxi5uDH3q/Nk5cO444kdYuQphQpK?= =?iso-8859-1?q?8HF7L6KZ/eqzoZiMZBc+686ERaTLlTInJtQmXv3Yd4u9Nydx2a6kwDEBF7iY?= =?iso-8859-1?q?1GDa54Z7KMgl5DFTxidXUAQf8tc5z8KB3DAjGa6cYLI//vk0z0DJYBiNb74q?= =?iso-8859-1?q?jzn5AeXSrBcEY1oUWOUmxYo0VV9apU5dM3S5rMzE9XK/wCOUtAjpcDbvMWdG?= =?iso-8859-1?q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1GfsKNq6bxMrIsZ5+jykd0EKA/f9XuVyV8zum?= =?iso-8859-1?q?cDpSjl77B5flzdQFAheJdGSXJyCG0XwawA1ZPsQFv8/bU5IoTP2+7IQKTnHW?= =?iso-8859-1?q?0+d/NNr1jwt4zEbW/SDf96IeY3p60hAkxDJrRZ8e0bxnxJLRmwP2FAVZ+bUb?= =?iso-8859-1?q?fSEp4U2QRx+h+exuLBJedbWjVN8ifK6FcqW8tOLw44wqWRoyjKuKsTHCaMD7?= =?iso-8859-1?q?Sp2eyzGU3wc6rmGAKLfcV5276iypDIqzoiX/m8WJxe2z00CA7V45ufCH1+T0?= =?iso-8859-1?q?iTrOGUmAxEtixTi2M?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21ba7747-0a20-4d1f-c421-08da5dd89604 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2022 16:16:43.9278 (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: 5MgsxImUtPZaYTCp8rhr8Ut5gzkIuF8UbIwFUamHRj1bIemxVXMeKN3nk3nnxkKm6Wy/wliB2kNWcMA2zmTT3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8213 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.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 'watchdog' child node of the SCU main node. Signed-off-by: Abel Vesa Signed-off-by: Viorel Suman Reviewed-by: Guenter Roeck --- .../bindings/arm/freescale/fsl,scu.txt | 15 -------- .../bindings/watchdog/fsl,scu-wdt.yaml | 34 +++++++++++++++++++ 2 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 03f927a33281..e1cc72741f1f 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -62,16 +62,6 @@ i.MX SCU Client Device Node: Client nodes are maintained as children of the relevant IMX-SCU device node. -Watchdog bindings based on SCU Message Protocol ------------------------------------------------------------- - -Required properties: -- compatible: should be: - "fsl,imx8qxp-sc-wdt" - followed by "fsl,imx-sc-wdt"; -Optional properties: -- timeout-sec: contains the watchdog timeout in seconds. - Example (imx8qxp): ------------- aliases { @@ -98,11 +88,6 @@ firmware { &lsio_mu1 1 2 &lsio_mu1 1 3 &lsio_mu1 3 3>; - - watchdog { - compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; - timeout-sec = <60>; - }; }; }; diff --git a/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml new file mode 100644 index 000000000000..f84c45d687d7 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/fsl,scu-wdt.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/fsl,scu-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - Watchdog 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: watchdog.yaml# + +properties: + compatible: + items: + - const: fsl,imx8qxp-sc-wdt + - const: fsl,imx-sc-wdt + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; + timeout-sec = <60>; + };