[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y4tthBgulCK3ggBT@lunn.ch>
Date: Sat, 3 Dec 2022 16:38:44 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Chunfeng Yun (云春峰)
<Chunfeng.Yun@...iatek.com>
Cc: "angelogioacchino.delregno@...labora.com"
<angelogioacchino.delregno@...labora.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
"nathan@...nel.org" <nathan@...nel.org>,
"kishon@...com" <kishon@...com>,
Eddie Hung (洪正鑫)
<Eddie.Hung@...iatek.com>,
Tianping Fang (方天平)
<Tianping.Fang@...iatek.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"vkoul@...nel.org" <vkoul@...nel.org>,
"matthias.bgg@...il.com" <matthias.bgg@...il.com>,
"linux-phy@...ts.infradead.org" <linux-phy@...ts.infradead.org>,
"llvm@...ts.linux.dev" <llvm@...ts.linux.dev>,
"trix@...hat.com" <trix@...hat.com>,
"ndesaulniers@...gle.com" <ndesaulniers@...gle.com>
Subject: Re: [PATCH v4 3/3] phy: mediatek: tphy: add debugfs files
On Sat, Dec 03, 2022 at 02:53:19PM +0000, Chunfeng Yun (云春峰) wrote:
> On Mon, 2022-11-28 at 15:00 +0100, Andrew Lunn wrote:
> > On Mon, Nov 28, 2022 at 07:26:02AM +0000, Chunfeng Yun (云春峰) wrote:
> > > On Thu, 2022-11-24 at 23:17 +0530, Vinod Koul wrote:
> > > > On 10-11-22, 21:27, Chunfeng Yun wrote:
> > > > > These debugfs files are mainly used to make eye diagram test
> > > > > easier,
> > > > > especially helpful to do HQA test for a new IC without efuse
> > > > > enabled.
> >
> > Exporting data for eye diagrams seems like something many PHYs could
> > use. Please consider adding an official uniform API which any PHY
> > could use, so we don't end up with lots of incompatible formats in
> > debugfs.
> Good idea, but it seems difficult to do it due to the settings of phy
> controllers are not common.
Do you have clear documentation about the values are exporting? Do you
have a documented procedure for the tests?
We need to collect together documentation from multiple vendors and
see what is common. Maybe nothing is common, maybe a lot is in common.
We won't know until we actually compare them.
I implemented cable testing for Ethernet PHYs. They are all different,
but actual give very similar results, so can have one common
description. How many different ways is there to make eye diagram
tests?
Andrew
Powered by blists - more mailing lists