Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2807671imu; Mon, 17 Dec 2018 08:09:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xx4Cm6m+aR/wB4B9ovqQlwtVbhvdChD+N+gZstDzUNbHr/BrSVAQlMJN7uTxD1GcxUTPKv X-Received: by 2002:a17:902:b112:: with SMTP id q18mr13209241plr.255.1545062945963; Mon, 17 Dec 2018 08:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545062945; cv=none; d=google.com; s=arc-20160816; b=wEX3MivaicoIrVxnKB77hsd3uQrYPLzNpdXk5JGCJ5PWJHx+EHuWOuvBlfXBY1n9Gp Dwulvg+GHH9jXR2rm9dlFfXWLmANtCTf5URrM0eeBQiVmWZ/3oqHYLUPfp5sPGc4OEmb WPDW2MxY30pK5qB3+V511Evonyr+RX1N3kLpl8nIV8SFHe0QrcMwKDOXhIW3JEn6mRt1 qcaLKSK9SDMqNyFegcCcsrnAhwqimQwTTn47qdyxAGvUePtse1n0WoutxqLKe50qlKtV mx5lH1Yj6DG9X7t28phXzC6gYL/TBQyoioN9lgGYTK132rUr0OB9x22C+CFKJjv0VkIY 0NJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=2aiJ6HKxiEc9dPXoERCukCdQu0Qy+RiBsTpHTqeTYNs=; b=Ryc/gj3zCtNXKyQ7M2ft2xw2vWcoE8qoYhieOHDNBQYDZ+pi6AIWJin0joikwHLYpB d9ZM0JG/rlXVrEjDhjAIhKJ+dr5XQ7A4386rbif75/5Bx80S29cwTOinPHNxQ1M5fzvO zUWhqcqWXKGMXfHvqxBqGq7WFbgvv/IRBQK9vRJ0qsdqufP1oGd634u0kgsw+5mwTPC0 nviJlrkdrVztviEqs+ZbuXDk6Yqhb8SpLHmPiYqrAn3Vu8Dsb2v6fxpzKefF7hT7hayu JNVtCfLUhft8X+i4oU5mI18coKWdG9OJA/mJXCtJPTRnIU2Xi0CSsO0BugFUHEjxqmwd Od6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o89si11648597pfk.223.2018.12.17.08.08.51; Mon, 17 Dec 2018 08:09:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388143AbeLQQHi convert rfc822-to-8bit (ORCPT + 99 others); Mon, 17 Dec 2018 11:07:38 -0500 Received: from mail.bootlin.com ([62.4.15.54]:60472 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727866AbeLQQHi (ORCPT ); Mon, 17 Dec 2018 11:07:38 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 499682072D; Mon, 17 Dec 2018 17:07:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.2 Received: from xps13 (aaubervilliers-681-1-89-7.w90-88.abo.wanadoo.fr [90.88.30.7]) by mail.bootlin.com (Postfix) with ESMTPSA id D8C2A20723; Mon, 17 Dec 2018 17:07:24 +0100 (CET) Date: Mon, 17 Dec 2018 17:07:24 +0100 From: Miquel Raynal To: Marek Behun , Nadav Haklai Cc: Gregory Clement , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni , Bjorn Helgaas , , Rob Herring , Mark Rutland , Lorenzo Pieralisi , linux-pci@vger.kernel.org, , , Antoine Tenart , Maxime Chevallier Subject: Re: [PATCH v2 03/12] PCI: aardvark: Add PHY support Message-ID: <20181217170724.58421a29@xps13> In-Reply-To: <20181214015712.31f749ea@nic.cz> References: <20181212102142.16053-1-miquel.raynal@bootlin.com> <20181212102142.16053-4-miquel.raynal@bootlin.com> <20181214014701.373b220b@nic.cz> <20181214015712.31f749ea@nic.cz> Organization: Bootlin X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marek, Marek Behun wrote on Fri, 14 Dec 2018 01:57:12 +0100: > On Fri, 14 Dec 2018 01:47:01 +0100 > Marek Behun wrote: > > > Hi Miquel, > > are there already patches for the A37xx comphy driver? Please try the latest patches on top of phy -next (with PHY interface mode), available there [1]. You can pick only the COMPHY patches, but keep them over the phy -next branch. Please note that for the SMC calls to succeed you must use a recent ATF. Personally I used to work with the 'atf-v1.5-devel' branch of Marvell's misl-atf repository but it is not available anymore. If you already have a clone, then you are good to go, otherwise it might be great if someone from Marvell could share a public Github link? > Never mind, I found them. I shall test this on Turris Mox. > Is the comphy driver supposed to be able to change eth mode from > 1000BASE-X to 2500BASE-X and back without reboot? In theory yes, unfortunately I am working on an EspressoBin which uses the SATA, PCIe and SATA configurations of the COMPHY, but not the Ethernet ones (SGMII/1000BASE-X and HS_SGMII/2500BASE-X). So the support is ready to be tested! > > This would be cool for our SFP cage module of Turris Mox, just to add > support for comphy into mvneta. > > Marek [1] https://github.com/miquelraynal/linux.git branch marvell/phy-next/pm Thanks, Miquèl