From patchwork Tue Oct 8 22:01:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 834370 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013010.outbound.protection.outlook.com [52.101.67.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 691D821645A; Tue, 8 Oct 2024 22:01:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.10 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424906; cv=fail; b=PNrnQTeGtgVJUj6Njt0ocJwRF+Pdg6L0Als6sdGYwexQB/AVRsQndRDfRE5bCDS0B8qYFMrowoLUKdxSFDCAhruk9FOi1NiSJtf+21mD8KdWu4Nb/H8xUJZlmQ/dfgH2q6VPH0pG+/pG8n1jOorqmUjmCdhU8JGbaSH75mTTNzc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424906; c=relaxed/simple; bh=axT5IK5BGFlKISBilwdAGBwOVEQ0x5GPYstK601z4RY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=mAFiGQvHTJZ3kNct4BR/Tg/WkT8nZCGcgu+fIajChCFsqWKtGZBqs6JIDsb9px9OyqQi181IC7jC/HbJ9NBIzNMzlgU4ZhAGxvOFkijgbx//TCuJi7xJuKJGdML5wHlaTE6KbLNdMeq+hyw1FnV4dUuh3aTuMQqomRDAxMzAdrs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=cM83+OPG; arc=fail smtp.client-ip=52.101.67.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="cM83+OPG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CkJC3gTZ7/4niRJC7CVA2B+o5PkM8KVqamxsR/I2sSjOpADaNLUp05K+6aAnlhtRpnbs+a+ZRbXn4vphq5MXD14ibKxdl4KbQ9JHV9xAHn/JU08aL4qzekdcizzGiwi5C+Zr5fTlSHJPJFjbNdeQvM40buxF39dzVLzqgPZ7gwFjY02tWbXuwsLBoYvIQPE5hrDoE3VIpFlTOJgJqWTIM9betuT2F82TcYqd9ezqiXGkrk8LQzgIu3idWO7x0c/B2z+kTT8VJQZxEkzvIYqHQKT0HQlQfBW4KTppYzND3adzToth51IRzfy1nhVM0Ww+kbsmHW4zntcZqvmCE5K4Ow== 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=0mLjUpnTHourQOW35EfylFe0DI2J4B/Use5EXhyWfHo=; b=v4/ggjorgtMU/9Wue2axUwBfMMyQMA/RYcFGOkL3W/ocGYe2Os5AjwtljT5VdfHA/bbNs8ZhkzZg+WXed6vlOzw+rw26DqmI/g7qs/nDznV5O6M2QSm/P9mebHGLBzoPoU1RcN4otK81RqQEA0rJ2PlftpwANvLW5zsw5qGzdVYhwmpCRVTkzx8scHlCFQR3ExOFkrNeviAZYHCiU+bB5vQiP21wTk8lqMgW/7b6jBl/gFo8OjImCeKX0ufH4g8Qs1HtsqWJi4ck3/0RvB8+UyGbFZJWhgb3vInm9dk1SsMrbuMw+MaR4ZYLYbEIpuIM9uCu6YpSLz/aQ8B57GvKZA== 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=0mLjUpnTHourQOW35EfylFe0DI2J4B/Use5EXhyWfHo=; b=cM83+OPGJpkIkmIIc7VP+t9324EZpbiuiL6HPvbi+R86vMh5cAobdakTz/xkI44euyxTXHYA4XlzMYVffNuQjccZeOnEyhR4Wel343PqNZT/biYD30qYSSTnVso9EXsNPX8F5TA6g34ovhu0WuQNUwHTBQaN+XSx8NiH9pyq3baOgwcyeKRR3mKufTkHjWYZSO45uHch+NKjVGzEaArO2Ci9aMQ+pXqW/wEbaDq1T461h9JzxDLuxj8zjWf3vSKSp6dYoLZgFp1YzVyNfCp2/sAWPHcmab6FnIDU4sWfbErme1GSURZ8arbUWfXewSlXL1qIihc1VQ5pRJNdpEJUwA== 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 PAXPR04MB9667.eurprd04.prod.outlook.com (2603:10a6:102:242::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 8 Oct 2024 22:01:41 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8048.013; Tue, 8 Oct 2024 22:01:41 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:01:00 -0400 Subject: [PATCH 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format Message-Id: <20241008-zii_yaml-v1-4-d06ba7e26225@nxp.com> References: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> In-Reply-To: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Srinivas Kandagatla , Wim Van Sebroeck , Guenter Roeck Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, linux-watchdog@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728424880; l=3328; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=axT5IK5BGFlKISBilwdAGBwOVEQ0x5GPYstK601z4RY=; b=TsO9lh7z+wvt94dFUoES4aa1WJfygfLCUvpD8ckX7FVRpanfcMJ7Cu7MIbE9OWR7svGnWjdey 3CT6JPSbbAoA6EoG5jGe7nSZ/RPpyqsAvJibrSH2UjHnCoic8Gz/ToL X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR10CA0017.namprd10.prod.outlook.com (2603:10b6:a03:255::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-leds@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: 047abfc9-0ec4-4413-370a-08dce7e4ca7e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|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q?+8f6JujyqZms95vcVYhn42WLRgce764LTeDZebFZjVm8+a32RQ95VuMIIbknXWBn0?= =?utf-8?q?g6lo0ti2rhuF6cJR/pLYOA7376miV2wf6DneiaXqeftLwfX7s7l8NO25vv0mpoQ+t?= =?utf-8?q?GFeGqeIo0wnDWX2rY/beDjvwAo2qZsGIlnQK7+N74haQKxqE+eOlz9+auMHs6Eohv?= =?utf-8?q?OUjIn9q/hXuEPbId59ZONfnnmpEnxqEXW0p1kk2V85sXsKgiDkuqmPhafcZk6ykmk?= =?utf-8?q?hB+gee1j/3hAi/GLFqasnfi3AeLqK6qSvSu12YFywuTUks1ru+zpdxGYhi8a5w8GB?= =?utf-8?q?nPkZkA+n2BCdBEkzwOviEk6khIBRYdbrLBplnDJ0qlJEivIbV47iAcXdnn43pTPQo?= =?utf-8?q?1RKHQwKWqdeObCpmNFzW4ZQwFyXXfMGgXufnKFcG4SFwaMigW+n+ApyZWyLKf8Pfw?= =?utf-8?q?fwj9OFDYTJmZ+tf9nlyJpf7LrWcQKwD/Jb9LwfAG6L4raqH8gaYBR80U=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)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?oeDN/odmznr5RIwTuRZYqszCkYZN?= =?utf-8?q?0CsVlpZqot7kEu8mHhVqe08MoG1xP9GX3TrGQ9rYbs0EBXXTiwC9GE9GkI5wK1/yu?= =?utf-8?q?xPglJyStplPtFMyzT230YH7mIEfg2fJnXg/UhAS2BCtvMGXQTk1c8+X8cMcZGWR8L?= =?utf-8?q?ZZWCflNnfTgALM1HdwtjeDEUHEhKgEOE6kIlllsf6XJIjF2JqW5u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5oRxQtpKAP?= =?utf-8?q?eJ8YAa2ahZEFiUEnH+0bn+LXHMzsn5dKRdRFn2Vxa3BeNk62Isu3R9oR1JNrtG+Xc?= =?utf-8?q?ncs5u9P0qs09JJaPD7fqmFStveC08fR9aVGRp432UpZW/eLT2nBj69BYEFo3Jnsa4?= =?utf-8?q?krTmD3g9nd4Pq56RHwPbASmoMRKx9Z3IXs5xWhjkBefwXAKgZ13O+iuNXSlNyGp8V?= =?utf-8?q?D0EnM5S+ALPN2eEj2J/TLMyHXhIsAw1qApjEGpkeJNvW4o4kMq74p1+LPEEbFqCSi?= =?utf-8?q?zeTBHMz9aWEhCnpg2JRDvJzj/5rB53ZMxuyK+3fbDHNbCwhkgUdVKAblKf3CWfGnR?= =?utf-8?q?/nPOLa4ccFdeYDyzdZjGrue8n06XVia3dnX0oqblKIZfnQ0go/X1y4QmZQWG4MAGH?= =?utf-8?q?aF+phY8xuaMmAb4qyDwDwaouAENWkUqszmrKWULtJti5JelGOSBGtlBQ=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 047abfc9-0ec4-4413-370a-08dce7e4ca7e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 22:01:41.6331 (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: QWKhkrlK+L6Es6lU07+3d/ggR3LVuzMhdfD0L/xExAAHSFmYKC8S+sQZ+5CoT1oYO+ePG1V6cRtBFfMnzs5XYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 Convert device binding doc zii,rave-sp-wdt.txt to yaml format. Additional changes: - Ref to watchdog.yaml. - Remove mfd node in example. - Remove eeprom part in example. Signed-off-by: Frank Li --- .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 ------------------ .../bindings/watchdog/zii,rave-sp-wdt.yaml | 47 ++++++++++++++++++++++ 2 files changed, 47 insertions(+), 39 deletions(-) diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt deleted file mode 100644 index 3de96186e92e6..0000000000000 --- a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt +++ /dev/null @@ -1,39 +0,0 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog Bindings - -RAVE SP watchdog device is a "MFD cell" device corresponding to -watchdog functionality of RAVE Supervisory Processor. It is expected -that its Device Tree node is specified as a child of the node -corresponding to the parent RAVE SP device (as documented in -Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) - -Required properties: - -- compatible: Depending on wire protocol implemented by RAVE SP - firmware, should be one of: - - "zii,rave-sp-watchdog" - - "zii,rave-sp-watchdog-legacy" - -Optional properties: - -- wdt-timeout: Two byte nvmem cell specified as per - Documentation/devicetree/bindings/nvmem/nvmem.txt - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - eeprom { - wdt_timeout: wdt-timeout@8E { - reg = <0x8E 2>; - }; - }; - - watchdog { - compatible = "zii,rave-sp-watchdog"; - nvmem-cells = <&wdt_timeout>; - nvmem-cell-names = "wdt-timeout"; - }; - } - diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml new file mode 100644 index 0000000000000..930ef4bdc04e6 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/zii,rave-sp-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog + +maintainers: + - Wim Van Sebroeck + +description: + RAVE SP watchdog device is a "MFD cell" device corresponding to + watchdog functionality of RAVE Supervisory Processor. It is expected + that its Device Tree node is specified as a child of the node + corresponding to the parent RAVE SP device (as documented in + Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml) + +properties: + compatible: + enum: + - zii,rave-sp-watchdog + - zii,rave-sp-watchdog-legacy + + nvmem-cell-names: + items: + - const: wdt_timeout + + nvmem-cells: + maxItems: 1 + +required: + - compatible + +allOf: + - $ref: watchdog.yaml# + +unevaluatedProperties: false + +examples: + - | + watchdog { + compatible = "zii,rave-sp-watchdog"; + nvmem-cells = <&wdt_timeout>; + nvmem-cell-names = "wdt_timeout"; + }; +