From patchwork Thu Oct 10 15:42:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 834566 Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11012036.outbound.protection.outlook.com [52.101.66.36]) (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 9EEA81CCEFA; Thu, 10 Oct 2024 15:43:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.36 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575012; cv=fail; b=pwjIQsAder84NbsAO9eSQkXy61ZMGdmWp1pow3MIJJstLbiFCtw0sMz1q8rZzHN7Q40MuvOBun27Po2BlSI8d7j5niV/XwDn/wHyVcal/7pytjDPMUL0bcHa7yD6EdnJ4pZa5343lpziLzgEqi452EubYTUIl5lcXaPWqbTHy3c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575012; c=relaxed/simple; bh=SGGydHhKKWQpzGXHrnyGpPKC8rInbg4w+D3agDzolx4=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=AALW2D4sHBRSqNLa6DLRtJDwwzQNkvbpLVe7XBed3jyC8vrRIpvNkEwNYVYCQqcw+VgHAnbeemc0d6yPaVdeU1mIUbEeOfBFo47lF4ZsfxTLWODCyULjJnQLErHRP5OExqw0G7jCMnZN0LFASL6gTjAZhamrTN3lLTfaJcYXfMM= 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=Dsg1TuvO; arc=fail smtp.client-ip=52.101.66.36 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="Dsg1TuvO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gE89EzZoUGU+nmMnwIzXexCBSXAEbdziTLBXxaeh9vrumaOzn8XL/oXgRuVF9rKZDSNyFQGsm3AdUhbrG7BVhtO6cV8fo2YjFbJBedRhoY23Y/QkH0PhB1PvXrneObqPU5O0hdHq079uvRd/TK4XZ+3xLxXHK7YWS4tcBQTtwVA9HTVXl3VXIySreeH7sonpoVOTAfMU8lOuAujvbjW3xgqEyh9MOx3DYcSFiIeSBX5i9Sec5QjgxHMtsJpzmhFX/bgzEzpAV3Zf1f7nllI9wSn1hZme7n6Q+DL1ThgyZAUnXqWZJJ/PC0bzSXtx9sXo32VLMXk8+wjkK7Asf9ZbxA== 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=C8hjfbsXm1SEn4thXSLE7lWwMtHZotNuxJShgldUcc4=; b=VFyp3ruQAqoGUVpPVUhw34JL15FuztZWOfd1Zf0VpjT02tPT+D10m3luHA3rtHaLcpyfiFxozSdeTuW6x6L+PRrNcM72QYZ1l3lKNHZVfgFCkZPH2CTloE5Y8ta3DINHMzpKe+FaT2WWIpBkL85M2VRb/U6hv51ct0OqlvIr50duaOw4EzGS42+lzc+VEgnf2N+/pqvDTVI+T+fr00QLTgKkt/2tdevyuut6a32vrbsRIuOWMvZkbz+GSRZsaJllMvk/vVieSdiA9cpv+myOYJYLxvxwoPWdwu2WeSjoDuYJiHTQK69MePEjVJ6wn+yMc/4hHnvWP3684Ex1Y+6bgw== 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=C8hjfbsXm1SEn4thXSLE7lWwMtHZotNuxJShgldUcc4=; b=Dsg1TuvOtU9HzKo6YrlYvXAU+snF1XWlW2lbTqAOgjIJv9duDV6yzGluiUgG1cJTLSKa3XYKlXuz+hjE5MFu0p+Hsz+lzr9YpG6TESSdYpWAgAv+0Q4qzsj0TOVgy085Cq0t6TeF9WdkcG1+DHxq7iufmHB83ZW9dHO4t2d+/b2oOo2zAFZElf371Ol/5yTUxx5J7+X3epSwhS+o6og8vRuKKxosvf0AdYCf2unFEQsrpc4rakHmaU6eTobaME5H1BxcM64B/eL6ccNRkzjgXyM+hZxiQ4VapyJSj0B7JX57mGdY2ctUdgk7rdgRqasOf3Cp+9Db3VS4KYyFqTXfsw== 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 DU2PR04MB8984.eurprd04.prod.outlook.com (2603:10a6:10:2e3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct 2024 15:43:28 +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; Thu, 10 Oct 2024 15:43:28 +0000 From: Frank Li Date: Thu, 10 Oct 2024 11:42:39 -0400 Subject: [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml Message-Id: <20241010-zii_yaml-v2-2-0ab730607422@nxp.com> References: <20241010-zii_yaml-v2-0-0ab730607422@nxp.com> In-Reply-To: <20241010-zii_yaml-v2-0-0ab730607422@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=1728574994; l=2749; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=SGGydHhKKWQpzGXHrnyGpPKC8rInbg4w+D3agDzolx4=; b=dHJzY67wgQD09pZYCaBI5L1uNof/j1lbbXR20+MKYtfvzzAclG2RAMHG+pQ03DeIyrbrb7hzh Rx/CfvEgoTPCI6zecK+mBeH4Oo4IysEacJzu2MU5Zg/S4usRF/l0r79 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ2PR07CA0022.namprd07.prod.outlook.com (2603:10b6:a03:505::24) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8984:EE_ X-MS-Office365-Filtering-Correlation-Id: 850fc8a6-128e-42f9-210c-08dce94248d4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|7416014|376014|52116014|1800799024|921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xhUC9?= =?utf-8?q?giuVzAMcJjCnGviDaEB1Fx8oFj5nYlh2UPUhnBrj0ZBpS2KEpYmaSizy3nucR5IcL?= =?utf-8?q?uqjHo0YqXKEg1TTqNf0xjPjggmZ3nYLH1/gty0vFaHhiQnKI/YXRNRdknzywtnd5h?= =?utf-8?q?194Ncgcf1XnX4ayV/II0CjTyaqYKnIJecHduA7xNhysy7jhqXjLnpCUWazR85rpeN?= =?utf-8?q?k4G/43jh2MHWEGZb+MNmeSJAlbMlUoJF4Rb3YCs2Ri14t32CUNaRKSkCTt0RAO+aZ?= =?utf-8?q?xRzXgDb60Ib01nk6CR9CTVIm31a+JUEpTtSr4iuuLR7zsbwx0cpgyQ0aWusbzC4LO?= =?utf-8?q?ZFYpyIZiTvOii+F6L3Zo4odE9dH80imciuz05PTWWhHlcg/ZGBkG7FwOaR6WHsChb?= =?utf-8?q?pyAVS5SM7A1pkqB+JhcmXEH9RHpH3sbQSaIQbyJCmdT4zbM0X2mHpo6mA=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)(366016)(7416014)(376014)(52116014)(1800799024)(921020)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7NrhZTd2au/zb0lN/biK+E4mgh4/?= =?utf-8?q?VFuslhKVkOysIcQls3U65rR14bFNZfdxO/uiJIpCThwRy7F6XsiZNbLzR8r5JqU7h?= =?utf-8?q?3PNLFQVMPcS4xh+06aYgEM2gqnA2DTYY/YJN04UB07KMsPDll9ajLt6EgTJ5bOarf?= =?utf-8?q?tiqUf5jrmVqzFPh0JEwzb8h+NDupTScsgqaJqkOEhIYFz8Gl7HVENCTo1HtkoZgd7?= =?utf-8?q?pEtWFmaTZ7QVmlrmEAICnz2y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QtQbYH5701u95Uxft0mQUf6yVbhzX6ZsoB6TYl2U6CAl?= =?utf-8?q?D6186E/ZHgnHNjKNgyGu8Ws3V67uPgo2l/eaiVsDU8h0DNqVUhQ426wnjdtUE8fjI?= =?utf-8?q?xFlSc/JBe2sXLDkKMvJv9EONuyp+E55x4gZEfkjdqP465YfYKNUR1dT57M67MQeb8?= =?utf-8?q?kMnebEcY6+i1SZ1tzow+KRm+dSHfgfJw/lmScsbdG2zN9Fdmty9buBplxTfdNXoLb?= =?utf-8?q?3DscpX/glvGf5gR6Fzt2R68XLvtsjqY80Sw7rtm8jToqkicuj3VY4RuY9Cnuh7e1D?= =?utf-8?q?oRkt7HaTO7GSjUvIk7GhwdkHpZ9AvqvjgPT5X+zSdfKiDzmaVhUjy6ugPn5H8o4sA?= =?utf-8?q?TUZQXhAh/gtPRDEm4n2MkYBP82ZFD8vZ86DBL+dhDkIFr5Bn7WeIoOe0=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 850fc8a6-128e-42f9-210c-08dce94248d4 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 15:43:27.9930 (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: PYjven9yPa7mGUvNJFKArEpUXeSK3itqX55B7cDPgtUE9wy1Jm8LeafERcUioqeWqZMhEvM5YID052KLX6ULaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8984 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 Reviewed-by: Rob Herring (Arm) Reviewed-by: Daniel Thompson --- .../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..ee93a3e64852a --- /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: + - Frank Li + +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"; + }; +