From patchwork Fri Oct 13 10:21:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 115740 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp565626qgn; Fri, 13 Oct 2017 03:33:48 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDtgyC/Gdofp+vDRbWOSQ/wgw8GQrAt8PvXh7vWfArr8G+NBusJaa7Jxxp4jmW84MqwoaFr X-Received: by 10.80.130.67 with SMTP id 61mr1557188edf.3.1507890828432; Fri, 13 Oct 2017 03:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507890828; cv=none; d=google.com; s=arc-20160816; b=sSIImH3L2aUy9jDBdvr5y27yPCndTQt5cF8mCBYpE3+q9D/xO2bQ9uujXiF9N6N63s MMKw9KIdpHz4nK/fgJcSeIB2pgj9aY0rxHTl8DXiRsVxOtgBL/PDaM9QmvoRMNxw03JI Bnou6/bvkBLruvsZtwfHzyWlYJbDYUjIwRaD98ujee9HY9SYhnrJ1E0EtHd1eMyBuaAp VikGFZvvOVtIgYsMxb52D4wXB0RkT/jl+5fYMsa6VyGfbgeDeTIAef7UlrfSa526BSOB cCyr2qcN+3WiLbA2MpjzaQj5JQqpjFGJcn4CPKR0QmAeCi7W3WHbFWblCfRf/JbxJCQW sLkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=xy47/jSSe2TOI1pzFhRL137Ke2xu0XKGA4iW7GrRIT0=; b=WRrUyMfZ83/pl+eKdVBZHZfFvxvBIESVhDfyG+2ByFAJx9EVFCuyXHRdRf8QZ/9Y5Q lKYyRco9N4ZpFA2Vf8MY6QOXzKprqiFEmRqV/mrF7wb2hYMreh1sPkwplmfKk4mcpZfF QaDFrRL0h23xLItKl5typUkbbset5wOW1+Uq4lLof+vxenJ4iGFYMJVlDYSz0h78ZI4l INb51fOX8nqpCQFyETqh2Qlxxcom2lixSoPozl5NyxjpsnG+jlyJzrW+UZERLjTE2OCR 8T2z4EcVIM3847NVXM8MXpoDIJdqQ0Qz0lJPOjIU/IBieQQmPL0oRYNiMNO2NOVDtkdJ G37g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=xiucvdUn; 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 z17si341261edc.92.2017.10.13.03.33.48; Fri, 13 Oct 2017 03:33:48 -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=xiucvdUn; 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 0E0D7C21FED; Fri, 13 Oct 2017 10:27:02 +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 1AD2FC2200E; Fri, 13 Oct 2017 10:22:51 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A5AE8C21D82; Fri, 13 Oct 2017 10:22:40 +0000 (UTC) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by lists.denx.de (Postfix) with ESMTPS id 9A26FC21EEF for ; Fri, 13 Oct 2017 10:22:39 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v9DAMGx3009903; Fri, 13 Oct 2017 19:22:17 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9DAMGx3009903 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1507890137; bh=PkEXDXbmEVbzMXHDxqLZR8VtuL5bNAPfY/Z2Dm5rb/0=; h=From:To:Cc:Subject:Date:From; b=xiucvdUnEs4cgU5eGCDTcuBaf2bxCLC9CH33ORZYsu6ZAFIJVV6Zd0FzAR44CvTDY /2cKN5vcJ7jbLrshv51N5ZIdu65y/RhFqRuFf6zvIHJKhYUY90xU4pF8IHeSKojNTL ZiZ2rX1TplFxM7x8FdSzNks+Gn72UCZZxrsqJIPLKbbLkRaVsTOhSwmtWkV7T+jm4w RWPQe1Tpo71L1w/hKDI3jDJd3gR2P3xt8v4sfLbsT2gDO1rf8OnXvhZuvd2pAUFLe8 K+F3RV7PogI1OYNcLG4ORvf6gEbuhH4EY1NMef8nWVpOH9yAckDE0IL2ezTGBL2qLj pig37Ak/9VoaQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 13 Oct 2017 19:21:49 +0900 Message-Id: <1507890129-1543-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Marek Vasut Subject: [U-Boot] [PATCH 00/20] ARM: uniphier: various refactoring for v2017.11-rc2 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: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" - Reactor of GPIO, clk, reset drivers. - Clean up SOC code - Sync DT - Use more clock drivers - Split U-Boot specific DT property Masahiro Yamada (20): ARM: uniphier: switch to CONFIG_ENV_IS_NOWHERE gpio: uniphier: rework single device node model ARM: dts: uniphier: update GPIO nodes pinctrl: uniphier: set PUPD_SIMPLE cap flag for PXs3 pinctrl: uniphier: simplify input enable and delete pin arrays ARM: uniphier: use pr_() instead of printf() where appropriate usb: dwc3-uniphier: replace with i2c: uniphier: replace debug() with dev_dbg() i2c: uniphier-f: replace debug() with dev_dbg() clk: uniphier: rework for better clock tree structure clk: uniphier: add PXs3 clock data clk: uniphier: add peripheral clock data reset: uniphier: fix the first argument passed to dev_err() i2c: uniphier: use clk for enable and get_rate i2c: uniphier-f: use clk for enable and get_rate ARM: uniphier: split u-boot,dm-pre-reloc out to uniphier-v7-u-boot.dtsi ARM: dts: uniphier: prepare to use clock for serial serial: uniphier: use clk for enable and get_rate ARM: dts: uniphier: sync DT with Linux 4.14-rc4 ARM: uniphier: change the default of SoC select to UNIPHIER_V7_MULTI arch/arm/dts/uniphier-ld11.dtsi | 38 ++- arch/arm/dts/uniphier-ld20.dtsi | 97 ++++++- arch/arm/dts/uniphier-ld4-ref.dts | 9 +- arch/arm/dts/uniphier-ld4.dtsi | 122 +-------- arch/arm/dts/uniphier-ld6b-ref.dts | 9 +- arch/arm/dts/uniphier-pinctrl.dtsi | 15 ++ arch/arm/dts/uniphier-pro4-ace.dts | 9 - arch/arm/dts/uniphier-pro4-ref.dts | 9 - arch/arm/dts/uniphier-pro4-sanji.dts | 21 -- arch/arm/dts/uniphier-pro4.dtsi | 214 +--------------- arch/arm/dts/uniphier-pro5-4kbox.dts | 9 - arch/arm/dts/uniphier-pro5.dtsi | 214 +--------------- arch/arm/dts/uniphier-pxs2-gentil.dts | 21 -- arch/arm/dts/uniphier-pxs2-vodka.dts | 21 -- arch/arm/dts/uniphier-pxs2.dtsi | 256 ++++--------------- arch/arm/dts/uniphier-pxs3.dtsi | 7 +- arch/arm/dts/uniphier-sld8-ref.dts | 9 +- arch/arm/dts/uniphier-sld8.dtsi | 126 +--------- arch/arm/dts/uniphier-v7-u-boot.dtsi | 69 +++++ arch/arm/dts/uniphier-v8-u-boot.dtsi | 13 + arch/arm/mach-uniphier/Kconfig | 5 +- arch/arm/mach-uniphier/arm32/psci.c | 4 +- arch/arm/mach-uniphier/board_late_init.c | 4 +- arch/arm/mach-uniphier/boot-device/boot-device.c | 1 + arch/arm/mach-uniphier/cpu-info.c | 7 +- arch/arm/mach-uniphier/dram/cmd_ddrmphy.c | 4 +- arch/arm/mach-uniphier/dram/cmd_ddrphy.c | 4 +- arch/arm/mach-uniphier/dram/ddrphy-ld4.c | 5 +- arch/arm/mach-uniphier/dram/umc-pxs2.c | 18 +- arch/arm/mach-uniphier/dram_init.c | 7 +- drivers/clk/uniphier/Makefile | 2 + drivers/clk/uniphier/clk-uniphier-core.c | 308 +++++++++++++++++------ drivers/clk/uniphier/clk-uniphier-mio.c | 118 ++++----- drivers/clk/uniphier/clk-uniphier-peri.c | 113 +++++++++ drivers/clk/uniphier/clk-uniphier-sys.c | 52 ++-- drivers/clk/uniphier/clk-uniphier.h | 85 ++++--- drivers/gpio/gpio-uniphier.c | 140 +++++++---- drivers/i2c/i2c-uniphier-f.c | 131 +++++----- drivers/i2c/i2c-uniphier.c | 82 +++--- drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 17 +- drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c | 16 -- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 5 - drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c | 15 -- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 9 - drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c | 3 +- drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c | 30 --- drivers/reset/reset-uniphier.c | 3 +- drivers/serial/serial_uniphier.c | 16 +- drivers/usb/dwc3/dwc3-uniphier.c | 2 +- env/Kconfig | 1 - 50 files changed, 1082 insertions(+), 1413 deletions(-) create mode 100644 arch/arm/dts/uniphier-v7-u-boot.dtsi create mode 100644 arch/arm/dts/uniphier-v8-u-boot.dtsi create mode 100644 drivers/clk/uniphier/clk-uniphier-peri.c