From patchwork Sat May 11 11:24:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1098399 X-Patchwork-Delegate: promsoft@gmail.com 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=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="iqF76PfV"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 451Pr93PGfz9s3Z for ; Sat, 11 May 2019 21:24:55 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D4C07C21E0D; Sat, 11 May 2019 11:24:49 +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=2.3 required=5.0 tests=TVD_SUBJ_WIPE_DEBT, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D52D3C21C2C; Sat, 11 May 2019 11:24:47 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9CF9DC21C2C; Sat, 11 May 2019 11:24:45 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by lists.denx.de (Postfix) with ESMTPS id 25584C21C29 for ; Sat, 11 May 2019 11:24:45 +0000 (UTC) Received: from localhost.localdomain (78-11-222-119.static.ip.netia.com.pl [78.11.222.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1669321479; Sat, 11 May 2019 11:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557573883; bh=jIe5//cTq/dWd7PFWPtMLKCwSFcFf4O1cWPY2AYDNek=; h=From:To:Cc:Subject:Date:From; b=iqF76PfVDKEAL88B9eZFlriAeX2g1J/auLBZdtHtFp/qUGq/hfwz2h0ZYCG8oJNEK 2DX8OycY87EexHLBRu/JyqtE49xMnZ4mAeJHLqfLJHYQ/4AcK5yTGHJ/IKKwGTMNSH 5Bfe+ItPwKlK761TQoAkSABwPqO8uLe47EMyDePo= From: Krzysztof Kozlowski To: u-boot@lists.denx.de Date: Sat, 11 May 2019 13:24:31 +0200 Message-Id: <20190511112433.31367-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Cc: Krzysztof Kozlowski Subject: [U-Boot] [PATCH v2 1/3] arm: exynos: arndale: Remove unused CONFIG_POWER and CONFIG_POWER_I2C 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" The CONFIG_POWER and CONFIG_POWER_I2C were introduced in include/configs/exynos5-common.h in commit 19bd3aaa5991 ("exynos5: fix build break by adding CONFIG_POWER") and then it propagated up to include/configs/arndale.h. However before that commit, there was no build break at all on Arndale and SMDK5250 boards. It seems the commit fixed nothing and just added unused defines. In fact, the Arndale board is not configuring its PMIC (S5M8767) which uses I2C bus. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Glass --- Not tested on Arndale board. Testing is welcomed. Changes since v1: 1. Add Simon's tag. 2. Reorder patches - first remove CONFIG_POWER_I2C, then CONFIG_DM_I2C_COMPAT. --- include/configs/arndale.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index dd321c4748d0..841f3616482b 100644 --- a/include/configs/arndale.h +++ b/include/configs/arndale.h @@ -29,10 +29,6 @@ #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK -/* PMIC */ -#define CONFIG_POWER -#define CONFIG_POWER_I2C - #define CONFIG_PREBOOT #define CONFIG_S5P_PA_SYSRAM 0x02020000 @@ -41,8 +37,4 @@ /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */ #define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000 -/* Power */ -#define CONFIG_POWER -#define CONFIG_POWER_I2C - #endif /* __CONFIG_H */ From patchwork Sat May 11 11:24:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1098400 X-Patchwork-Delegate: promsoft@gmail.com 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=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="NfnFfu0o"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 451Prk0bTkz9s9y for ; Sat, 11 May 2019 21:25:26 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id BE0D7C21D4A; Sat, 11 May 2019 11:25: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 7B650C21D74; Sat, 11 May 2019 11:24:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 72D74C21C27; Sat, 11 May 2019 11:24:46 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by lists.denx.de (Postfix) with ESMTPS id 0668EC21C29 for ; Sat, 11 May 2019 11:24:46 +0000 (UTC) Received: from localhost.localdomain (78-11-222-119.static.ip.netia.com.pl [78.11.222.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A7C76217F9; Sat, 11 May 2019 11:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557573884; bh=yw358A7WMM9z0Mz9IowkgNBmK+lijBrvFfS814UdcZU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NfnFfu0oYX2idlN9yWxm4Cr0yQZzlQhapJ4v3BwtA6q5TSqCGtQJOEcl2c9MoFXI8 2sag4mUvDh+6UZvAe+ZsXLBucKKZ7+fzIiXoQFTGL4KdnJP2qMqKYl0xqShtfmpo6G y8nRaAYxcW2SQhsHxP+LkvATRYmSAmA0zklcZ1/w= From: Krzysztof Kozlowski To: u-boot@lists.denx.de Date: Sat, 11 May 2019 13:24:32 +0200 Message-Id: <20190511112433.31367-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190511112433.31367-1-krzk@kernel.org> References: <20190511112433.31367-1-krzk@kernel.org> Cc: Krzysztof Kozlowski Subject: [U-Boot] [PATCH v2 2/3] arm: exynos: arndale: Remove unused CONFIG_DM_I2C_COMPAT 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" The CONFIG_DM_I2C_COMPAT was introduced in include/configs/exynos5-common.h in commit 189d80166b31 ("exynos5: enable dm i2c") and then it propagated up to configs/arndale_defconfig. However since beginning the Arndale board (Exynos5250) was not using I2C. In fact, the Arndale board is not configuring its PMIC (S5M8767) which uses I2C bus. This setting can be thus safely removed to fix build warning: This board uses CONFIG_DM_I2C_COMPAT. Please remove (possibly in a subsequent patch in your series) before sending patches to the mailing list. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Simon Glass --- Not tested on Arndale board. Testing is welcomed. Changes since v1: 1. Add Simon's tag. 2. Reorder patches - first remove CONFIG_POWER_I2C, then CONFIG_DM_I2C_COMPAT. --- configs/arndale_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/arndale_defconfig b/configs/arndale_defconfig index 9727d28c1241..e90d670f6813 100644 --- a/configs/arndale_defconfig +++ b/configs/arndale_defconfig @@ -25,7 +25,6 @@ CONFIG_CMD_SOUND=y CONFIG_CMD_EXT4_WRITE=y CONFIG_DEFAULT_DEVICE_TREE="exynos5250-arndale" CONFIG_ENV_IS_IN_MMC=y -CONFIG_DM_I2C_COMPAT=y CONFIG_SUPPORT_EMMC_BOOT=y CONFIG_MMC_DW=y CONFIG_MMC_SDHCI=y From patchwork Sat May 11 11:24:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 1098401 X-Patchwork-Delegate: promsoft@gmail.com 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=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="IwxfwIw0"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 451Prr0QXrz9s9y for ; Sat, 11 May 2019 21:25:32 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id C4134C21D4A; Sat, 11 May 2019 11:25:15 +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 12A18C21CB6; Sat, 11 May 2019 11:24:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 007FBC21C4A; Sat, 11 May 2019 11:24:47 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by lists.denx.de (Postfix) with ESMTPS id 8DB4CC21C27 for ; Sat, 11 May 2019 11:24:47 +0000 (UTC) Received: from localhost.localdomain (78-11-222-119.static.ip.netia.com.pl [78.11.222.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3CA472183F; Sat, 11 May 2019 11:24:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557573886; bh=gwoceEBofcX9Zrks9G91XQIRi0Ws7CSmPxNDgDWNCJs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IwxfwIw0LQZDJ+ZjJ+hzu7rBpWuqAjLyIjvf2y05T7lAm98MROe7y2Eil0T1hrOX5 cZ16NqjGcYhbPNTgkbPyThH1Ha+uyNE8GJptnL1yaROgLCtALJiqc7g88rzj1ACI1I elI87puS0CZSn6mOW068v+Dp3QsdEi4Yipb1fx5s= From: Krzysztof Kozlowski To: u-boot@lists.denx.de Date: Sat, 11 May 2019 13:24:33 +0200 Message-Id: <20190511112433.31367-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190511112433.31367-1-krzk@kernel.org> References: <20190511112433.31367-1-krzk@kernel.org> Cc: Krzysztof Kozlowski Subject: [U-Boot] [PATCH v2 3/3] configs: arndale: Use appropriate driver for Asix AX88760 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" Arndale board has an Asix AX88760 USB 2.0 Hub and Fast Ethernet combo. The appropriate driver for it is USB_ETHER_ASIX. The mistake probably came from misinterpretation of commit e9954b867ce0 ("usb: eth: add ASIX AX88179 DRIVER") which was tested on RECS5250 COM module. This module indeed has Exynos5250 and some similarities with Arndale 5250 board but the USB/Ethernet chip used there is apparently different. Fixes: f58ad98a621c ("usb: net: migrate USB Ethernet adapters to Kconfig") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Lukasz Majewski --- Not tested. Changes since v1: 1. Add Lukasz's tag. --- configs/arndale_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/arndale_defconfig b/configs/arndale_defconfig index e90d670f6813..37ad6accc396 100644 --- a/configs/arndale_defconfig +++ b/configs/arndale_defconfig @@ -42,4 +42,4 @@ CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_DWC3=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_HOST_ETHER=y -CONFIG_USB_ETHER_ASIX88179=y +CONFIG_USB_ETHER_ASIX=y