Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=46.4.11.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796410718; b=yeQ37ywMgDwd7WFtPep/XUBH8094l4J2RVn6v3S5Uzx9btDSajbyA6phFIkGNGlx838o FF7psqCY9NFrvoAFpuIynfSPVYn2spCp9BuEMM70O4lsMmbZ1INCMbdI7dbPjRXycIjNU 4QFnpagwUJvY1+ywjs4EvmuFrn4q4Sq9nHI6YNqyBtT+X+H/TdRbU8uCy2lciq5Wsv443 myvyss18xSoDn7GllViqJqpZe+YMVgDe1mGGkslq72OrmIKiHDzuhvMUnhzHu+fNDCzsV uGMvH7mRo6Cs/D7anyKROogbIoUzN4R8j/ZXGvtr3kZfzrDoY4TKR2WhuEH68TupMsw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796410718; h=DMARC-Filter:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=UhIQ8NehdNxNlhfsXyfaS0BKqm2uqe+D5BryOsCBYF4=; b=y4UR8rYlER5+0QxVpCtbUbcvzdRWK6WglumQMLPOVnZvo1ajoz8fMK8GNb7V8U3FaQxD 6GoLjf4gSw5CnMdpfPnvXU3MdfVnzVAjY27Ex/VyB5ZOZW0HBug5nZ2owZVOJtxuqAzeb 95k9HepyXHn4HID/3nr4YoLzilX5QIfvW+gxEFlrFUYLoyzYh6bCz9gr8ofLDDXnA32VD nYdOzWF7eLbe3P13M7DNycjf18POgCkdKgGnDOUF5UQu1L14fnJa6IgexJ5chxSBsf/kv fhTjfPkwsTQtDBJiBpdTvf8LyRf8Il3QtAOLAmoSIw0XY9KJYNNNI0Np/54VhPibedQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=phrozen.org; spf=pass smtp.mailfrom=phrozen.org; arc=none smtp.remote-ip=46.4.11.11 Received: from nbd.name (nbd.name [46.4.11.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DB60606A32C; Fri, 4 Dec 2026 18:58:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8DB60606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=phrozen.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phrozen.org 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-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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