Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8005EC43334 for ; Mon, 18 Jul 2022 06:49:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5420A838BB; Mon, 18 Jul 2022 08:49:38 +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="hwQswM/Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A14E383EF2; Mon, 18 Jul 2022 08:49:36 +0200 (CEST) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 D45F883020 for ; Mon, 18 Jul 2022 08:49: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-x1035.google.com with SMTP id o3-20020a17090a744300b001ef8f7f3dddso11702006pjk.3 for ; Sun, 17 Jul 2022 23:49: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=4N1R3ioTDImH07qDcpp/MYSJmPWpBfxFTb0QFSOKj3k=; b=hwQswM/Zsg0tibEfFhN0BPIA+A7OT+CosrNgXOE5q7iuDP3RuAI2+X88aUGDx9Clgy x26cIxbc0Z65JzmgIS6PiuIF8t4rL8sPdTSp3jAl8oOR8PYn/gpI4YOb2aT9YWMUIyZR 9DJ8Ytdt689Uz+mwzjCCnlLWpf+t4KX3CG7plZPDyQe4/ILhpcUKZ/D/cTytLWy5uZ64 yFIx2gGhnETxlBXc1b0xKRuDS9l50TZ9zXR+3OmkLJmlu9EWeA6YcDgJBwOb6Zc/mWAM zWb3zSmTmnjoWFZBcZKN1g6djFwnp2OKCM62Iz1cyVxnMWYVb3zI5DnxXczAhD0k0Ugu fcpA== 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=4N1R3ioTDImH07qDcpp/MYSJmPWpBfxFTb0QFSOKj3k=; b=MvWX/uSxCxlFZxvH36IORgfrJ2pi2gTcidk9nqnqLR5AOSd6fzfsWVKIrifV5cPC2/ rSVIee12z7q2kDITLV7dvGA6AwvQXPzq1eVJ76rv71nPVrL+xyG8PDk3XVR0faSm+4mx YzMOfgbUQ41YXodQkvjQcNJEULdPmMzlQZesAmjXLkB9AW+meCeHA7Yo3QSQhyqF/i7v JlHipidLszjzcuhYZ4udKVpjmwl7F/4/uKJXnnHoKxwGirHEfR9j/kYBjsoun36tICut pUPg12sMkmqiEyJCpHRsxHgc5qGAbr0+jIGm1M9dhpr+pryTue1/Xs8JPOLNnCQGAZhw /YXQ== X-Gm-Message-State: AJIora87hEZ5k89R648pa54NzaFOBFwuWl3TfIxttYXOQl3Fzo2CP1kR DV2EpfOXMKze3L/XafJp9pLJ2jWSVtE= X-Google-Smtp-Source: AGRyM1sq6+rrJ5gCpCM7ECs7JzKE0H/YtJyuq+005IoYSkbEgoYDTHNXIJ8a3v/9nQVb4Uug1Wh/Bg== X-Received: by 2002:a17:902:8bc5:b0:16c:f48b:d5b5 with SMTP id r5-20020a1709028bc500b0016cf48bd5b5mr3018979plo.128.1658126971152; Sun, 17 Jul 2022 23:49:31 -0700 (PDT) Received: from localhost.localdomain ([123.51.145.88]) by smtp.gmail.com with ESMTPSA id q13-20020a170902dacd00b0016be681f008sm3841014plx.290.2022.07.17.23.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jul 2022 23:49:30 -0700 (PDT) From: JaimeLiao To: u-boot@lists.denx.de, jagan@amarulasolutions.com, vigneshr@ti.com, miquel.raynal@bootlin.com Cc: jaimeliao@mxic.com.tw, JaimeLiao Subject: [PATCH v9 0/1] Add octal DTR support for Macronix flash Date: Mon, 18 Jul 2022 14:49:21 +0800 Message-Id: <20220718064922.20193-1-jaimeliao.tw@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean This series add support for Macronix octal DTR flash, add flag for Softreset with "INVERT" command extension type on boot and follow linux kernel to enable 4byte opcode when possible. v9: Follow version 2022-07 and re-send patch of "add support for Macronix Octal flash" v8: Correct spi nor flash information in IDs table. v7: Correct title and description of patchworks. Correct description for spi_nor_macronix_octal_dtr_enable. Add SFDP informations for flashes in commit log. v6: Parcing SCCR 22nd dword for checking Octal DTR mode support v5: Replace SPI_FLASH_MACRONIX_OCTAL with SPI_FLASH_MACRONIX. Remove patch of set_4byte opcode. v4: Add flag SPI_NOR_BOOT_SOFT_RESET_EXT_INVERT to seperate command extension types. Replace ifdef with CONFIG_IS_ENABLED and modify uncorrect descriptions. 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 (1): mtd: spi-nor-core: Add support for Macronix Octal flash drivers/mtd/spi/spi-nor-ids.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) -- 2.17.1