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?U9oEnby19JEdAoG3IJexGUPmG21gS4WN7jvSYbSt28A3kZm2H059X+6vaX/ANjf47?= =?utf-8?q?ogBAqjo/YzAaJ3jhmYEPXBf1rgDoUmcDLIqwrtiXpNW0m//u2MKo4v7mpggO0R+XI?= =?utf-8?q?dt8F/8OfUPMCneqdVHKlW0ht6YBKwJ7qqBwJVifw0/frVxPoP8IidPfIwZo92aqt2?= =?utf-8?q?4EvLMseWPlvayIQE3hzkVbZ2pAxsI7BZ5OQsxBGs83A+eonC29tVY7Lg0v9m5zCD1?= =?utf-8?q?yxnY1fZinvgHsUblIg9rQKB55VklAIqagcse2OVCZuTimN7MIFmAfP4hFKube0lJX?= =?utf-8?q?1djiy9JD21l3BgTaXOz/xSecHRpDThACBxv/zfEtoNRVpMJusLbz+QWHA8djG+NdZ?= =?utf-8?q?r8xjp8AWUH7xWzVhlGsY1lrJ+UUgJgE1zXtfidQ+0vp+vKwY9Me8RVw/aRmIQbZie?= =?utf-8?q?fegGfWbTFiiILNdqUuLWu3JDF3HLthfg3RLHxUAhMNKn7E31L14pgsHouyYCQrbZN?= =?utf-8?q?vFfu6dXmUMoqfh6YuqBsvE/brNy/+/i0Rqu9rUO5crXJueYw+Mp1Jl4wkG9wTQg+y?= =?utf-8?q?REq9bhPks/04opYZRfuKKr9MtGCXx0c2bL5WrIP2TEst5DJqKUD4O0o8bm9Vn5wNI?= =?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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"; + }; +