From patchwork Tue Oct 8 22:00:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 833742 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011008.outbound.protection.outlook.com [52.101.65.8]) (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 D786021642C; Tue, 8 Oct 2024 22:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.8 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424894; cv=fail; b=rtEiLbM8H7qS46e7SUU4D6t01gzNL71oXV62OaVS5Q3dPSsxHw4/wuB2Zm55TNDzpJUQySUzO+fhiA6CrH9X0KtU84VQoNUoKMysa1rUT3pmBHpMml3dLab7NQU6mItqRhX7aUtFiFHslOWZxvj/hsCc+5mfFFjcPGctnOwcIpk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424894; c=relaxed/simple; bh=XZpMv8O/AC/1ueQMp8gDbQJVMcmYYGPTlzFd7u/nYYE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=gO+sLm0bn6J9pQ1mzUF1NYS3uUMaxhmA0L5srbfbX2ABs6J2YyN1lhcBYlwDW5qIx066q+MuYfUgoZXer5+/JXPxAaGVENxrxpmsTkIKCNeMeCwGADUsNU2e5dGj9/MxZoFe0Ul9aOafh6t8erVlTyAvr54iEzPHqbphzDP1tJk= 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=gPwCnoRl; arc=fail smtp.client-ip=52.101.65.8 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="gPwCnoRl" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ln++vTnz9EbsifVsdkjOM/PW20OWi3NbyiF3rWHGpsczmZH/z1vZLv2wHS4xKJtfITeJt9oalm1hOLUo6yWLs5IUtOn4L89g8rBnH0ZE0IhxXksRljkggB0iQZwE9U5b4mXiFWWjduq19xjg9lolUqmx0Jak3oEsZUxGQizoGutR1+FMNW7RGVFc1aPS3X7jlwD9eB7hidd+dhagmPX22m5ki3FEmUTPVogrQ5f/ELWA0MxzT0U+UcYGllzucx5pVPQbJv5Fb8QvG4HPIlsPfrfce2qyv8MKEjVLYKWoiQsPXvO3tDfPNtFl32TMXB6C0lNRRExapYU7JKrDJOYJ+A== 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=ozVro/a2H/lT8rxPAlrcjSDnPjQyRPO0kLw+PGkteHc=; b=LhCFpal1knudzO091RJ76ajTOuN7/tSzoJWBTGC9V3lh52udnkraQnRkuqL5uF0foQDFDlzNF7V3/C7n9D8Xqmathc1yuQoZcFKNEYUj7cBYkDP3xT6ADxQ+bJmS+6dZTlbge7j+Zf22Yd1v3ZvlJ0arpn+CuRG3Vq0IVrZHw9JK0khng+M57uZkdSsGHSoLDMkNBNBCh/dP8WlZvPqCAgKoShyX3TbLcQm579u36aSERejiEGGEnn6uFzxPeZdJgE2DjoHiYtDYYHKoNadU3pCl8pC67y5kVI3XAZ4qilBhiFbldhb6UBzOxioWyrw1Nsqsp+ZXpGnTrtKNnF1UKA== 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=ozVro/a2H/lT8rxPAlrcjSDnPjQyRPO0kLw+PGkteHc=; b=gPwCnoRlvRvJS3vyZOXySGDy2u62oOpF86LKfO1ybxYWKklvmCb2kOAyBgsBdNE8txMf2h8jOEKvfbbC447s4lVMROU/FVtgxGPzjCBN2xgWCWS4xPJvrkjdsN328eRVV0kGR5ZOxIx4ZEJSmABbA+se4pqkamhMQTdCz/hXSnbqQsQR3I+RV+2JpE+Qbolmlcts5muczY016UAR0t0fNoNRi4o1AhFgirhzf8K13HcUz7B2Q0Y27yPtR41Wl32rKS3QiHj483oGvD/n/VC/P5kLoFFtp6O+8pbgHyfA5Uby0bWTYiB7mkq8oktF93q3f7r6QV/pkZaK0DLyB5OZ3g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB9667.eurprd04.prod.outlook.com (2603:10a6:102:242::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 8 Oct 2024 22:01:29 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8048.013; Tue, 8 Oct 2024 22:01:28 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:00:57 -0400 Subject: [PATCH 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Message-Id: <20241008-zii_yaml-v1-1-d06ba7e26225@nxp.com> References: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> In-Reply-To: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Srinivas Kandagatla , Wim Van Sebroeck , Guenter Roeck Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, linux-watchdog@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728424880; l=2686; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=XZpMv8O/AC/1ueQMp8gDbQJVMcmYYGPTlzFd7u/nYYE=; b=XZGRzJuTT5GyofBRh16NnVfe91p8plfqRJu9KtL9qPgPSZFQJUOjUghtE7y+g8HC70CEv+NNB 86blKqmGVKiDb1MGg6z3DimQ5vUoxf64Tt1kgwAViDxkBExuXLT4K46 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR10CA0017.namprd10.prod.outlook.com (2603:10b6:a03:255::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: 8efbe279-f68a-4994-6419-08dce7e4c2eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020;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7wvMf6FmMedZyd4dspWr4C88HVRfCLd08BCEz5yR0sea15M2hX0L4WDTM?= =?utf-8?q?LGyGAkgzoTekvn0h3z0RCieOmik2jG/TucKrCdhcBtcM1tZsNWrguJ3PkHzsLbetN?= =?utf-8?q?ic/xqdvv2XQAIoioajXk8+MQxNyvLdsZ8tb5Zfai6D+9PL4HdYunt69uvEd3gflTp?= =?utf-8?q?Jb39MdHJAWR5lT/KAPxzDPddQrTQH0/y3s1MvKgCrnnwHoqWee2BO/YQFNLvgcaGC?= =?utf-8?q?nk52lp32s8H5H/TgbqUSGIL77vJyS5dzB6BKXgRa2XzO/+zXP2aEZyNwUMtSCRaqi?= =?utf-8?q?uJVcypfpDV0jTogPMjwXjT8jt0y7RGay9M83BzY+DIyXzf3OFgI6o6Jo/zUPP7ZE1?= =?utf-8?q?qXLQJ5W1V7nyZUw4fDkbsJRnJwzB6wmMT50ox5FhWrcYnO8KOJuIE7ZwufwLvnn9C?= =?utf-8?q?zTToZza7uVDCM1zf7s0YyBpBLzZTtkEj5QzmVPAxwzsfAi1Gil/49QyU=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?jwPxT4T4ItmAl3FTONSw6wMjKgKx?= =?utf-8?q?BIoBUD5iWmWXH5N2+eBFR9408DLB6y0wTlR6K+Dgh6N7Vg/Z0Ks+uJmME3l5te6dV?= =?utf-8?q?M8Hfo+bYXD4+o6Y9IsHicNKUkujYJ8x7OMoh1uiMGxRt79GbWgbXH01rzgqaViJl7?= =?utf-8?q?qB4iWrUOKrgxW/uTx2yM2zmaM/5gqaJXcp4vUuU2CN1z/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uVonNVa5n?= =?utf-8?q?V/xhJ00jPV+k2wBcc4xJLyE/H1AF7pyrlMAxtKhlcaEuLuSCnTw6wsLXjGMuEQCpm?= =?utf-8?q?SkSD24GcK7V3FPGGVm6NVigJrol4pmuOiyMkTEkdqWbyd5k8Vqj2cCY1GDsgeIr6U?= =?utf-8?q?BmSVUFcfvPx+Vn3cMNGnEf9khXYTc2Zye2OO1bFgfKnl1/ynfSqE5YeTc2QDAyi04?= =?utf-8?q?6eH5cyCGmgP4lWp5wpflbKN5Csl0/mfYrmck5C1vRBVKR26yjF7ApljGnWmLmqzbx?= =?utf-8?q?aR5xoc0GUlqD19dh+gKoT5+xCGgHGTMh1e3EaB0Kn4piuyhMk/I2eH4fDLH1ZRVdx?= =?utf-8?q?Q/OlFyfCwI7AHxZabhnLGG34zXqIVRgNPbDiOpzFJqwmho0c/eW7jnfJaDdnyrFv9?= =?utf-8?q?bt2kuflGmlUOidn8ew4lwxi2cInodXL5gASrrQIeg4U8se8YCyJZDceI=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8efbe279-f68a-4994-6419-08dce7e4c2eb X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 22:01:28.9320 (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: LDA+qvc0zG911QVNJyg5M5ZGogXJAmwAyCNGaOBaX5nnGKWr+fRYDPaQckMOZzyXsS1YebwYtfuROZRvBvevEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 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 --- .../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..7b5e86faeb20c --- /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: + - Dmitry Torokhov + +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 Tue Oct 8 22:00:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 833741 Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011022.outbound.protection.outlook.com [52.101.65.22]) (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 4D559217329; Tue, 8 Oct 2024 22:01:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.22 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424901; cv=fail; b=IiYS+xgWS7IQ3WGzZLBztZPHEvp9T+0jG2TsQrjIAx+kjgnrZpLsK8hXBIitb7V+LrkPDB+Cwk5jbfDmDuIE4l2UYByrGLy2lYw3NGskPHiRit8iTKpT155ZgNWquEehq1Pb/ODB56rtqXMCnTCb8jK+lJ6w2fKSGbhWBAsMyoQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424901; c=relaxed/simple; bh=Fp0UvGpveRY4bFlNFYximIwtARutC4Lw3e7oWFnlL7Y=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=Yptx8ZSBAiybvrblora6iaNhQZcuLccqMA8Wq4E72uEZWG4DFmGPA0nDnpMfdmsMkdn8mmWxZdM+/yw6eYP6W8M715nsPwURTeCYokOqdQOYR3bER/mGCtbxGj4m0GO5sodJjR/Dyn+pQfGefXaZARH5RQBgwTa8osdnUl8vRiA= 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=awiUd90s; arc=fail smtp.client-ip=52.101.65.22 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="awiUd90s" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GnhN6Q8BS3uyOeXjqxYrcjpn7dx3SGXAf33b2E0IAsXCVh2Xu2wsp/UKrtQcNcXdoSLGCggSNXutHQyu14qUk47WNspv/GeAuzsd7+nf3CbKUmFU9MGWy2fkjNM/1E0rsxcqof3kdVzobYDRrVO4uL6QVfk0ijCpuDJm7Mh11jHGupQntulIOlRKP41qUgDWcVIk6OElb0OXUzhQH8EsjxNSAIAEy6Xn0dfhfxl2+32FK6GSwBMm0KIgT/0pjAL/NHzozl8HEB8hyRXo0A3S1gDWSqfMX99U7FuDV3i0OgMO6Jng/tSvzEyL6hVf+N6532pfTqBS92td6st3HIo1Dw== 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=B2odmee2S+ox8BT/ZTjQt5ajl2EZBBKW2iYWwVyGNGg=; b=HgweEbEBwZsEOqcuU1fGAT1CPC2QjZiafSyK9sWgwEkBmhzEIqoewomfC7rrGzmB2FVSMLPcIjfUOeqDPFLt4OFir9KCSFjavbMNjlTOydvHdBZvuHrer7C2uSMuBrbylluuSi5+i2rRjUxKHZLZBx88KJbD7e/f4ZWJE57/ShwLTYOju1OWRH0jEcWK6pCDYdku0gpEGe8Rt+kS7koK6/HmYIdH67c3AHf0SH6vnpZQrQzqMCkcky822pjp+42A7/P0Cc4DQyFpXSHAUA4gPkqKON2iDBH5IB3w4Dpq08GBFa31m/dVSReAiolLy5I2QsZfrpm5KT6+x6euOY+sKg== 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=B2odmee2S+ox8BT/ZTjQt5ajl2EZBBKW2iYWwVyGNGg=; b=awiUd90sLxyTGEyYCnUM1UYwYkVqyTJizicIR6vfgTO1w94TX+NtNP1tHhlyMUwkgwOGvTMKtGTrXQE3V1/mXJV+gr4ekFDrGAeGBnp+9vUAufx5lIv6PQk+Q7bKYvCGfkpNpJtjb3cFhqO7VIvXXZyTpCHhsp1JXgVnlP5a68ZzXv0ptSnnm6DaP6Y6Y67pqfs+AVuCWGHbnfG/hy9cxnMdsHbRDbw8ThJddOoDMVYeYUO9cHgVFiMObT1GHF+oVAmRV48Zj8CsJM2lWkLWDmtczpuspJk5a/EhbS/akAErsPr94VBgbNXGypDH9luHCK0S+fmzdXA4AJUihF1CWw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB9667.eurprd04.prod.outlook.com (2603:10a6:102:242::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 8 Oct 2024 22:01: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; Tue, 8 Oct 2024 22:01:37 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:00:59 -0400 Subject: [PATCH 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Message-Id: <20241008-zii_yaml-v1-3-d06ba7e26225@nxp.com> References: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> In-Reply-To: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Srinivas Kandagatla , Wim Van Sebroeck , Guenter Roeck Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, linux-watchdog@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728424880; l=3603; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Fp0UvGpveRY4bFlNFYximIwtARutC4Lw3e7oWFnlL7Y=; b=5t3LDPqln8jHdXCOcNtdGw3me2q1/jr30++l3N9be4M0T35tAA7P9m2fhz9ICOE7CPX4lwvAE aa9phNo7jzCA/3HK2sAuZdVUEXxgFJG0MxoJSZC7XMQfKa09L/xy7hc X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR10CA0017.namprd10.prod.outlook.com (2603:10b6:a03:255::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: e92fca82-ccbd-4c7c-6f41-08dce7e4c7fa X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?R4aDGBARWeSfVd+7cxKoJ1sjhoEJdtS?= =?utf-8?q?n49GiKiIB1KhLUvG0d7DiXh5cNlDQSQmQg25vAMEahL/yFlgIeyyjAxmEBMA7xVU+?= =?utf-8?q?etSyTYRH7pcQTe3aJtWcUnKZJn+u0uEEqHUxSJi3udw7oP4ya3bz3x8kRVFJNdAK/?= =?utf-8?q?NwNCnslt0fDzbLVY5jpPkphA35BU8qqKs9Go8ff0DiIwXCLspIFCq1QXyav8uz2ri?= =?utf-8?q?+3UbDL3tHBFzmzbUfCTNaF2zqMb6Fwq7mNMhp90yR4bI59cRHtfmCz2MBeoNinFA3?= =?utf-8?q?1eQV41E+zO87sd4sjgzqzkJX9DOd5C58AEdmd0dlmf/Ae0ULocJFy05HfHxHCk6Jj?= =?utf-8?q?ktYJFOWkXw06taI+Nynkb6xzGuO9kwvMDiRlbFCeE7GbNmCnbsYK+j4Py19gxedGQ?= =?utf-8?q?KUn2rrbJ65jxMHZa380qu0z+dNDCGVvq8c9eOdpladV/bBmhnUusRi0tbJbO08Lo1?= =?utf-8?q?GGCKs6lZPgsiz6F3/X1qVHvzu6OM8rZvL+3XfQnlmoq3VmCZCSmzSQ7gsZKrIZQN4?= =?utf-8?q?oF8RcqPTh+s9N+EBwrTJIByrmoIW9a7/YSJTuhTy/9j6szO6cNgHqpffwEPV3uG82?= =?utf-8?q?SzM+9qKB9fn/uUSa4NW8dEdyq3ct6WEWMBY263xfULZGNZhc/xsKAxtSvUrrd3xKp?= =?utf-8?q?LPftEGus3Hyn3DGYEi94DqME5iEwu+HSKCspipaalsP9qE2vyO5rhe8MGhKebyDZE?= =?utf-8?q?kVhRGYZGufDcA6J1ldaOIKajywvsbKYwiZa0OEiba4D3q0epD0gwXCd1VJ7uf6rMo?= =?utf-8?q?yLmZRf9KK/Un+JfZ9278xFqUqhvrk2P+GIxpROdZmdnZZrlX9/T1DrZAdiLIdrGVe?= =?utf-8?q?46vgmCIYp52attuCMSXle/EzmUa945qi5awd57AscmGDVb333DluhZWYzQYDporjo?= =?utf-8?q?NUGIn3AtuGI00jaF/2/EBuEzABmyw1MFOL64bNjbnp7IIt7IWhdTafOqk5ZTlE5x0?= =?utf-8?q?cRZInvx9e/p9NXb7oS33yGtzCK/YdAg9jg0e1TozSgc6xaTIP8M+ZdUEdHCUJ9Cxi?= =?utf-8?q?2o7MK1Ye+I6ZODZajNB/tnXmQcHU3gk4sdgL9vKoNz5qKhubJT2kcQewGtasA937d?= =?utf-8?q?/d4cF8+W88tlmZLiHBRcnBd1bno2cdMxl55v89C0ChaX5+u5KHZq4ldbJojWMiziJ?= =?utf-8?q?ydszkHuWySjzA6DEsAJUjTN3guJ/VaQjILHlDC+LexMPTOf0JhyfX4jXxdr9IhSGA?= =?utf-8?q?Ud+bAopWbsAaU8almrVouhGPP8cgt64xPZz2g6aCk0tFuyTkVpXqx6o2aQts6IU+q?= =?utf-8?q?FkzmWGFjzsQaxiS6EZ8JmKQxeUgO9wJUehoI7uj2XDXmK0C1bT+siEHw=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+Jwq7SF+TE5cyz6mSYvGByFKquQc?= =?utf-8?q?HHyv0aA8Q3yPjPeccLmE73euYPryWTs0Ojaen+VwHbCKOICi5qli5EOr5l9t9ZBjT?= =?utf-8?q?d+K64Q5g5mml8T3M/84vA7LFotoc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O6nZaqqhMAyQPj0Eqwef2mh/9vubG3d7NKn0mH?= =?utf-8?q?QL1yp/grEwSStHn3NpCFCaXTzyZH+Lvit3MRKtcEi74tjS5vhy6bKwvaevU1Tof4U?= =?utf-8?q?5cXIE5u0rNELAARonaUZTrLLEqKZGDYHuFIXvOr+YY7sFZB0kG2UhH27lSsFbHSrF?= =?utf-8?q?49DQoPVcV5Yc2M6ceXc/4v9e9/EkPRbvrJWNx125gPEWkOFUeGlL+5r6AZ/t296Jv?= =?utf-8?q?blELIiA0UOgO8zIA3/9LgJy3d3VECbLfD/XSWfk1pxj00VbQhrSy1bDlFn3xgRWJ3?= =?utf-8?q?oWAqFhLRssXzn9dke4JbrQZr9ChMknAPbDfn8coq1u1+DcCir56QEY8iy9btNnhnn?= =?utf-8?q?entYbxEPAP7+qt6NY4A5aWsa4WlN816iF609XRyFIOnwodqYUUOybp3YLWnhxRd3b?= =?utf-8?q?T3PmqctmZ5SmPK2v62Vo2Qv+YneabRbscaLL4q1KN8m64rY1SEBQ9twKk59ypTYLM?= =?utf-8?q?u29KfWqy8kkAiPiZiw7DId+Gr2dg7q11+5h3NHitkD8Ex8W34ghwfRmo=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e92fca82-ccbd-4c7c-6f41-08dce7e4c7fa X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 22:01:37.4255 (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: zE1yogB8BBnpvNcvd3jyP+DCdaLVDhqUYh7S4UJHf/W0OciWHt4G+wNYxrCLpaHRusGvFkLyRs2M4xQ77pTQvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 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 --- .../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..3ae26f1cf7acc --- /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: + - Srinivas Kandagatla + +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 Tue Oct 8 22:01:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 833740 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11013034.outbound.protection.outlook.com [52.101.67.34]) (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 97F4B21859D; Tue, 8 Oct 2024 22:01:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.67.34 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424910; cv=fail; b=k8SWsbJtkENWAEmfzUjuzET7aDS4ouXezJERyDwRQjjPo/iV2U40/ic8LlPl6rWhOeiwfnN+HEIfLmKMzAGre5ItjkqolYZWV7qia/r8/nmuOu1s84RWcOHZQyEKbKstARpRev+lPsNLeNgxJeRWawnNQQuxR9BpZ1nE6T/LHsc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728424910; c=relaxed/simple; bh=QgZ4qpuBe2Iuf+86t5wdsnelCC4x9/FyyKlFxjiYoLE=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=cxeD8DNNjKGEELX9Fhqd7fs1J20D9PXdyQDvKbO5OhNHgmq5nWi/GA3nMICF7VA8NhVG1ECit8+9qZB8trSsD/tKghxXM0OFrpeQYGHmYW/A+J8g+CwhjYxEMS85DENoM16Bvl7iXMNY3YB/zpScqr8ZN7Lvyasvy8HqJa9ef8k= 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=eDznqeb5; arc=fail smtp.client-ip=52.101.67.34 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="eDznqeb5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jXeNMBwr4h263YKZzjqA0eitDEwnkfq0QBWLYU7BRAaaW5xPrIQ27yuLh71KS40pElykITK8Oq+nVk0TuwMvGpos7f1nkR0ya30ukmz7iGLqYSlaK9cyqjudqRoEMGjKl3c25w4bV6AsDCJqIHpwM+3qYJeFRz/xEIDdrmIJbw6PBZRb7TVWrAoROx2F2n+1GTuaBFzsz+0+yBf15+quSHMQ2g4L04FOXf2by/XkoW+6Qnub/S93Qjnau5Ym6ZtjiC+vpt/Zc1hFSdj0Ccr2yVLEjfP54foxXFeAaw5n8VR7JFzML5o30+3C5f/+tLAXNsTnnlovlwy5vG0ay0+0wA== 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=Qrc3dUEnZy6cblpXUTlHDGYZjKL0tMemV3q7+6PyJyB0W7oqJ/bM5wRMcdAWUIV8ALe7tB3RKffnW6UaNiaudbPgs+E0uAwM3ZCyqMKLxqt/rrl7hJc6IfVX2U9T7ALCUJ91B45+sRvW4+HGNiNLTTDgUGmoiCWtvmngfJyPMIV6TxGHXrmHPID7o/LWr86j/8BCihyLEYp1h0wsazU207WfQvi1HkjN81EtBftvPMc/lHBhkfIEtTFyGznRawhsok1q1g7B3pFtuEJBDw/Za7VbQ0Xl1mecAhlTcYkIREaRsDxu5FomiDkKVDkJcuIzNLPBhOcyGXl+54u5COwuuw== 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=eDznqeb5BK3S6lj+uJ7SDjlyiP9kwKeCmcsDCjNXD1514fQn1cUAmKxon+WDD/yK6iNzv7R0N5Hk0kA8ACcUYUoaIluu0iysUsZeyIkATi+iMcGquIQbNsrypqx38+XW2T4eMTvWt2+zbFXfembdFOnonszHqk1EObZaUYphSMfRPM/PT8Tfo+R2r4BGg9YXj1CEuc1osL/Lg9k2JYrFD5EkxqzcdzEZWiAmZjyCfU5B5EVFG7vlbmrGxNMm3zeDJ/SETSIdDEg02NjjkAgbKMi9AALkGBkEDMO6lhndCtADNIxrNZ9lU051X4mw6YCp+yiKFJQzQjPiYCtcZpq8/g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB9667.eurprd04.prod.outlook.com (2603:10a6:102:242::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.16; Tue, 8 Oct 2024 22:01:45 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8048.013; Tue, 8 Oct 2024 22:01:45 +0000 From: Frank Li Date: Tue, 08 Oct 2024 18:01:01 -0400 Subject: [PATCH 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format Message-Id: <20241008-zii_yaml-v1-5-d06ba7e26225@nxp.com> References: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> In-Reply-To: <20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com> To: Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Daniel Thompson , Jingoo Han , Pavel Machek , Srinivas Kandagatla , Wim Van Sebroeck , Guenter Roeck Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, linux-watchdog@vger.kernel.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728424880; l=3530; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=QgZ4qpuBe2Iuf+86t5wdsnelCC4x9/FyyKlFxjiYoLE=; b=bk/JeKDHfiCpfG42dW2bKh/kBUGEYKcZyrwAxs+LLP0pCcMyRtGw63oPIC+7jhUnzbi2nsOpj SQE/mzmTycPBwC3ki0FLDtDedD6xxEzX5KgF9dkaViYjKNF/0WxKimN X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR10CA0017.namprd10.prod.outlook.com (2603:10b6:a03:255::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) 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_|PAXPR04MB9667:EE_ X-MS-Office365-Filtering-Correlation-Id: b859641a-159b-4e27-fc0b-08dce7e4ccff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: =?utf-8?q?Bdt2FmrL8PGGauXv2UUAcLxgVUH5fTg?= =?utf-8?q?nltRniIMQdVzIpJaO7AQbVTj39HDHoqkomJEhhZEK683QwIdTpt566ViAaHGI9Yam?= =?utf-8?q?/Cx1RXkRHaMriZaTp8KOIA/8MthcDGs6I7CjzF/Pnl41dgvMb4MfiNsC9aI9EIc/2?= =?utf-8?q?e9E1viDfwBN9dNetjsznZ8U2gqnMhlTbc4YMvSMQygmOft7s8jXZ1OlfZQSvGzSHS?= =?utf-8?q?lWQwYprA/ZAT+D0/ksHbJOZIsAib1yS+sHF03jxNJ9+Idfmt0Ds2xVPacFwTTVmVv?= =?utf-8?q?qW0gv4vF4TwxSkojt19QO4snZCUE/4+skc4OGGPfvn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znQBIOzFOe0YhYUmw+nA9q?= =?utf-8?q?mKzB9VKbVlMF355OtnPVyPsCWC/2NVYvNKurJznQo9FtV+lplPYG+14ddQI8cuZqZ?= =?utf-8?q?bw/3SqQqBqpi/JwXdBDPHwWyKHKjwuXggedekZeKBSNHFZobXYjvLUO8=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?9tr2l2b7cumhWbmjjfTAxc0RWZIK?= =?utf-8?q?PP+NTokAcfqHCu3rLohnJRDKugGem3SpwDoYSR185KZdecCpX/hsoN21ysmkU6tbh?= =?utf-8?q?+j3/+1eQUv3C7TjB2ydB7G54Zem5QTinKLlQKsqNZWbOuJRH9Up9Mcbxny9yFvK8j?= =?utf-8?q?pT2TpkAs/oacpwtYflyUaF4vog0dmqHmBi8wYXcuqKQ7zn9bxCiCBYN6+yNIGw6cm?= =?utf-8?q?epY+qhQ3/dt7QaI/L/EsXRJO7iT+CLVGnfze4Z2b4vOvw9jeNlqw5joV/1FygfWrp?= =?utf-8?q?jJNpR47KmQ6tWUkmkuaWPWbLNsy+16Hm0qqGwKBjW4R4mzknmhAwPFd2KcZqWMShY?= =?utf-8?q?DFSpZICIw252IwlgrQd25N+cWI3q/7fpkT3T5kZ73ZnFLnSQwn2qvDMmQUnhT76bf?= =?utf-8?q?KJyNAZidYA9tWC71SXJ9Xjuc2AcyUSQLJKhGVlWB3yj5p+m87NY/1TnN7QV1D/jGi?= =?utf-8?q?qBWEyxY2ooVMdy3vKrNYMuWjT4fGzkl02hm7SGQg6zt3xkc07IckHlVufvSH1fLIS?= =?utf-8?q?GHIOqrfVUw1x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6aeWbmvjx80/BwExmjULmyzTf7zhi27F2kQlxK+U6PoMvDezc?= =?utf-8?q?J3LKDBh3fIeL/YjbTPUy0kdn648UWPeercnYOZw6TEeVQp8zSx0ZIG30=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b859641a-159b-4e27-fc0b-08dce7e4ccff X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 22:01:45.8398 (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: M47rc8Plg8d5Fkf3TiwdQq7hAFQC5qO3u7ftL7A66otFzFchCOrNCVdjSMS8SyOMnMjCxPziQgFx8KMwHKhGlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9667 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 --- .../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"; + }; + }; +