From patchwork Tue Apr 30 01:48:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 1092919 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=nic.cz Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=nic.cz header.i=@nic.cz header.b="d1NQn7zi"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44tPZ96gWkz9s70 for ; Tue, 30 Apr 2019 11:48:33 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id F38AAC21E07; Tue, 30 Apr 2019 01:48:31 +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 89E98C21C29; Tue, 30 Apr 2019 01:48:29 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6C5F1C21CB6; Tue, 30 Apr 2019 01:48:27 +0000 (UTC) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) by lists.denx.de (Postfix) with ESMTPS id 0E880C21C29 for ; Tue, 30 Apr 2019 01:48:27 +0000 (UTC) Received: from dellmb.labs.office.nic.cz (unknown [172.20.6.125]) by mail.nic.cz (Postfix) with ESMTP id B4E0F63650; Tue, 30 Apr 2019 03:48:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1556588906; bh=fj9hmh1YVwYhsue2VPl9zXTcfQDMSKnwiJLjIs0JodM=; h=From:To:Date; b=d1NQn7zik9u/ut23T9SgLFsQtfEvUZUMclCKHVOQk6MrnzI/OgC1Td59YFH9m2brm 7K/ZyOCPnN+hbecBFPV+r7oov30q36KcDwri9rEATsAxTlvoX8Y+tyU626BXNm9FbN KTwlnsiB7D/BS8xtOFrdM98migPu4xZYHXp7V5kg= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: u-boot@lists.denx.de Date: Tue, 30 Apr 2019 03:48:10 +0200 Message-Id: <20190430014825.30553-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at mail X-Virus-Status: Clean Cc: Stefan Roese Subject: [U-Boot] [PATCH u-boot-marvell v2 00/15] Fixes for Turris Omnia 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, this is the second version of my fixes for Turris Omnia. I removed the patches which were already applied or provided a better fix. The other patches I shall describe now here as if this was the first version. 1. removes redundant code done by I2C mvtwsi driver from board file 2. adds XHCI support to defconfig 3. in compliance with driver model use AHCI, SATA and SCSI 4. remove legacy macros from config header 5. move I2C dependencies from header file to Kconfig for TARGET_TURRIS_OMNIA 6. add SCSI as boot target 7. board code refactoring 8. fix checkpatch warnings 9. add ATSHA204A dependency to Kconfig for TARGET_TURRIS_OMNIA 10. more board code refactoring 11. print board information in the same way Turris Mox does 12. remove watchdog header include (in Turris Mox board file as well) 13. fix setting of the regdomain environment variable used on Omnia 14. add code for handling the button on the back side of Omnia, the purpose of which is factory reset 15. fix I2C driver, which sometimes breaks the I2C controller until the device is powered off Marek Marek BehĂșn (15): arm: mvebu: turris_omnia: remove redundant code arm: mvebu: turris_omnia: add XHCI to defconfig arm: mvebu: turris_omnia: use AHCI and SATA driver model arm: mvebu: turris_omnia: remove legacy macros from board header arm: mvebu: turris_omnia: move I2C dependencies to Kconfig arm: mvebu: turris_omnia: add SCSI as boot target arm: mvebu: turris_omnia: refactor I2C accessing code arm: mvebu: turris_omnia: fix checkpatch warnings arm: mvebu: turris_omnia: move ATSHA204A from defconfig to Kconfig arm: mvebu: turris_omnia: refactor more code arm: mvebu: turris_omnia: print board info as Turris Mox arm: mvebu: turris_*: remove watchdog include arm: mvebu: turris_omnia: fix regdomain env var setting arm: mvebu: turris_omnia: add RESET button handling i2c: mvtwsi: fix reading status register after interrupt arch/arm/mach-mvebu/Kconfig | 49 ++++ board/CZ.NIC/turris_mox/turris_mox.c | 4 - board/CZ.NIC/turris_omnia/turris_omnia.c | 333 ++++++++++++----------- configs/turris_omnia_defconfig | 10 +- drivers/i2c/mvtwsi.c | 1 + include/configs/turris_omnia.h | 32 +-- 6 files changed, 236 insertions(+), 193 deletions(-)