public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: "Chunfeng Yun (云春峰)" <Chunfeng.Yun@mediatek.com>
Cc: "angelogioacchino.delregno@collabora.com"
	<angelogioacchino.delregno@collabora.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mediatek@lists.infradead.org"
	<linux-mediatek@lists.infradead.org>,
	"nathan@kernel.org" <nathan@kernel.org>,
	"kishon@ti.com" <kishon@ti.com>,
	"Eddie Hung (洪正鑫)" <Eddie.Hung@mediatek.com>,
	"Tianping Fang (方天平)" <Tianping.Fang@mediatek.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"vkoul@kernel.org" <vkoul@kernel.org>,
	"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
	"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
	"llvm@lists.linux.dev" <llvm@lists.linux.dev>,
	"trix@redhat.com" <trix@redhat.com>,
	"ndesaulniers@google.com" <ndesaulniers@google.com>
Subject: Re: [PATCH v4 3/3] phy: mediatek: tphy: add debugfs files
Date: Sat, 3 Dec 2022 16:38:44 +0100	[thread overview]
Message-ID: <Y4tthBgulCK3ggBT@lunn.ch> (raw)
In-Reply-To: <5c0cc00a37c4cfa03d91e834fb649d52d4ddb041.camel@mediatek.com>

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

      reply	other threads:[~2022-12-03 15:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-10 13:27 [PATCH v4 1/3] phy: mediatek: fix build warning caused by clang for powerpc Chunfeng Yun
2022-11-10 13:27 ` [PATCH v4 2/3] phy: core: add debugfs root Chunfeng Yun
2022-11-24 17:39   ` Vinod Koul
2022-11-28  7:00     ` Chunfeng Yun (云春峰)
2022-11-10 13:27 ` [PATCH v4 3/3] phy: mediatek: tphy: add debugfs files Chunfeng Yun
2022-11-24 17:47   ` Vinod Koul
2022-11-28  7:26     ` Chunfeng Yun (云春峰)
2022-11-28 14:00       ` Andrew Lunn
2022-12-03 14:53         ` Chunfeng Yun (云春峰)
2022-12-03 15:38           ` Andrew Lunn [this message]

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=Y4tthBgulCK3ggBT@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=Chunfeng.Yun@mediatek.com \
    --cc=Eddie.Hung@mediatek.com \
    --cc=Tianping.Fang@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=llvm@lists.linux.dev \
    --cc=matthias.bgg@gmail.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=trix@redhat.com \
    --cc=vkoul@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox