From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AB3BC433EF for ; Mon, 13 Sep 2021 13:50:48 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 784DB61B74 for ; Mon, 13 Sep 2021 13:50:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 784DB61B74 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF14F83A7D; Mon, 13 Sep 2021 15:50:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PIjkHpQx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 55DE783995; Mon, 13 Sep 2021 07:42:37 +0200 (CEST) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E3EF083992 for ; Mon, 13 Sep 2021 07:42:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jaimeliao.tw@gmail.com Received: by mail-pj1-x1032.google.com with SMTP id on12-20020a17090b1d0c00b001997c60aa29so1003573pjb.1 for ; Sun, 12 Sep 2021 22:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=8kPhnNnSsdb5J2UIdJqwQST6qmAtnNA0c9Fx0JXtvrc=; b=PIjkHpQx2C4qil/tZu8UspOaVr+YWtelx9kfXznA8rAr8fAxAvNi/q+xM0TebidzBB qWpYGTu/JMPDhsEEoGjicKHcAN1xjxuEUkrQo4ZHZXv4kLkoGa0O5Kc9bxN4yHue5Vgg XUmebsF/tf4xD1mkF+9X/+X0n+owH1XygEtK07eVo7TpxRcE11EsM9pVKJQ04Yn8hjtq 8Ah6d/ANjCEn/gNHQtFPwPl3WbO9pmKl3PWcDxCJkv9sh/m9YbURj4VETvj6WAq9eKZE D7FWfbfmH29OLb50FTSv5wzxOXrSmVM7rDXhZjJN8etjNLO/NVdush5HfHEiILuGcZ5H muHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8kPhnNnSsdb5J2UIdJqwQST6qmAtnNA0c9Fx0JXtvrc=; b=QbDX5m1mlVv0nhzR25m27AEitXza0rXrRlWH+ltj8oSerJjXh19/QA8hHhnP9TKo3B YcKL4ixFrgw+397gQ7hQkMw9dRbpe6XhGrEwR6nmSJcp0suf1XI1ZXPXFnJPBfcHwV0v cZYJOn7sBP+Rp6Ud68bb0zER89CGmacS4yixsHEB+YYBFY4HGoX6tCR4yoBqh1vNutGJ o/kK1dpy3Phn+Ym0Twul7FatPHmn3dGCnbhwaPXG1DD2l+tqJo2Q+UE0QdJYu9sL4PAF kF4FJSJUbQujX06IloyHHb/oQf5jlkrLor/NmUMMOJlQr33UwejMN6fIskw4zuQlp20Q XqEg== X-Gm-Message-State: AOAM531SwsjRSGTTkGa2Ce7+HsUUO1vM4+NNxiyifOxZW/zdXrTQEXML sRaD0cBGhqqkvLSXjJFr4GgJw9qaPE0= X-Google-Smtp-Source: ABdhPJwpTX3+i2tdvsG88gAbCST73j4bx3oS437TJene8NTjbXNGgJnIXQdvZcHlHahv/3nHFm6x6A== X-Received: by 2002:a17:902:654c:b0:13a:5661:3d33 with SMTP id d12-20020a170902654c00b0013a56613d33mr9092622pln.40.1631511752028; Sun, 12 Sep 2021 22:42:32 -0700 (PDT) Received: from localhost.localdomain ([123.51.145.88]) by smtp.gmail.com with ESMTPSA id d20sm5590139pfu.36.2021.09.12.22.42.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 22:42:31 -0700 (PDT) From: JaimeLiao To: u-boot@lists.denx.de, jagan@amarulasolutions.com, vigneshr@ti.com, p.yadav@ti.com Cc: zhengxunli@mxic.com.tw, ycllin@mxic.com.tw, jaimeliao@mxic.com.tw, JaimeLiao Subject: [PATCH v3 0/4] Add octal DTR support for Macronix flash Date: Mon, 13 Sep 2021 13:42:19 +0800 Message-Id: <20210913054223.25209-1-jaimeliao.tw@gmail.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Mon, 13 Sep 2021 15:50:43 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This series add support for Macronix octal DTR flash, add second time Softreset with "INVERT" command extension type and follow linux kernel to enable 4byte opcode when possible. v3: Add flag SPI_NOR_CMD_EXT_INVERT to seperate command extension types. replace CONFIG_SPI_FLASH_MACRONIX with SPI_FLASH_MACRONIX_OCTAL for spi_nor_macronix_octal_dtr_enable function. v2: add ret checking for write enable in spi_nor_macronix_octal_dtr_enable function. JaimeLiao (4): mtd: spi-nor: macronix: add support for Macronix Octal mtd: spi-nor-core: Adding different type of command extension in Soft Reset mtd: spi-nor-core: set 4byte opcode when possible mtd: spi-nor-core: Add support for Macronix Octal flash drivers/mtd/spi/Kconfig | 13 +++++ drivers/mtd/spi/spi-nor-core.c | 94 +++++++++++++++++++++++++++++++++- drivers/mtd/spi/spi-nor-ids.c | 22 +++++++- include/linux/mtd/spi-nor.h | 13 ++++- 4 files changed, 138 insertions(+), 4 deletions(-) -- 2.17.1