Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1509177ima; Wed, 24 Oct 2018 23:46:49 -0700 (PDT) X-Google-Smtp-Source: AJdET5dkzKit11noL0QMozCpf8Oqii5yeLppDU0cV9nqxI/Fny2EQKBhVJZVBR60FHD5UIkEkJTW X-Received: by 2002:a62:d75e:: with SMTP id v30-v6mr364098pfl.90.1540450009390; Wed, 24 Oct 2018 23:46:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540450009; cv=none; d=google.com; s=arc-20160816; b=r+GmUdGuJ0nPHRZut3Oc43W74WWrKKTKMkBG7SUy/ePfmth6WsK99kIPlW4rPlFXZJ fUZ+efCYAkK2cXO0QFb50pmqttcP8mkXV8gC+2wI0oFCTvXIrPPglgP4sa6ySbkhKHxY 4FlPExL8jRD94BhX+rFwNkvZQA9vqxr0FxvjBTnZhTWvmTFL2dIuO6DlznG9CHfS/iFx dcq3RVTpRgkmG0ZRELc026YQdoD/OKtjGqVHoDNWzlEiSYL/u4tVub1vYwJOCZhn5x4a ri0ME/f/El54zwwIKZwRpklZ42b21da0MHcGPu0fcfnC1G43yLSU196NMTiCNnTdtZhx x1Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=RmWLwf3d1wmIpeZt5/TQZw2pTyTQsWFtdIcGB918648=; b=OP46QBpAUGFHF4Jp6N2sU0PKQmXMCAdW+VC2KSiyJOBmrJMDnXo1nK187ugO7TWo+S XFGvAkXBKSrkJOanv7zRuEYqpYVNPbiFoFyxFy8E6O9Y0sspQ6IJYKmsxhzDL87+XUzD DCFgdFvGyNHKhOd8qEjh9Km4z7L5mmY3lYI56VSWOwEiONQ52zlwp2uqNn5TB94CtA3I keN4DvzUX0c3wewDw5Kq2hXf/DFzAiMVkkUw+LHpydxl7m1OjRWX7A9bfpvRAZ3FEqH7 QALPsiR6uQTiH/cev/ttvxyFws5oL4GFzJdSi/+Bu+q+e6UDJeRMg2QghRYtIlgvbP6U 4ueg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k198-v6si7491958pga.12.2018.10.24.23.46.33; Wed, 24 Oct 2018 23:46:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbeJYPQF (ORCPT + 99 others); Thu, 25 Oct 2018 11:16:05 -0400 Received: from twhmllg3.macronix.com ([211.75.127.131]:50700 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726433AbeJYPQF (ORCPT ); Thu, 25 Oct 2018 11:16:05 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id w9P6iWAT037555; Thu, 25 Oct 2018 14:44:36 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: masonccyang@mxic.com.tw To: boris.brezillon@bootlin.com, miquel.raynal@bootlin.com, richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, juliensu@mxic.com.tw, zhengxunli@mxic.com.tw Cc: masonccyang@mxic.com.tw Subject: [PATCH] mtd: rawnand: Add All 1.8V AC chips have a broken GET_FEATURES(TIMINGS) Date: Thu, 25 Oct 2018 14:44:31 +0800 Message-Id: <1540449871-7224-2-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1540449871-7224-1-git-send-email-masonccyang@mxic.com.tw> References: <1540449871-7224-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG3.macronix.com w9P6iWAT037555 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mason Yang Make sure we flag all 1.8V broken chips as not supporting this features. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/nand_macronix.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/nand/raw/nand_macronix.c b/drivers/mtd/nand/raw/nand_macronix.c index 49c546c..3836544 100644 --- a/drivers/mtd/nand/raw/nand_macronix.c +++ b/drivers/mtd/nand/raw/nand_macronix.c @@ -33,6 +33,13 @@ static void macronix_nand_fix_broken_get_timings(struct nand_chip *chip) "MX30LF4G18AC", "MX30LF4G28AC", "MX60LF8G18AC", + "MX30UF1G18AC", + "MX30UF1G16AC", + "MX30UF2G18AC", + "MX30UF2G16AC", + "MX30UF4G18AC", + "MX30UF4G16AC", + "MX30UF4G28AC", }; if (!chip->parameters.supports_set_get_features) -- 1.9.1