From patchwork Thu Oct 10 15:42:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 834334 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 54FD41CCEC6; Thu, 10 Oct 2024 15:43:25 +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=1728575010; cv=fail; b=G0m6ttj8Kk2WyiLKSaScW30PyzYi+C7MAV3gHYJLFurs+/bzGfqhWGk4CM/Xe+qed1eay7PC7PP9WOglUZlhrpMGrJD34JWuImJyWl/RJprWzJlYQnC07uJ4HMg69cEcAIg6leSHoYCSvYMtDHU7KgyjwDnTUnRMGJBDZp81zEU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575010; c=relaxed/simple; bh=bnY+JrZXt7Ym6xS8UnWC7Kbe0qgMno5ut/zvwG6v+mI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=HL+0Qh+j82RkOgQlaBO3PoCCDRkYtTbGwjgdbMQxLGIKIM+7OEjtweYqTdSKGpkrS5SMKmCjfBhzjADiJXccCtxVZy6H35/sl/j65etq+uDxAIxJ5V0hL7VOXp+tkidY11tXhszpStgOT2Fgmoymc4nlSB8zkabqbx7Sv14FgLE= 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=EDZ/iEVj; 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="EDZ/iEVj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uveLPavOfDZvrF1sKY2m2x4S1CYI+8WMdb/TFGPzIBpKtmnG+SNDhVR78UwOktCvfbQbK3224buDGT2dHZ2qNnbQuq245Bf9gRhPt3JA/egQxTB1RdZuH9MifSuZJhT0Od2Ki1+vir1qeWOgpP/Wz2MJZQvda3is6UrVtGc2vQ6ZtZqfsKtuLR8d7pYqDriAliLo7/qEJJQ+faR8lkFUf723qlv3rE+sZkKsnl3JTK5IfwF3ExnyIuJRQQDtWhx7ZitDI6bNXbFWMQ+gqdFhvN1zA84eauJEs8YM4HKFE6GAC7E/BlHPr/QYNJIKnztwnfyGxLyW51zPnGUD+Vh9nQ== 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=dxZLTMsAQgpSVMP9SAo++4i38SdUNkCpzYp1SN2q2eA=; b=lonB5cvTSZWqiJbOEnw7mUwPOOsZkXrqxKsAgEzBkPw1l+4od2OND/hHmpwAfdQcwRntgoCd7+Hvoxdfe7Qo7hOjUqN3aWIu5pQtfSh1bVjljK5WpABAvvPev9nTzH0kZSIw2jRDH1SNxFKBiBwgXQqqqzZY27Acz4hxr6UnoTwOGl9er2ZjFINBxTQfNyz1b18pIXCVMtKfmvfM9Ka+3W4B5mbHij+HfdxbqYotvGcHP1QAgG0CJKlUpKekqgQ8kTsZMmT5WGSQbr1M2tI+VqJ5GaQ+J8BFV1K3UWl93tQOYWbf+exWp/P29n25z3Zon+3h7caSE7H5sFEHD42XHw== 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=dxZLTMsAQgpSVMP9SAo++4i38SdUNkCpzYp1SN2q2eA=; b=EDZ/iEVjK2sdYiYViYy1ybz6WB3mKGpG2RXhRF9AxqU72QtntMJ1ft8LdGANXEaA0RFcNqQruZbm5svmOQf+9c5zLF4RCT1iTP/xzSrDCaFqysuxCWtXT3N/+3ovgYLUq13QeY+Wsv6X0ME8/GN6e4h3+e0x6tPv/iniQnII6r++b2H3gAO/b0oc1PKVGaB/IxL5eIcep67mF3RttrzLvjUi2on0EBerXFaOQhBxb46vs+6HkvNvi3hi67vIQBOiOR1HVN2ZievM9m2YWbTbRD7hxKk0HsVoFSys5SifsLS+9pCB3TlbKlejqoS4iWqcfPf5it05uCpnxO8t96ZoSA== 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:23 +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:23 +0000 From: Frank Li Date: Thu, 10 Oct 2024 11:42:38 -0400 Subject: [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Message-Id: <20241010-zii_yaml-v2-1-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=2670; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=bnY+JrZXt7Ym6xS8UnWC7Kbe0qgMno5ut/zvwG6v+mI=; b=+U22YV7fRjbkZ9C9UgZXFKda8sny9POxr4awEVA72FthZxS/we+wRhzrHWUD8LmqYTmbA+X/3 PSAjfI0F5e+ATj2wRpeaoaO7x8KFxW+QtqEsqKjyMFuIX7RetFFYOSy 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-input@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: 7a66bd2b-7281-4a01-65a2-08dce9424606 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|366016|7416014|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chPma0Uq8f7Bo?= =?utf-8?q?mYRtBGrPFC9nxVwe3vgqHq7dCn76iQsqdJnqbFmJ3pe0SrSF5SVEKv5FPVBgVPrAO?= =?utf-8?q?yTEFHk1pk/OInMYemri841NHqBggnu//1UfEOE96NJNFXjZlZQwaRn48eElJTXaCD?= =?utf-8?q?79WGUBavgOyBKu1mcFuCvz/mutyUYNuAiGNchpTXZrT58jS6bxSHurFok2Csy1tTo?= =?utf-8?q?uvRTapmNeRoBnfMjIxdoW5mRknUJSJp6GO8vfcKynVi133hMeS5RnvV22X6R8H17m?= =?utf-8?q?qMLhs1wTJVw5dY9wQmIZVv2s6gFVx8cj2Jk9nBJavR/IxLmfyVQvgDtogKJqPfNYz?= =?utf-8?q?bAhtBHoyydOZoFe2IWZTDtfxivufAjASQ7zmfBy1dfrGvDiJAsNXd2cPFhzqPAx1o?= =?utf-8?q?BYN3KXIgB3bkFtpHyQaK3nSJ3p4na5qzEbH3oG1hXH9XxUpgTMWKyMCxU=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?rKwzlCOFlApDpxHB28FBOmAxTsA1?= =?utf-8?q?/8ZFNH/XUI5uuoTVAu/+Wyuu97aHEkm017p1e3BYQFAjFHvFXmOctrSfMDJVXn9jy?= =?utf-8?q?Dq6P+BFRizAWSDhjXE03VBSHiplkQvuXs7XWIvQbbUbfG4hWk6z6jvCiMqyNkiSRT?= =?utf-8?q?rlPbh96NPESiyr/saQpRa+taxRBlym99uQVdPXVs+q2cX5T2pwBKWdPlWLvjKLVam?= =?utf-8?q?KMbMDCKZtR5lHsA49LDWmU+TPL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mfBvaqYg023rhES9E7Xq2GunCUhF7Zkuie?= =?utf-8?q?y6uDAL48Y9jxrdqJwjDS/EUopVxKcQ0EAU7AUH07wibawO6lZKXkhvp6rzPk0U7Io?= =?utf-8?q?twB6Zo/tyEKI87HzQGS1aULujMkLFaWdyqlDR1Xqz2nrFJaXO9usc/HXCM9Entv2z?= =?utf-8?q?hu2+SS6UGKyy73HwzUmiC+/f6qtKgTS9GevdOQw/CO0RXZCmB9uvSev7hDwEptf2n?= =?utf-8?q?5GWi0OX9YRrW1i8lIp0wbKFNga51S4VPXmYXYhc+3x95xbUiqUjrRRVlEEhDp5zFC?= =?utf-8?q?z15VGEnXepU0Q8G0t2/n8bSYblfnvQZz0xwke13KlG7oFbuX879bpxspjGntc/49u?= =?utf-8?q?KpmnakwBltJZIS/oWG5Y6N96Tr7tyUEG9wx6P0DymW4gnV68+GI64icI=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a66bd2b-7281-4a01-65a2-08dce9424606 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:23.2622 (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: JTn7k+sA7JBDNC1IshCSBquPM4JwHurqCU7cfgF5J6L2R0wqFaHiZH+WKeKgWkv92HFkWPqJFCbAeUY56MFqWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8984 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 Reviewed-by: Rob Herring (Arm) --- .../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..b26e6fe174f22 --- /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: + - Frank Li + +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"; + }; +