From patchwork Sun Dec 1 10:23:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1202807 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47QkqW2gVgz9sR7 for ; Sun, 1 Dec 2019 21:23:48 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 2D81DC21E08; Sun, 1 Dec 2019 10:23:44 +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=none 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 9E4A0C21C38; Sun, 1 Dec 2019 10:23:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F252CC21C38; Sun, 1 Dec 2019 10:23:40 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 9D622C21C27 for ; Sun, 1 Dec 2019 10:23:40 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47QkqJ2vcYz1qqkh; Sun, 1 Dec 2019 11:23:40 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47QkqJ2RTTz1qwZy; Sun, 1 Dec 2019 11:23:40 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ttUzMkcQPCg6; Sun, 1 Dec 2019 11:23:38 +0100 (CET) X-Auth-Info: IV0JIu37BIJSRZ7G0ODsTACofoffqjWJWkl0yhkPJhM= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sun, 1 Dec 2019 11:23:38 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id E90AC1807B4; Sun, 1 Dec 2019 11:23:33 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id C6BC51A8B94; Sun, 1 Dec 2019 11:23:33 +0100 (CET) From: Heiko Schocher To: U-Boot Mailing List Date: Sun, 1 Dec 2019 11:23:03 +0100 Message-Id: <20191201102332.21397-1-hs@denx.de> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [U-Boot] [PATCH v1 00/29] convert aristainetos board to DM 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" This series converts the aristainetos to DM / DTS support and get rid of the compile warnings: ===================== WARNING ====================== This board does not use CONFIG_DM. CONFIG_DM will be compulsory starting with the v2020.01 release. Failure to update may result in board removal. See doc/driver-model/migration.rst for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_DM_MMC. Please update the board to use CONFIG_DM_MMC before the v2019.04 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_DM_USB. Please update the board to use CONFIG_DM_USB before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_DM_VIDEO Please update the board to use CONFIG_DM_VIDEO before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_DM_SPI_FLASH. Please update the board to use CONFIG_SPI_FLASH before the v2019.07 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== ===================== WARNING ====================== This board does not use CONFIG_WDT (DM watchdog support). Please update the board to use CONFIG_WDT before the v2019.10 release. Failure to update by the deadline may result in board removal. See doc/driver-model/MIGRATION.txt for more info. ==================================================== The not used aristainetos board is removed. The aristianetos board versions 2b is removed, for easier DM convertion, and at the end of this series again added. Also we add the board versions 2b_csl and 2c in this series. The series is based on mainline commit 4b19b89ca4: ("Merge tag 'rpi-next-2020.01' of https://github.com/mbgg/u-boot") the following patches are needed for working correct on board, but without them build is also clean. (gpio seach for gpio label) http://patchwork.ozlabs.org/patch/1186638/ bdinfo: http://patchwork.ozlabs.org/patch/1192363/ support Env in SPI NOR before relocation. http://patchwork.ozlabs.org/patch/1195435/ http://patchwork.ozlabs.org/patch/1195436/ travis and azure uild: https://travis-ci.org/hsdenx/u-boot-test/builds/619145300 https://dev.azure.com/hs0298/hs/_build/results?buildId=7 Heiko Schocher (29): imx6: remove aristainetos board video: lg4573: convert to DM imx6: aristainetos: move defines to Kconfig imx6: aristainetos: remove 2b version imx6: aristainetos: disable gigabit support imx6: aristainetos: add device tree from linux imx6: aristainetos: add thumb build imx6: aristainetos: remove aristainetos-v2.c imx6: aristainetos: prepare dts for other board versions imx6: aristainetos: add DM_SERIAL support imx6: aristainetos: convert to DM_MMC imx6: aristainetos: convert gpio pins to DM and DTS imx6: aristainetos: convert to DM_USB imx6: aristainetos: convert CONFIG_DM_SPI imx6: aristainetos: enable DM_ETH imx6: aristainetos: add DM_VIDEO support imx6: aristainetos: add DM_I2C support imx6: aristainetos: convert to DM_PWM/DM_BACKLIGHT imx6: aristainetos: get rid of CONFIG_BOARDNAME imx6: aristainetos: add i2c eeprom support imx6: aristainetos: add AUTOBOOT_KEYED imx6: aristainetos: add version variable imx6: aristainetos: cleanup bootmode settings imx6: aristainetos: WDT DM conversion enable WDT reset imx6: aristainetos: cleanup default Environment imx6: aristainetos: enable HAB boot imx6: aristainetos: readd aristainetos 2b board imx6: aristainetos: add aristainetos 2b csl imx6: aristainetos: add support for rev C board arch/arm/dts/Makefile | 8 + .../dts/imx6dl-aristainetos2_4-u-boot.dtsi | 13 + arch/arm/dts/imx6dl-aristainetos2_4.dts | 51 ++ arch/arm/dts/imx6dl-aristainetos2_4.dtsi | 84 +++ .../dts/imx6dl-aristainetos2_7-u-boot.dtsi | 19 + arch/arm/dts/imx6dl-aristainetos2_7.dts | 16 + arch/arm/dts/imx6dl-aristainetos2_7.dtsi | 58 ++ .../dts/imx6dl-aristainetos2b_4-u-boot.dtsi | 13 + arch/arm/dts/imx6dl-aristainetos2b_4.dts | 50 ++ .../dts/imx6dl-aristainetos2b_7-u-boot.dtsi | 19 + arch/arm/dts/imx6dl-aristainetos2b_7.dts | 16 + .../imx6dl-aristainetos2b_csl_4-u-boot.dtsi | 13 + arch/arm/dts/imx6dl-aristainetos2b_csl_4.dts | 50 ++ .../imx6dl-aristainetos2b_csl_7-u-boot.dtsi | 19 + arch/arm/dts/imx6dl-aristainetos2b_csl_7.dts | 16 + .../dts/imx6dl-aristainetos2c_4-u-boot.dtsi | 13 + arch/arm/dts/imx6dl-aristainetos2c_4.dts | 50 ++ .../dts/imx6dl-aristainetos2c_7-u-boot.dtsi | 19 + arch/arm/dts/imx6dl-aristainetos2c_7.dts | 16 + .../arm/dts/imx6qdl-aristainetos2-common.dtsi | 492 +++++++++++++ .../arm/dts/imx6qdl-aristainetos2-u-boot.dtsi | 101 +++ arch/arm/dts/imx6qdl-aristainetos2.dtsi | 244 +++++++ .../dts/imx6qdl-aristainetos2b-u-boot.dtsi | 77 ++ arch/arm/dts/imx6qdl-aristainetos2b.dtsi | 266 +++++++ .../imx6qdl-aristainetos2b_csl-u-boot.dtsi | 77 ++ arch/arm/dts/imx6qdl-aristainetos2b_csl.dtsi | 248 +++++++ .../dts/imx6qdl-aristainetos2c-u-boot.dtsi | 77 ++ arch/arm/dts/imx6qdl-aristainetos2c.dtsi | 228 ++++++ arch/arm/mach-imx/mx6/Kconfig | 39 +- board/aristainetos/Kconfig | 34 +- board/aristainetos/MAINTAINERS | 31 +- board/aristainetos/aristainetos-v1.c | 278 ------- board/aristainetos/aristainetos-v2.c | 686 ------------------ board/aristainetos/aristainetos.c | 592 +++++++++++---- board/aristainetos/aristainetos.cfg | 32 - board/aristainetos/aristainetos2.cfg | 3 + board/aristainetos/clocks.cfg | 23 - board/aristainetos/common/Kconfig | 35 + board/aristainetos/ddr-setup.cfg | 60 -- board/aristainetos/mt41j128M.cfg | 69 -- configs/aristainetos2_defconfig | 64 +- configs/aristainetos2b_defconfig | 66 +- configs/aristainetos2bcsl_defconfig | 115 +++ configs/aristainetos2c_defconfig | 115 +++ configs/aristainetos_defconfig | 68 -- drivers/video/lg4573.c | 175 ++++- include/configs/aristainetos-common.h | 195 ----- include/configs/aristainetos.h | 43 -- include/configs/aristainetos2.h | 445 +++++++++++- include/configs/aristainetos2b.h | 50 -- scripts/config_whitelist.txt | 3 - 51 files changed, 3840 insertions(+), 1734 deletions(-) create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2_4.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2_7.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_4-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_4.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_7-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_7.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_4-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_4.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_7-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2b_csl_7.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_4-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_4.dts create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_7-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-aristainetos2c_7.dts create mode 100644 arch/arm/dts/imx6qdl-aristainetos2-common.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b_csl-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2b_csl.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2c-u-boot.dtsi create mode 100644 arch/arm/dts/imx6qdl-aristainetos2c.dtsi delete mode 100644 board/aristainetos/aristainetos-v1.c delete mode 100644 board/aristainetos/aristainetos-v2.c delete mode 100644 board/aristainetos/aristainetos.cfg delete mode 100644 board/aristainetos/clocks.cfg create mode 100644 board/aristainetos/common/Kconfig delete mode 100644 board/aristainetos/ddr-setup.cfg delete mode 100644 board/aristainetos/mt41j128M.cfg create mode 100644 configs/aristainetos2bcsl_defconfig create mode 100644 configs/aristainetos2c_defconfig delete mode 100644 configs/aristainetos_defconfig delete mode 100644 include/configs/aristainetos-common.h delete mode 100644 include/configs/aristainetos.h delete mode 100644 include/configs/aristainetos2b.h