From patchwork Wed May 16 14:39:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 914674 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="nxtQmfi6"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40mHDB22C9z9s2L for ; Thu, 17 May 2018 00:40:42 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id E36EEC21F5B; Wed, 16 May 2018 14:40:39 +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 2D3B3C21F0F; Wed, 16 May 2018 14:40:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F003CC21D83; Wed, 16 May 2018 14:39:59 +0000 (UTC) Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) by lists.denx.de (Postfix) with ESMTPS id 90D1CC21D83 for ; Wed, 16 May 2018 14:39:59 +0000 (UTC) Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id 45E28604FC; Wed, 16 May 2018 16:39:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1526481599; bh=LI3GYIXoE77oNmfWhJe465xnrDfcwo8Xb58bXatp1E0=; h=From:To:Date; b=nxtQmfi6ymT/GxyKhCUHsCVp3OBmfimrUJ6S5gRVJq/w+9uUkVwLVrzdfPJiUukWY Ya511GZnM0R64/G7iBYCpsFy7d9ycIwM9ZnzoYcyc8lgSH3/EpefituC7gBCjLmO2s HGQOTF9fu4ur8GBlo6g54o2bP37PMYlFMYqbO3/Y= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: u-boot@lists.denx.de Date: Wed, 16 May 2018 16:39:38 +0200 Message-Id: <20180516143942.2309-1-marek.behun@nic.cz> X-Mailer: git-send-email 2.16.1 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 0/4] Updates for Turris Mox 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" Here are some updates for Turris Mox board. The first patch updates Marvell's comphy driver to call function board_update_comphy_map. The comphy driver contains a weak definition of this function, which does nothing. Board file can then define this function to update the serdes map before comphy lanes are initialized. This is needed because on Turris Mox serdes lane 0 has to be initialized to different speed when Topaz module is connected and when SFP module is connected. This is a temporary solution. Once comphy driver for Armada 3720 is in kernel, the comphy driver in u-boot shall also be rewritten to support changing the speed even after the comphy lane is initialized. The second patch changes the turris_mox board file to switch SERDES speed according to module topology. The third patch adds support for differentiating whether the board is with eMMC card or with SD card slot. The fourth patch adds the gpio command to turris_mox_defconfig. Signed-off-by: Marek Behun