From patchwork Tue Mar 28 15:58:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Kerello X-Patchwork-Id: 7350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2335259vqo; Tue, 28 Mar 2023 09:10:58 -0700 (PDT) X-Google-Smtp-Source: AKy350ZVoOfZYFJdIVCzqMzynSJLZe5rv+fSsP8A7gXwaGtaDA4Y2uuO+pD8yo4HEkFs9qefsagH X-Received: by 2002:a17:903:234c:b0:1a1:a0b7:7244 with SMTP id c12-20020a170903234c00b001a1a0b77244mr19701588plh.63.1680019857788; Tue, 28 Mar 2023 09:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680019857; cv=none; d=google.com; s=arc-20160816; b=buCYUAykCM4ACCVOl/nnqoJBFV1o13TWhA3PHWuA5gocNkCUcMsBCMGDzLbhsqwG1g 5bnmCuHbDT0IGTyTbGiGThpljTGMJ5o98aWsA/c+pUb/A5ut93Frmgc1TPz5XaLPaDgn 4c0cr5yvLy09ANwIuwbTThcI93GOxFoQ3TV+DhssV3Xyq54MKWdJcvAnyNm2JyWpem7X 3YLAYXKm+mWU4eY+eMM3gNJDOTtIppUgtgkOV/Z3Qx/UJdUedI/U/jcuEC+mDatKMaDM Q+ZcURQARturNM/wvtD3eYUhqc2J+7e5J/FvJOtuk9Ixm//PTuA0s/KOAoO8fuzpztH1 KwGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oAuLL9E3dQSv/RZG+St8bKflmCvKwKf/3xQCNXsAZbI=; b=fknSKPp5EZz92EZR5rQBwRuM7WyUZfmSS0ANJ4904D8xxpv7KVnKuY0+eEq+rMRSoB 2NawYpcT/ZxtBvK5XaduwFxhW2GL/LKN9QNix3Yz0FJOZm47CzDN2pdwzydWOgR/DymR dANqS59jMcYcJwlYQ/XtXHX+pqMqC7gRfpciYdkhzec4TCo5cMATeKpckOyYdP9UHGXG YTlNkWDyxl1wd+V/SgOVL4l3PyT5jnMl5iaJ77UgmjakyC60yNIQAyojcsXvEgjlUdLU vwb9dR4R+9Dv9zJoeeTBmxteZfVOBCOfw1xUYrUVDmQw/yRMvOKobzmyGA0wV2xbGZOp +AnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Ukug8Fnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a170902d2c400b0019ca7d69673si32032421plc.196.2023.03.28.09.10.45; Tue, 28 Mar 2023 09:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Ukug8Fnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233069AbjC1QAv (ORCPT + 99 others); Tue, 28 Mar 2023 12:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232530AbjC1QAt (ORCPT ); Tue, 28 Mar 2023 12:00:49 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92429109 for ; Tue, 28 Mar 2023 09:00:48 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32SE2FCt000530; Tue, 28 Mar 2023 18:00:30 +0200 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=oAuLL9E3dQSv/RZG+St8bKflmCvKwKf/3xQCNXsAZbI=; b=Ukug8FncPywnBZmTJ36/VVF+KiXJnnhqe7usSKdjgtPS/rZYQksFYAfjWaeEpYKYK2FL 5xvW7hrwzAzBo/ZiSwfHgogjv0Q3pCtRrlagDBoYguU8ArpcwZ8Ser5IAnYyvitNygkg Hfq38ppX2PKo7fJ4G2OY2vADMLHIRwVI7JI3ViFF5P1MRev6QPlSd6kv77ii1F3MgP2k G0oBvyjZ/1sn3ACCiapHZsDCBtvSvq++Xg5zCUZIjlSdSt1Kiv+lB15pbUGvwVgdGxd9 F4tChvKeaus7CjDWQpLoSLqFFdx4VQZWOQF6LFIknkgGCuSf+ZslbXtKRuossHOb+I+c Og== 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 3pkvs4u1wd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Mar 2023 18:00:30 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9CCEF100034; Tue, 28 Mar 2023 18:00:29 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 59A2221A20D; Tue, 28 Mar 2023 18:00:29 +0200 (CEST) Received: from localhost (10.48.0.175) 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.17; Tue, 28 Mar 2023 18:00:29 +0200 From: Christophe Kerello To: , , CC: , , , Christophe Kerello Subject: [PATCH v3 0/2] mtd: rawnand: stm32_fmc2: do not support EDO mode Date: Tue, 28 Mar 2023 17:58:17 +0200 Message-ID: <20230328155819.225521-1-christophe.kerello@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.48.0.175] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-28_02,2023-02-09_01 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761628502188198009?= X-GMAIL-MSGID: =?utf-8?q?1761628502188198009?= The first fix removes EDO mode support from FMC2 driver as the controller does not support the feature (first fix is needed for v5.4+). The second fix uses timings.mode instead of checking tRC_min timing (second fix is needed for v5.10+). Changes in v3: - The commit message of first patch has been reworked - Cc to stable added in each patch - Tudor Reviewed-by added in each patch Changes in v2: - second patch added Christophe Kerello (2): mtd: rawnand: stm32_fmc2: remove unsupported EDO mode mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min drivers/mtd/nand/raw/stm32_fmc2_nand.c | 3 +++ 1 file changed, 3 insertions(+)