From patchwork Tue Nov 28 00:52:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 841918 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="VhnQhRkD"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3ym4sm1Zxtz9rvt for ; Tue, 28 Nov 2017 11:53:32 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id B3367C21DED; Tue, 28 Nov 2017 00:53:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6C5C3C21DA5; Tue, 28 Nov 2017 00:53:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 09C6BC21DA5; Tue, 28 Nov 2017 00:53:22 +0000 (UTC) Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lists.denx.de (Postfix) with ESMTPS id F0EDDC21DA2 for ; Tue, 28 Nov 2017 00:53:21 +0000 (UTC) Received: from mail-yb0-f182.google.com (mail-yb0-f182.google.com [209.85.213.182]) (authenticated) by conssluserg-01.nifty.com with ESMTP id vAS0r50l026321 for ; Tue, 28 Nov 2017 09:53:06 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com vAS0r50l026321 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511830386; bh=WF+eTR1u9E8LjiXeebQdjbyXLNih9gGUz5DwZAlhZ8U=; h=From:Date:Subject:To:Cc:From; b=VhnQhRkDaJJZRqVyhheWSl+ew/kQ6xO1e299G4OTEF8MSYy89HmK5JKBF2WLyiDMZ zH1kwOtil1+mHlRxj9jBS2biWf+SBWvv6H6P0lrc0PdS9aDTXTV4c3a5OQ0oUCUwM3 5z5jd7VB57VZxV/YuskQJivyke/LT46G63mmV7B5I0QYqilpaYXpOKS0ScVktojCmf sjJxaRARGEFM/Ha2Kntqo67A1KUesT+GWBi2CjABBqryTVs5FwzjBtDTcvVXOjmXkn l2bh/geqN9kEbfrgu/4vxUPF+yQY5yviHteTl+78VimawykSOxqNrXU1OcObykS+tM vXQM3LbN9gGDw== X-Nifty-SrcIP: [209.85.213.182] Received: by mail-yb0-f182.google.com with SMTP id n185so11102074yba.6 for ; Mon, 27 Nov 2017 16:53:06 -0800 (PST) X-Gm-Message-State: AJaThX7VYGFS/3g3aB8GLMMqLGhAb+NdWImhfgrawhLeucpQSeaVfXtT lKtfdDsOacvxbGykmGz6DvTSvi3XSEWm/z5RXbc= X-Google-Smtp-Source: AGs4zMZ2RTmuykMmm7gueUmPUoCOypUWxd8XdUjL4HCXqmgrEf3Hin+VLtrzT+sfuADwm43f37UgF191B3g9bmSyPXs= X-Received: by 10.37.186.77 with SMTP id z13mr5581845ybj.505.1511830385031; Mon, 27 Nov 2017 16:53:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.8.66 with HTTP; Mon, 27 Nov 2017 16:52:24 -0800 (PST) From: Masahiro Yamada Date: Tue, 28 Nov 2017 09:52:24 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Tom Rini Cc: U-Boot Mailing List Subject: [U-Boot] [GIT PULL] NAND + UniPhier updates for v2018.01-rc1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Hi Tom, Please pull a large number of NAND core syncing and a little bit UniPhier updates. I picked up commits from Linux one by one in order not to break existing drivers. At last, the Denali NAND driver is fully synced with Linux 4.15-rc1. I tested it on my UniPhier boards, and working for me. The following changes since commit 0931b6f20e19f6c412d6ad1ba8e3b50b2a70c3c0: Merge git://git.denx.de/u-boot-rockchip (2017-11-26 18:10:21 -0500) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you to fetch changes up to 6391d42f23181d363fc5e07652baf1c79a37f1b5: ARM: uniphier: remove unused NAND CONFIG options (2017-11-28 09:39:19 +0900) ---------------------------------------------------------------- Boris Brezillon (9): mtd: nand: Add an option to maximize the ECC strength mtd: nand: automate NAND timings selection mtd: nand: Fix data interface configuration logic mtd: nand: Add a few more timings to nand_sdr_timings mtd: add mtd_ooblayout_xxx() helper functions mtd: nand: Drop unused cached programming support mtd: nand: Drop the ->errstat() hook mtd: nand: Wait for PAGEPROG to finish in drivers setting NAND_ECC_CUSTOM_PAGE_ACCESS mtd: nand: Pass the CS line to ->setup_data_interface() Marc Gonzalez (1): mtd: nand: Support controllers with custom page Masahiro Yamada (13): bitops: collect BIT macros to include/linux/bitops.h mtd: nand: add onfi_* stubs in case ONFI_DETECTION is disabled mtd: nand: allow drivers to request minimum alignment for passed buffer mtd: nand: add generic helpers to check, match, maximize ECC settings mtd: nand: add a shorthand to generate nand_ecc_caps structure mtd: nand: introduce NAND_ROW_ADDR_3 flag mtd: nand: denali: sync with Linux 4.15-rc1 ARM: uniphier: set CONFIG_LOGLEVEL to 6 ARM: uniphier: remove IRQ settings ARM: uniphier: remove XIRQ pin settings gpio: uniphier: import dt-binginds header from Linux ARM: dts: uniphier: Sync with Linux 4.15-rc1 ARM: uniphier: remove unused NAND CONFIG options Sascha Hauer (5): mtd: nand: remove unnecessary 'extern' from function declarations mtd: nand: Create a NAND reset function mtd: nand: Introduce nand_data_interface mtd: nand: convert ONFI mode into data interface mtd: nand: Expose data interface for ONFI mode 0 arch/arm/dts/uniphier-ld11-ref.dts | 10 +- arch/arm/dts/uniphier-ld11.dtsi | 50 +- arch/arm/dts/uniphier-ld20-ref.dts | 10 +- arch/arm/dts/uniphier-ld20.dtsi | 87 +- arch/arm/dts/uniphier-ld4-ref.dts | 10 +- arch/arm/dts/uniphier-ld4.dtsi | 23 +- arch/arm/dts/uniphier-ld6b-ref.dts | 10 +- arch/arm/dts/uniphier-pinctrl.dtsi | 52 +- arch/arm/dts/uniphier-pro4-ref.dts | 10 +- arch/arm/dts/uniphier-pro4.dtsi | 22 +- arch/arm/dts/uniphier-pro5.dtsi | 16 +- arch/arm/dts/uniphier-pxs2.dtsi | 66 +- arch/arm/dts/uniphier-pxs3-ref.dts | 10 +- arch/arm/dts/uniphier-pxs3.dtsi | 42 +- arch/arm/dts/uniphier-sld8-ref.dts | 10 +- arch/arm/dts/uniphier-sld8.dtsi | 23 +- arch/arm/dts/uniphier-support-card.dtsi | 3 +- arch/arm/dts/uniphier-v7-u-boot.dtsi | 8 +- arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h | 3 +- arch/arm/mach-kirkwood/include/mach/gpio.h | 4 - arch/arm/mach-uniphier/board_init.c | 51 - arch/arm/mach-uniphier/sbc/sbc-ld11.c | 2 +- arch/arm/mach-uniphier/sbc/sbc-pxs2.c | 2 +- configs/uniphier_ld4_sld8_defconfig | 1 + configs/uniphier_v7_defconfig | 1 + configs/uniphier_v8_defconfig | 1 + drivers/gpio/gpio-uniphier.c | 3 +- drivers/gpio/kw_gpio.c | 2 +- drivers/mtd/mtdcore.c | 360 ++++ drivers/mtd/nand/Kconfig | 11 - drivers/mtd/nand/davinci_nand.c | 10 +- drivers/mtd/nand/denali.c | 2027 +++++++++--------- drivers/mtd/nand/denali.h | 473 ++-- drivers/mtd/nand/denali_dt.c | 17 +- drivers/mtd/nand/denali_spl.c | 14 +- drivers/mtd/nand/nand_base.c | 530 ++++- drivers/mtd/nand/nand_timings.c | 494 +++-- include/configs/uniphier.h | 5 - include/dt-bindings/gpio/uniphier-gpio.h | 18 + include/linux/bitops.h | 7 + include/linux/mtd/mtd.h | 57 + include/linux/mtd/nand.h | 314 ++- include/usb/lin_gadget_compat.h | 4 +- 43 files changed, 3106 insertions(+), 1767 deletions(-) create mode 100644 include/dt-bindings/gpio/uniphier-gpio.h