From patchwork Tue Sep 3 14:38:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1157044 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) 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 46N8jL68Lyz9s7T for ; Wed, 4 Sep 2019 00:39:18 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 9105CC21C50; Tue, 3 Sep 2019 14:39:14 +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=KHOP_BIG_TO_CC 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 56A29C21C50; Tue, 3 Sep 2019 14:39:12 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 69248C21C50; Tue, 3 Sep 2019 14:39:10 +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 0CAA7C21C4A for ; Tue, 3 Sep 2019 14:39:10 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46N8j92n28z1rLG3; Tue, 3 Sep 2019 16:39:09 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46N8j91Lpsz1qqkP; Tue, 3 Sep 2019 16:39:09 +0200 (CEST) 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 B_p3edr-uXED; Tue, 3 Sep 2019 16:39:06 +0200 (CEST) X-Auth-Info: KU1+6co1PcegojVzawrXjS6zkxgmckd4OE5WZHypwuk= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (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; Tue, 3 Sep 2019 16:39:06 +0200 (CEST) From: Lukasz Majewski To: u-boot@lists.denx.de, Stefano Babic Date: Tue, 3 Sep 2019 16:38:36 +0200 Message-Id: <20190903143850.9824-1-lukma@denx.de> X-Mailer: git-send-email 2.11.0 Cc: Marek Vasut , Fabio Berton , Parthiban Nallathambi , Otavio Salvador , Tom Rini , Martyn Welch , Joe Hershberger , "NXP i.MX U-Boot Team" , Fabien Lahoudere Subject: [U-Boot] [PATCH v2 00/14] DM: display5: Convert display5 board to DM/DTS (including 'factory' setup) 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" This patch series converts display5 to use DM/DTS. The SPL conversion to DM/DTS has been omitted. The previous series due to some Kconfig issues was applied partially. Following patches were NOT applied: https://patchwork.ozlabs.org/patch/1112757/ https://patchwork.ozlabs.org/patch/1112755/ https://patchwork.ozlabs.org/patch/1112756/ This series supersedes conversion from above patches by: - Fixing issues after porting to newest mainline (FSL_MMC_IMX conversion) - Converts usage of gpio* legacy API to dm_gpio* - Cleans up the display5_{factory_}defconfig Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/580153865 Applied on top of u-boot/master branch SHA1: 877294b56a52f1cb60bbfa7e4722fcc33451f7b2 Buildman: ./tools/buildman/buildman.py --branch=HEAD mx6 --show_errors --force-build --count=14 --output-dir=../BUILD/ Changes in v2: - Use dm_gpio* functions instead of gpio_* ones - Use dm_gpio_* instead of legacy gpio_* functions Lukasz Majewski (14): fix: defconfig: Enable OF_CONTROL for display5_factory ARM: imx: defconfig: Enable CONFIG_PINCTRL{_IMX6} on display5's defconfig DM: I2C: Switch display5 board to use DM_I2C ARM: imx: defconfig: Enable 'regulator' and 'pmic' commands on display5 DM: mmc: Switch display5 board to use DM_MMC and BLK (USDHC) DM: eth: Switch display5 board to use DM_ETH DM: SPI: Convert display5 to use SPI with DM/DTS (but no in SPL) ARM: display5: Remove UART initialization code after DM/DTS conversion (non-console) DM: WDT: Convert WDT driver to use DM/DTS (including SYSRESET) ARM: display5: Remove common.c file (after DM/DTS U-Boot proper conversion) ARM: Update display5_factory_defconfig after switch to DM/DTS and uuu utility cosmetic: Cleanup display5_defconfig with make savedefconfig imx: Convert emergency pad of display5 to use dm_gpio* functions imx: Rewrite display5 get_board_id() function to use dm_gpio_* API arch/arm/dts/imx6q-display5-u-boot.dtsi | 5 + arch/arm/mach-imx/mx6/Kconfig | 5 + board/liebherr/display5/Makefile | 4 +- board/liebherr/display5/common.c | 120 ------------- board/liebherr/display5/common.h | 8 - board/liebherr/display5/display5.c | 302 +++++++------------------------- board/liebherr/display5/spl.c | 74 ++++++++ configs/display5_defconfig | 31 +++- configs/display5_factory_defconfig | 44 ++++- include/configs/display5.h | 29 ++- 10 files changed, 232 insertions(+), 390 deletions(-) delete mode 100644 board/liebherr/display5/common.c