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"; + }; +