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 14EFE606A6AC for ; Wed, 2 Dec 2026 18:08:13 +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=Dglk/1aj 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=Y4MWXziibLD2KCRcfoygZj4GmcfLwvowrO2AZI6tYF8=; b=Dglk/1ajopZR3YFdWWLAHTDBNM 86VvcKM/akrMSc+PaQkBRIJnrSXp0Y3GOkCkr0qSdfN9gysxEQ9fspQLOkN+IvU/01Ppp8tayFjcQ yeNUpeqdQdJiPsUYA6s/q+Jmg6wYftxZqAxpGXMyk1EaXA1gcNXtJCfEx9KDAwDL27tjk6H8WbFw1 SzNa2tlU6yzP4L3W4iP5oB3xhNNWFI/3qQrtlMaTOggWZMs9CHyk348VdGmlVcnGfOK4gr0U62Ya7 cxIXpEQgqczGwKzCE3ZV3hwF9vXtxuDmrSmKjeyG1fkeN6Q8RWaKGKHJSzBw682X2j+AhskoloIyi vWIKdwvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYok6-0000000CUY1-2wJ8; Wed, 02 Dec 2026 18:07: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 1xYok4-0000000CUVs-0Kza for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2026 18:07:45 +0000 Received: from [2a04:4540:1404:c8fc:172c:e560:a116:623] (helo=bertha10..) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xYok0-00BMcl-1G; Wed, 02 Dec 2026 19:07:40 +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 0/2] spi: airoha: add AN7589 support Date: Wed, 2 Dec 2026 19:07:33 +0100 Message-Id: <20261202180735.3591430-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-20261202_100744_119663_2CE2501C X-CRM114-Status: UNSURE ( 9.07 ) 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=-11.9 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. John Crispin (2): dt-bindings: spi: airoha: add AN7589 spi: airoha: add support for AN7589 .../bindings/spi/airoha,en7581-snand.yaml | 1 + drivers/spi/spi-airoha-snfi.c | 51 ++++++++++++++++--- 2 files changed, 44 insertions(+), 8 deletions(-) base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c -- 2.34.1