All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liang Xu <lxu@maxlinear.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"hkallweit1@gmail.com" <hkallweit1@gmail.com>,
	Hauke Mehrtens <hmehrtens@maxlinear.com>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Thomas Mohren <tmohren@maxlinear.com>,
	"vee.khee.wong@linux.intel.com" <vee.khee.wong@linux.intel.com>
Subject: Re: [PATCH v3] net: phy: add Maxlinear GPY115/21x/24x driver
Date: Mon, 7 Jun 2021 04:37:24 +0000	[thread overview]
Message-ID: <9ecb75b8-c4d8-1769-58f4-1082b8f53e05@maxlinear.com> (raw)
In-Reply-To: <YLuzX5EYfGNaosHT@lunn.ch>

On 6/6/2021 1:24 am, Andrew Lunn wrote:
> This email was sent from outside of MaxLinear.
>
>
> On Sat, Jun 05, 2021 at 03:32:39AM +0000, Liang Xu wrote:
>> On 5/6/2021 3:44 am, Martin Blumenstingl wrote:
>>> This email was sent from outside of MaxLinear.
>>>
>>>
>>> Hello,
>>>
>>>> Add driver to support the Maxlinear GPY115, GPY211, GPY212, GPY215,
>>>> GPY241, GPY245 PHYs.
>>> to me this seems like an evolution of the Lantiq XWAY PHYs for which
>>> we already have a driver: intel-xway.c.
>>> Intel took over Lantiq some years ago and last year MaxLinear then
>>> took over what was formerly Lantiq from Intel.
>>>
>>>   From what I can tell right away: the interrupt handling still seems
>>> to be the same. Also the GPHY firmware version register also was there
>>> on older SoCs (with two or more GPHYs embedded into the SoC). SGMII
>>> support is new. And I am not sure about Wake-on-LAN.
>>>
>>> Have you considered adding support for these new PHYs to intel-xway.c?
> The WOL interrupts are the same, which could imply WoL configuration
> is the same? If it is the same, it would be good to also add WoL to
> intel-xway.c.
>
> What this new driver does not yet do is LEDs. It would be interesting
> to see if the LED control is the same. Hopefully, one day, generic LED
> support will get added. If this PHY and intel-xway.c has the same LED
> code, we will want to share it.
>
>> They are based on different IP and have many differences.
> Please could you list the differences? Is the datasheet available?  I
> found a datasheet for the XWAY, so it would be nice to be able to
> compare them.
>
>> The XWAY PHYs are going to EoL (or maybe already EoL).
> That does not matter. They are going to be in use for the next 5 years
> or more, until all the products using them have died or been
> replaced. Linux supports hardware that is in use, not just what
> vendors sell today.
>
>> It creates difficulty for the test coverage to put together.
> That also does not really matter. If somebody has both, does the work
> to merge the drivers and overall we have less code and more features,
> the patch will be accepted.
>
>
>          Andrew
>
>
The datasheet of GPY2xx are only available under NDA currently, since we 
have

to protect our IP for the new devices.

I do not know much about XWAY feature set, but I guess the difference should

be 2.5G support, C45 register set, PTP offload, MACsec offload, etc.

Problem of merging the both drivers would be the verification of the old 
devices

for which I do not have a test environment. I can't deliver code without 
testing,

and it will be big problem for me if it breaks function of existing 
user/customer.

We will check for options and need approval from company, but this will 
not be

possible short term within this merge window.

For now, can I upstream this new driver first, and merge the old driver 
into new one later?

We will enhance the new driver step by step with different features, but 
currently

we would like to make the first version available and working for our 
customers.


Thanks & Regards,

Xu Liang


  reply	other threads:[~2021-06-07  4:37 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-04 16:12 [PATCH v3] net: phy: add Maxlinear GPY115/21x/24x driver Xu Liang
2021-06-04 16:24 ` Florian Fainelli
2021-06-04 18:24   ` Liang Xu
2021-06-04 20:10     ` Andrew Lunn
2021-06-05  3:35       ` Liang Xu
2021-06-05 14:51         ` Andrew Lunn
2021-06-07  4:06           ` Liang Xu
2021-06-18  9:17             ` Liang Xu
2021-06-18 14:01               ` Andrew Lunn
2021-06-18 15:36                 ` Liang Xu
2021-06-21  2:30                   ` Andrew Lunn
2021-06-21  5:05                     ` Liang Xu
2021-06-21 12:48                       ` Andrew Lunn
2021-06-21 13:07                         ` Liang Xu
2021-06-04 18:37   ` Liang Xu
2021-06-04 19:44 ` Martin Blumenstingl
2021-06-05  3:32   ` Liang Xu
2021-06-05 17:24     ` Andrew Lunn
2021-06-07  4:37       ` Liang Xu [this message]
2021-06-07 20:28         ` Martin Blumenstingl
     [not found]           ` <MWHPR19MB0077D01E4EAFA9FE521D83ECBD0D9@MWHPR19MB0077.namprd19.prod.outlook.com>
     [not found]             ` <766ab274-25ff-c9a2-1ed6-fe2aa44b4660@maxlinear.com>
2021-06-23 21:09               ` Martin Blumenstingl
2021-06-24  1:06                 ` Andrew Lunn
2021-06-22  4:21 Ismail, Mohammad Athari
2021-06-22 13:16 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ecb75b8-c4d8-1769-58f4-1082b8f53e05@maxlinear.com \
    --to=lxu@maxlinear.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=hkallweit1@gmail.com \
    --cc=hmehrtens@maxlinear.com \
    --cc=kuba@kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=netdev@vger.kernel.org \
    --cc=tmohren@maxlinear.com \
    --cc=vee.khee.wong@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.