From patchwork Wed Dec 20 15:09:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 122474 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5698718qgn; Wed, 20 Dec 2017 07:09:26 -0800 (PST) X-Google-Smtp-Source: ACJfBov32xZhSxj4SZkOBC0nrruSqtPo2frNy1JfrcJTqLyaJ/IW4N2C9hxySNeyTOE1eOPJZKn+ X-Received: by 10.80.153.142 with SMTP id m14mr5838021edb.265.1513782566842; Wed, 20 Dec 2017 07:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513782566; cv=none; d=google.com; s=arc-20160816; b=xSP17jkSgcjonvYe1mF8QKvHwQ1EladAHcdiIGozCK9xfv5d58JAm7UPuQE/cLDqgd ntBsXl4FBLE5/m/MOVwKNKVHHNYxYaxK2sTL2GnbmGVogu7IZT/4bD9BXrUz8Z3pnljn BpzUsmJLVZ3uWq28uXV1c+MA/uNbq4OM9sIBXdXYGuVQD70EogFItvWeBaBg1PR85IKA RNjCixRAgJmUpMGqy5O/fmRY4K746h60IOJHWTcwChi6LdwYQB78HmmA1mE/lITiEEZE q4LcGtUt6tfFMlJIoXmUNKZgEHCpzlIvO3Cq3SnlaLf/6ZNnZ6e8y+vFFcR2985vDsgY 6DRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature :arc-authentication-results; bh=QQvMa7/mH08Br1tTBHFGJDt6tYpHGLmFEgPdjHfTqTM=; b=ULTCObtXZlibMqE+fECGUMqQeMlKPBIfHZXjESn/2X9OmgDjcYtgUhiDDcOWoR4UWH JH/At1uFnMi8kIWveKjFPEdvueW8z1KuC+KRp0n/H7obazfSZ8Fjgye0lCZ27o5luM6z 5Gk2Q6Mgbz6j8/9iDDYs0WdmlTL2w8FJHsIz9+WXDiz6VuPMDQVSa6LjJUfP9daYyefg OpvDicC8Ugv8zREx+zb6zoWVJ1jHnt8kVOBlLqrWQ+st2+uTpZj64YRlkPDduBVcDKH7 yYph5V6mymdluSTwYsVWdGFYmig6Hlquk/yNt1hCPYE9vqqKbmB4zAKrTyY9eheZSlX4 I52A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=v5vD0PJv; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id x47si5489837edd.77.2017.12.20.07.09.26; Wed, 20 Dec 2017 07:09:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=v5vD0PJv; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: by lists.denx.de (Postfix, from userid 105) id 49AFDC2201D; Wed, 20 Dec 2017 15:09:23 +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=RCVD_IN_DNSWL_BLOCKED, 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 F1EAAC21E0A; Wed, 20 Dec 2017 15:09:21 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 3B047C21E0A; Wed, 20 Dec 2017 15:09:20 +0000 (UTC) Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by lists.denx.de (Postfix) with ESMTPS id 9B96CC21DF7 for ; Wed, 20 Dec 2017 15:09:19 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBKF9HSZ027994; Wed, 20 Dec 2017 09:09:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513782557; bh=PooRkZfdkKkLYTLBAWw8AuCtVfVjHjbcn4L6V4MenOA=; h=From:To:CC:Subject:Date; b=v5vD0PJvuW+H5NHdOgu6V5thOGbFhW5PJUsDxGzapIPV3jtPwxdwE2Ba5E7jT1v8X GsrKBYiZeO9R4vbJPBnc/9YY6Wx8stljVOxlqWQsaR0/xfZeVLGQZ3Dj2FN4xbY7yt N31Vld93CP//cGkpisiM8+AA3NW1Wuocoo1Wo2UE= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBKF9HQG023177; Wed, 20 Dec 2017 09:09:17 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 20 Dec 2017 09:09:16 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 20 Dec 2017 09:09:16 -0600 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBKF9FZh002185; Wed, 20 Dec 2017 09:09:16 -0600 From: Sekhar Nori To: U-Boot Mailing List Date: Wed, 20 Dec 2017 20:39:14 +0530 Message-ID: <20171220150914.23083-1-nsekhar@ti.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: Tom Rini Subject: [U-Boot] [PATCH] configs: am57xx_evm: fix ethernet phy configuration 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" Configure AM57xx EVMs for the exact PHY part that is present on the various boards. This makes U-Boot apply configurations needed for this PHY like centering the FLP timing. For configurations to take effect, DM_ETH needs to be enabled. Do that too. Tested on BeagleBoard x15 and AM571x IDK. Signed-off-by: Sekhar Nori Reviewed-by: Lokesh Vutla --- configs/am57xx_evm_defconfig | 3 +++ configs/am57xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index fc96401d3e55..04484e0ae213 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs/am57xx_evm_defconfig @@ -52,6 +52,9 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_PHYLIB=y +CONFIG_PHY_MICREL=y +CONFIG_PHY_MICREL_KSZ90X1=y +CONFIG_DM_ETH=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y CONFIG_DM_REGULATOR=y diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig index 681e2a54c8ff..6c33cc9030e0 100644 --- a/configs/am57xx_hs_evm_defconfig +++ b/configs/am57xx_hs_evm_defconfig @@ -55,6 +55,9 @@ CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SPI_FLASH_SPANSION=y CONFIG_PHYLIB=y +CONFIG_PHY_MICREL=y +CONFIG_PHY_MICREL_KSZ90X1=y +CONFIG_DM_ETH=y CONFIG_DM_PMIC=y CONFIG_PMIC_PALMAS=y CONFIG_DM_REGULATOR=y