From patchwork Mon Feb 19 14:41:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josua Mayer X-Patchwork-Id: 1901015 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=c4namuw9; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=solidrn.onmicrosoft.com header.i=@solidrn.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-solidrn-onmicrosoft-com header.b=mAlqYg2s; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tdlcd3MBSz1ybl for ; Tue, 20 Feb 2024 01:42:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HTZdDnEaZyd0JF8V0RCWEAwSgaV3pYxC6UetXYichgI=; b=c4namuw9M7DcuG 70RkCdnYJr2VjIC7o8RC0CXCRn+s8PpKzOm2jBLSDWGjgFJwqSBrhe1AOcDpiGrFdbkVVmEW2bl5o qopAHjgcZs16B1EuxnMXGpv7wH9oT7pNO+LmGyCxH3XS9TX7Kzd7CsL4+Mi9ViMZDDbrJ2iBdTuDL k0n3I7BG/1NGNYqXY7jZLw5LMw+jw67kNyUi71InyTnbEy+L/McjvqRIyM6oZgZtGxG/wdjUlplFT W06Q4opWouhFwPxP57WX5+UUhQTmmEaRh02tiDusfxRaM7aNFR6tum6etI+OqHI+LSoUrhSrXjIsh I7ShZXuGrpknytUFlU6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc4qQ-0000000Ataq-3ajP; Mon, 19 Feb 2024 14:42:10 +0000 Received: from mail-vi1eur02on20700.outbound.protection.outlook.com ([2a01:111:f403:2607::700] helo=EUR02-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rc4qN-0000000AtYj-2oFR for linux-mtd@lists.infradead.org; Mon, 19 Feb 2024 14:42:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oa4Lm/IoAb60E4HcMHICyC+WHLOoItTRZDFJXbaNHFoKvyz7cy0XryyNgtGNmUpmx3IUZRkZyHVmXXcF1iWzw52p2Jr9jjD4V9yNLK9PPzEx9lDG2g4hnC5DhiYLxj4T5HDfNZNAXIO+hYVYKcc90LgENMJdGQsQ3LHjB1xXA1kRVGs4PcgX1G74wseDk9wG0WEAqw1t3MkrGZ25GwAeYlYrc+cOy1kXxRWNeIFmYwimC2AL/IuunU86OZPBotKefPd8kG8irrD1ii6jpE3xNrxsOmVbi8ARdgQrHXsVvlNGmlg5QRuNjXMCO7zcTGs9vOf1VjKc2+IHUbDVRsi+FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=Iysi81QcxMkh7xwJQNcvfrcaX9e9U+OBz60Rrl6hZVo=; b=Oe+t7aKG+cc82sPW/yGsTfVLcDTaNLxl7Qxnz1KpTbXpIQZ2SHtk57LMdAWPePR1Jx2UDMPnqsVBaGncwxgUvx4xnuGDbObf8XfTUNc6z281Vz7HrNwLjfFGOEs4+SORlC4hSXTTaf0pNvBR4GLIadxd7L3dODHJNg3GYM+T8BK1om7N37FmcH6KvotMhSFyn0gLKOZUEBfhhwYNOvth7EUoLJsd16r/wCzMLsTkFLD6kQr8uW3WZuwp7rg/AMPo9esZcTzjbDkolcVOM+8QOPuMNvjAYSpJ2yO7GP/tI+boueySy8hTX/L8RiqfRzlO89AdQNSpaoGoXTYQBE/nCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=solid-run.com; dmarc=pass action=none header.from=solid-run.com; dkim=pass header.d=solid-run.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=solidrn.onmicrosoft.com; s=selector1-solidrn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Iysi81QcxMkh7xwJQNcvfrcaX9e9U+OBz60Rrl6hZVo=; b=mAlqYg2s/0XVgJWPx04i05/Eu9W3sgtl8Z/l0kLKZApCQRMQB+zlais+9mxEsi6jt83VBcAT/lYiTB4tGSfsZAe+X4w0LgkPbsiQjZWVpJ1uaH7cBVK+m08RVY1PxBCr4JNkdE6PQadAeB3KCjFTU3+Dl+iDZfBDhdLcud4p8YU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=solid-run.com; Received: from AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) by DBBPR04MB7563.eurprd04.prod.outlook.com (2603:10a6:10:206::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.39; Mon, 19 Feb 2024 14:41:57 +0000 Received: from AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c]) by AM9PR04MB7586.eurprd04.prod.outlook.com ([fe80::3b94:f607:ebe1:7d6c%7]) with mapi id 15.20.7292.036; Mon, 19 Feb 2024 14:41:56 +0000 From: Josua Mayer Date: Mon, 19 Feb 2024 15:41:19 +0100 Subject: [PATCH v7] dt-bindings: mtd: spi-nor: add optional interrupts property Message-Id: <20240219-mtd-flash-interrupt-binding-v7-1-206e30a656fa@solid-run.com> X-B4-Tracking: v=1; b=H4sIAI5o02UC/6XNSw6DIBSF4a0Yxr2NIqJ21H00HchDvYmAATVtj HsvmnQFDP8z+M5OgvaoA3lkO/F6w4DOxqhvGZFjZwcNqGITmlOW06IFsyjopy6MgHbR3q/zAgK tQjsAZ3VfN6qgpRQkCrPXPX4u/fWOPWJYnP9eZ1txrn+XQqcUdIYzCM7AxiEHUbVaCSpkI8tnc BMq8Ku9S2fIiW00FShTAZYKVKkATwGO4/gBmwz+ZQACAAA= To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-mtd@lists.infradead.org Cc: Yazan Shhady , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Josua Mayer X-Mailer: b4 0.13.0 X-ClientProxiedBy: TL2P290CA0011.ISRP290.PROD.OUTLOOK.COM (2603:1096:950:2::14) To AM9PR04MB7586.eurprd04.prod.outlook.com (2603:10a6:20b:2d5::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB7586:EE_|DBBPR04MB7563:EE_ X-MS-Office365-Filtering-Correlation-Id: c3e30da8-4442-48d0-3c64-08dc3158ec15 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jlcB379X/WnwCbusxLWSEZEuXZG1M3elDtTGZ6S5fXOX1Ig8EJI+O/NJLY7s6VXCrbZ/8T3chLzQjIgZXGb/8bgVQE6q5D2XTveKaN4DLLqvszk7lILzbTeSFa3vUqvZjQxj0xhTDAzNzjQ6FPowLe14VOGHHiZo+oXmPte6R+iY264hXVAr0488kApI0IFL+L4CNAb2FBI1DwHLGX0rkpV7rChka9kpGhxTHdDtV8/zNPTR0fAwcIefz/ZiCRbNmRQQGzcXShP5EGcwdTrsCQoDv8oH4HeKQkU1Y4wXFAr6M5Gw8q9j46o+fFliZyj7n65k9IsxwUqRLhW/EYZMO6VDw5ORmH0hXnhJh74QtIi1JkKGHcdkieKJFIypaSBrd6FwOqIndDng12psZi7Vo8bhhwa6XSxhl4udnUOk75mR77/fxaFDIaPLvGEAo7LPhe7WdmpxovnNphJxL7IkiPNzgHm+pM30Ljo+JUR1FQ7NOxPYJN9hCKRcyvtqd+FpiR6xmFDGbrk3EpjZK2GVb+Fc5icX23TJzsmj5QfK2BwOlndSK6ffo+ofP9eAfzh3K3t10Vbj54zofiIVpOiAHbh7j8bC4wZ5zyvcfZEEze+HtarBu8MsbtHV+8lpAJvf X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB7586.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8xXil37/1phiZV1WzCC9I5Pdsg50?= =?utf-8?q?iBlZZcwHmMz2pT5hkFmd7WwD1XwOfasRvQ9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+OQJwKPuYj8ARMHY60y8EuimIpJTpL?= =?utf-8?q?OrpnfG9wr8E5Tz18yYjklKjigXwoT89Id1e8+YSX1AOw1NIjYviUyOqcoEarGx2VX?= =?utf-8?q?I17JwsD9iz+8xA2PqkNTZp42AeVs1UwrFghfcrnZ6oDyPD9rB0l5asNJpMx1CFjBZ?= =?utf-8?q?7lA4a54qaIHp1LC/Tt5X/dVnG8sF3B9P3uIVGNTsL1RWLcJqZ/1QRTFRwIz5ym4M7?= =?utf-8?q?mgwTd5NGIu9Lb32R61otHyR9rC7EQnrXb9RcFwWovWcU1wLCmPrl+eks9WGeFvCOq?= =?utf-8?q?4dUkzbWpIA4eE2EruJQJgzgb7v8Njg2WAwCZGTLJrNgU5Qq6SssDleDfw+EWT6StY?= =?utf-8?q?mPqZN2E/76qdcc2e7Zhljf/HOcQCOoeR6wM8YUuqMfsXy2stJyMauETKUxTC//26X?= =?utf-8?q?tDnA68x79NaU2VI2sk47n1W8AsUCryOYqGTIpW8eMewCYr/yA1sd/ERKLZeWfMXGZ?= =?utf-8?q?D5GGqAVNUly6rOozg6pfTnhJ2RS99kv6LbsDFqVUNrBb1nN9FGDcqr8EWhIG3kTnF?= =?utf-8?q?wpG1YwpJHRNAmCFwzOlf6u8TEqA+7RRFE1ID3wBeNBT+KKumkFaPmHhtjTxEaNxdU?= =?utf-8?q?wncC77iv8hSF?= X-OriginatorOrg: solid-run.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3e30da8-4442-48d0-3c64-08dc3158ec15 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB7586.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 14:41:56.8401 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a4a8aaf3-fd27-4e27-add2-604707ce5b82 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iGyA5cowRf073hvvNRbRUJ8uPdHXzCcRNGeWYROpitb7tMnMW2a5WF3G6hz+yyflOGnZgRhh8UdzTk8eYKpJjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7563 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240219_064207_764245_90B88F5B X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Some spi flash memories have an interrupt signal which can be used for signalling on-chip events such as busy status or ecc errors to the host. Add binding for "interrupts" property so that boards wiring this signal may describe the connection. Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 ARC_VALID Message has a valid ARC signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 ARC_SIGNED Message has a ARC signature -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Some spi flash memories have an interrupt signal which can be used for signalling on-chip events such as busy status or ecc errors to the host. Add binding for "interrupts" property so that boards wiring this signal may describe the connection. Signed-off-by: Josua Mayer Acked-by: Rob Herring Acked-by: Pratyush Yadav Acked-by: Michael Walle --- Changes in v7: - split out of original patchset because it should go via mtd tree - collected acked-by Rob Herring from v6 - Link to v6: https://lore.kernel.org/r/20240212-add-am64-som-v6-0-b59edb2bc8c3@solid-run.com --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml | 3 +++ 1 file changed, 3 insertions(+) --- base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d change-id: 20240219-mtd-flash-interrupt-binding-647f78d123cb Best regards, diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml index 58f0cea160ef..6e3afb42926e 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml @@ -52,6 +52,9 @@ properties: minItems: 1 maxItems: 2 + interrupts: + maxItems: 1 + m25p,fast-read: type: boolean description: