Received: by 10.223.164.202 with SMTP id h10csp3803892wrb; Mon, 20 Nov 2017 05:22:53 -0800 (PST) X-Google-Smtp-Source: AGs4zMb/sNhw6nT2eWYeJnc3cI3q22pKECcnCytFLBTykOBZhlhj0YlAHLh9BVGODOAqytCnF/2u X-Received: by 10.84.128.229 with SMTP id a92mr13943201pla.278.1511184173814; Mon, 20 Nov 2017 05:22:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511184173; cv=none; d=google.com; s=arc-20160816; b=gsN0Z+0sz9UhpNt5oWVlB2S4EMGKFU/6Es6e7STSuiocXh95G1yUWv59FZ1Gf3NOBl 7NeuD2DRte3X4OV8yCaeNUOKCqGRYS9yc8RuwBXafZ9IPtlj6Qf5lvjbFriMn2G4cQMW PIhn5bC9mRZLj9lJD6ytoU+9BftPuXUUfcusxSe7oTxW6uvxat+ACuTwyD0/321yKOjs 5Xb8cuJRNqhpUcHW++3A4j3YRJGLydH5RGDiX3hwDRXkj6s7s4GFKC0rR6krvgZYdN7i OE+/LQpZtHX2Z6TYxwbOMlj0OPKEI2ijvG8rnjuomoH0uJWdjUMYrKYNNyY0XnB0aRDz oszQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=+JEgttKNueZL1igpEMX+n9p5QO0xphqWaM7jslvYjwc=; b=qrXmaUuQwr62dHtIbsfqzneB3rZHnQot5LX21bN8PgTUvO0lzhIXZJKeNNhYs/nklc q3Dbqqqz6puyRE5jLSI5RNHIJqq8O/3dhk1pqZdIj/dMJZILd/7I9wVSkNI8mkUKh4lD uQLKck7OogewzBBw+yruMDpThVqZUwIEk/ZqOWeh/hDtP7aJrdP/anYlm/usTa3oXTu6 p8X9ZK0KG27k2e5EbHL2cN5gRy3OqsqdiQknz/6j2DzwR+OEvz2oaPUBr69WBqq/ZwzE 2Cj0kF0mtPtTq6E1l6p8WFZa3PJx1maC/j1V6I89110G2dEjCKiAsjh9BgLRxiNL4pQU wgLw== 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 33si8427991plb.370.2017.11.20.05.22.44; Mon, 20 Nov 2017 05:22:53 -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 S1751231AbdKTNWA (ORCPT + 66 others); Mon, 20 Nov 2017 08:22:00 -0500 Received: from mail2.skidata.com ([91.230.2.91]:54685 "EHLO mail2.skidata.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751100AbdKTNV7 (ORCPT ); Mon, 20 Nov 2017 08:21:59 -0500 X-IronPort-AV: E=Sophos;i="5.44,427,1505772000"; d="scan'208";a="1111529" Subject: Re: [PATCH v2 3/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20 To: Geert Uytterhoeven CC: Andy Duan , "f.fainelli@gmail.com" , "andrew@lunn.ch" , Richard Leitner , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Sergei Shtylyov" , Geert Uytterhoeven References: <20171120083417.32558-1-dev@g0hl1n.net> <20171120083417.32558-4-dev@g0hl1n.net> <6cab10d6-8311-f34a-5eb7-ccca3c48a527@skidata.com> <30a94c72-2345-0649-6682-4826d31c3285@skidata.com> From: Richard Leitner Message-ID: <05754f2b-3765-bf90-40ff-a2e8337ddcce@skidata.com> Date: Mon, 20 Nov 2017 14:21:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [172.16.60.30] X-ClientProxiedBy: sdex1srv.skidata.net (172.16.10.92) To sdex1srv.skidata.net (172.16.10.92) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/20/2017 02:13 PM, Geert Uytterhoeven wrote: > Hi Richard, > > On Mon, Nov 20, 2017 at 1:55 PM, Richard Leitner > wrote: >> On 11/20/2017 11:35 AM, Andy Duan wrote: >>> 3. add reset gpio descriptor for common phy device driver. >> >> ... if I understood it correctly the patch called "Teach phylib >> hard-resetting devices" by Geert and Sergei is exactly doing this: >> https://patchwork.ozlabs.org/cover/828503/ >> https://lkml.org/lkml/2017/10/20/166 >> >> So I'll implement the phy_reset_after_clk_enable function atop of this >> patch-set and add a note that my patch-series depends on it. Would that >> be OK? > > I will update and respin that patch series after the merge window has closed. Ok. Thank you for the quick response an this information. For the Freescale Fast Ethernet Controller (FEC) there are currently (in addition to the reset gpio) two additional optional dt properties for the reset: - phy-reset-duration : Reset duration in milliseconds. - phy-reset-post-delay : Post reset delay in milliseconds. IMHO it would make sense to include them also in the phylib implementation. What do you think about it? Should I include it in my patch-series? kind regards; Richard.L > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > From 1584590938971472482@xxx Mon Nov 20 13:14:40 +0000 2017 X-GM-THRID: 1584573446575200827 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread