From patchwork Wed Aug 30 00:22:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 111262 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp116067qge; Tue, 29 Aug 2017 17:23:42 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6Gc0PAmOc+OPjoOrrax1zySjsZSET57aswrJs8SRnSVSWgajZ8bTNl6VLcM22HD4wH4H5V X-Received: by 10.80.154.193 with SMTP id p59mr162093edb.58.1504052621973; Tue, 29 Aug 2017 17:23:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504052621; cv=none; d=google.com; s=arc-20160816; b=yyqEYiYwOuEFVpAAOmaSBXrM81A4uinmtjWLWj4uc4cUbl6MnTNLqkpG4BX2JZbBhr hXbvuhxlSEqquqjVGnhtRDmMsH+DCxfrjFdT/ODOIFpZXR0Myp4D4cZxNUzoa0WR5O0W gc4EoEhAM+Z8Qdhaa6kaEIgXq9QZ4d3+BgoafQO5kXIBCs1Q8FkGkWn1NHTNJgRqHiVy IO9jQIO1jLq1jC1LM7kLFOA3CjdoAlovhDxmEI5A1ugP1dQ+67kRbFedTs68/lHnJEYu 56TCUCbY0eU4eSctMBdSv+Ej/uXoY2zzb26sjRt3vXfUw15GpwWkAGhkQiNjM2Lgbdal B+2g== 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=CpTjqLK1vZYNZan09qB6ISNKKTYmdcCYvFzB/u+61Vc=; b=EwVKJI936x8QiXjnv2AG2JGbppEzKCY03l8fjc4fK1Sg2p0l4umlhav9jPWlXRzdaK dBfUt6Ql/5DvYs/T//0/juJlLpbyvLEZxMgHL+NAuwZrXrRlZGWUrybc8Gcvez8fH47Q P8xf2xuk4mcS4feat7k8qmXmrHG8MnbazMuc+4CpUdNikoH9ev4k5amaAm7cHPJ8E2Tp MN0Q17XUCLrLO4AYkJ4AJA7P+BpVSiFAIhtAx9gVqw5uOGXFzNWfklcZmkb+LYWaaOw3 enXcJ6yWt0eTp3xe9PZDF2A72OQW21uJagYsSRIyQfHgzeGtB3bLwH1P86EbAh05OJDb 729g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=wlRrKiZn; 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 b2si4501757edb.16.2017.08.29.17.23.37; Tue, 29 Aug 2017 17:23:41 -0700 (PDT) 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=wlRrKiZn; 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 3C0EBC22697; Wed, 30 Aug 2017 00:23:33 +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 E88A8C22397; Wed, 30 Aug 2017 00:23:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A7B4FC2219C; Wed, 30 Aug 2017 00:23:30 +0000 (UTC) Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by lists.denx.de (Postfix) with ESMTPS id C310DC22053 for ; Wed, 30 Aug 2017 00:23:29 +0000 (UTC) Received: from mail-yw0-f169.google.com (mail-yw0-f169.google.com [209.85.161.169]) (authenticated) by conssluserg-03.nifty.com with ESMTP id v7U0NEsl019087 for ; Wed, 30 Aug 2017 09:23:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v7U0NEsl019087 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1504052595; bh=HGJa39OU8wVlEbOrPK6yr7/omwvgh1NoDbLt631Cixs=; h=From:Date:Subject:To:Cc:From; b=wlRrKiZnUeMGa/JoQMlQGglJNvix9hIBqYIHTT4EM3uiXCLXdrgdSNzHfRUhBkIKD yJvAxU+pFKBh90Qh0k0HWbtKjmhh02jsqdtbN29K9qyqGm27DFyhiQQl+GimLU7f/a YGFT+2H7zLmgmMcypg3wu874wHWze9qxVMzH68YmPzcHXgl2KrD1Fm0dXe/ZjaLZH7 EEegK30V5fIM5oOYoe/IQx+DWGz/vH4UU7TDJCUqoAPoJEXtQF9rqKjCmQZbb8qdNs h+KiEJxyVNwQgZGeaPCylqhLdSXxszrEcqgj+KovFZ36aMCETR5avbRP9r0hC189Lf yK9ZVZS2ooZFw== X-Nifty-SrcIP: [209.85.161.169] Received: by mail-yw0-f169.google.com with SMTP id h127so24556555ywf.3 for ; Tue, 29 Aug 2017 17:23:14 -0700 (PDT) X-Gm-Message-State: AHYfb5hj/o9vOx4YTlUP+lNwp2OWc5Zl8r/UbsHHaDQOVov8L6MmeLRD R+23u2WgzU+zSgN9/I1kGzy9NQ+lMA== X-Received: by 10.129.79.202 with SMTP id d193mr1901783ywb.37.1504052593936; Tue, 29 Aug 2017 17:23:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.164.225 with HTTP; Tue, 29 Aug 2017 17:22:33 -0700 (PDT) From: Masahiro Yamada Date: Wed, 30 Aug 2017 09:22:33 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Tom Rini Cc: U-Boot Mailing List Subject: [U-Boot] [GIT PULL] u-boot-uniphier/master 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, Here is a bit volume pull request, but changes are SoC-specific except the ofnode patch and denali_dt. The latter is reviewed by Simon. - add {ofnode,dev}_read_resource_byname - provide DT probe hook to Denali NAND driver - update clk/reset driver - update DT - misc cleanups The following changes since commit 8b3cec7da18645eda7f7cd0b65ee9f2dac573409: mtdparts: Fix uninitialized scalar usage (2017-08-26 16:59:24 -0400) are available in the git repository at: git://git.denx.de/u-boot-uniphier.git master for you to fetch changes up to 0cc0c544bc317548885721d2312c90185642f98c: ARM: uniphier: enable Denali NAND driver for 64bit SoCs (2017-08-30 09:07:04 +0900) ---------------------------------------------------------------- Dai Okamura (1): ARM: uniphier: fix DSPLL init code for LD20 SoC Masahiro Yamada (16): ofnode: add {ofnode, dev}_read_resource_byname() mtd: nand: denali_dt: add a DT driver ARM: uniphier: replace with in pll settings ARM: uniphier: move PLLCTRL register macros to each SoC .c file ARM: uniphier: add PLL settings for PXs3 ARM: uniphier: remove unneeded NAND config options ARM: uniphier: enable CONFIG_NAND_DENALI_DT ARM: uniphier: remove ad-hoc pin settings for NAND clk: uniphier: add System clock support reset: uniphier: fix compatible for SD reset node for LD11/LD20 reset: uniphier: add PXs3 support ARM: dts: uniphier: sync with Linux ARM: dts: uniphier: update PXs3 SoC/board DT ARM: uniphier: move CONFIG_NAND to defconfig ARM: uniphier: set system bus pinmux for PXs3 ARM: uniphier: enable Denali NAND driver for 64bit SoCs arch/arm/dts/uniphier-ld11-global.dts | 6 +- arch/arm/dts/uniphier-ld11-ref.dts | 6 +- arch/arm/dts/uniphier-ld11.dtsi | 13 ++- arch/arm/dts/uniphier-ld20-global.dts | 6 +- arch/arm/dts/uniphier-ld20-ref.dts | 6 +- arch/arm/dts/uniphier-ld20.dtsi | 15 ++- arch/arm/dts/uniphier-ld4-ref.dts | 6 +- arch/arm/dts/uniphier-ld4.dtsi | 11 +- arch/arm/dts/uniphier-ld6b-ref.dts | 6 +- arch/arm/dts/uniphier-ld6b.dtsi | 2 +- arch/arm/dts/uniphier-pinctrl.dtsi | 5 + arch/arm/dts/uniphier-pro4-ace.dts | 2 +- arch/arm/dts/uniphier-pro4-ref.dts | 6 +- arch/arm/dts/uniphier-pro4-sanji.dts | 2 +- arch/arm/dts/uniphier-pro4.dtsi | 9 +- arch/arm/dts/uniphier-pro5-4kbox.dts | 4 +- arch/arm/dts/uniphier-pro5.dtsi | 13 ++- arch/arm/dts/uniphier-pxs2-gentil.dts | 2 +- arch/arm/dts/uniphier-pxs2-vodka.dts | 2 +- arch/arm/dts/uniphier-pxs2.dtsi | 13 ++- arch/arm/dts/uniphier-pxs3-ref.dts | 29 ++++- arch/arm/dts/uniphier-pxs3.dtsi | 163 +++++++++++++++++++-------- arch/arm/dts/uniphier-sld8-ref.dts | 6 +- arch/arm/dts/uniphier-sld8.dtsi | 11 +- arch/arm/mach-uniphier/Kconfig | 1 - arch/arm/mach-uniphier/board_init.c | 28 +---- arch/arm/mach-uniphier/clk/pll-base-ld20.c | 6 +- arch/arm/mach-uniphier/clk/pll-ld11.c | 13 ++- arch/arm/mach-uniphier/clk/pll-ld20.c | 21 +++- arch/arm/mach-uniphier/clk/pll-pxs3.c | 55 +++++++++ arch/arm/mach-uniphier/sbc/sbc-pxs2.c | 2 + arch/arm/mach-uniphier/sc64-regs.h | 21 ---- configs/uniphier_ld4_sld8_defconfig | 2 + configs/uniphier_pro4_defconfig | 2 + configs/uniphier_pxs2_ld6b_defconfig | 2 + configs/uniphier_v8_defconfig | 5 + drivers/clk/uniphier/Makefile | 1 + drivers/clk/uniphier/clk-uniphier-core.c | 30 +++++ drivers/clk/uniphier/clk-uniphier-sys.c | 34 ++++++ drivers/clk/uniphier/clk-uniphier.h | 2 + drivers/core/ofnode.c | 12 ++ drivers/core/read.c | 6 + drivers/mtd/nand/Kconfig | 7 ++ drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/denali.c | 4 +- drivers/mtd/nand/denali.h | 2 + drivers/mtd/nand/denali_dt.c | 68 +++++++++++ drivers/reset/reset-uniphier.c | 29 ++++- include/configs/uniphier.h | 3 - include/dm/ofnode.h | 2 + include/dm/read.h | 20 +++- 51 files changed, 554 insertions(+), 169 deletions(-) create mode 100644 drivers/clk/uniphier/clk-uniphier-sys.c create mode 100644 drivers/mtd/nand/denali_dt.c