From patchwork Mon Dec 18 15:57:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 13497196 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C5B7DC35274 for ; Mon, 18 Dec 2023 15:58:26 +0000 (UTC) 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:Message-ID:Date:Subject:CC :To: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=mP35hzcdflofl5xD+avgRAJ2/5VLd6xlZsuRGUDZ4KU=; b=fY9ysp3+k8mpxa 2c9LBD/y6Pg4+XuTDcGd/14t+5heCX7u7oEuHEE8vh9mXZ+5o6quEW/a2UkG2I0eUYe4gu+Aioz5h AIxtIhS13uakCYGlVRPAbM7iOB5TFaT4CxNh45yzt5HhEuLRN4L1Ov0I+UgTSobF+26Q2MitcjafT 90saxmvbFzt3RIu3rzK0KRYVtRjONBIeZ55eGIYKVHfN043z8K/ioPNONIWW4fR1oyBwoSkCfXYgC HCouon7elR+7kFfTP9yEFTwW6Has0xZqAcwLoEissoY7L00zQYcAWx4p9letXsjNKr1YFSC5eoiLw pxV4Z3rQP7qeGJC2Jn8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFG0B-00BK2N-0Q; Mon, 18 Dec 2023 15:57:55 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFG08-00BK1Y-1a for linux-arm-kernel@lists.infradead.org; Mon, 18 Dec 2023 15:57:54 +0000 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BIBNMin005423; Mon, 18 Dec 2023 16:57:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=selector1; bh=8qvW327 JWtzUxk62P/7MbSy0EvIsbaRHUR0tz6Gv+K4=; b=xZ9OGggtdcpVD6mAlStBNb3 0YUcYfpIKrScqCsi72tEyovbLfZnpCeUmu74M8XB0VwpKnNjNlFJFRZMuTI3NgZV NJLfX8PyW5rdEeoHbE0QvexVglxF0ts5p8ar/CjsMPPzX9RejMmGMxs5DNp3LBRB FT0aQgHGCUx0xtdYZOuHIfMifHCeevrOT0sclVnkkWxXxWdCU2UYEpxNNvvIwTXL ltVMtpUu2dU3r9FnRqQKHn/doIWg4U5lHNySM6d2N1DenVOeEue3ob2rNQrmAi56 vVwPV+KTxaJRNaUk54HGfpbsSPAkia7g9CEtzeHS1rVljhxngoy1i+ci4DUNU2Q= = Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3v126ks3de-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Dec 2023 16:57:32 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3115510005E; Mon, 18 Dec 2023 16:57:31 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 29B0E25F4AE; Mon, 18 Dec 2023 16:57:31 +0100 (CET) Received: from localhost (10.129.178.213) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 18 Dec 2023 16:57:30 +0100 From: Alain Volmat To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Alain Volmat , Erwan Leray , Fabrice Gasnier CC: , , , , Subject: [PATCH 0/6] spi: stm32: add support for stm32mp25 Date: Mon, 18 Dec 2023 16:57:12 +0100 Message-ID: <20231218155721.359198-1-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.129.178.213] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-18_10,2023-12-14_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231218_075753_088799_C1AE0A6F X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds support for spi bus found on the stm32mp25 and add all instances within device-trees. Alain Volmat (4): spi: stm32: use dma_get_slave_caps prior to configuring dma channel arm64: dts: st: add all 8 spi nodes on stm32mp251 arm64: dts: st: add spi3/spi8 pins for stm32mp25 arm64: dts: st: add spi3 / spi8 properties on stm32mp257f-ev1 Valentin Caron (2): dt-bindings: spi: stm32: add st,stm32mp25-spi compatible spi: stm32: add st,stm32mp25-spi compatible supporting STM32MP25 soc .../devicetree/bindings/spi/st,stm32-spi.yaml | 1 + arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi | 46 ++++++ arch/arm64/boot/dts/st/stm32mp251.dtsi | 88 +++++++++++ arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 14 ++ drivers/spi/spi-stm32.c | 145 ++++++++++++++++-- 5 files changed, 280 insertions(+), 14 deletions(-)