From patchwork Thu Jul 7 12:50:15 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: 588407 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 60D51CCA485 for ; Thu, 7 Jul 2022 12:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235715AbiGGMv2 (ORCPT ); Thu, 7 Jul 2022 08:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235680AbiGGMvV (ORCPT ); Thu, 7 Jul 2022 08:51:21 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2070.outbound.protection.outlook.com [40.107.21.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1C0F2BB34; Thu, 7 Jul 2022 05:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CKli49Hg7ZEJkHC9kFAXjd1L6po/QfB/fLLsmXKr/wvK5bB0m5kaTcc4slfFXvR0mYlfs/Xfn2ExMrBXDB45/DdCL9l4m5iya8GGr+OFqSzN18MXdoB51ic7f5sxphSTAgLaT0x0vLl2GluJE+LEh9lrakgd2jTNWvreEgzUmoKCvx0yjUP+6Hja7aCV2mlFyUzPMAb9s1UQpjPaYt43gsW8q+VmddQYpBhR5gvVa1ULv1V0C28sBj+kLvYc6+stPCx+KWVRYojk0SG0t1w2u9UZvCRsEmibwONNEevOB57y///h05eV6oZCP6qNScJpZiAbCBRnrge7XgIq4fg9uQ== 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=SIYh2iAnQH5EhAaTJSFNBdk3gd5cVGdL2SZ5BceczdQ=; b=Ot0Pjot0saev0vFGGFQWLdq34t2cS5wm0Od0X54QabL/m0UGzobHnC1k8RhfoMeW3ctDcWmkZ8ivs0Tstm/iD0TyzoSZbFDa0chYgItcBixqbi7FlGCcDmoXlgE6S5iaXlMg8R9T2mthOhq0Byp5v+Xoe7CfFCCl7a3ZLk3/PEyY0gOTU1IFxCCdLAJn1cZDIn0RBwbI0OyAoGbl6bG6eblx2Er6T7jOZTfthUA8nK0Q+HumfdcTu9WC2Ceq/X1iN1Qv+6quuSaUOvlFMXJlKIYMK0p9krRJSvSr51v2OvZU0TSxijy5yntzh6XHI17x478of4A3URAR5WDxlVvygw== 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=SIYh2iAnQH5EhAaTJSFNBdk3gd5cVGdL2SZ5BceczdQ=; b=KnANNkkeRGKJtTvR1GW5NEbCF3xqme1tiI6rLKERKa02Hq1CxW7DavtLoyZn2RLkRXKnpD0ay2iVlkyigbBAgkr/Cy5+FNmRCmxWlcTbCWBIpsDVFz4k9kkMHqE47ro1uGoRDoufEPtjpNSRtBCMkD42s3Q7akt874P68XL99Qo= 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:16 +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:16 +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 08/15] dt-bindings: watchdog: Add fsl,scu-wdt yaml file Date: Thu, 7 Jul 2022 15:50:15 +0300 Message-Id: <20220707125022.1156498-9-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: 515dfee8-f99a-4cd6-8d78-08da60176168 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: uT0coQQMuqqPvybbaQ9xSUKCGO7UUKjBL04198U+sJqCipolOGPX2K72ZYesa8TMQhA+HJnn4W6kNOAyERKzvtaYCqgOqMnB+HsMKCUDpvfDqV1dtXeL/ttdvRF5IbhArhfQBnlY79yyOM2hduCqxSUk+5TEOv+i4vpVMMo06Isl8VH4TKl2cdKeQpGEH9B4V9AhvB8oAolWuaXkWIkbkGm0tKEmM4jaUs6la2nNrGTQGSGjbbR1GXlpPBej8wb2RxzMZOQxkgoznxGAYA/sDxV0aMTkZFXg69ngHhKKShtfDVfj6+ZLOWKFcCboMyH4Dhc4F65t5Y5h7D0huRCRrGJ/N2o4kZIh6F/MUSSQ+jpwpFyzzCBfMCFpGh35Z2H45c6yLUxiNvUpGYFTFCQfqlyEiex3y6s5/ZNqQvCbL3h24w/QrP+yyPvVAXSkSNexBUxszaYqqf6Bf125wbwjfl7NIs8D7vKnok1JfrbO887CdkfAGJDJozEEnRoWn2XEgeiEle31Khcaoh+glgD/iFm1xip5l6oHVgXGkR3wX63t8MWGhhaDCIX1uEcTJ0GrYoSdJxtCIC8nSDA7AqkxTPhatfa9vZ9x40Jwi4p82TFeuDW/6CjCapU1uKcCfcJS4poXm5nQSkVtDUp6OdZvEseU1UPdH5sqz14OsJ4z+EKstmLAOASXfxQ4UmHK8FnoKDfcmRypGP/CcsDtpAvUj3Et74lSNCsFqXtX5VcVJmyJgK7ZUzr/7ZwuNqkWRss7z57QlQK7Xq6DHMnhAqGUBBbvZY42JHST2pbSEjOi7JqiyvTxpR3J5g943QhstDcvHiqCMS6NRscW45BGzGjkE/XrJwYZq6Rh79GS/wLJFdzY+fnxMhMIyNj4jTCXuP9Kibp9pjjKtWLprNEMHhfSmg== 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?/Q1QrvCaMl32Z5C9JsCuIy3?= =?iso-8859-1?q?hFfVZhoj2iaypWFecil6JoY+AqnTp2Bf/TkB7BGpnEa71rdFkC6R1cSIHU/5?= =?iso-8859-1?q?U/6nWpDFoxa4gTIm/M3UWY9VWcI7RSFMTDbX+F2CrmpLOjLrj7gvvmAHjKRz?= =?iso-8859-1?q?4mHDHn65jFZR8lkpjmU/vYQ/8YEOdG9WRgJvYJ3gkpFE49yr/awSUdaCGhD+?= =?iso-8859-1?q?YP9vfi5BdpHi8zGK34W/roPlplyJVmdxBn7EAygeE0Q5EEu0XAnTSrXhG+mW?= =?iso-8859-1?q?djMZzwfs6EAWX0draGFsoEeMXJbo4lBh2q43UUvvJ0YJ79wvPzutnojjvKO6?= =?iso-8859-1?q?WjpL3VzdC0bwveDvQlqjUhw6jO5HEvqNzbNxpUznRiwDWAiZ4+cOamifk0q/?= =?iso-8859-1?q?Bd1LxGnuAFjXAB8MaDlprs2VkWb3Cp8TYBTY3Kr62IEC/MM655Ff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YIBGbjngDQ9QUPVRmnf4A3KNsRau75yyOiT1kD3kOt29OaF+2eRcI32?= =?iso-8859-1?q?Pi1CbF7pTFt43b+MtTjO0445OM8czOKwQII76kXOxV7ahtWyEjv0HfieO+9T?= =?iso-8859-1?q?CM/4b2oHR3VOCWhkwFFEebYpTsh2kCMKG9uGKmrXMjHD4+RcVf1G+1RkP2pk?= =?iso-8859-1?q?+DqRanXoa0jaoPyt2XJbV3SXhgNVK3TsD6tfZMCk2dsAh0ixy67VW1tyTXyH?= =?iso-8859-1?q?YwTiMymw+OTxSQnio3jyRyyTK19izl9Zpe5dOEWItE6rFsblXY9eYnvnyVDw?= =?iso-8859-1?q?WMKqwSGx0KRGKgDj/?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 515dfee8-f99a-4cd6-8d78-08da60176168 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:16.4696 (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: 7eW1SNYlBK/xM52dyTaLNlxksvSftJnyUZZt1F3a18IjJxLORf2dJawsNZ+iwA8l24zEW5x63l5mnneY8BRBFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6418 Precedence: bulk List-ID: X-Mailing-List: linux-pm@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 Reviewed-by: Krzysztof Kozlowski --- .../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>; + };