From patchwork Tue Oct 8 22:00:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13826970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 88F98CF0429 for ; Tue, 8 Oct 2024 22:01:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F37D610E607; Tue, 8 Oct 2024 22:01:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="gPwCnoRl"; dkim-atps=neutral Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012027.outbound.protection.outlook.com [52.101.66.27]) by gabe.freedesktop.org (Postfix) with ESMTPS id C032810E5F7 for ; Tue, 8 Oct 2024 22:01:34 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ln++vTnz9EbsifVsdkjOM/PW20OWi3NbyiF3rWHGpsczmZH/z1vZLv2wHS4xKJtfITeJt9oalm1hOLUo6yWLs5IUtOn4L89g8rBnH0ZE0IhxXksRljkggB0iQZwE9U5b4mXiFWWjduq19xjg9lolUqmx0Jak3oEsZUxGQizoGutR1+FMNW7RGVFc1aPS3X7jlwD9eB7hidd+dhagmPX22m5ki3FEmUTPVogrQ5f/ELWA0MxzT0U+UcYGllzucx5pVPQbJv5Fb8QvG4HPIlsPfrfce2qyv8MKEjVLYKWoiQsPXvO3tDfPNtFl32TMXB6C0lNRRExapYU7JKrDJOYJ+A== 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=ozVro/a2H/lT8rxPAlrcjSDnPjQyRPO0kLw+PGkteHc=; b=LhCFpal1knudzO091RJ76ajTOuN7/tSzoJWBTGC9V3lh52udnkraQnRkuqL5uF0foQDFDlzNF7V3/C7n9D8Xqmathc1yuQoZcFKNEYUj7cBYkDP3xT6ADxQ+bJmS+6dZTlbge7j+Zf22Yd1v3ZvlJ0arpn+CuRG3Vq0IVrZHw9JK0khng+M57uZkdSsGHSoLDMkNBNBCh/dP8WlZvPqCAgKoShyX3TbLcQm579u36aSERejiEGGEnn6uFzxPeZdJgE2DjoHiYtDYYHKoNadU3pCl8pC67y5kVI3XAZ4qilBhiFbldhb6UBzOxioWyrw1Nsqsp+ZXpGnTrtKNnF1UKA== 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=ozVro/a2H/lT8rxPAlrcjSDnPjQyRPO0kLw+PGkteHc=; b=gPwCnoRlvRvJS3vyZOXySGDy2u62oOpF86LKfO1ybxYWKklvmCb2kOAyBgsBdNE8txMf2h8jOEKvfbbC447s4lVMROU/FVtgxGPzjCBN2xgWCWS4xPJvrkjdsN328eRVV0kGR5ZOxIx4ZEJSmABbA+se4pqkamhMQTdCz/hXSnbqQsQR3I+RV+2JpE+Qbolmlcts5muczY016UAR0t0fNoNRi4o1AhFgirhzf8K13HcUz7B2Q0Y27yPtR41Wl32rKS3QiHj483oGvD/n/VC/P5kLoFFtp6O+8pbgHyfA5Uby0bWTYiB7mkq8oktF93q3f7r6QV/pkZaK0DLyB5OZ3g== 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:29 +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:28 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:00:57 -0400 Subject: [PATCH 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Message-Id: <20241008-zii_yaml-v1-1-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=2686; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=XZpMv8O/AC/1ueQMp8gDbQJVMcmYYGPTlzFd7u/nYYE=; b=XZGRzJuTT5GyofBRh16NnVfe91p8plfqRJu9KtL9qPgPSZFQJUOjUghtE7y+g8HC70CEv+NNB 86blKqmGVKiDb1MGg6z3DimQ5vUoxf64Tt1kgwAViDxkBExuXLT4K46 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: 8efbe279-f68a-4994-6419-08dce7e4c2eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?x6BboWDBbZzxbWlaHJS4SmRc512dIAI?= =?utf-8?q?NowkjEV4dz4KqDxmbj6XAdFgvGFv6YgCYTGZPa6Si+2ZwHEflvmVK0oMkVRwO7KPx?= =?utf-8?q?P5S0IfB8K5MakLYPylHuA/P8W6+ysw8GdgICJj+2UF3eCk37jJcJH75EpTk0nDAdo?= =?utf-8?q?j+DHfAi+25xAfQgZS0juRoSPYPEc/m+tLtoh0PAKCoakgQDM7HdZwP6VkbA1eTIUV?= =?utf-8?q?IeyL82sNWNCLb2Nf5n7Tc1nnAu/chj4VTXYbVDeNRclhdDOrUEE5nlkGPLrWseU04?= =?utf-8?q?AaJa7WQaaGq0AkilHdCdi2RbndTwZjCpbWIGJ5pSXSGsVK7CeV/96ZAe6fo/ZlTGc?= =?utf-8?q?GkAIhiJ9JPT/uymJJdto8DZiUXYtVl6kVoRyWnIpo+df83CzXG5QQDtaiVZW9S2t0?= =?utf-8?q?d2u6KWrJWmniV8nUlfd7HfqRo6RIWpCxf2Bc5/YrIwROqPo0483Sr6haDbxeqnQd2?= =?utf-8?q?mwNUbDFbpK2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; 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?jwPxT4T4ItmAl3FTONSw6wMjKgKx?= =?utf-8?q?BIoBUD5iWmWXH5N2+eBFR9408DLB6y0wTlR6K+Dgh6N7Vg/Z0Ks+uJmME3l5te6dV?= =?utf-8?q?M8Hfo+bYXD4+o6Y9IsHicNKUkujYJ8x7OMoh1uiMGxRt79GbWgbXH01rzgqaViJl7?= =?utf-8?q?qB4iWrUOKrgxW/uTx2yM2zmaM/5gqaJXcp4vUuU2CN1z/e1i3TVppi7RBzcD1JgpK?= =?utf-8?q?eFw8G8Fc37NDg2MBSwuWzSngsBgR8M+/hIFveLFEhk/bE/C+woBT2WgyrfNNDLQgn?= =?utf-8?q?zif5SRGG474BztfYoe87Np7eG29qhreWe9cQXHodKAbmB2JH/6OxgqJn4hJtJvJMf?= =?utf-8?q?WPChhVsoVslbQGIOcjwwKbQiB313jCkWfI26jFM/KtMFsE6lDX/Y0xtnEfmnfMH9r?= =?utf-8?q?3BmWciXCt/KyBYQSwn7J50fAJca3aeIA1nZHS40g9nkYoY5p5+01+p4d4Y52IVJPE?= =?utf-8?q?UhWYcEKPxngebxTLipZHEYtyLs7aTSZzhVkpFltL0fI13n9j17063IZjDREM9feUf?= =?utf-8?q?schQfREISgmvtvpCQKWjP1Q7WxIZ628Rqd9siqIhele38W7sPZCrcPFsqQakyoYS4?= =?utf-8?q?Cb0KEhOVyv6ch5tSgivSIL3kbWIP2ieppfpgcO9UqNqIoNkwsHJuqQxx/8fbQZRlx?= =?utf-8?q?5zrT6KFeRrxYeufqGNQ1HMG+z40zk+hr5fT5r+SQl1MoLmxzcAxpW4JrugF6IHPa3?= =?utf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S-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 22:01:28.9320 (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: LDA+qvc0zG911QVNJyg5M5ZGogXJAmwAyCNGaOBaX5nnGKWr+fRYDPaQckMOZzyXsS1YebwYtfuROZRvBvevEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format. Additional changes: - add ref to input.yaml. - remove mfd node in example. Signed-off-by: Frank Li --- .../bindings/input/zii,rave-sp-pwrbutton.txt | 22 ------------- .../bindings/input/zii,rave-sp-pwrbutton.yaml | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt deleted file mode 100644 index 43ef770dfeb91..0000000000000 --- a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt +++ /dev/null @@ -1,22 +0,0 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings - -RAVE SP input device is a "MFD cell" device corresponding to power -button 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: Should be "zii,rave-sp-pwrbutton" - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - pwrbutton { - compatible = "zii,rave-sp-pwrbutton"; - }; - } diff --git a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml new file mode 100644 index 0000000000000..7b5e86faeb20c --- /dev/null +++ b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/zii,rave-sp-pwrbutton.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zodiac Inflight Innovations RAVE Supervisory Processor Power Button + +maintainers: + - Dmitry Torokhov + +description: + RAVE SP input device is a "MFD cell" device corresponding to power + button 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: + const: zii,rave-sp-pwrbutton + +required: + - compatible + +allOf: + - $ref: input.yaml + +unevaluatedProperties: false + +examples: + - | + pwrbutton { + compatible = "zii,rave-sp-pwrbutton"; + }; + From patchwork Tue Oct 8 22:00:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13826971 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 847B9CF042A for ; Tue, 8 Oct 2024 22:01:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 06A4710E609; Tue, 8 Oct 2024 22:01:36 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="MH8BHVp2"; dkim-atps=neutral Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012027.outbound.protection.outlook.com [52.101.66.27]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2010510E18B for ; Tue, 8 Oct 2024 22:01:35 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=D0adptMDalLltNJNszBZRpviAbCUUO3PhYswJ0HjVfnJcE5qUwqWn8Hs60CbFYL+BkGo3H5brCQBsPdj8qH8M2/Es3x5JlT/dImCOZG9lmSYBDQmHbbX8SHQ8ypN5JgZrT9x7t5coP96W6OJIeuzrpUiW6bJlAMosP3ch/xS1dLC0GLG4LwiRQmnBf3D/MvsrSDYFzAe3BHiZ2Q5Ehvl15NV28kuEDTysLMXECddrFvHUN8IC+KQ4A6Q0XIaRfA7Rhcrbj0s4uaGOkJ4voil1niAbGVGRNAVzzbm0yUiBDX66a7IUz6zfAgMIsQWT7dSEMl0Wmxxnzuzg2tfKdaRTw== 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=AKMLhaRngi3UY1wEwH3ZE1EO4slNAWsI5ttRamqlcjM=; b=lJDTJI0IjtNk4NsK0KxxCbUAxnXjX0czbKcP4Ybs9ygElHmfc1V9SSksdrlSD2yMOAoi+ErpRssII0sLdL/DF4XmImhoBfK3WyizIn8rS9/SLMxlyQ/CnEIyz3RywbRY6uayd8390foOwlscUTTlbzbSGx6JZOMvVW9caxpgR3LwqilcQYRXUG7+CS2R1axLPxBrIrJglM+pEXzn9diLMEoLTkT4wGzosFTDVMuddEVx60nCtX8yFbxHp+3W//UQ4cB8wx/kHMr+qVPoAAt0cJEUPLvux/Ftrm8Mny+5+ZQzZ6LbDbH/6bkUUs24DWHE5KVdJS64dG21Rp3J69r7pw== 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=AKMLhaRngi3UY1wEwH3ZE1EO4slNAWsI5ttRamqlcjM=; b=MH8BHVp2b5o7QzypAQ/ZsC9u+zBSZUD8KJfBGqe+QnARiAbezTgBWbkzm/5TOc3gx/yWz1ogF8f2qDv7JNWEhTCgQpxP8oHfZNwRXZ20voCV8Jca+vtB45ow461qDKhvqQVt1bpzC8vS0wNPGgo3C3mDsgIel804eC6KL85tuEf5nWfj6lQNCnTC+oIu03oEGO+BnVb9v0wGvtMHuPPRNiKVUOpD8g5ubPVvlCTse3aDiKxmICnn8IhDvPeu2mlXUufgvTWZ8FVTzYUd1Xn6xXgLLa6cdQ58Yjb3i2cmA3zYRstPkpNDGJef3MkwrzEKLxkgpd4Wcv61rNdGTbU4Og== 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:33 +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:33 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:00:58 -0400 Subject: [PATCH 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml Message-Id: <20241008-zii_yaml-v1-2-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=2748; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=TPOj0dAwnxlALBuntib6N0NNUbigzs7IIYQLlS930UQ=; b=YV4eGHDnHOD0U/P1s0ErYDir9F372dB/S5L32okHJZ5Z45EhArAw474V1WBAYAqR5UdrPIzjK 0geEpJtKILDAAyK2mY1OfzGgAEcRgjuSaJLSOXueWivxqIa3A3VwrcT 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: a980d8dc-de2e-48da-952b-08dce7e4c56f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?B9lr7UfPlTKrepoL8VkhNfAyF9MTGGp?= =?utf-8?q?30Tc8Mn4Mxf8UotEt6zdOuXSpg1cjiWq0n9awd3QFjS4T/fbKuxhk98H1bysYABYT?= =?utf-8?q?Nm9pc5hDTnhey04NQSVbHbkIP2FP6C6jiqFb6N0+vA59yieQ3MFZ/XDiJtyt8rOi/?= =?utf-8?q?DFsO9//xmXsS16/P/cT8Kr73eQJ2eg5RHUqIpTwYNdB5DtvBqAnof7YeetR0M7VfD?= =?utf-8?q?wx0Li/Kiapk67pKwzgSYzKk3AOLzFfA+9J/c4VMxGyQIPVGtGmTbnOFyauYlpb9dS?= =?utf-8?q?0sPYoH/I9SKB6blKugNpou3ombSFnJGuZZnQ+quSRFOiuFxohuSHYAiuIs41+zeHI?= =?utf-8?q?D+n/xLvn2QOWkagr1+1uGQJp8AufEwo7I7gcHx/ffcosvD6IfzamXhbH4pqvOWkoc?= =?utf-8?q?O4zTSU8wtL4cE4EHENUwcG4Nz2CMqqqt8ZOPZllxQAGiNpHA2grpGmN81tvJyS4Bq?= =?utf-8?q?0eaIygGpi2Lklm5tA0dK54GCDX06WzqIs0N14dGEpray4RQBN4oYnZNISRTEt7lJw?= =?utf-8?q?gub3TyUrAD4ad2ljULZmEFk1dZG8Sm5UnnPOioBa8VZkUaHtybmKD9i2JouqteNXl?= =?utf-8?q?Ljp9Q017amsRU/sunXt/CAKmvxMQJ8nKpTuSGlsxomYmXP2zs8MfZf/P3wUo5re/w?= =?utf-8?q?rK/Ln7DQ7Ip28UkYFOLPhMN4DzaGI9swa1GXVJJk5q0L0bgbE5Zcp0VC5ERqPl0Nd?= =?utf-8?q?4ZcV5EdzwsllTfHmg3FlA7TH8MBzchQRsBnkKDFRLYwSQpiIg9hum1hQL/Ks1eNAW?= =?utf-8?q?2n70NhM8u0xC3SBttR16WH9jdvqlBhwqUSX+6e94Sqfw7bdrchlQICdL2wV+PrE+x?= =?utf-8?q?la2nA6e1QcWHEy804pJ84pn315rsj6EhlbFkLBgZvL85NZAilDLsMb4CrZRmkEm/K?= =?utf-8?q?NPggaMbv473Ow+5w0A3MWGASx6tYZl1ylh7X1PdG9CCUiVd2EFqO/+xtsKKaDY+Sn?= =?utf-8?q?BACOc2Sy9pPkv4SrgLbKYLYXgfilSk8v86TKdMS/y9jZ/YVUYilq/JECgOUqnKJK5?= =?utf-8?q?fHUHlb8HT42J70rpGcx/fUga8r+N2ACADQfUqzo0r/3oEb4DInEGbOe8qZBQaZnpd?= =?utf-8?q?3yODmdq91ubNwWpOmxEU4qYCujigqTgrJwr+xC5lNJLO1uaBPStQ5yGhlPXzc8St/?= =?utf-8?q?u9uQYlcgPcK0YSwTLLYcnaCIL+3f7e12XcL0MzWK8DSSdLQFmePylFx/U7ezGTSwE?= =?utf-8?q?BgJyPu7m1dQqBYxuEXBGywkT5HcNXny963iD3icr/A8iCf4+VXPmyriuKUx818vct?= =?utf-8?q?xn4YvZwzy46DZO/UVNEGjZQliKUdMeKhHDQL3rp7sRK85ZAqlSbKpPQE=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?/1FBQQ3h+i+2DBfWl/M7aI5G6XKt?= =?utf-8?q?/ducMy4HvZ+zEFetilWeWeebdcQqFe4QWRDUQqGvYLMaizTtMI8ZcMvOPUEfbcXAT?= =?utf-8?q?U9oEnby19JEdAoG3IJexGUPmG21gS4WN7jvSYbSt28A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oDIE368qCU4t/TZ89QJl?= =?utf-8?q?FQocXYQwLC+b2Efkla3/Qpd6s2yOFUu3duWwQ3w9Y6gwj1vRLOG5YA7EIL0I4uUoT?= =?utf-8?q?Breoi4djuKBZuof69VTpgXGLb6Ab1egCnVDmDiOqHfOQjmhzfCqDOu1Cc0kltuCCG?= =?utf-8?q?YuP+owQ0YnwbmaTfHxnSTUcpHeBpcn9lHI10ZjcM9UucIqf7ZJjYfxOD2EGmhz3uH?= =?utf-8?q?qGBUnSGXc+UsBKFfiKD5afJ+rah+mwXLpXNiZiWtwY76ygaYNm0HDW+WgwQKvYm4j?= =?utf-8?q?1xxeXJll6altAwyRkkGpd5qbxOkL8o3fanWzaH0fnj/HoYHF2Zs6Rl7/3+ypZoXF8?= =?utf-8?q?Kx99uqDi+3KLcLC22LUi6MUroYYtar0vK8/zFeJTcpKprDrCOmUrOW5eVSCoJVeMs?= =?utf-8?q?b2Ltl1q/IIWb+z0adLKB2j+239KNfxeNyp3GN8pyezgwkKUxg1N6DsQa6GTNtXrTj?= =?utf-8?q?3DydupOUvQhUBplL9QSwj//ni10CTGudRdwuR2EXSCqP/nDsnijCJ6CM=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a980d8dc-de2e-48da-952b-08dce7e4c56f 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:33.1803 (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: 0bnePxnEknUvFz5rMn+/96amn4ZjHRDMrqnoKWdcaz9wtohNIx3qA/FyWMAqnp1JaOq8Lf9RsF/KqZx9D2yBYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format. Additional Changes: - Remove mfd parent node at example. - Ref to backlight's common.yaml Signed-off-by: Frank Li --- .../leds/backlight/zii,rave-sp-backlight.txt | 23 -------------- .../leds/backlight/zii,rave-sp-backlight.yaml | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt deleted file mode 100644 index ff5c921386502..0000000000000 --- a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt +++ /dev/null @@ -1,23 +0,0 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings - -RAVE SP backlight device is a "MFD cell" device corresponding to -backlight 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: Should be "zii,rave-sp-backlight" - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - backlight { - compatible = "zii,rave-sp-backlight"; - }; - } - diff --git a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml new file mode 100644 index 0000000000000..fe9dba8231bf1 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/leds/backlight/zii,rave-sp-backlight.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zodiac Inflight Innovations RAVE Supervisory Processor Backlight + +maintainers: + - Lee Jones + +description: + RAVE SP backlight device is a "MFD cell" device corresponding to + backlight 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: + const: zii,rave-sp-backlight + +required: + - compatible + +allOf: + - $ref: common.yaml + +unevaluatedProperties: false + +examples: + - | + backlight { + compatible = "zii,rave-sp-backlight"; + }; + From patchwork Tue Oct 8 22:00:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13826972 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 EB2CCCF0429 for ; Tue, 8 Oct 2024 22:01:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 718B810E18B; Tue, 8 Oct 2024 22:01:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="awiUd90s"; dkim-atps=neutral Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010062.outbound.protection.outlook.com [52.101.69.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id D810C10E18B for ; Tue, 8 Oct 2024 22:01:42 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GnhN6Q8BS3uyOeXjqxYrcjpn7dx3SGXAf33b2E0IAsXCVh2Xu2wsp/UKrtQcNcXdoSLGCggSNXutHQyu14qUk47WNspv/GeAuzsd7+nf3CbKUmFU9MGWy2fkjNM/1E0rsxcqof3kdVzobYDRrVO4uL6QVfk0ijCpuDJm7Mh11jHGupQntulIOlRKP41qUgDWcVIk6OElb0OXUzhQH8EsjxNSAIAEy6Xn0dfhfxl2+32FK6GSwBMm0KIgT/0pjAL/NHzozl8HEB8hyRXo0A3S1gDWSqfMX99U7FuDV3i0OgMO6Jng/tSvzEyL6hVf+N6532pfTqBS92td6st3HIo1Dw== 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=B2odmee2S+ox8BT/ZTjQt5ajl2EZBBKW2iYWwVyGNGg=; b=HgweEbEBwZsEOqcuU1fGAT1CPC2QjZiafSyK9sWgwEkBmhzEIqoewomfC7rrGzmB2FVSMLPcIjfUOeqDPFLt4OFir9KCSFjavbMNjlTOydvHdBZvuHrer7C2uSMuBrbylluuSi5+i2rRjUxKHZLZBx88KJbD7e/f4ZWJE57/ShwLTYOju1OWRH0jEcWK6pCDYdku0gpEGe8Rt+kS7koK6/HmYIdH67c3AHf0SH6vnpZQrQzqMCkcky822pjp+42A7/P0Cc4DQyFpXSHAUA4gPkqKON2iDBH5IB3w4Dpq08GBFa31m/dVSReAiolLy5I2QsZfrpm5KT6+x6euOY+sKg== 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=B2odmee2S+ox8BT/ZTjQt5ajl2EZBBKW2iYWwVyGNGg=; b=awiUd90sLxyTGEyYCnUM1UYwYkVqyTJizicIR6vfgTO1w94TX+NtNP1tHhlyMUwkgwOGvTMKtGTrXQE3V1/mXJV+gr4ekFDrGAeGBnp+9vUAufx5lIv6PQk+Q7bKYvCGfkpNpJtjb3cFhqO7VIvXXZyTpCHhsp1JXgVnlP5a68ZzXv0ptSnnm6DaP6Y6Y67pqfs+AVuCWGHbnfG/hy9cxnMdsHbRDbw8ThJddOoDMVYeYUO9cHgVFiMObT1GHF+oVAmRV48Zj8CsJM2lWkLWDmtczpuspJk5a/EhbS/akAErsPr94VBgbNXGypDH9luHCK0S+fmzdXA4AJUihF1CWw== 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:37 +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:37 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:00:59 -0400 Subject: [PATCH 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Message-Id: <20241008-zii_yaml-v1-3-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=3603; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Fp0UvGpveRY4bFlNFYximIwtARutC4Lw3e7oWFnlL7Y=; b=5t3LDPqln8jHdXCOcNtdGw3me2q1/jr30++l3N9be4M0T35tAA7P9m2fhz9ICOE7CPX4lwvAE aa9phNo7jzCA/3HK2sAuZdVUEXxgFJG0MxoJSZC7XMQfKa09L/xy7hc 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: e92fca82-ccbd-4c7c-6f41-08dce7e4c7fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?R4aDGBARWeSfVd+7cxKoJ1sjhoEJdtS?= =?utf-8?q?n49GiKiIB1KhLUvG0d7DiXh5cNlDQSQmQg25vAMEahL/yFlgIeyyjAxmEBMA7xVU+?= =?utf-8?q?etSyTYRH7pcQTe3aJtWcUnKZJn+u0uEEqHUxSJi3udw7oP4ya3bz3x8kRVFJNdAK/?= =?utf-8?q?NwNCnslt0fDzbLVY5jpPkphA35BU8qqKs9Go8ff0DiI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tasA937d?= =?utf-8?q?/d4cF8+W88tlmZLiHBRcnBd1bno2cdMxl55v89C0ChaX5+u5KHZq4ldbJojWMiziJ?= =?utf-8?q?ydszkHuWySjzA6DEsAJUjTN3guJ/VaQjILHlDC+LexMPTOf0JhyfX4jXxdr9IhSGA?= =?utf-8?q?Ud+bAopWbsAaU8almrVouhGPP8cgt64xPZz2g6aCk0tFuyTkVpXqx6o2aQts6IU+q?= =?utf-8?q?FkzmWGFjzsQaxiS6EZ8JmKQxeUgO9wJUehoI7uj2XDXmK0C1bT+siEHw=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?+Jwq7SF+TE5cyz6mSYvGByFKquQc?= =?utf-8?q?HHyv0aA8Q3yPjPeccLmE73euYPryWTs0Ojaen+VwHbCKOICi5qli5EOr5l9t9ZBjT?= =?utf-8?q?d+K64Q5g5mml8T3M/84vA7LFotocOFNTgV+0x3WIBLrZfnbX5GoGqKk8bMmlFNi/9?= =?utf-8?q?K1zU17NJeSbtlpSp00/B178A2m7FDmgOC6mCvQOLRUWLcf7arLJzdrX0fiWNWKhWQ?= =?utf-8?q?BamWRHH9Yb0B3YBRlk8wIA2sB0oXhLhQfl7MvBAkP4FgckXEepcGZ+zW0PSC1tPOP?= =?utf-8?q?e07lbSsV5CiGgsYb5MBmQRpN7Ev5pYhU8eiH/LBg72INtPCUvqnkbx4G7PFj9GXuW?= =?utf-8?q?Q4Wt6FA46qCo8LNl/pvHZtv6aMxtcx6duMVlSXsARXzm0vKYvyp4DkTGMXIcx0Ytz?= =?utf-8?q?mI9kteyAXyD9jVyxzubzIJPTlugh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Dfn8coq1u1+DcCir56QEY8iy9btNnhnn?= =?utf-8?q?entYbxEPAP7+qt6NY4A5aWsa4WlN816iF609XRyFIOnwodqYUUOybp3YLWnhxRd3b?= =?utf-8?q?T3PmqctmZ5SmPK2v62Vo2Qv+YneabRbscaLL4q1KN8m64rY1SEBQ9twKk59ypTYLM?= =?utf-8?q?u29KfWqy8kkAiPiZiw7DId+Gr2dg7q11+5h3NHitkD8Ex8W34ghwfRmo=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e92fca82-ccbd-4c7c-6f41-08dce7e4c7fa 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:37.4255 (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: zE1yogB8BBnpvNcvd3jyP+DCdaLVDhqUYh7S4UJHf/W0OciWHt4G+wNYxrCLpaHRusGvFkLyRs2M4xQ77pTQvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format. Additional changes: - Add ref to nvme.yaml. - Add reg property. - Remove mfd at example. Signed-off-by: Frank Li --- .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ---------------- .../bindings/nvmem/zii,rave-sp-eeprom.yaml | 54 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 40 deletions(-) diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt deleted file mode 100644 index 0df79d9e07ec2..0000000000000 --- a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt +++ /dev/null @@ -1,40 +0,0 @@ -Zodiac Inflight Innovations RAVE EEPROM Bindings - -RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM -attached to 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: Should be "zii,rave-sp-eeprom" - -Optional properties: - -- zii,eeprom-name: Unique EEPROM identifier describing its function in the - system. Will be used as created NVMEM deivce's name. - -Data cells: - -Data cells are child nodes of eerpom node, bindings for which are -documented in Documentation/devicetree/bindings/nvmem/nvmem.txt - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - eeprom@a4 { - compatible = "zii,rave-sp-eeprom"; - reg = <0xa4 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - zii,eeprom-name = "main-eeprom"; - - wdt_timeout: wdt-timeout@81 { - reg = <0x81 2>; - }; - }; - } diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml new file mode 100644 index 0000000000000..3ae26f1cf7acc --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/zii,rave-sp-eeprom.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zodiac Inflight Innovations RAVE EEPROM + +maintainers: + - Srinivas Kandagatla + +description: + RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM + attached to 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: + const: zii,rave-sp-eeprom + + reg: + maxItems: 1 + + zii,eeprom-name: + $ref: /schemas/types.yaml#/definitions/string + description: + Unique EEPROM identifier describing its function in the + system. Will be used as created NVMEM deivce's name. + +required: + - compatible + +allOf: + - $ref: nvmem.yaml# + - $ref: nvmem-deprecated-cells.yaml# + +unevaluatedProperties: false + +examples: + - | + eeprom@a4 { + compatible = "zii,rave-sp-eeprom"; + reg = <0xa4 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + zii,eeprom-name = "main-eeprom"; + + wdt-timeout@81 { + reg = <0x81 2>; + }; + }; + 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: 13826973 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 74A8FCF0428 for ; Tue, 8 Oct 2024 22:01:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E184010E268; Tue, 8 Oct 2024 22:01:44 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="cM83+OPG"; dkim-atps=neutral Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010062.outbound.protection.outlook.com [52.101.69.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3D71F10E18B for ; Tue, 8 Oct 2024 22:01:43 +0000 (UTC) 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) 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|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Oz/wE6RePI0spTjhNn40on+PFAsNEsu?= =?utf-8?q?qg6o/tDWz8eYlLseOQ8HA8d47+OqgKWfCkyk1+msIuo7kZO/5ClKwMxxd7YO0wnZV?= =?utf-8?q?7CEdXdZPYoJG0OoE9r/6ABk78RugfJyZTGBxTPC60hLp1gUnpVKBcNxVq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ohv?= =?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?ZZWCflNnfTgALM1HdwtjeDEUHEhKgEOE6kIlllsf6XJIjF2JqW5u9bW9H+j2OYmw+?= =?utf-8?q?OLPzFhnC6t4uuPUg/wuJ0TQuG33KSRJh9CzYdnCNGataasWZG9YS1Hz3oZ27Srtlo?= =?utf-8?q?KVdfOJLZOB81L5kb+lra08UdnZyFW/YBwfYnIdDoMfsYesukQDixBbzmOJz3DW2dk?= =?utf-8?q?4skyznJsTE3O7Z8SOcYb02YOqPzBPLmg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3IXs5xWhjkBefwXAKgZ13O+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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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"; + }; + From patchwork Tue Oct 8 22:01:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13826974 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 5AA85CF0429 for ; Tue, 8 Oct 2024 22:01:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E7C5C10E5F7; Tue, 8 Oct 2024 22:01:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="eDznqeb5"; dkim-atps=neutral Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011028.outbound.protection.outlook.com [52.101.65.28]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4EAD010E5FB for ; Tue, 8 Oct 2024 22:01:51 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jXeNMBwr4h263YKZzjqA0eitDEwnkfq0QBWLYU7BRAaaW5xPrIQ27yuLh71KS40pElykITK8Oq+nVk0TuwMvGpos7f1nkR0ya30ukmz7iGLqYSlaK9cyqjudqRoEMGjKl3c25w4bV6AsDCJqIHpwM+3qYJeFRz/xEIDdrmIJbw6PBZRb7TVWrAoROx2F2n+1GTuaBFzsz+0+yBf15+quSHMQ2g4L04FOXf2by/XkoW+6Qnub/S93Qjnau5Ym6ZtjiC+vpt/Zc1hFSdj0Ccr2yVLEjfP54foxXFeAaw5n8VR7JFzML5o30+3C5f/+tLAXNsTnnlovlwy5vG0ay0+0wA== 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=/5yBaguEH7/lRAPP2avNlNp0tYwa0TnmzDd43PItTlY=; b=Qrc3dUEnZy6cblpXUTlHDGYZjKL0tMemV3q7+6PyJyB0W7oqJ/bM5wRMcdAWUIV8ALe7tB3RKffnW6UaNiaudbPgs+E0uAwM3ZCyqMKLxqt/rrl7hJc6IfVX2U9T7ALCUJ91B45+sRvW4+HGNiNLTTDgUGmoiCWtvmngfJyPMIV6TxGHXrmHPID7o/LWr86j/8BCihyLEYp1h0wsazU207WfQvi1HkjN81EtBftvPMc/lHBhkfIEtTFyGznRawhsok1q1g7B3pFtuEJBDw/Za7VbQ0Xl1mecAhlTcYkIREaRsDxu5FomiDkKVDkJcuIzNLPBhOcyGXl+54u5COwuuw== 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=/5yBaguEH7/lRAPP2avNlNp0tYwa0TnmzDd43PItTlY=; b=eDznqeb5BK3S6lj+uJ7SDjlyiP9kwKeCmcsDCjNXD1514fQn1cUAmKxon+WDD/yK6iNzv7R0N5Hk0kA8ACcUYUoaIluu0iysUsZeyIkATi+iMcGquIQbNsrypqx38+XW2T4eMTvWt2+zbFXfembdFOnonszHqk1EObZaUYphSMfRPM/PT8Tfo+R2r4BGg9YXj1CEuc1osL/Lg9k2JYrFD5EkxqzcdzEZWiAmZjyCfU5B5EVFG7vlbmrGxNMm3zeDJ/SETSIdDEg02NjjkAgbKMi9AALkGBkEDMO6lhndCtADNIxrNZ9lU051X4mw6YCp+yiKFJQzQjPiYCtcZpq8/g== 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:45 +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:45 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:01:01 -0400 Subject: [PATCH 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format Message-Id: <20241008-zii_yaml-v1-5-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=3530; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=QgZ4qpuBe2Iuf+86t5wdsnelCC4x9/FyyKlFxjiYoLE=; b=bk/JeKDHfiCpfG42dW2bKh/kBUGEYKcZyrwAxs+LLP0pCcMyRtGw63oPIC+7jhUnzbi2nsOpj SQE/mzmTycPBwC3ki0FLDtDedD6xxEzX5KgF9dkaViYjKNF/0WxKimN 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) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: b859641a-159b-4e27-fc0b-08dce7e4ccff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Bdt2FmrL8PGGauXv2UUAcLxgVUH5fTg?= =?utf-8?q?nltRniIMQdVzIpJaO7AQbVTj39HDHoqkomJEhhZEK683QwIdTpt566ViAaHGI9Yam?= =?utf-8?q?/Cx1RXkRHaMriZaTp8KOIA/8MthcDGs6I7CjzF/Pnl41dgvMb4MfiNsC9aI9EIc/2?= =?utf-8?q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hPXwV8v0e4oLiHpsnQ7r5Kzq4lybJLDpS4qHyis1O8D0p+ZF4Uqhsor5szGmfJ?= =?utf-8?q?fDothO/WRBk31PqGuK+K0ij+xjyh6xhEuvk6z6FhlbETnf3Ku5X+4m3ykQQrF8nK3?= =?utf-8?q?yXTjgUdCFixnT79KmJBJNjJFeKqtAK84qcWSrkg3PEEznQBIOzFOe0YhYUmw+nA9q?= =?utf-8?q?mKzB9VKbVlMF355OtnPVyPsCWC/2NVYvNKurJznQo9FtV+lplPYG+14ddQI8cuZqZ?= =?utf-8?q?bw/3SqQqBqpi/JwXdBDPHwWyKHKjwuXggedekZeKBSNHFZobXYjvLUO8=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?9tr2l2b7cumhWbmjjfTAxc0RWZIK?= =?utf-8?q?PP+NTokAcfqHCu3rLohnJRDKugGem3SpwDoYSR185KZdecCpX/hsoN21ysmkU6tbh?= =?utf-8?q?+j3/+1eQUv3C7TjB2ydB7G54Zem5QTinKLlQKsqNZWbOuJRH9Up9Mcbxny9yFvK8j?= =?utf-8?q?pT2TpkAs/oacpwtYflyUaF4vog0dmqHmBi8wYXcuqKQ7zn9bxCiCBYN6+yNIGw6cm?= =?utf-8?q?epY+qhQ3/dt7QaI/L/EsXRJO7iT+CLVGnfze4Z2b4vOvw9jeNlqw5joV/1FygfWrp?= =?utf-8?q?jJNpR47KmQ6tWUkmkuaWPWbLNsy+16Hm0qqGwKBjW4R4mzknmhAwPFd2KcZqWMShY?= =?utf-8?q?DFSpZICIw252IwlgrQd25N+cWI3q/7fpkT3T5kZ73ZnFLnS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Ku+Db+ULShR3Sk5iLV?= =?utf-8?q?fw5F3l8lIdv6ledIQjnfuSnndNBOUWYSe++/BT1VprIWwHpzgXg8jbMwWQeVYCubC?= =?utf-8?q?xHONUVHX42zCl9NUEfoA0OI1jSAh5guRjoWiKzmKk6VnBKueZkUqubAodfJyBx8qN?= =?utf-8?q?Xd0uv1n1m9HPrx8+6aeWbmvjx80/BwExmjULmyzTf7zhi27F2kQlxK+U6PoMvDezc?= =?utf-8?q?J3LKDBh3fIeL/YjbTPUy0kdn648UWPeercnYOZw6TEeVQp8zSx0ZIG30=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b859641a-159b-4e27-fc0b-08dce7e4ccff 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:45.8398 (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: M47rc8Plg8d5Fkf3TiwdQq7hAFQC5qO3u7ftL7A66otFzFchCOrNCVdjSMS8SyOMnMjCxPziQgFx8KMwHKhGlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Convert device binding doc zii,rave-sp.txt to yaml format. Additional change: - ref to other zii yaml files. - remove rave-sp-hwmon and rave-sp-leds. Signed-off-by: Frank Li --- .../devicetree/bindings/mfd/zii,rave-sp.txt | 39 -------------- .../devicetree/bindings/mfd/zii,rave-sp.yaml | 63 ++++++++++++++++++++++ 2 files changed, 63 insertions(+), 39 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt b/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt deleted file mode 100644 index e0f901edc0635..0000000000000 --- a/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt +++ /dev/null @@ -1,39 +0,0 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor - -RAVE Supervisory Processor communicates with SoC over UART. It is -expected that its Device Tree node is specified as a child of a node -corresponding to UART controller used for communication. - -Required parent device properties: - - - compatible: Should be one of: - - "zii,rave-sp-niu" - - "zii,rave-sp-mezz" - - "zii,rave-sp-esb" - - "zii,rave-sp-rdu1" - - "zii,rave-sp-rdu2" - - - current-speed: Should be set to baud rate SP device is using - -RAVE SP consists of the following sub-devices: - -Device Description ------- ----------- -rave-sp-wdt : Watchdog -rave-sp-nvmem : Interface to onboard EEPROM -rave-sp-backlight : Display backlight -rave-sp-hwmon : Interface to onboard hardware sensors -rave-sp-leds : Interface to onboard LEDs -rave-sp-input : Interface to onboard power button - -Example of usage: - - rdu { - compatible = "zii,rave-sp-rdu2"; - current-speed = <1000000>; - - watchdog { - compatible = "zii,rave-sp-watchdog"; - }; - }; - diff --git a/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml b/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml new file mode 100644 index 0000000000000..1d078c5ef1689 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/zii,rave-sp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zodiac Inflight Innovations RAVE Supervisory Processor + +maintainers: + - Frank Li + +description: + RAVE Supervisory Processor communicates with SoC over UART. It is + expected that its Device Tree node is specified as a child of a node + corresponding to UART controller used for communication. + +properties: + compatible: + enum: + - zii,rave-sp-niu + - zii,rave-sp-mezz + - zii,rave-sp-esb + - zii,rave-sp-rdu1 + - zii,rave-sp-rdu2 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + watchdog: + $ref: /schemas/watchdog/zii,rave-sp-wdt.yaml + + backlight: + $ref: /schemas/leds/backlight/zii,rave-sp-backlight.yaml + + pwrbutton: + $ref: /schemas/input/zii,rave-sp-pwrbutton.yaml + +patternProperties: + '^eeprom@[0-9a-f]+$': + $ref: /schemas/nvmem/zii,rave-sp-eeprom.yaml + +required: + - compatible + +allOf: + - $ref: /schemas/serial/serial-peripheral-props.yaml + +unevaluatedProperties: false + +examples: + - | + mfd { + compatible = "zii,rave-sp-rdu2"; + current-speed = <1000000>; + + watchdog { + compatible = "zii,rave-sp-watchdog"; + }; + }; +