Message ID | 20240212174822.77734-1-christophe.kerello@foss.st.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-62131-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp87941dyb; Mon, 12 Feb 2024 10:15:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxAupFyoyzapZbXkeK0Axc1FZLu69JqmGjlgUBO1FvoaaL+ujcsWGxRLzfrMfIoFuqT7sdJRnOz8KNBx3IKv3v3z12xQ== X-Google-Smtp-Source: AGHT+IG2CITq7AkwznZl69/a4eHVm+sSpn/9MG5Mhk1adKrvBvXXFwWCNaFQ6mJCJQhsLrZytxGL X-Received: by 2002:a05:6a20:c6ca:b0:19c:ae59:1602 with SMTP id gw10-20020a056a20c6ca00b0019cae591602mr11004659pzb.53.1707761752961; Mon, 12 Feb 2024 10:15:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707761752; cv=pass; d=google.com; s=arc-20160816; b=EMWOAI6A+M2U8qvWXzYylqpVJNNXC29x1+Rd3TWyI+gMQGw+eBNlqkG6V8XeJfXvif ANjguJrIXRjyctyFEN5BrI/nEYvAXbObjg0G748cS9jdOCPO+aXbhTIOrL2QORqRpZYk EHMUHEu04VLwLbSVrRp+nxUR4RF+Jx8T0IOb+ifcJbG45w1WVfpOc4FA48OlcMtixLWd PPf/m/44Ws3+2G6I2yNXkgDMvtPDJVgQOU6JiRWx95NfCOcm5GWk/R3kYNehhwV9vl4Y ghcivUuWG1CtmJNltVX8ganaOiYE5ZvrCoWIEXYSW9QwA6vBBSZUtA34X7CJQnMv0P37 TNCA== ARC-Message-Signature: i=2; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=iG9lTCL5x6tc33cbUiqDXTjCZznE1C2VEmTB9j9Cvs0=; fh=npPIbqGPrCBB6is8I+juRm6dRiKq+3LVF7zvBRrXkxI=; b=gcsHmLzDyfuW7RjoBY1rQqzXq25aca3gc5z/rH5hEfLclPzxVCJZ5zNZWyJQPazuN+ 89wKO1Vhxr8yMPhhqWOHuDJuNiZFNvmYK0UJCqZgnqYiP41mqoeeVUjZ1mv1J9c5m599 AqgJt6nxFDGOdQALJow+CrOHH/faL/TFf5zTsTXyCrqt4aNED8M97qcHvSLpl0lGgIOY zk38qddDeXCdoHy8/0glLMXx/Sl0YBT7gukTt/Ucxx0LMwPkz5y9ImC10ycpkmAXTaTQ IKH9yKQpyRc4SOLwKXvYyUX56L5e8Dk15IKCCWCKd4enDzMJxnl1rzIuHVeWlGeALjWI HTCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QEG6TZ6H; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-62131-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62131-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com X-Forwarded-Encrypted: i=2; AJvYcCUnfIZV20UNRBV3t8LPF3p7ztf0BdxlopLb7TawUaFTVWsAFUDIosOZ9zClFikhvmzID/KgI6O9l6j20TIepYPIAfdlLQ== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m9-20020aa78a09000000b006e02469fa30si5207690pfa.119.2024.02.12.10.15.52 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 10:15:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62131-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=QEG6TZ6H; arc=pass (i=1 spf=pass spfdomain=foss.st.com dkim=pass dkdomain=foss.st.com dmarc=pass fromdomain=foss.st.com); spf=pass (google.com: domain of linux-kernel+bounces-62131-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62131-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1934FB2769F for <ouuuleilei@gmail.com>; Mon, 12 Feb 2024 17:50:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C79163FB0A; Mon, 12 Feb 2024 17:50:09 +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="QEG6TZ6H" Received: from mx08-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 496313F9CC; Mon, 12 Feb 2024 17:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707760207; cv=none; b=q9e7PUVqZqGIKksYqZfO4Fa0byGlzyRAsj8GktlzRl9aVQZ+WffvJqnt5EprjHMsSWa8IDhIzQoQ07ja3DRRQSIor8Tp54Ge4JDAKmneYR+FWjM2GPHWk8Q14um5GbGK1UCR43/vlgw8NGMq9R7sR5DAoo5ZtyUpdpA/HcdmxEU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707760207; c=relaxed/simple; bh=bvBzhLTbgJwtFJi9i8ZPE8IPcn6YXPYx10MSyPxIuRY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=YHbKcpalGNevhH+77qdNEGognkb3iNnC5z2jx/OSbu0rnnHbiNLdGEbkbhWauzTY8x8iiODV6yhgQAWXe48rMxDvl8fwcCLQHD/eeKgZ3f3htiQmAVNKyCvLT64DAuWQHeYvCivPu2XyTjl901cW2Ld3l/zLXgBkvVg4cVyX5/s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=QEG6TZ6H; arc=none smtp.client-ip=91.207.212.93 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 (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41CBflad027664; Mon, 12 Feb 2024 18:49:26 +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=iG9lTCL 5x6tc33cbUiqDXTjCZznE1C2VEmTB9j9Cvs0=; b=QEG6TZ6HWjBuHT1COxwVc/y B2AAMbrvZNHVl3zs8mqxcOSbPuydF4pEuJQoT2OwoDOp6QFtn7pmPugAjPyW8uBv L3t5N/5BKibv6CLVWPqjAdhpuCDn3YQ1KpBNLlmPx3B1K8nNNtOxDP+N7crSg2DI e+iKUvoZs3nZzv60K8TcyKH0eeXSkJ9WzXh1JOJbz1bzCmLlu/bDfFp9eW1/Uc8f 8Rk9B/ptw1ZH6Rv73vHCQKhX8WbujlQpgxjcsTCIvtxYR8Ir4smWxSUWnJaH3I30 r9PfTuiV4eAZi8ZmI/KmTqmR5uEX/qwKDrO5Qqzli6+cft7oaXs4x6Fi2gBDpIQ= = Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3w6mynd420-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 18:49:26 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 3CAA840045; Mon, 12 Feb 2024 18:49:22 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id AABF427B40C; Mon, 12 Feb 2024 18:48:39 +0100 (CET) Received: from localhost (10.201.22.200) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 12 Feb 2024 18:48:39 +0100 From: Christophe Kerello <christophe.kerello@foss.st.com> To: <miquel.raynal@bootlin.com>, <richard@nod.at>, <vigneshr@ti.com>, <krzysztof.kozlowski@linaro.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org> CC: <linux-mtd@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <devicetree@vger.kernel.org>, Christophe Kerello <christophe.kerello@foss.st.com> Subject: [PATCH 00/12] Add MP25 FMC2 support Date: Mon, 12 Feb 2024 18:48:10 +0100 Message-ID: <20240212174822.77734-1-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 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: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-12_15,2024-02-12_03,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790717987875617771 X-GMAIL-MSGID: 1790717987875617771 |
Series |
Add MP25 FMC2 support
|
|
Message
Christophe Kerello
Feb. 12, 2024, 5:48 p.m. UTC
Add MP25 SOC support in stm32_fmc2 drivers: - Update stm32-fmc2-ebi driver to support FMC2 revision 2 and MP25 SOC. - Update stm32_fmc2_nand driver to support FMC2 revision 2 and MP25 SOC. Christophe Kerello (11): dt-bindings: memory-controller: st,stm32: add MP25 support memory: stm32-fmc2-ebi: add a platform data structure memory: stm32-fmc2-ebi: add MP25 support memory: stm32-fmc2-ebi: update the driver to support revision 2 memory: stm32-fmc2-ebi: add RIF support memory: stm32-fmc2-ebi: add runtime PM support dt-bindings: mtd: st,stm32: add MP25 support mtd: rawnand: stm32_fmc2: use dma_get_slave_caps to get DMA max burst mtd: rawnand: stm32_fmc2: add a platform data structure mtd: rawnand: stm32_fmc2: add MP25 support mtd: rawnand: stm32_fmc2: update the driver to support revision 2 Patrick Delaunay (1): dt-bindings: memory-controller: st,stm32: add 'power-domains' property .../memory-controllers/st,stm32-fmc2-ebi.yaml | 7 +- .../bindings/mtd/st,stm32-fmc2-nand.yaml | 58 ++- drivers/memory/stm32-fmc2-ebi.c | 445 ++++++++++++++++-- drivers/mtd/nand/raw/stm32_fmc2_nand.c | 108 ++++- 4 files changed, 547 insertions(+), 71 deletions(-)
Comments
On 12/02/2024 18:48, Christophe Kerello wrote: > Add MP25 SOC support in stm32_fmc2 drivers: > - Update stm32-fmc2-ebi driver to support FMC2 revision 2 and MP25 SOC. > - Update stm32_fmc2_nand driver to support FMC2 revision 2 and MP25 SOC Why do you combine memory controller driver and NAND in one patchset if there is no dependency? On any further submissions, please split independent works. Best regards, Krzysztof
On 2/13/24 08:34, Krzysztof Kozlowski wrote: > On 12/02/2024 18:48, Christophe Kerello wrote: >> Add MP25 SOC support in stm32_fmc2 drivers: >> - Update stm32-fmc2-ebi driver to support FMC2 revision 2 and MP25 SOC. >> - Update stm32_fmc2_nand driver to support FMC2 revision 2 and MP25 SOC > > Why do you combine memory controller driver and NAND in one patchset if > there is no dependency? On any further submissions, please split > independent works. Hi Krzysztof, NAND driver patch 11 refers to the compatible described for the memory controller (so there is a dependency), but anyway, I am going to split this patchet. Regards, Christophe Kerello. > > Best regards, > Krzysztof >
On 13/02/2024 13:09, Christophe Kerello wrote: > > > On 2/13/24 08:34, Krzysztof Kozlowski wrote: >> On 12/02/2024 18:48, Christophe Kerello wrote: >>> Add MP25 SOC support in stm32_fmc2 drivers: >>> - Update stm32-fmc2-ebi driver to support FMC2 revision 2 and MP25 SOC. >>> - Update stm32_fmc2_nand driver to support FMC2 revision 2 and MP25 SOC >> >> Why do you combine memory controller driver and NAND in one patchset if >> there is no dependency? On any further submissions, please split >> independent works. > > Hi Krzysztof, > > NAND driver patch 11 refers to the compatible described for the memory Eh, it shouldn't really. This does not scale - you will keep growing that 'if' clause? And other drivers should not include other device compatibles. But anyway that's not a real subsystem dependency. Just mention in patch changelog (so ---) that compatible is documented somewhere at URL xyz. Best regards, Krzysztof
On 2/12/24 18:48, Christophe Kerello wrote: > Add MP25 SOC support in stm32_fmc2 drivers: > - Update stm32-fmc2-ebi driver to support FMC2 revision 2 and MP25 SOC. > - Update stm32_fmc2_nand driver to support FMC2 revision 2 and MP25 SOC. > Hi Miquel, Don't waste time reviewing this first patchset because I rewrote the NAND part. Patch V2 will be sent next week. Regards, Christophe Kerello. > Christophe Kerello (11): > dt-bindings: memory-controller: st,stm32: add MP25 support > memory: stm32-fmc2-ebi: add a platform data structure > memory: stm32-fmc2-ebi: add MP25 support > memory: stm32-fmc2-ebi: update the driver to support revision 2 > memory: stm32-fmc2-ebi: add RIF support > memory: stm32-fmc2-ebi: add runtime PM support > dt-bindings: mtd: st,stm32: add MP25 support > mtd: rawnand: stm32_fmc2: use dma_get_slave_caps to get DMA max burst > mtd: rawnand: stm32_fmc2: add a platform data structure > mtd: rawnand: stm32_fmc2: add MP25 support > mtd: rawnand: stm32_fmc2: update the driver to support revision 2 > > Patrick Delaunay (1): > dt-bindings: memory-controller: st,stm32: add 'power-domains' property > > .../memory-controllers/st,stm32-fmc2-ebi.yaml | 7 +- > .../bindings/mtd/st,stm32-fmc2-nand.yaml | 58 ++- > drivers/memory/stm32-fmc2-ebi.c | 445 ++++++++++++++++-- > drivers/mtd/nand/raw/stm32_fmc2_nand.c | 108 ++++- > 4 files changed, 547 insertions(+), 71 deletions(-) >