From nobody Wed Oct 8 10:56:37 2025 Received: from glittertind.blackshift.org (glittertind.blackshift.org [116.203.23.228]) (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 2708E2327A3 for ; Sun, 29 Jun 2025 16:15:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.23.228 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751213713; cv=none; b=idGPkndXmb4mC7G9IduCPMcNdcZ+B21gLlb6lUhknyNUcOUXBg++BUGjNNJtWHx57Pn8Zr85jUO7GUiqQ6ph+LjG41nxbFdy7fIvlmi7HuLz5Yg6sfqsiG2F379HghtE2BFU4qdP2dcBhuX4YcPfr04zO11wDUAYSlJfiZJWPdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751213713; c=relaxed/simple; bh=mN/wZHU9MM8JPH787Vs2rHsQj+D9q0m/GT/tcvghFOs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=BXQ/heybNB7TnJrvgz6g29EAmaYpOUDXkhGYssXjGnzoyU6B6Tqb+lw9sjLiAn8TEICNXlPJYSA+DZz8DyorP0fJl1xbviUPyzo+lRRrVsJmHimT9RCkWR5ee+NqzTdYu6dhVrUFsQWsfytx6c0LpfdTgU0YGFwQQXm9b66VH9g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=none smtp.mailfrom=hardanger.blackshift.org; arc=none smtp.client-ip=116.203.23.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=hardanger.blackshift.org Received: from bjornoya.blackshift.org (unknown [IPv6:2003:e3:7f3d:bb00:dea6:32ff:feb1:177a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "bjornoya.blackshift.org", Issuer "R10" (verified OK)) by glittertind.blackshift.org (Postfix) with ESMTPS id EEDE467B9C4 for ; Sun, 29 Jun 2025 16:14:59 +0000 (UTC) Received: from dspam.blackshift.org (localhost [127.0.0.1]) by bjornoya.blackshift.org (Postfix) with SMTP id A745B43353B for ; Sun, 29 Jun 2025 16:14:59 +0000 (UTC) Received: from hardanger.blackshift.org (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by bjornoya.blackshift.org (Postfix) with ESMTPS id 432C6433537; Sun, 29 Jun 2025 16:14:57 +0000 (UTC) Received: from hardanger.blackshift.org (localhost [::1]) by hardanger.blackshift.org (OpenSMTPD) with ESMTP id 061b3ba5; Sun, 29 Jun 2025 16:14:54 +0000 (UTC) From: Marc Kleine-Budde Date: Sun, 29 Jun 2025 18:14:51 +0200 Subject: [PATCH next] spi: Raise limit on number of chip selects to 24 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250629-spi-increase-number-of-cs-v1-1-df791bf4b370@pengutronix.de> X-B4-Tracking: v=1; b=H4sIAHpmYWgC/x3MywqDQAxG4VeRrBuwU7zQV5EunJnfNgujJLYI4 rt3cPktzjnIYQKnZ3WQ4ScuixbcbxWlz6hvsORiCnVo6jZ07KuwaDKMDtbvHGG8TJycMxDDI6b cdD2VfjVMsl/vgRT7Rq/z/AMlw/5UcQAAAA== X-Change-ID: 20250627-spi-increase-number-of-cs-deeb23bcd578 To: Mark Brown Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Marc Kleine-Budde X-Mailer: b4 0.15-dev-6f78e X-Developer-Signature: v=1; a=openpgp-sha256; l=792; i=mkl@pengutronix.de; h=from:subject:message-id; bh=mN/wZHU9MM8JPH787Vs2rHsQj+D9q0m/GT/tcvghFOs=; b=owEBbQGS/pANAwAKAQx0Zd/5kJGcAcsmYgBoYWZ7EYbRFPNaiN8CnhmQuIn51t0fNI4TKs+hO kH9LA6iCpmJATMEAAEKAB0WIQSf+wzYr2eoX/wVbPMMdGXf+ZCRnAUCaGFmewAKCRAMdGXf+ZCR nJAvB/sGPfng/XOC5atAlRIqOp9yIdAHx9EmSi9ylQpI3yZTx5GnkhSC3r/qlmhkZLazJnxotmn bdtnGp4iAjvJljZHokZ+WD0ql8YXXTRy/mZWmu3+fsmQ0XUDIx1xJu6qddYYrx6mQr5NswXqxO9 n0HuFdOP6ukJNdp+aTJd3Zndr+Wc7UgQ20NHeFUaUW3hPnGKuYe55ascOGzM94r12gKFkDfUwu7 v6z2nX3FbUi5Y2uhPxwQ/Hr50FUbd6dQEutJMTd42CYFlM1CHut5u6Y5MROFXPSc7wHo8imsKEN yVb6rt2+IBIbkoIM1xEI4foevt3KZ55/iLCLieh1+AQI9ngc X-Developer-Key: i=mkl@pengutronix.de; a=openpgp; fpr=C1400BA0B3989E6FBC7D5B5C2B5EE211C58AEA54 We have a system which uses 24 SPI chip selects, raise the hard coded limit accordingly. Signed-off-by: Marc Kleine-Budde --- include/linux/spi/spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 4789f91dae94..e9ea43234d9a 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -21,7 +21,7 @@ #include =20 /* Max no. of CS supported per spi device */ -#define SPI_CS_CNT_MAX 16 +#define SPI_CS_CNT_MAX 24 =20 struct dma_chan; struct software_node; --- base-commit: 3e36c822506d924894ff7de549b9377d3114c2d7 change-id: 20250627-spi-increase-number-of-cs-deeb23bcd578 Best regards, --=20 Marc Kleine-Budde