Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9027C433F5 for ; Tue, 12 Oct 2021 12:58:33 +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 3CB3B60EB6 for ; Tue, 12 Oct 2021 12:58:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3CB3B60EB6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 33E0183713; Tue, 12 Oct 2021 14:58:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id E834883713; Tue, 12 Oct 2021 14:58:28 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id CAB738343E for ; Tue, 12 Oct 2021 14:58:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 36B4CED1; Tue, 12 Oct 2021 05:58:24 -0700 (PDT) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.197.31]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4FA993F70D; Tue, 12 Oct 2021 05:58:23 -0700 (PDT) From: Andre Przywara To: Tom Rini Cc: u-boot@lists.denx.de, Jagan Teki , Samuel Holland , Chukun Pan , Arnaud Ferraris Subject: Pull request: u-boot-sunxi/master for v2022.01 Date: Tue, 12 Oct 2021 13:58:18 +0100 Message-Id: <20211012125818.996929-1-andre.przywara@arm.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 the sunxi/master branch, containing the first part of the 2022.01 changes. The bulk of it is Samuel's DM_I2C rework, which removes the nasty I2C deprecation warnings for most 32-bit boards. It also includes some smaller refactorings that pave the way for more changes, mostly driven by needing to support the Allwinner RISC-V SoC later on. Board wise we gain support for the FriendlyARM NanoPi R1S H5 router board and official Pinetab support. Build-tested for all 160 sunxi boards, and boot tested on a A64, A20, H3, H6, and H616 board. USB, SD card, eMMC, and Ethernet all work there (where applicable). Thanks, Andre ============== The following changes since commit f331497d3ad4166f9826e7674793ae04094b29c1: Merge tag 'video-20211009' of https://source.denx.de/u-boot/custodians/u-boot-video (2021-10-09 17:47:27 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sunxi.git master for you to fetch changes up to f9437b00c06382d3edc623c10c69901786ad6317: sunxi: Enable DM_I2C for all sunxi boards (2021-10-12 11:01:27 +0100) ---------------------------------------------------------------- Arnaud Ferraris (3): configs: add PineTab defconfig board: sunxi: enable status LED early pinephone_defconfig: add support for early-boot status LED Chukun Pan (1): sunxi: Add support for FriendlyARM NanoPi R1S H5 Samuel Holland (20): clk: sunxi: Move header out of arch directory sunxi: Simplify MMC pinmux selection gpio: sunxi: Remove the sunxi_name_to_gpio_bank function sunxi: Clean up inclusions of asm/arch/gpio.h sunxi: gpio: Remove name_to_gpio macro sunxi: gpio: Remove bank-specific size macros clk: sunxi: Add support for I2C gates/resets clk: sunxi: Add drivers for A31 and H6 PRCM CCUs power: pmic: Consistently depend on DM_PMIC power: pmic: Consistently depend on SPL_DM_PMIC power: pmic: Add a driver for X-Powers AXP PMICs sunxi: Only initialize legacy I2C when enabled sunxi: Select SUN8I_RSB more carefully sunxi: pmic_bus: Fix Kconfig dependencies i2c: Add a DM_I2C driver for the sun6i P2WI controller i2c: Add a DM_I2C driver for the sun8i RSB controller sunxi: pmic_bus: Clean up preprocessor conditions sunxi: pmic_bus: Use the DM PMIC interface when possible sunxi: video: Convert panel I2C to use DM_I2C sunxi: Enable DM_I2C for all sunxi boards arch/arm/Kconfig | 1 + arch/arm/dts/Makefile | 1 + arch/arm/dts/sun50i-h5-nanopi-r1s-h5.dts | 195 ++++++++++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 20 +- arch/arm/mach-sunxi/Kconfig | 79 ++---- arch/arm/mach-sunxi/Makefile | 2 - arch/arm/mach-sunxi/board.c | 3 +- arch/arm/mach-sunxi/clock.c | 1 - arch/arm/mach-sunxi/clock_sun4i.c | 1 - arch/arm/mach-sunxi/p2wi.c | 117 --------- arch/arm/mach-sunxi/pmic_bus.c | 109 ++++---- arch/arm/mach-sunxi/rsb.c | 175 ------------- board/sunxi/MAINTAINERS | 10 + board/sunxi/board.c | 152 +++-------- board/sunxi/gmac.c | 1 - configs/A20-Olimex-SOM-EVB_defconfig | 1 - configs/Colombus_defconfig | 6 - configs/Cubieboard4_defconfig | 1 + configs/Merrii_A80_Optimus_defconfig | 1 + configs/Sinlinx_SinA31s_defconfig | 1 - configs/UTOO_P66_defconfig | 3 - configs/Yones_Toptech_BD1078_defconfig | 2 +- configs/nanopi_r1s_h5_defconfig | 14 + configs/parrot_r16_defconfig | 1 - configs/pinephone_defconfig | 6 + configs/pinetab_defconfig | 10 + drivers/clk/sunxi/Kconfig | 14 + drivers/clk/sunxi/Makefile | 2 + drivers/clk/sunxi/clk_a10.c | 7 +- drivers/clk/sunxi/clk_a10s.c | 5 +- drivers/clk/sunxi/clk_a23.c | 8 +- drivers/clk/sunxi/clk_a31.c | 10 +- drivers/clk/sunxi/clk_a31_r.c | 59 +++++ drivers/clk/sunxi/clk_a64.c | 8 +- drivers/clk/sunxi/clk_a80.c | 12 +- drivers/clk/sunxi/clk_a83t.c | 8 +- drivers/clk/sunxi/clk_h3.c | 8 +- drivers/clk/sunxi/clk_h6.c | 12 +- drivers/clk/sunxi/clk_h616.c | 14 +- drivers/clk/sunxi/clk_h6_r.c | 61 +++++ drivers/clk/sunxi/clk_r40.c | 12 +- drivers/clk/sunxi/clk_sunxi.c | 2 +- drivers/clk/sunxi/clk_v3s.c | 6 +- drivers/gpio/axp_gpio.c | 1 - drivers/gpio/sunxi_gpio.c | 17 -- drivers/i2c/Kconfig | 16 ++ drivers/i2c/Makefile | 2 + drivers/i2c/sun6i_p2wi.c | 220 ++++++++++++++++ drivers/i2c/sun8i_rsb.c | 281 +++++++++++++++++++++ drivers/mmc/sunxi_mmc.c | 3 +- drivers/net/sun8i_emac.c | 5 +- drivers/power/axp809.c | 1 - drivers/power/axp818.c | 1 - drivers/power/pmic/Kconfig | 69 +++-- drivers/power/pmic/Makefile | 1 + drivers/power/pmic/axp.c | 38 +++ drivers/reset/reset-sunxi.c | 2 +- drivers/spi/spi-sunxi.c | 2 +- drivers/usb/musb-new/sunxi.c | 2 - drivers/video/Kconfig | 10 +- drivers/video/anx9804.c | 103 ++++---- drivers/video/anx9804.h | 5 +- drivers/video/hitachi_tx18d42vm_lcd.c | 6 +- drivers/video/sunxi/sunxi_display.c | 66 +++-- drivers/video/sunxi/sunxi_lcd.c | 1 - include/axp_pmic.h | 12 + .../asm/arch-sunxi/ccu.h => include/clk/sunxi.h | 8 +- include/configs/sunxi-common.h | 17 -- 68 files changed, 1307 insertions(+), 743 deletions(-) create mode 100644 arch/arm/dts/sun50i-h5-nanopi-r1s-h5.dts delete mode 100644 arch/arm/mach-sunxi/p2wi.c delete mode 100644 arch/arm/mach-sunxi/rsb.c create mode 100644 configs/nanopi_r1s_h5_defconfig create mode 100644 configs/pinetab_defconfig create mode 100644 drivers/clk/sunxi/clk_a31_r.c create mode 100644 drivers/clk/sunxi/clk_h6_r.c create mode 100644 drivers/i2c/sun6i_p2wi.c create mode 100644 drivers/i2c/sun8i_rsb.c create mode 100644 drivers/power/pmic/axp.c rename arch/arm/include/asm/arch-sunxi/ccu.h => include/clk/sunxi.h (94%)