From patchwork Tue Nov 28 15:41:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 119886 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1869614qgn; Tue, 28 Nov 2017 07:42:19 -0800 (PST) X-Google-Smtp-Source: AGs4zMZQsAO+JDGWQMn/lcP12PaZrvrRF9laioHkSbROeGs7/ZeuVyaMmYnDeGOs7qObKprZpcFI X-Received: by 10.80.154.35 with SMTP id o32mr3170831edb.125.1511883739639; Tue, 28 Nov 2017 07:42:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511883739; cv=none; d=google.com; s=arc-20160816; b=FDiXKymWRZqNDrbP6nRgUynWkkSkc7X21tYA3i6pOCBJiegjqaHxDpVcVrk/z8eAZw x50Sb/k3KY1ioMjkcmno8Bf8MPJV1RamQlBKc0iRRhO04BBvmPYoOpBnEDgDreEIP39Q rSiTe7dyLscnK2re7/xT6PAGu6Vu6Ps5/0Td3cVbEDCRgfdtUs77/MSR52RL3isrrWtR 1TsK9awrui+XY4q93YFoZk8NHXA6M7RCCrkO95DuLGfbXuTcPwDgZLiBXlOmEnh6FdgW F5jzT9BftzlYueROZmGiXlF4Aup3WmeSDye3ARIsjYKMckA6GbmIT4wc5FNqrTY+C3Ui y8Zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:to:message-id:date:from:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=nEWvWTH2kmDDPmtc3YYiGy+fJRf79+bkIoW7Q4rFRxU=; b=faHz4LkDpJeMKjMV1LPtxYYvksMZVrOB+9/KhTkF22nCvU5l4AeGImdMp0EZzMykV6 DF4u/ZoK/6YCwFI1BNIrj5prrlMVLJMuVSmgJf9HxnNgLlheNaRCKfOigIRyUOYe0h8c QXwURyx+5QZq7xMRnGlp9n2FxoMih+Iyx5EC9uLkL/C1cokqwn0nT+fK3DfVaxhaOAf8 Y3ekcYTqiRWlZy6smpc2LizWVnyvv47OiZuAJHZXrtFMxD0r9wUsRFmC2sS8FUo2SYzg U2j841TexZVYabRT20F2ZtmOoyAKHqtBqSBkvA0f6AmUMbrfK6Px7OP1jkwc0lSkW3lv 3SkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=X8KzHu3A; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o44si726899edo.401.2017.11.28.07.42.19; Tue, 28 Nov 2017 07:42:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=X8KzHu3A; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 324F6C21F42; Tue, 28 Nov 2017 15:42:17 +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=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 EC07CC21E0C; Tue, 28 Nov 2017 15:42:14 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id D71C3C21E0C; Tue, 28 Nov 2017 15:42:12 +0000 (UTC) Received: from conssluserg-01.nifty.com (conssluserg-01.nifty.com [210.131.2.80]) by lists.denx.de (Postfix) with ESMTPS id B4393C21DEF for ; Tue, 28 Nov 2017 15:42:11 +0000 (UTC) Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) (authenticated) by conssluserg-01.nifty.com with ESMTP id vASFfrR1013226 for ; Wed, 29 Nov 2017 00:41:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com vASFfrR1013226 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1511883714; bh=FpCd8LHzNT9GxxN5Oi9Hp4wnf88ZQIuyugVtcO1/ZMY=; h=From:Date:Subject:To:Cc:From; b=X8KzHu3AOhbCIuLQ5dPH4/YqtOvg3ynFyaYzhe9p6HTCqoF0lMiEUeGI5gLNZPiaW MtDw1xkqDGnohF788NP+u94GjdPBaxBDQvPblfnKeOf9WGfDpj9lnDVpuorbrTiXCH g3Isff6MdhqBe48hrspPKputha0csXwbI5yE1TNh02Llqf/ii7B1dXXj7pTsKLHQec AGSBXiau1r7aS0cyrM5o/K2Uvo5Nhejta/lIboewFcowZhKDn4xftoZ13OCXfONtq/ 3f4ZGr3xW/oiv1hGTHLyvxMFS2zkbsoYannnCMz9DBmo0BftzDR0I3cBY6ZlthKH8b rTwoHkGhAbT9Q== X-Nifty-SrcIP: [209.85.161.177] Received: by mail-yw0-f177.google.com with SMTP id w128so112466ywa.1 for ; Tue, 28 Nov 2017 07:41:53 -0800 (PST) X-Gm-Message-State: AJaThX7ZWMjtOoJff1j4FLFwhupCJDDVQ4WCdXeP2r2NF9Gz/OOqyEu9 320v1DZ7MxpbGU/X1JdMwIxyj3BbTIP4DBzR/sY= X-Received: by 10.129.76.132 with SMTP id z126mr26885896ywa.67.1511883712799; Tue, 28 Nov 2017 07:41:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.8.66 with HTTP; Tue, 28 Nov 2017 07:41:12 -0800 (PST) From: Masahiro Yamada Date: Wed, 29 Nov 2017 00:41:12 +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 (2nd trial) 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, This is a retry for the NAND + UniPhier pull request. I inserted http://patchwork.ozlabs.org/patch/842106/ The build test of openrd boards passed. The following changes since commit 73a01d90c0b2ed2527283f289f73d69ef52cafa5: test: Correct operation when tests pass (2017-11-27 23:05:22 -0500) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you to fetch changes up to a27bcbf81563880a1cfc805625dc57dbde658e1d: ARM: uniphier: remove unused NAND CONFIG options (2017-11-29 00:29:00 +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 (14): ARM: openrd: set CONFIG_LOGLEVEL to 2 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/openrd_base_defconfig | 2 +- configs/openrd_client_defconfig | 2 +- configs/openrd_ultimate_defconfig | 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 +- 46 files changed, 3109 insertions(+), 1770 deletions(-) create mode 100644 include/dt-bindings/gpio/uniphier-gpio.h