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: 13830453 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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LchPma0Uq8f7Bo?= =?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+TP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21mfBvaqYg023rhES9E7Xq2GunCUhF7Zkuie?= =?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"; + }; + 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: 13830454 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-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: 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|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?0gFoGK3/AQ+nB2lSCHhsJXOpV2b8f23?= =?utf-8?q?ryPS+WgQurueUx0hhB79tIk93K0NoanxD2fd7hFmGHnwdwDetzb99QM2YIbUtdqCK?= =?utf-8?q?g4MgrTeZ/54JD8Nhzu6LkFvoV4Swa0xDTjWevzxhTv4k8hPLMQab5Lt8rUhe8oEkt?= =?utf-8?q?sh/jA0kJ9jyTL7a0vkpQozoB9uSFTwunLRMTy+o6buQxMmH/nqDVcDtnPLaaT5DMt?= =?utf-8?q?lfbf16ZGZ0hppnoICg+VlB0fzNBVGxS1jjRQ7UfxgeDYPKu4clvrW/7nEbzSOW+Qw?= =?utf-8?q?1AW3Mn/KBS48Teu3YJ8KHqOEOrOsGZNBAxgWzBJVUTjPPnf5VmdJx9EXv8MOdz90O?= =?utf-8?q?hE54wpgG5M5AmZYbE609Ok1hKSFZesxabksbHyljtf1T8Sy2T0Os5z5p+UziPawGK?= =?utf-8?q?W11kjMIUZLbanDzcawkc6HwDbJdPa+iy0e/wiHDS5JNFMz4NEhPyJsjkCUPQs0Av2?= =?utf-8?q?W69oAEx3GIBL0gQfHolrOZybOQiZkn2g9DM5x+8/CpwF5WCdrxGZUJ1lHNj8ad2yk?= =?utf-8?q?RfIM+1Aro0Wd2XFf5dOLhaCd/63UMhwmyfvMwryHpJfVJA/pu5qQ6e4Jn3wVAe40T?= =?utf-8?q?Mw5EMtmVPbkMv+b14qxCCLjbDoPeEmDrqn9bT+3ohxJ4dieu+J8zgkGh32yj7+6Xg?= =?utf-8?q?6MYZDjjjGutq4QCzQh4eHZK4Ljxf1xrxCeVG4D+VKVk3zW3Bnmj5bebM4vDftZTj+?= =?utf-8?q?bvbt954iwO/MYjoWhNd0IgJoLLlaWwRo1ZbQk8zC/JpBF0zeXPDDbkk7sdecl3zAC?= =?utf-8?q?nwNloTRA0j5yDJxLE+aCEQP8Vaiz3BhDix1qbrgY0vBw9oXI8hLFNOm8n9hoxhUC9?= =?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+NDupTScsgqaJqkOEhIYFz8Gl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L1ZJSv5uIE6u08KBsz0?= =?utf-8?q?d/ekzIDm9VuSPW/UEOsK1QtQbYH5701u95Uxft0mQUf6yVbhzX6ZsoB6TYl2U6CAl?= =?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"; + }; + From patchwork Thu Oct 10 15:42:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13830455 Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010018.outbound.protection.outlook.com [52.101.69.18]) (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 776C21CDFD5; Thu, 10 Oct 2024 15:43:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.69.18 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575017; cv=fail; b=gcWGQ8UQI7tiHbUBPM08iYPtCMD7KinGb0p1jT2Cj1GvuLSQDpQm7+NAaRY1Z6iplS/Rsp1zgOYa6dhjTQBEv84ShceuPNm91bT87SzA42EO/4RB6+ACRvRcpYSs+cxTvhVgLqdjapsQkb0+G1UbPmRVc4nx1p3VtcbZt4Kbk3c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575017; c=relaxed/simple; bh=ob1E7NL3APs+jPRTzbWg/SPQjt1E1mSWENnsoizXz90=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=tE9Yl64w3A8M7SBf1ZVY923q7WA8eBTGnqutgJHKCLCgF2WDcAvW2sRQjfSW0i2yf7poIOoiSO7935HfDBaldodNAamSBQbFuLZgxhGyrUXq1HaslOVtWbFH+2t4rGdQ0aCmmt6hNrKoZ8IhCqWO/Cu8Omz4hRByuJM3Fb8mbdg= 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=IqdY4YPX; arc=fail smtp.client-ip=52.101.69.18 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="IqdY4YPX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kUVeNmYoZ6IufJdoyc+Pz7aZgCdFDsWgUZOQ5lf0RsLkFVSFhsz1UltSJOrzpFS9YAK1pIJAVmkr/tmsx1bGk9MJk0uzBUOnX8XBiBmOooSYboCNgveFBc2R5f5ooMp+CVG/2d1eLz6hddYpD1n2GOu1ExPG7l9NodH2w8TOW9Qd+1C8FvXhdpQtqo9KsH1QerSRBxeBBD7/tyJSUN2Do0/BE2aGh2iCk4YW6hmFvCf8VQ7aufAR3qQyzgCkWNAUWSJsqEtP7f0CAf+GLRrVlMjN4UC2+tw7R/CHEUqKgqDBl+w2Vjrz4zxXXUXxZbwn2gOQ/OjuyIKWoeTnZTlrAQ== 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=lkJ3yT3khb9cmV759E9G8LoNHwccnKEQB5tsWz1n9o4=; b=IR4LxPeHj2mVFWKK6GAM+Lu4Q/wQkM+xmDSFqtHIVLCKxGgcHJdZS2esEihgiZc0BncMrMSYz8CSzeXBjOMSupBzoXuOmVLA5Zja6G0Ej5ZnRjQEd6+nom12KNjEuJrxrB1Q9kbPBgvEGGYdsSV36EvIHlrcVKfwM7O65d8ipEzu50rz7f9BNstT1AtkzgvN4Jg/L67ne3lj0r1Fj8l/ZGkPFz/BHkNzL5TFSEFulrE4xu7GWWQYF8f58nzCgDr68uFcx/DJjTpbssGk+fGCwZ7ISoCCTNIJNjcaR7P8xole+htagyzBexlDAVxIDeyepPNq9kfO75+pfcDrewQTyw== 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=lkJ3yT3khb9cmV759E9G8LoNHwccnKEQB5tsWz1n9o4=; b=IqdY4YPXx1jFIGVOviQbP0+6Gr7nc22R8PjGHBoMjN8Fy9wnamC8zeUZ5qsLqB8+s27yIrhHORU3CHDaqbcZ9KN+baCZXUh1LqpfzLol+tZBzRvrOFbPz+Y30/P+VDL6ruT66rdjTISYhbSatqt4sfRYoH06DyRtzGe3N7FxV3RN6ItK025OB+k1LkjICff8MtV2h36DDuY2PpICeNKXNSAa7Tbja1lC8AqQBu0nvqUe5eXCFnlz9jOVjOVw6OTR2099ZRb+i5mR6iRNorrLZ/Vgnm4+7T6aAT3Mu52mW1VOzo/bL1CjAIlk2JfIiV0w+MuKanH+Gf7cmJJpmtSV+w== 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:32 +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:32 +0000 From: Frank Li Date: Thu, 10 Oct 2024 11:42:40 -0400 Subject: [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Message-Id: <20241010-zii_yaml-v2-3-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=3578; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ob1E7NL3APs+jPRTzbWg/SPQjt1E1mSWENnsoizXz90=; b=M2lfPlb5yR7wGVgk3E4IAg460TIiqBA0F4Ebkr4/q4uMrgfRJ7j6Dv4z8nd3KiRz2aOTI1JZE usbFtGUzg2BBC+7oqJ3eRUWWQXKYy7F74lnGXXbTwt2gs47VFFxJVqP 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: 0306761d-59ce-4190-a61d-08dce9424b77 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|376014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?jHFnnlVYFF/uhInW6O/t1xE1ut3s71l?= =?utf-8?q?F4CWqVthR5o8kVsy/lGShKgmlxBi4D+MALVVAs6HXmhinjh5UC3JrTpnMqmw3AbPa?= =?utf-8?q?C/GeeVFMNZ18zjha/C5ksfmY31m2WQJSKMMN0hbuFc4d2XFWjnDiWxqfYEzEs4TcT?= =?utf-8?q?X5z4Ed7YxWjd5huJcwPluZy0X3V+iDqs6LQFJ+e3comp1Rz+zM56mpVB7CHE1OMGx?= =?utf-8?q?Mzft2y+JazWH/zA2332L1d31nPeH45sUnhbEW6UEHQ/p0CGGeIay88MZyuMqOvq07?= =?utf-8?q?K0V/b0pB8pHwnigai3D9HMVRIIRHu5DuM7QdEA+OqPMgVrMyRMbH+XK3lS3pXH+T1?= =?utf-8?q?AvLPM81giT/wmi7x6DV2TZk12ik32Tho6sDvq9hKx9UcNQstSph7JDuwQ6PWbvJZi?= =?utf-8?q?J+pewuWsSaFfWTr4S8cY+sdSaiShN+6Ug5e+v0dUYlTMx2NmPf2N61WAu47Dg/fJe?= =?utf-8?q?cs2eQY2AcmZSt8uQWiVx0pN5awtBwkbg841NuMnEted5/zXDX6UEOjKfx/qPLN3+3?= =?utf-8?q?Fp/570/32txv6jwYcnH2cfTMPgfsGqJW83Vr7LmkiiorTj4D9Epfxj6B7X3zk7PI3?= =?utf-8?q?R+zVM4LKTA/WPCeErsVnI/cgZ0oNVBqSSSchpz2+p+zDAt6UCoITWk/sv0HTXCUhR?= =?utf-8?q?DEqPeR7aVYNrH1z5YbzcA4a57ZYb4D7sBDSVjqgUWSAQraUCgctJi98ZtoYVUG8Ns?= =?utf-8?q?iswTmygZX06Ebq11zkzyzaXnSygXLzmj02DzcG0w54GGPoMHls3QkqJzj3svhLhpl?= =?utf-8?q?++FvCnFdVJhF0YSIgRPiAd3tQ7EFUlq2rDHs3JDxcXmUrygLjg1IOfge3aeSn0vl0?= =?utf-8?q?0T1ukCThxs3l3fh61HrljiKRLfMXY4SqW/8Omi/6zf78TaHUbjmJ2CM5/GdGmwSxO?= =?utf-8?q?eqs7BKjfRjH86JamvMdd/86em/+O2K2Qj47a3iRDs+rngjivCXtl6c2tvdtUrY4M+?= =?utf-8?q?P01TwMd/TXCO4afEci63gD2QlW0Uqw3ccGWfgwzngrBuiZ3g5vErCKxrmY+if1JB9?= =?utf-8?q?2L9m2Erg7ddX3QWjbEvSPl/+wYZenU5JorWh3K8+6Y/AOft3lFVyWve3KYw6Q81WB?= =?utf-8?q?7pny5EkPibuxKZ6Qe9UgNTPDE+iG7nwkY/nyhPKpKemTR3YMTqu+2G31QvGkOq1FD?= =?utf-8?q?9yg3vzgq3kWoPkBM7HEvR8wQPzNc2W7jndEs+kvzon3tlGhFNL/jKWyGi2aAJ/4Kr?= =?utf-8?q?PaDg9Uc2l068OMMLb51d7mels/1ewDXDtK+IOKWMRhthUrF8e1BjUFe5o=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?JegOwSmmMuVN0O84nUEZvnHipJio?= =?utf-8?q?538EcOJL/KK94ae3Ti1zweKjyMRzPWKAq1yjhUsO2VeSESQyuChQgUPe+PHIwd/Mh?= =?utf-8?q?i6kLItSfjVmmWrn5FSTiTpdfcreqL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K3AIbu5Jr?= =?utf-8?q?gJDFt4FlLoJQWb985GI2sY6kaSOWpKgXbV/EXVM5mNq2xFkpnyUBVPUA4lrzaofdn?= =?utf-8?q?0ZtAabmeZFQDa4ZtLwDH8CQUmyjqfU/dJovGCH10TsCt7v3KQQix4lhnxl0+HJySo?= =?utf-8?q?xjTiQSe1iEU1JHt41R2UpsMX50jdh3C0KXU20ET/sdNpkse+yOFNer7wARArNkVx2?= =?utf-8?q?xmtZnyA67Cb8QBS9BXtqWon6ENhqhMBMFczGtiJyteT0b4RnRiQ93VfnWVUkTjdCb?= =?utf-8?q?XV2i7AuzDvpdwBKQ5ooopP/rEPeabOH51kR7BUZyRnjvdqvxeevWzFhn8A4h/agVt?= =?utf-8?q?kukCtK1gt+Kc2qaeS3jmm+DP+evSKqcfXda6s7VAaaCrNR2AxI6JHRhADhKxJm+J7?= =?utf-8?q?3Qmwu+v3HumufIXI2LWl4XQMjxmCwnD45LQF12FxFodcFXRerCDRUnxIjQ50reiJk?= =?utf-8?q?I/MV5kE1W5XR/pxfRiY2NHuw5HMiRsos94tvZUWbUdikU3BJGfiRD1rY=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0306761d-59ce-4190-a61d-08dce9424b77 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:32.4103 (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: VCl7bm3Od/Z0b7676nzt0LyImvpJWV8WT7iE4DMfih80k0YYndBNuiuWywBeLRE1opWrQbfD3pmUmGjMMs6KHw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8984 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 Reviewed-by: Rob Herring (Arm) --- .../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..d073c51c2b9a9 --- /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: + - Frank Li + +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 Thu Oct 10 15:42:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13830456 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013054.outbound.protection.outlook.com [52.101.67.54]) (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 21CBE1CEABE; Thu, 10 Oct 2024 15:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575022; cv=fail; b=orZHr8+G0/34agyzyfIS1Y1twT8+R7mtL4fFDSb8ceQtFzVKv8Y/i9ADhXIp2B7oGJvyv96YDDFt1OKNwi58bWepchRD1WwDCT7ztFeMx4L1uwM8CZNWfhTKWL+/DCHt+nNOfcTRibySk1UvbFGYxJn77mGrcClPVKa9MRjg84A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575022; c=relaxed/simple; bh=YTMkOF4Kh/3dRghFGNF1mfy0yW9xeMU2lmhKnFlPqW0=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=FIN0GzXTl11eOiyH5yHhVc+6GY81Gt5Yvw5rA9upPz8HGBrFR2HFuk8lcbmuqWPEHU8s5sKQFMFx0UOy5T+jY90vMfxF1p8FTQ52i7QGzfYGJaMxhmd5QxThNQhnnMVblmZ1vdWKw2TFY4Pr5c2EpXdiUuyN90JeVJiaCReAb4o= 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=cTSCv4h5; arc=fail smtp.client-ip=52.101.67.54 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="cTSCv4h5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wmn3eKQBdDHdhvQrnYdqWujkyg0CPVv/28JrC/BgdjKlKAlh7NLOVykYhLsaP08r26vCxHH23HIAcDKgGTWFGFeMsn2iPZjEjA/IhSvqVwGLZC0HM6CS9bTS61fc038SvMYF5yAUwzf9X/PoKEZkME+W1lE3KN2iFrNEX67zlX+hdBryTjOEgwDthxv1e3Q5klfd/UAz1d3p2uBKnRhkNgq+mQEClIr+KE/hu0uW+8CPL46eG8RsErSxHUDhh3/LKdmJqbHFDqu74KOM6wzAKkNc+Cfz5Fy54asvr9pyJxPiTnZCByOEd/99ELT0D42SXR9OG924WcS8H363mwi8JQ== 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=iP0VBvZWlThDWEJW7MVOfXrUwg9EzkapLRwaqgJ2VI4=; b=hQrnimJPQg2KfwmgxmLEblBT8wp3SmwmCOkeH+5ly3FoSWzJ24IVeaRemhxB80zjSxW7HiNgeUYeOh/Jd+ZxAvM1dsOS3jCfuaODvFFRNAYvOeIRAoqi/uomRRLEWoNUyE0xi8dORrlmF/UTce/t1WnbLM3TivRklilKiQmdUJAtPr637INelGew7UHQf/Z2Qjn3IHaSotxCaub+gRg3iXKsGqZFV9ZtAJNTEpyiRGmEYCKjHwMK1Y1ild6091avLGzQEQsRNU0gvfDVXyiVVkfLQ3UKsNOxqIEua6AeJFD11cAC0hCHbv17ips+tud+tjEUsqi0tv6USv3xB0ZykA== 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=iP0VBvZWlThDWEJW7MVOfXrUwg9EzkapLRwaqgJ2VI4=; b=cTSCv4h57J0w+fA+rcDW8rR9Uv0boh9v2cV9hJnpGk49o4+R50IM+DBtJe85mNmJaJYm/iGhUdikw4LzhPRJ4/fUX8EBW44qRbpbjzBnFc+HCjJ5WrPvQC3T9yb8CmmxpW1n4lUZD2uR1hbPS324kjKKc/iOmh/ZtNe0o8U+WP8G2irTB1tnUbDprKHkTv927lLe7Q2chobj0S4Y2w5V+0XZdYdRzd1Cca12YSD1ra4gdjfOk8PMHIVXW7nlBiYjw/ydhYQ7Vai7MD/VQpasfMT3icNHPUf6pXHwwuh+uKs/7gDcYJuAXB7xrjwWU18xf5FY+0yreVsYihTJdz3/xA== 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: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; Thu, 10 Oct 2024 15:43:37 +0000 From: Frank Li Date: Thu, 10 Oct 2024 11:42:41 -0400 Subject: [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format Message-Id: <20241010-zii_yaml-v2-4-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=3314; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=YTMkOF4Kh/3dRghFGNF1mfy0yW9xeMU2lmhKnFlPqW0=; b=XHFl3NL0xxCtKxYLv5Qd4+14hjtP9eeSmYfn91gmoifmLN/uVrVaSyldjg39ck7yd77pojhUU 6fcO+UIE8DaD2TsPGKaK0qZGmWZfXlr3cCI44d4b9HdVzoIQetqo0Ag 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: 3bb8f580-7d2b-4ab8-8903-08dce9424e5a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|376014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?GdWcsTmrfo4sf+KGJuj+NBwZ63QiOX5?= =?utf-8?q?9yQC5/4BdmNqg+rzcBt9Erc8iBpUOAIWGUhambXE4FikHb0N+ZDwLv5m53XZpy3Ma?= =?utf-8?q?ACs1lcKa24In88ymMxbSN3FmxIeKTBkFBnvSYr/pl76M23C4DKbZt8526FZy6heDm?= =?utf-8?q?4zmQGIMypbjU8LT+pYTPPTjYvEr03mrkrVJcdWplSunGqZNigtqs6DSAIZXiWLpa5?= =?utf-8?q?iKXqEuriXZa2n8kFMgO+SlXvBfaAtisvnmDcdS4ft+0f/dj5qe4t8jN91JYGgVdVN?= =?utf-8?q?9u/Jb/IIoo5L/LFtf0od7K/T4WHdlBd83djCtTKLAe359rOPSsn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5?= =?utf-8?q?iFX/+mpGoj6HawvwAJhoMacqlbvMJEgYn2Pq6kdi6FZfnP3El2cF7bdD0=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?u0ZMfrlO35VWPTiSxVzWSo23YFWr?= =?utf-8?q?WmMsMNRpheZFlSaQec+brFWBBmce9IIc0G/h91gBZZgmLdXoHFbvAIQe4lxMmJo2T?= =?utf-8?q?/E6ceS0tQbTTY11ul23waUJIbaVug3xxupb0nXK8tl6vZrEQLlffQTRJuKtU6vwLj?= =?utf-8?q?+RXLpBfGZJ72QW1ncxPBRiLUem4wPLTxTwZRZyXpH8bArCnRruJF/oBG33ayVKxHd?= =?utf-8?q?hvA62TLiKENRq32hWbWGAEqnKDVY6re+LuBi0d0i/ccoUmukBPTZhBMIegyQJoPrf?= =?utf-8?q?u2B+8tUj67lhTOb1MG+obc6de+dNVWLWUhDWvRiEd9NSxyymzeC5B5bwoA4DlvcHU?= =?utf-8?q?K7FZSDwoMpukbbR7N0RUc7JeeGv3EKedttCIZgfLxbnmEF2vISuKobf7WmdRjXcqc?= =?utf-8?q?KXUVW7nPmwboavDho16DVz6jdk/80qQPm5iWWSeB9PXC2/lMYRdgmWO7ZVyi51FBD?= =?utf-8?q?nobyiX/Df9PhqK76dzOIXA23XoEXclZyA+6kJW5vAdbvPzUtZe0XhAYIQApP3oDBa?= =?utf-8?q?zl4XC/rV1m2dvh0ad14A/5YxKhEoCnFMlpEnUefuS/4jzDMU901vrrSHbyLjqZl9D?= =?utf-8?q?klyJFgNGovTq2tZZbigTJcuGP/XDHVgy0k8Q1HVU44IkrH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scCbiqEp1P68mg4HmbF4=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bb8f580-7d2b-4ab8-8903-08dce9424e5a 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:37.2363 (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: m9dg9yCcEuLFGRGJKzA7GTLcnrE0ZCy/IQP+4hca74lMaIWnjrXhSTdprPvW0Z4dxx4pn8+vBx0SnqexL2uIIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8984 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 Reviewed-by: Rob Herring (Arm) --- .../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..de0d56725dd40 --- /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: + - Frank Li + +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 Thu Oct 10 15:42:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13830457 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013033.outbound.protection.outlook.com [52.101.67.33]) (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 A3C721CEE9A; Thu, 10 Oct 2024 15:43:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.33 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575027; cv=fail; b=sh3JCRTxxDijfEZTLWNb2OaYSXuRTpdLASFxYec6yJEYmpJJ+gX6bUHVCIckzaqlW48X1oE6TCW26Ji15jE4yPYbYDlEWUvQuYsFwAOIo0AUYkEl7ITnlx811GfsXGYP6gYNK9cnMGiPIpphWwOopGwAqgY0rHAF9q5yJSlSeMg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728575027; c=relaxed/simple; bh=QgZ4qpuBe2Iuf+86t5wdsnelCC4x9/FyyKlFxjiYoLE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=JJEBN8mALQhNIQvU8prfKDWnrfFcILjzjZv/VoCUeWGpU8uKh9tDcn9Th/j6PDq1sbMBtubdA3eiGYJLQDaQzVJPF/MLUIzhMvOXAZwRrpvcutFEACfn6ONxROQ+olJuFONY1bFd+ZvXIUaB3uD0a99751nZsPPftze1Er6jeBA= 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=ZVwtjTI9; arc=fail smtp.client-ip=52.101.67.33 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="ZVwtjTI9" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nmw4lffN9KasulZ5QIlg2RGQhF52b3Lb0WRAQNlXfxx7SltPwfY6hXx0qTOr7x+u5XaOmi6nxqhjDP+defVBF5E1jDsHaa/2zUia93UBYIe5cs5VBb5EVFOX3VJG4KNvnUfa4DZc4TCg18mZyD1Gi7oYqE1li4NUtjMHin55EFCx+nzU4dG0jaW8GbjiIBpYTpg1SHPXEo7IkDOQgp9sG0ESUghcCZJG4UUabwLB+XqxKbipOdg2KAdJYYe30XIm8ThCSQc0XwhM5HmYXAxfVklYiiNpWmt3CHAAfPfIMpWf+UJz/7rOZCOPBXOuTZGLKn38lhFQgH5qcapW/MMTiA== 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=uQm4grj75S5YEVBa3SZkjqjOvshv+34XJEkH4bDR8/y1atvObHF7MXUlOMeWTfUTS7gXptZ/6bsiiCsfRcLbbm46uC/1Cw7mdtPwld6roqdo7/OToJvNMQoylkoG7BlFYv9QRWxSQOQSHiJPI+YFRCSnQbuGEOQO/Hajd4kU7Ddd5gKfsJlw8xrVUkZj8h/FYNAgQnp3EHA1nTPy4db6Tj7fL0uBWyG9bfCdc9QMbCAefeiNxquONBevM5ZwSK5S+rZ7nL5cyXleu5kJrLElDhWaGtPspDnSdFktk6ydzhhTN2djMFKMgZfDw2W9xm9P7MRqa+8iUQKK3keaLngvJw== 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=ZVwtjTI905LcTjv1H29DZXwpjc+6loB+u8W5drIo/ZZcYUM0blZH0Xqkg76FWNr8GK+nLEbhy4vsuTRW2T28FjhfVXpBYotRXnQ0Z1MmMTWaBb//ga8xdebJMWCDiwP7Ahdd7046rw58KchF4GKnVOn4ips/j8jDaMsXp3gKCKzl8Iw5a/5dmtplXELavn5La7EYXWNhJ/lglCvQ31jzhWhRZJUTTFNiZYQIu05uNEBRtwXDpvCINZsEkY0bizpGMofUk9eXwCToP+3Ot3Xdse+tijriKKHdJBdIS/Sm7Q5pJeYW2k0AVVSJi2Oi5LhucYrQ7ZnYazJM0wVZukki9g== 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: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; Thu, 10 Oct 2024 15:43:41 +0000 From: Frank Li Date: Thu, 10 Oct 2024 11:42:42 -0400 Subject: [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format Message-Id: <20241010-zii_yaml-v2-5-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=3530; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=QgZ4qpuBe2Iuf+86t5wdsnelCC4x9/FyyKlFxjiYoLE=; b=FwvYC2wbbYrnZIu/cKhwgmJuKtMJgH8bOQDFnzE8CrQQ5sOacTcY7/t2hQyMrQJHC9bVS95gz VyqB5JixYsaAnTyP3D9UZpGIn/VzS8p05s3pwEGqA5rbi8/X3eSEgBK 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: 74b50f0e-e150-4beb-e3b6-08dce94250f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|7416014|376014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?YdShiMKj9sMrFPWM1e1p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lrRZ3W8CgPR/PUg?= =?utf-8?q?M4PlFzU+tN+rzuhurp76W4fwO336FpKwo8ci5ky4A/jvN8XKw3J16VigTorITwhrs?= =?utf-8?q?ssWmNX11CDx2rgOyLV6hLm11K9mpimgEHLaxd58VYP2tVm6fkEyWbUu5GMEfo8Y6K?= =?utf-8?q?L2OV7bVLCkcOW0pjB7Nh/1GokWpiphFMWqr4NdQOxbu/CBtQGCoVMzMGKxbydB+da?= =?utf-8?q?bZAQ32cCV92jST9VYOFviAIZLXZKAK1KdZxJ7tIJHNK14UCBHECxH4281O4Sh1DhQ?= =?utf-8?q?sPeH2GHy+rkhR6ha+i6fefZM9PDTuqghPe5CogmOm74+3hvx6Jw1Q/gOGwXZGlKfu?= =?utf-8?q?WL2J+ziqONb6Fc2WMq3/59VfC/fyb6L3lPeDEibKd1aJ4JHeEkoIwOgbQ=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?hHOJ2/zb8f6oBqpfTMfe30vBMi6p?= =?utf-8?q?dE9YLAU5mx87piopo/ZKuFyIyhG2gB1IxUKGrCFImQDUdFIygHBl3SLUP1YZBCPik?= =?utf-8?q?7KtcuWbtRkaAmHb+D6lAzvNNc9tezi3bIC9YiIQAqlphu9WzBpOXS5HuPEm6VOR5v?= =?utf-8?q?i3ijrTIX3YalmP88GguNC5VjTSlP8gDUNH5WDpsc9TW8UCfACmEhM9lmQX7GoO10o?= =?utf-8?q?0dX5/t9qjjnhd/Z75j0QrYMQfZX7woyWZu2ReF9NW2PQDI9SbSwAvpSpn+15lMkbU?= =?utf-8?q?+CvKBc/B1pFkKEu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YHQQZcUq56MQ2D43Zo5rx3zyISeShK00sIzR+FR8NnpQ/zaUMZQ4mbeL?= =?utf-8?q?HZVD2KBHgICkLzsTMmYb6DE2DpTqhPbLdKtMzB5+96mxT3LyZ7mWfzyH3byrrytKq?= =?utf-8?q?Lyhc/nuXjGnp2GHSSG5SEFTcoMQm60v0IRNfo7fD3cm1ltwanMyemeXwnSEnWRdsG?= =?utf-8?q?LB0eVSJMPicQPdz1SNvEwyVgWyp8mSq8uUY7xMhnHYCnlBc8ouDNqYXvmZa2ABjpj?= =?utf-8?q?b9err3/5W+JjDC4XNTqBZ8PbDtUv2mJmuOKGhBj+DRcBUGNcni3GYnrLitKct9bVj?= =?utf-8?q?oHy9tskjEayhBVc5CxxPMqx7B8PkKADqilc8HYFHjqgqft5H9jmaCVOA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74b50f0e-e150-4beb-e3b6-08dce94250f3 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:41.6121 (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: MXTd1nB1CLe1KLUN5UvDatwx6W+DFlr1sgB62EofxRPc8cBIdxBuZ0PBRdwtfg5gc0yX0U0GA3mHt52tQn4HfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8984 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 Reviewed-by: Rob Herring (Arm) --- .../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"; + }; + }; +