[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f652fee7-80ab-5d85-0e83-a8d82aa67848@gmail.com>
Date: Thu, 3 Jan 2019 18:57:49 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Marek Vasut <marex@...x.de>,
Heiner Kallweit <hkallweit1@...il.com>, netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCH V3] net: phy: tja11xx: Add TJA11xx PHY driver
On 1/3/2019 6:53 PM, Marek Vasut wrote:
> On 1/4/19 3:19 AM, Marek Vasut wrote:
>
> [...]
>
> On a separate note, I was pondering about the master/slave mode of the
> TJA11xx PHY. Right now, the driver only operates in Automatic mode,
> however the PHY can be force-configured as either master or slave.
> Would using .set_tunable with a new tunable type be a good way to expose
> this to userspace ? The ethtool can then configure the PHY mode.
Using an ethtool u8 tunable would be fine, with something like:
0 -> automatic
1 -> force master
2 -> force slave
--
Florian
Powered by blists - more mailing lists