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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, 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 B9D3EC49EB9 for ; Mon, 28 Jun 2021 15:52:10 +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 35249619BE for ; Mon, 28 Jun 2021 15:52:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35249619BE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0850582DCF; Mon, 28 Jun 2021 17:52:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ouWwa6Fb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF79B82DD7; Mon, 28 Jun 2021 17:52:05 +0200 (CEST) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 3D2C282DC9 for ; Mon, 28 Jun 2021 17:52:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jagan@amarulasolutions.com Received: by mail-pj1-x1036.google.com with SMTP id mn20-20020a17090b1894b02901707fc074e8so191099pjb.0 for ; Mon, 28 Jun 2021 08:52:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RJairvick4bPsq0Az7Vsn41EsqljeGcsRRpOrKlw0es=; b=ouWwa6FbOYrXwBPmOWKBu1yyGUP79J+HioFeM+THmo/5ApEFbboyESEyZbe+UKF5Hu U/PAIYdQRtmK6dUKYHRa1da/3/Jk0+Mu+hetwTzhJ/4WH86QAL7sLehpwdVA8e1oT/qX 6erE1R4y1LZLUaf11EdHXVqhhZnSpB5UeFJaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RJairvick4bPsq0Az7Vsn41EsqljeGcsRRpOrKlw0es=; b=DDLpmkiIeMkhm/qmNQ4sW4f2GCWcLpL4cKelZt9AUvuHbnrw4JSrTaROq0QK0/mnBz g6F3ABglNGLbY5ModCelg8VLVWq4TG/fHM/MZzaKEPao9OlUgZsx/jyLxx3DZK25QO/q hwMQjpoLJrAWC6t8gPBLpDxVkC57E79IpIHUe/aLJ48QXjyY3wh9vNywpF8cVxdZzvTe kRZEzmOEMDBTsMnO45gw5WotV9vqZac7LACM4d4QKb/hGivO9FN8jrD3/4RWKUxY8/gr LD1IPmKYxMKytWlkyuAdf1QHLLOyvvw458ejB/NyWqd8uoqHKa/9Jl3aa6/oRCgjESo7 Q9YA== X-Gm-Message-State: AOAM5333neiaf2aVFz6/0a0Fh8wVFLopKpGCG8icD76qGeOV2DRUBXmF nDehzeKYsXfqW60rlAOHIvUG0A== X-Google-Smtp-Source: ABdhPJx5LM6rO3yTJd7acmbBPVj00hLA8/VQ2rBtvq4MfIuY26W/bj3vwcE5MLBokwX0iVPWWRn4tQ== X-Received: by 2002:a17:90b:3003:: with SMTP id hg3mr28306379pjb.23.1624895520596; Mon, 28 Jun 2021 08:52:00 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a884:94d8:1e71:602a:7ef7]) by smtp.gmail.com with ESMTPSA id s31sm10354849pfg.191.2021.06.28.08.51.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 08:52:00 -0700 (PDT) From: Jagan Teki To: Tom Rini Cc: u-boot@lists.denx.de Subject: Pull request: u-boot-spi/next for next Date: Mon, 28 Jun 2021 21:21:55 +0530 Message-Id: <20210628155155.537843-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi Tom, Please pull this PR for next. Summary: - xSPI Octal DTR support (Pratyush Yadav) - MXIC SPI driver (Zhengxun) CI: https://source.denx.de/u-boot/custodians/u-boot-spi/-/pipelines/7959 thanks, Jagan. The following changes since commit 67edf2553f15e5148efca213af3f41cef3410680: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-spi into next (2021-06-24 11:11:13 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-spi next for you to fetch changes up to f6adec1af4b2f5d3012480c6cdce7743b74a6156: mtd: spi-nor-core: Allow using Micron mt35xu512aba in Octal DTR mode (2021-06-28 12:06:57 +0530) ---------------------------------------------------------------- Pratyush Yadav (26): spi: spi-mem: allow specifying whether an op is DTR or not spi: spi-mem: allow specifying a command's extension spi: spi-mem: export spi_mem_default_supports_op() spi: spi-mem: add spi_mem_dtr_supports_op() spi: cadence-qspi: Do not calibrate when device tree sets read delay spi: cadence-qspi: Add a small delay before indirect writes spi: cadence-qspi: Add support for octal DTR flashes mtd: spi-nor-core: Fix address width on flash chips > 16MB mtd: spi-nor-core: Add a ->setup() hook mtd: spi-nor-core: Move SFDP related declarations to top mtd: spi-nor-core: Introduce flash-specific fixup hooks mtd: spi-nor-core: Rework hwcaps selection mtd: spi-nor-core: Do not set data direction when there is no data mtd: spi-nor-core: Add support for DTR protocol mtd: spi-nor-core: prepare BFPT parsing for JESD216 rev D mtd: spi-nor-core: Get command opcode extension type from BFPT mtd: spi-nor-core: Parse xSPI Profile 1.0 table mtd: spi-nor-core: Prepare Read SR and FSR for Octal DTR mode mtd: spi-nor-core: Enable octal DTR mode when possible mtd: spi-nor-core: Do not make invalid quad enable fatal mtd: spi-nor-core: Detect Soft Reset sequence support from BFPT mtd: spi-nor-core: Perform a Soft Reset on shutdown mtd: spi-nor-core: Perform a Soft Reset on boot mtd: spi-nor-core: allow truncated erases mtd: spi-nor-core: Add support for Cypress Semper flash mtd: spi-nor-core: Allow using Micron mt35xu512aba in Octal DTR mode Takahiro Kuwano (1): mtd: spi-nor-core: Add non-uniform erase for Spansion/Cypress Zhengxun (1): spi: Add MXIC controller driver drivers/mtd/spi/Kconfig | 42 ++ drivers/mtd/spi/sf_internal.h | 1 + drivers/mtd/spi/sf_probe.c | 6 + drivers/mtd/spi/spi-nor-core.c | 1469 ++++++++++++++++++++++++++++++++-------- drivers/mtd/spi/spi-nor-ids.c | 7 +- drivers/mtd/spi/spi-nor-tiny.c | 22 - drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/cadence_qspi.c | 69 +- drivers/spi/cadence_qspi.h | 16 +- drivers/spi/cadence_qspi_apb.c | 292 +++++++- drivers/spi/mtk_snfi_spi.c | 3 +- drivers/spi/spi-mem-nodm.c | 66 +- drivers/spi/spi-mem.c | 46 +- drivers/spi/spi-mxic.c | 547 +++++++++++++++ include/linux/mtd/spi-nor.h | 279 ++++++-- include/spi-mem.h | 19 +- 17 files changed, 2487 insertions(+), 405 deletions(-) create mode 100644 drivers/spi/spi-mxic.c