From nobody Wed Nov 27 18:51:35 2024 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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-kernel@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?B?UjRh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WF4aVM2RVo4?= =?utf-8?Q?JmKQxeUgO9wJUehoI7uj2XDXmK0C1bT+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?B?K0p3cTdTRitURTVjeXo2bVNZdkdCeUZLcXVRY0hIeXYwYUE4UTN5UGpQZWNj?= =?utf-8?B?TG1FNzNldVlQcnlXVHMwT2phZW4rVndIYkNLT0lDaTVxbGk1RU9yNWw5dDla?= =?utf-8?B?QmpUZCtLNjRRNWc1bW1sOFQzTS84NHZBN0xGb3RvY09GTlRnVisweDNXSUJM?= =?utf-8?B?clpmbmJYNUdvR3FLazhiTW1sRk5pLzlLMXpVMTdOSmVTYnRscFNwMDAvQjE3?= =?utf-8?B?OEEybTdGRG1nT0M2bUN2UU9MUlVXTGNmN2FyTEp6ZHJYMGZpV05XS2hXUUJh?= =?utf-8?B?bVdSSEg5WWIwQjNZQlJsazh3SUEyc0Iwb1hoTGhRZmw3TXZCQWtQNEZnY2tY?= =?utf-8?B?RWVwY0daK3pXMFBTQzF0UE9QZTA3bGJTc1Y1Q2lHZ3NZYjVNQm1RUnBON0V2?= =?utf-8?B?NXBZaFU4ZWlIL0xCZzcySU50UENVdnFua2J4NEc3UEZqOUdYdVdRNFd0NkZB?= =?utf-8?B?NDZxQ284TE5sL3B2SFp0djZhTXh0Y3g2ZHVNVmxTWHNBUlh6bTB2S1l2eXA0?= =?utf-8?B?RGtUR01YSWN4MFl0em1JOWt0ZXlBWHlEOWpWeXh6dWJ6SUpQVGx1Z2h6RW1Y?= =?utf-8?B?bjdTWU9YQ0VNbFE1WTdFZzQ3YjJEcHps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mNFU1Y1hJRTV1MHJORUxBQVJvbmFVWlRyTExFcUtaR0RZSHVGSVh2?= =?utf-8?B?T3IrWVk3c0ZaQjBrRzJVaEgyN2xTc0ZiSFNyRjQ5RFFvUFZjVjVZYzJNNmNl?= =?utf-8?B?WGMvNHY5ZTkvRWtQUmJ2ckpXTngxMjVnUEVXa09GVWVHbEwrNXI2QVovdDI5?= =?utf-8?B?Nkp2YmxFTElpQTBVT2dPOHpJQTMvOUxnSnkzZDNWRUNiTGZEL1hTV2ZrMXB4?= =?utf-8?B?ajAwVmJRaHJTeTFiRGxGbjN4Z1JXSjNvV0FxRmhMUnNzWHpuOWRrZTRKYnJR?= =?utf-8?B?WnI5Q2hNa25BUGJEZm44Y29xMXUxK0RjQ2lyNTZRRVk4aXk5YnRObmhubmVu?= =?utf-8?B?dFlieEVQQVA3K3F0Nk5ZNEE1YVdzYTRXbE44MTZpRjYwOVhSeUZJT253b2Rx?= =?utf-8?B?WVVVT3licDNZTFduaHhSZDNiVDNQbXFjdG1aNVNtUEsydjYyVm8yUXYrWW5l?= =?utf-8?B?YWJSYnNjYUxMNHExS044bTY0clkxU0VCUTl0d0trNTl5cFRZTE11MjlLZldx?= =?utf-8?B?eThra0FpUGlaaXc3RElkK0dyMmRnN3ExMSs1aDNOSGl0a0Q4RXg4VzM0Z2h3?= =?utf-8?Q?fRmo=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 =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..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 =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