Message ID | 20231218155721.359198-3-alain.volmat@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1339758dyi; Mon, 18 Dec 2023 07:58:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ2uVl+IloiCaGF9iiPeXmZFKweJs4RVXTs/s2y0iLSnjeLouJdxMPqrXLvCQaPCxAPXmb X-Received: by 2002:a05:6a20:394a:b0:18b:5390:293a with SMTP id r10-20020a056a20394a00b0018b5390293amr6847251pzg.3.1702915129744; Mon, 18 Dec 2023 07:58:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915129; cv=none; d=google.com; s=arc-20160816; b=MZx5T5gDH82w2UlHegDeaGyhjRySat+2O8ShqZJj02uJH15b3u8UCIH8b3hsd7QN7G 6aGac9Twsj3uSYdFzLXojqxR7t1k0T2oAZwfBEWJXT/8V+1OEmlhDZ93eSMgZpUxxYfx xME60ijf1skvn2MyXY+zQQQRDv15g+R9r8AqsfifLATtp3Ne6WJvYw9e6RVc55LecREv VFtGFQq2htuC+QJu7QFCFLyyUfZbsYc7mom9BWZ1U5i77ZMD6ViPN21rGbmcazz4v7bc 9rwfiVgVmwsEFv3VmVegr8nwPdoYJpoOXar8hEdggf8JcHsAZRy1QNO/y7u9Eh4zNQhD P5Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OywdDLSYqmBZJgPoiODJ5/OqELkghHQcY69/EaghtR8=; fh=gUMJg8Ry+Uu0AcJJZXDKHLcEcR+qa0QAc5sw2fN1qXg=; b=z0/VxeIYiYswZtV/brBS1/GYTIGAWJDiI+2OBBEPjQk3WZLV9k22wYjjWVopexRut0 nRzIa5kuIWtYnfo1AHohVeKKg8DiAklsZsWi3A/amcbQ4aDG1AzBdGqhHIglphLrnk87 xIhgW6YuFHnfbKYAjipk0QKgkgJYUl8wFFXqrYIMyIsP4z+uqXZGo6+g5ft1Gp+wmUKR zDXj8yITblBQFNjFo9Z//iVnO6EaVCiP0yen9tWOcKBM29gfSsbPkwz2wgl8TuOAHmgM hzndIaRov+MubhGAmko76mzVbO6aNh/EQDpmyDN352buafW3IC/tz5SJvSAvLZEEqGRq vPBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QUAGLstc; spf=pass (google.com: domain of linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a188-20020a624dc5000000b006d4cd53d78esi3328927pfb.359.2023.12.18.07.58.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:58:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QUAGLstc; spf=pass (google.com: domain of linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3998-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7F29E284A83 for <ouuuleilei@gmail.com>; Mon, 18 Dec 2023 15:58:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DE5B49899; Mon, 18 Dec 2023 15:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="QUAGLstc" X-Original-To: linux-kernel@vger.kernel.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 1DFD83D566; Mon, 18 Dec 2023 15:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com 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 3BIB9Qcv002907; Mon, 18 Dec 2023 16:58:07 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=OywdDLSYqmBZJgPoiODJ5/OqELkghHQcY69/EaghtR8=; b=QU AGLstc5su3b2kUxaHj0CWxAzGVKGlU0h5etZT4lx/1qQLRJsrBd1Mka69fdKYuB9 J40SU2jw89tKqoMisEJboXb10aIlo93ZvXghkevU9zFeQ4FjFaEeDtOFmnqZGJOs p+CzAwkj00Mpn8sPYyM/UdlhFWCElwE7K+ZNyozkkeDY2CJ/Cv3ma7OkMO7dM11J TbsRcqJAXPW6x1cBTbYV9V1HfvBYl+Ec9Uc8d9jxaC6JTIRs3EXZA9lMK1zL0PdC O1f6Pex3tZCeb3sjH8/zwn/L5l6ykSnF2bEk1VQBhfjWtOUO+ohQ4BgUt1AiVSJ8 kB03l1n7saDOSTvl795Q== 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 3v126ks3fr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Dec 2023 16:58:07 +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 B50E810005E; Mon, 18 Dec 2023 16:58:06 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id ABA3325F4AF; Mon, 18 Dec 2023 16:58:06 +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:58:06 +0100 From: Alain Volmat <alain.volmat@foss.st.com> To: Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Alain Volmat <alain.volmat@foss.st.com>, Erwan Leray <erwan.leray@foss.st.com>, Fabrice Gasnier <fabrice.gasnier@foss.st.com> CC: Valentin Caron <valentin.caron@foss.st.com>, <linux-spi@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [PATCH 2/6] dt-bindings: spi: stm32: add st,stm32mp25-spi compatible Date: Mon, 18 Dec 2023 16:57:14 +0100 Message-ID: <20231218155721.359198-3-alain.volmat@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231218155721.359198-1-alain.volmat@foss.st.com> References: <20231218155721.359198-1-alain.volmat@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785635934754013549 X-GMAIL-MSGID: 1785635934754013549 |
Series |
spi: stm32: add support for stm32mp25
|
|
Commit Message
Alain Volmat
Dec. 18, 2023, 3:57 p.m. UTC
From: Valentin Caron <valentin.caron@foss.st.com> Add st,stm32mp25-spi compatible in dt-bindings. STM32MP25 spi is similar to the STM32H7 except for the following two points: - Burst should not be enabled with the new DMA used on STM32MP25. - STM32MP25 SPI8 has a limited feature set, it can only send words of 8 or 16 bits and with a maximum words number of 1024. Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> --- Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 1 + 1 file changed, 1 insertion(+)
Comments
On 12/18/23 16:57, Alain Volmat wrote: > From: Valentin Caron <valentin.caron@foss.st.com> > > Add st,stm32mp25-spi compatible in dt-bindings. STM32MP25 spi is similar Hi Alain, In case you re-submit, Nitpicking, extra space here could be removed ^ Capital letters for SPI could also be used here ^ Appart from that, you can add my: Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Best Regards, Fabrice > to the STM32H7 except for the following two points: > - Burst should not be enabled with the new DMA used on STM32MP25. > - STM32MP25 SPI8 has a limited feature set, it can only send words of > 8 or 16 bits and with a maximum words number of 1024. > > Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> > Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> > --- > Documentation/devicetree/bindings/spi/st,stm32-spi.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > index 5754d603f34f..4bd9aeb81208 100644 > --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml > @@ -25,6 +25,7 @@ properties: > - st,stm32f4-spi > - st,stm32f7-spi > - st,stm32h7-spi > + - st,stm32mp25-spi > > reg: > maxItems: 1
Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff --git a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml index 5754d603f34f..4bd9aeb81208 100644 --- a/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml +++ b/Documentation/devicetree/bindings/spi/st,stm32-spi.yaml @@ -25,6 +25,7 @@ properties: - st,stm32f4-spi - st,stm32f7-spi - st,stm32h7-spi + - st,stm32mp25-spi reg: maxItems: 1