From nobody Wed Nov 27 16:48:34 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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|376014|52116014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?ut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ispam-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?B?ckt3emxDT0ZsQXBEcHhIQjI4RkJPbUF4VHNBMS84WkZOSC9YVUk1dXVvVFZB?= =?utf-8?B?dS8rV3l1dTk3YUhFa20wMTdwMWUzQllRRkFqRkh2RlhtT2N0clNmTURKVlhu?= =?utf-8?B?OWp5RHE2UCtCRlJpekFXU0RoalhFMDNWQlNIaXBsa1F2dVhzN1hXSXZRYmJV?= =?utf-8?B?YmZHNGhXazZ6Nmp2Q2lNcXlOa2lTUlRybFBiaDk2TlBFU2l5ci9zYVFwUmEr?= =?utf-8?B?dGF4UkJseW05OXVRVmRQWFZzK3EyY1g1VDJwd0JLV2RQbFdMdmpLTFZhbUtN?= =?utf-8?B?Yk1EQ0tadFI1bEhzQTQ5TERXbVUrVFBMbC9jRld1RUpGZWNBMVo1aXd6M3J1?= =?utf-8?B?OHRhek9aaEY0dXJzb0Foa2RkNklzcTZYUERjL1ZWeGg5b3Jxc05uS3RoelEw?= =?utf-8?B?U0dpc0tzMTFsL0pvSzVCakRwSFA3YjBJVzNManlqTkhFaXhtYkpjWGE1UHhX?= =?utf-8?B?RWNoY0hxQ2I0WG05UUpzM3VXRGZVNDBTUHRSamZXUnVlYjRDZG1mUWhGR2wv?= =?utf-8?B?MFFGejBtaEFSRlNpTURUaDgxMzBKa0hyb3hBYU1GQ3YvL3hKS0o2K1hZOEtB?= =?utf-8?B?YW5lNEFBSThtazRwbHFZRUoyaXVSNUtvVjR2SDlocUNKSUdXZWo1UFRaU0RY?= =?utf-8?B?VmFCTTRRdVF1TTYxMHUzai9ReFlaL0d2dlQ4RWdy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R3VuQ1VoRjdaa3VpZXk2dURBTDQ4WTlqeHJkcUp3?= =?utf-8?B?akRTL0VVb3BWeEtjUTBFQVU3QVVIMDd3aWJhd082bFpLWGtodnA2cnpQazBV?= =?utf-8?B?N0lvdHdCNlpvL3R5RUtJODdIelFHUzFhVUx1ak1rTEZhV2R5cWxEUjFYcXoy?= =?utf-8?B?bnJGSmFYTzl1c2MvSFhDTTlFbnR2MnpodTIrU1M2VUdLeXk3M0h3elVtaUMr?= =?utf-8?B?L2Y2cXRLZ1RTOUdldmRPUXcvQ08wUlhaQ21COXV2U2V2N2hEd0VwdGYybjVH?= =?utf-8?B?V2kwT1g5WVJyVzFpOGxJcDB3YktGTmdhNTFTNFZQWG1ZWFloYyszeDk1eGJV?= =?utf-8?B?aXFVanJSUlZsRUVoRHA1ekZDejE1VkdFblhlcFUwUThHMHQyL244YlNZYmxm?= =?utf-8?B?bnZRWnoweHdrZTEzS2xHN29GYnVYODc5YnB4c3BqR250Yy80OXVLcG1uYWt3?= =?utf-8?B?Qmx0SlpJUy9vV0c1WTZOOTZUcjd0eVVFRzl3eDZQMER5bVc0Z25WNjgrR0k2?= =?utf-8?Q?4icI=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 Bindin= gs - -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 =3D "zii,rave-sp-rdu1"; - current-speed =3D <38400>; - - pwrbutton { - compatible =3D "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 =3D "zii,rave-sp-pwrbutton"; + }; + --=20 2.34.1 From nobody Wed Nov 27 16:48:34 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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?B?MGdGb0dLMy9BUStuQjJsU0NIaHNKWE9wVjJiOGYyM3J5UFMrV2dRdXJ1ZVV4?= =?utf-8?B?MGhoQjc5dElrOTNLME5vYW54RDJmZDdoRm1HSG53ZHdEZXR6Yjk5UU0yWUli?= =?utf-8?B?VXRkcUNLZzRNZ3JUZVovNTRKRDhOaHp1NkxrRnZvVjRTd2EweERUaldldnp4?= =?utf-8?B?aFR2NGs4aFBMTVFhYjVMdDhyVWhlOG9Fa3RzaC9qQTBrSjlqeVRMN2Ewdmtw?= =?utf-8?B?UW96b0I5dVNGVHd1bkxSTVR5K282YnVReE1tSC9ucURWY0R0blBMYWFUNURN?= =?utf-8?B?dGxmYmYxNlpHWjBocHBub0lDZytWbEIwZnpOQlZHeFMxampSUTdVZnhnZURZ?= =?utf-8?B?UEt1NGNsdnJXLzduRWJ6U09XK1F3MUFXM01uL0tCUzQ4VGV1M1lKOEtIcU9F?= =?utf-8?B?T3JPc0daTkJBeGdXekJKVlVUalBQbmY1Vm1kSng5RVh2OE1PZHo5ME9oRTU0?= =?utf-8?B?d3BnRzVNNUFtWlliRTYwOU9rMWhLU0ZaZXN4YWJrc2JIeWxqdGYxVDhTeTJU?= =?utf-8?B?ME9zNXo1cCtVemlQYXdHS1cxMWtqTUlVWkxiYW5EemNhd2tjNkh3RGJKZFBh?= =?utf-8?B?K2l5MGUvd2lIRFM1Sk5GTXo0TkVoUHlKc2prQ1VQUXMwQXYyVzY5b0FFeDNH?= =?utf-8?B?SUJMMGdRZkhvbHJPWnliT1FpWmtuMmc5RE01eCs4L0Nwd0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WXB5SVppVHZPaWkr?= =?utf-8?B?RjZMM1pvNG9kRTlkSDgwaW1jaXV6MDVQVFdXaEhsY2cvWkdCa0c3RndPYVI2?= =?utf-8?B?V0hzQ2hicHlBVlM1U003QTFwa3FCK0poY21YRUg5UkhwSDNzYlFTYUlRYnlK?= =?utf-8?Q?CmdT4zbM0X2mHpo6mA=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?B?N05yaFpUZDJhdS96YjBsTi9iaUsrRTRtZ2g0L1ZGdXNsaEtWa095c0ljUWxz?= =?utf-8?B?M1U2NXJSMTRiRk5aZmR4Ty91aUpJcENUaHdSeTdGNlhzaVpOYkx6UjhyNUpx?= =?utf-8?B?VTdoM1BOTEZRVk1QY1M0eGgrMDZhWWdFTTJncW5BMkRUWVkvWUpOMDRVQjA3?= =?utf-8?B?S01zUERsbDlhakx0NkVnVEo1Yk9hcmZ0aXFVZjVqcm1WcXpGUGgwSkV3emI4?= =?utf-8?B?aCtORHVwVFNjc2dxYUpxa09FaElZRno4R2w3SFZFTkNUbzFIdGtvWmdkN3BF?= =?utf-8?B?dFdGbWFUWjdRVm1scm1FQUlDbnoyeVRaLzVTWjQreko0aWFpUEhJMlBwK3pV?= =?utf-8?B?bHFNMjhra01OSEhmTy9PalUxeXlkK2ZTWWlBU3gzMDZkUm1rQkxvaDBMYmls?= =?utf-8?B?UnhZSHdpRjNoWWV4dzA1OGdybGsxODZFZGFXNURNMGUvelFMS2lLN0wxRjho?= =?utf-8?B?NWtwNW1SUGpMS0RtbXlTa25kdERLY1Q0NGMxTTUxK1pQRnlZNGtiS0JYRWpM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Xpz?= =?utf-8?B?RGs4T3RWMnRvQkFYWCtvZ3k4NWg2b2gwbDZMTTBTeWh4ZEwxWkpTdjV1SUU2?= =?utf-8?B?dTA4S0JzejBkL2VreklEbTlWdVNQVy9VRU9zSzFRdFFiWUg1NzAxdTk1VXhm?= =?utf-8?B?dDBtUVVmNnlWYmh6WDZac29CNlRZbDJVNkNBbEQ2MTg2RS9aSGduSE5qS05n?= =?utf-8?B?eUd1OFdzM1Y2N3VQZ28ybC9lYWlWc0RVOGgwRE5xVlVoUTQyNnduamR0VUU4?= =?utf-8?B?ZmpJeEZsU2MvSkJlMnNYTERrS012SnY5RU9OdXlwK0U1NXg0Z1pFZmtqZHFQ?= =?utf-8?B?NDY1WWZZS05VUjFkVDU3TTY3TVFlYjhrTW5lYkVjWTYraTFTWjF0em93K0tS?= =?utf-8?B?bStkU0hmZ2ZKdy9sbVNjc2JkRzJ6TjlGZG10eTlidUJwbHhUZmROWG9MYjNE?= =?utf-8?B?c2NwWC9nbHZHZjVnUjZGenQyUjY4WEx2dHNqcVk4MFN3N3J0bThqVG9xa2lj?= =?utf-8?B?dWozVlk0UnVZOUNudWg3ZTFEb1JrdDdIYVRPN0dTalV2SWs3R2h3ZGtIcFo5?= =?utf-8?B?QXZxdmpnUFQ1WCt6U2RmS2lEem1hVmhVank2dWdQbjVIOG80c0FUVVpRWGhB?= =?utf-8?B?aC9ndFBSREVtNG4yTWtZQlA4MlpGRDh2Wjg2REJMK2RoRGtJRnI1Qm43V2VJ?= =?utf-8?Q?oOe0=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: Daniel Thompson Reviewed-by: Rob Herring (Arm) --- .../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-b= acklight.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-backligh= t.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 =3D "zii,rave-sp-rdu1"; - current-speed =3D <38400>; - - backlight { - compatible =3D "zii,rave-sp-backlight"; - }; - } - diff --git a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-b= acklight.yaml b/Documentation/devicetree/bindings/leds/backlight/zii,rave-s= p-backlight.yaml new file mode 100644 index 0000000000000..ee93a3e64852a --- /dev/null +++ b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backligh= t.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.ya= ml# +$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 =3D "zii,rave-sp-backlight"; + }; + --=20 2.34.1 From nobody Wed Nov 27 16:48:34 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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?B?akhGbm5sVllGRi91aEluVzZPL3QxeEUxdXQzczcxbEY0Q1dxVnRoUjVvOGtW?= =?utf-8?B?c3kvbEdTaEtnbWx4Qmk0RCtNQUxWVkFzNkhYbWhpbmpoNVVDM0pyVHBuTXFt?= =?utf-8?B?dzNBYlBhQy9HZWVWRk1OWjE4empoYS9DNWtzZm1ZMzFtMldRSlNLTU1OMGhi?= =?utf-8?B?dUZjNGQyWEZXam5EaVd4cWZZRXpFczRUY1RYNXo0RWQ3WXhXamQ1aHVKY3dQ?= =?utf-8?B?bHVaeTBYM1YraURxczZMUUZKK2UzY29tcDFSeit6TTU2bXBWQjdDSEUxT01H?= =?utf-8?B?eE16ZnQyeStKYXpXSC96QTIzMzJMMWQzMW5QZUg0NXNVbmhiRVc2VUVIUS9w?= =?utf-8?B?MENHR2VJYXk4OE1aeXVNcU92cTA3SzBWL2IwcEI4cEh3bmlnYWkzRDlITVZS?= =?utf-8?B?SUlSSHU1RHVNN1FkRUErT3FQTWdWck15Uk1iSCtYSzNsUzNwWEgrVDFBdkxQ?= =?utf-8?B?TTgxZ2lUL3dtaTd4NkR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J1aVozZzV2RXJDS3hybVkraWYxSkI5Mkw5bTJFcmc3?= =?utf-8?B?ZGRYM1FXamJFdlNQbC8rd1laZW5VNUpvcldoM0s4KzZZL0FPZnQzbEZWeVd2?= =?utf-8?B?ZTNLWXc2UTgxV0I3cG55NUVrUGlidXhLWjZRZTlVZ05UUERFK2lHN253a1kv?= =?utf-8?B?bnloUEtwS2VtVFIzWU1UcXUrMkczMVF2R2tPcTFGRDl5ZzN2emdxM2tXb1Br?= =?utf-8?B?Qk03SEV2Ujh3UVB6TmMyVzdqbmRFcytrdnpvbjN0bEdoRk5ML2pLV3lHaTJh?= =?utf-8?B?QUovNEtyUGFEZzlVYzJsMDY4T01NTGI1MWQ3bWVscy8xZXdEWER0SytJT0tX?= =?utf-8?Q?MRhthUrF8e1BjUFe5o=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?B?SmVnT3dTbW1NdVZOME84NG5VRVp2bkhpcEppbzUzOEVjT0pML0tLOTRhZTNU?= =?utf-8?B?aTF6d2VLanlNUnpQV0tBcTF5amhVc08yVmVTRVNReXVDaFFnVVBlK1BISXdk?= =?utf-8?B?L01oaTZrTEl0U2ZqVm1tV3JuNUZTVGlUcGRmY3JlcUx0cWdGRDdCM0thcFl6?= =?utf-8?B?MWxUUDViV0JVMyt5ZFlDelFlKytiSXJ3cmVNRnhYaFliY00xQkw4TlBZTm5T?= =?utf-8?B?QWU4RzR2cmh2SVFETHFNS3pXckFyNTBEOEpjYkRreWs2S0gzYXNvdHhCZG9m?= =?utf-8?B?T0NsSktlM01JWUc5cTRQclNleDhkaThMeFhvZlRINm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ZmlS?= =?utf-8?Q?D1rY=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 =3D "zii,rave-sp-rdu1"; - current-speed =3D <38400>; - - eeprom@a4 { - compatible =3D "zii,rave-sp-eeprom"; - reg =3D <0xa4 0x4000>; - #address-cells =3D <1>; - #size-cells =3D <1>; - zii,eeprom-name =3D "main-eeprom"; - - wdt_timeout: wdt-timeout@81 { - reg =3D <0x81 2>; - }; - }; - } diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yam= l 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 =3D "zii,rave-sp-eeprom"; + reg =3D <0xa4 0x4000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + zii,eeprom-name =3D "main-eeprom"; + + wdt-timeout@81 { + reg =3D <0x81 2>; + }; + }; + --=20 2.34.1 From nobody Wed Nov 27 16:48:34 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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?B?R2RXY3NUbXJmbzRzZitLR0p1aitOQndaNjNRaU9YNTl5UUM1LzRCZG1OcWcr?= =?utf-8?B?cnpjQnQ5RXJjOGlCcFVPQUlXR1VoYW1iWEU0RmlrSGIwTitaRHdMdjVtNTNY?= =?utf-8?B?WnB5M01hQUNzMWxjS2EyNEluODh5bU14YlNOM0ZteEllS1RCa0ZCbnZTWXIv?= =?utf-8?B?cGw3Nk0yM0M0REtiWnQ4NTI2Rlp5NmhlRG00em1RR0lNeXBialU4TFQrcFlU?= =?utf-8?B?UFBUall2RXIwM21ya3JWSmNkV3BsU3VuR3FaTmlndHFzNkRTQUlaWGlXTHBh?= =?utf-8?B?NWlLWHFFdXJpWFphMm44a0ZNZ08rU2xYdkJmYUF0aXN2bm1EY2RTNGZ0KzBm?= =?utf-8?B?L2RqNXFlNHQ4ak45MUpZR2dWZFZOOXUvSmIvSUlvbzVML0xGdGYwb2Q3Sy9U?= =?utf-8?B?NFdIZGxCZDgzZGpDdFRLTEFlMzU5ck9QU3NuT1FINnZwNk9QUEd1L3ZXZU1F?= =?utf-8?B?aGdSZ0VTUjdWL3VQaU05WTEvNGsvMXBaRUpybUFzVzljbHJXN0lMWlNKZ2R4?= =?utf-8?B?VWhBUmNnOThIK1JKN0J1a0dzOE9MS0FleGRLT0hsSnRZT05xOWtkUG9LY1RT?= =?utf-8?B?OTZBR25TSWxYd3N1cmVucTRpMzBjbGhKL2o5R3Rmd0pMWU15RG0wODN6Ukg2?= =?utf-8?B?dmM0SDhYMmJtZU1hRkZkY0hvaDhlaHJ0eUdCc0pHR25mREVxbzdaOHJtNUhY?= =?utf-8?B?cldURGtyZGMvUytlLzJibWlRRUw2ODZCWWV4QWdZYUFvcDlkNGtyTFJMbURo?= =?utf-8?B?eTB4bzJYeFhaT1BjcU1RZkxlUjdSV3dHSS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cEdvajZIYXd2d0FKaG9NYWNxbGJ2TUpFZ1luMlBxNmtk?= =?utf-8?Q?i6FZfnP3El2cF7bdD0=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?B?dTBaTWZybE8zNVZXUFRpU3hWeldTbzIzWUZXcldtTXNNTlJwaGVaRmxTYVFl?= =?utf-8?B?YytickZXQkJtY2U5SUljMEcvaDkxZ0JaWmdtTGRYb0hGYnZBSVFlNGx4TW1K?= =?utf-8?B?bzJUL0U2Y2VTMHRRYlRUWTExdWwyM3dhVUpJYmFWdWczeHh1cGIwblhLOHRs?= =?utf-8?B?NnZackVRTGxmZlFUUkp1S3RVNnZ3TGorUlhMcEJmR1pKNzJRVzFuY3hQQlJp?= =?utf-8?B?TFVlbTR3UExUeFR3WlJaeVhwSDhiQXJDblJydUpGL29CRzMzYXlWS3hIZGh2?= =?utf-8?B?QTYyVExpS0VOUnEzMmhXYldHQUVxbktEVlk2cmUrTHVCaTBkMGkvY2NvVW11?= =?utf-8?B?a0JQVFpoQk1JZWd5UUpvUHJmdTJCKzh0VWo2N2xoVE9iMU1HK29iYzZkZStk?= =?utf-8?B?TlZXTFdVaERXdlJpRWQ5TlN4eXltemVDNUI1YndvQTREbHZjSFVLN0ZaU0R3?= =?utf-8?B?b01wdWtiYlI3TjBSVWM3SmVlR3YzRUtlZHR0Q0laZ2ZMeGJubUVGMnZJU3VL?= =?utf-8?B?b2JmN1dtZFJqWGNxY0tYVVZXN25QbXdib2F2RGhvMTZEVno2amRrLzgwcVFQ?= =?utf-8?B?bTVpV1dTZUI5UFhDMi9sTVlSZGdtV083W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BtKzNxQXA4RkNLUEpYc1REZjdpaGpZQnZPQmFLSG1R?= =?utf-8?B?L1lta1FEU1dQbVA0d2tVYnZiYjl5SS8vMFlJSXhYQlNYMjJrVFZzMXUva0ZD?= =?utf-8?B?VENTQUxHU1o1aTV0ZzJPLzBSRStieU1tZnJkL3FuWlBuUUlubjdxNm13aG8y?= =?utf-8?B?aVBvTVQvZ01rcGl1Q0tKQnlsNFJHQXg3VCtZT25YQWlMYTc3aDRLU2tXZlJZ?= =?utf-8?B?NHV3dHl6VHFOa3MyVWY5K3FTdEUrVGNYemtTeFJSbmNqaTVMaEhGSTFzSGRo?= =?utf-8?B?cGtXd2RORysxbjNKK3QvRC9LKzZBR0J0L1ZCN1VwOVdhL0twOFhoZXR0NEVj?= =?utf-8?B?TEVGZmZNWU1GWFdka1lNd21VVytQU3lKSitUZDdDdzFyanIxa05lN3FEcWpk?= =?utf-8?B?akZwajByOHd2d1ZPWVBrQXJLUnplcjBaL1FBRzVIb2M5VC9BTDJlRk0xbXo3?= =?utf-8?B?NkJwLytuZXZVWjNmQkovc2hocFhUUjAvNGhONDVKVm40VHBFVG5id3VYZ21y?= =?utf-8?B?YnJ6dVFjdmhwRWZiMnJOK3IxaXdSOFpwbXA0Ni9zY0NiaXFFcDFQNjhtZzRI?= =?utf-8?Q?mbF4=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 =3D "zii,rave-sp-rdu1"; - current-speed =3D <38400>; - - eeprom { - wdt_timeout: wdt-timeout@8E { - reg =3D <0x8E 2>; - }; - }; - - watchdog { - compatible =3D "zii,rave-sp-watchdog"; - nvmem-cells =3D <&wdt_timeout>; - nvmem-cell-names =3D "wdt-timeout"; - }; - } - diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yam= l 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 =3D "zii,rave-sp-watchdog"; + nvmem-cells =3D <&wdt_timeout>; + nvmem-cell-names =3D "wdt_timeout"; + }; + --=20 2.34.1 From nobody Wed Nov 27 16:48:34 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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?B?WWRTaGlNS2o5c01yRlBXTTFlMXA4TVdLREJ1VHc2YXBvazhtcWREWGxtOFZX?= =?utf-8?B?bkIySGU4dTVzOGI5OEFqbFM1eHBERjQ4U3U2VjJWZHBJcEZRY0k5STBoWDZH?= =?utf-8?B?Y2ZFQjBJYmROZXBKc04vbmliNVdXM29jZ3VYM2I1WlFsbWs0TEdwcWo0bVc3?= =?utf-8?B?L0x1UEJGRVBNRGE5elRDdnliYk9IMFM4ekV5WEFsVUxXbXZTbUg4OEc4YXlE?= =?utf-8?B?a1cwbmdaME5VRHdJYVNLb2hDbVZ6VHp3OUxYZlloUE5nVFZmNngwSnVsVHdV?= =?utf-8?B?NzFWWnMwZmtnY1JicnlEWVpYWnQ1YVdTc3dHV3NZNXo0c2tiTEI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9QVWdNNFBs?= =?utf-8?B?RnpVK3ROK3J6dWh1cnA3Nlc0ZndPMzM2RnBLd284Y2k1a3k0QS9qdk44WEt3?= =?utf-8?B?M0oxNlZpZ1RvcklUd2hyc3NzV21OWDExQ0R4MnJnT3lMVjZoTG0xMUs5bXBp?= =?utf-8?B?bWdFSExheGQ1OFZZUDJ0Vm02ZmtFeVdiVXU1R01FZm84WTZLTDJPVjdiVkxD?= =?utf-8?B?a2NPVzBwakI3TmgvMUdva1dwaXBoRk1XcXI0TmRRT3hidS9DQnRRR0NvVk16?= =?utf-8?B?TUdLeGJ5ZEIrZGFiWkFRMzJjQ1Y5MmpTVDlWWU9GdmlBSVpMWFpLQUsxS2Ra?= =?utf-8?B?eEo3dElKSE5LMTRVQ0JIRUN4SDQyODFPNFNoMURoUXNQZUgyR0h5K3JraFI2?= =?utf-8?B?aGEraTZmZWZaTTlQRFR1cWdoUGU1Q29nbU9tNzQrM2h2eDZKdzFRL2dPR3dY?= =?utf-8?B?WkdsS2Z1V0wySit6aXFPTmI2RmMyV01xMy81OVZmQy9meWI2TDNsUGVERWli?= =?utf-8?Q?Kd1aJ4JHeEkoIwOgbQ=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?B?aEhPSjIvemI4ZjZvQnFwZlRNZmUzMHZCTWk2cGRFOVlMQVU1bXg4N3Bpb3Bv?= =?utf-8?B?L1pLdUZ5SXloRzJnQjFJeFVLR3JDRkltUURVZEZJeWdIQmwzU0xVUDFZWkJD?= =?utf-8?B?UGlrN0t0Y3VXYnRSa2FBbUhiK0Q2bEF6dk5OYzl0ZXppM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E5xWVh2bVphMkFCanBqYjllcnIzLzVXK0pqREM0WE5UcUJaOFBiRHRV?= =?utf-8?B?djJtSm11T0tHaEJqK0RSY0JVR05jbmkzR1luckxpdEtjdDliVmpvSHk5dHNr?= =?utf-8?B?akVheWhCVmM1Q3h4UE1xeDdCOFBrS0FEcWlsYzhIWUZIanFncWZ0NUg5am1h?= =?utf-8?Q?CVOA=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/Docume= ntation/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 =3D "zii,rave-sp-rdu2"; - current-speed =3D <1000000>; - - watchdog { - compatible =3D "zii,rave-sp-watchdog"; - }; - }; - diff --git a/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml b/Docum= entation/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 =3D "zii,rave-sp-rdu2"; + current-speed =3D <1000000>; + + watchdog { + compatible =3D "zii,rave-sp-watchdog"; + }; + }; + --=20 2.34.1