Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512572

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

Path csiph.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Neil Armstrong <narmstrong@baylibre.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection
Date Mon, 31 Oct 2016 15:30:02 +0100
Message-ID <sylL4-3AW-33@gated-at.bofh.it> (permalink)
References <suJiV-6ZU-7@gated-at.bofh.it> <suJiV-6ZU-9@gated-at.bofh.it> <suKoG-7Ei-19@gated-at.bofh.it> <suKyl-7Yc-5@gated-at.bofh.it> <suKyl-7Yc-3@gated-at.bofh.it>
X-Original-To Andrew Lunn <andrew@lunn.ch>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qYY3Po7S2TkmAKdshWaDUf/17KoPMlWW76cxQxatQSE=; b=ktjXiLWJg+nV2HMlaH0h2PRXljM+qgpV3jSOPkwz4B2cM0UyWKNv6bwNXkKVT0SjQY HmrhV8gB6N2myVfzmIBKq/VRwl9gfSPX7aOAFwwY/xplBMYDVXJecsNuqIuzfpxpggvy RinqzP9ukucPIOXBPIeE9Xl4/aPegWouHs8i1bzQFm2OuDAMV9oT5OSsSaLiuLvxVG/G jTPaF/5i0q5oHrG7pMcvVi6RzGBYj2JLNvzYF8xYvO3Ku4zqIiRlKMGpB3NfNXRzWKTj 8h86N14sMX4oW3idEy3jI0FVwlwtx2UhoVptDjekA5r0w0Gk+texOAmLOb+KqznmOkew /hhw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=qYY3Po7S2TkmAKdshWaDUf/17KoPMlWW76cxQxatQSE=; b=WPGVn54ZuLnGPIwmeTc5Zi1JyFF3BfrBCYlAwdjAqxrhA5uoZSWNaAeW6VyDO3wyuC rBmBgOGCQ8FynT/VlNiukGmkLc60n7OMZ/UR9aD9eR8nvdHX8uQvGax9xdbA06k37c4b QJBQN8wFzUv5ktY9SxggOPSfy9lsbbTiqauDDKzCwXM2awfjl1q9qJi6B5qZFKwwT08k LmMSlfGJz+8ze2AZI0ZCdKjnuUsNCLp6M4TWBnuapJteR9ScXluKP9lOEGsT0bmZlmTn bqUBJ3bZOwBjodk2+D+fm74u2uHtXhr+ubtqaAvp2gKP+qYhE3EKQmn0gEpnMSETxocZ wsFw==
X-Gm-Message-State ABUngvdvq6QMyZ4K+kqSU6ISyH+fbJDsC4ZvtVFAj6gRFJvuBNJ5yzugsHXJ5ST/kVPuwOOj
X-Received by 10.28.52.76 with SMTP id b73mr2827795wma.8.1477923812248; Mon, 31 Oct 2016 07:23:32 -0700 (PDT)
Organization Baylibre
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 21
X-Original-Cc khilman@baylibre.com, carlo@caione.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
X-Original-Date Mon, 31 Oct 2016 15:23:29 +0100
X-Original-Message-ID <e1634bd6-ae3a-b757-4947-7884807457b8@baylibre.com>
X-Original-References <1477060838-14164-1-git-send-email-narmstrong@baylibre.com> <1477060838-14164-9-git-send-email-narmstrong@baylibre.com> <20161021155408.GR16974@lunn.ch> <dc810494-6ece-c4ae-d412-ed9af3fac9c2@baylibre.com> <20161021160807.GT16974@lunn.ch>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1512572

Show key headers only | View raw


On 10/21/2016 06:08 PM, Andrew Lunn wrote:
> Hi Neil
> 
>> Yes this would be a good idea if we were able to scan the internal
>> and external PHYs at the same time, but with our limited knowledge
>> the values we write in the register seems to switch a mux for the
>> whole RMII and MDIO signals to either interface.
> 
> Ah, O.K. So you need something like:
> 
> drivers/net/phy/mdio-mux-mmioreg.c
> 
> This seems to be limited to a single byte for the mux register, so you
> might need to make some extensions.
> 
>       Andrew
> 

Thanks for the hint, I will try to make use of this !

Neil

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection Neil Armstrong <narmstrong@baylibre.com> - 2016-10-31 15:30 +0100

csiph-web