From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA6D3606A339 for ; Fri, 4 Dec 2026 18:58:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=siSZXAvL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=UhIQ8NehdNxNlhfsXyfaS0BKqm2uqe+D5BryOsCBYF4=; b=siSZXAvL2kVzyNczE6SXNLRkhD 2+mtr0MjH3Z2mGuVyCnmQsPCoNjAknDikgPPTAlOrNXU3l77Sw0OoRWztAvqN9HT/4tBoUNr4bXdm YajK5yTNe30ml3wzJ+lzP4TiLwxL07cbbOYaiqUQJGDiaPztofSTQySjHdnGpN17cbu4El4NJeA1J wK0XlSCVosBxWH0TFPmm/5MFQa4t+UMIcRVICGd0rpw0zFvA+anCTcBkX5Ezjr0bw39YXP4uky8bY fnQ0C77t6f78/QFlg1Ac6M7ds9WHu3SoIcII6/TnRVg0YBcs6tWvq5UkHMC2m14Yoim/cMpCESzk/ lqGzlghQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZYUY-00000001EJ3-2jke; Fri, 04 Dec 2026 18:58:46 +0000 Received: from nbd.name ([46.4.11.11]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZYUS-00000001EFS-0Bll for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 18:58:44 +0000 Received: from [2a04:4540:1400:b6fc:7b90:6b35:724f:c910] (helo=bertha10..) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xZYUH-00Cits-2I; Fri, 04 Dec 2026 19:58:29 +0100 From: John Crispin To: Lorenzo Bianconi , Ray Liu , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Christian Marangi , devicetree@vger.kernel.org, lei.dong@airoha.com, Linqi.zhang@airoha.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Rajeev.kumar@airoha.com, upstream@airoha.com, Weifeng.xu@airoha.com, zhengping.zhang@airoha.com Subject: [PATCH v2 0/2] spi: airoha: add AN7589 support Date: Fri, 4 Dec 2026 19:58:21 +0100 Message-Id: <20261204185823.3797250-1-john@phrozen.org> X-Mailer: git-send-email 2.34.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_105840_109604_57F96BE8 X-CRM114-Status: UNSURE ( 9.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The Airoha AN7589 carries the SPI-NAND controller of the EN7581. The one difference is the DMA address: the AN7589 takes 36 bits, with the upper 4 bits in a second register. Patch 1 adds the compatible, with airoha,en7581-snand as the fallback. Patch 2 adds match data with the width of the DMA address, sets a 36 bit DMA mask on the AN7589 and writes the upper address bits there. The series applies to next-20261201 and has no dependencies. Changes in v2: - Patch 1: use the subject prefix of the subsystem (Mark). - Patch 1: add the Acked-by of Krzysztof. - Patch 2: fail the probe when there is no match data (Mark). - Link to v1: https://lore.kernel.org/r/20261202180735.3591430-1-john@phrozen.org John Crispin (2): spi: dt-bindings: airoha: add AN7589 spi: airoha: add support for AN7589 .../bindings/spi/airoha,en7581-snand.yaml | 1 + drivers/spi/spi-airoha-snfi.c | 53 ++++++++++++++++--- 2 files changed, 46 insertions(+), 8 deletions(-) base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c -- 2.34.1