From: Conor Dooley <conor@kernel.org>
To: "Chunfeng Yun (云春峰)" <Chunfeng.Yun@mediatek.com>
Cc: "linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"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>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"linux-phy@lists.infradead.org" <linux-phy@lists.infradead.org>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>
Subject: Re: [RESEND PATCH 1/2] dt-bindings: phy: mediatek,xsphy: add property to set disconnect threshold
Date: Tue, 11 Feb 2025 18:30:28 +0000 [thread overview]
Message-ID: <20250211-destiny-crablike-ab17a2814b7a@spud> (raw)
In-Reply-To: <e61b61574bd58c1bbc0648257fb4ab23ed582de0.camel@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
On Sun, Feb 09, 2025 at 03:34:12AM +0000, Chunfeng Yun (云春峰) wrote:
> On Mon, 2025-01-13 at 18:30 +0000, Conor Dooley wrote:
> > On Sat, Jan 11, 2025 at 10:15:41PM +0800, Chunfeng Yun wrote:
> > > Add a property to tune usb2 phy's disconnect threshold.
> > > And add a compatible for mt8196.
> > >
> > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> > > ---
> > > based on kernel 6.13-rc1
> > >
> > > this property is porting from t-phy driver, due to the u2 phy are
> > > similar.
> > > ---
> > > Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml | 8
> > > ++++++++
> > > 1 file changed, 8 insertions(+)
> > >
> > > diff --git
> > > a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > index a9e3139fd421..2e012d5e1da1 100644
> > > --- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > +++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml
> > > @@ -49,6 +49,7 @@ properties:
> > > - enum:
> > > - mediatek,mt3611-xsphy
> > > - mediatek,mt3612-xsphy
> > > + - mediatek,mt8196-xsphy
> > > - const: mediatek,xsphy
> > >
> > > reg:
> > > @@ -129,6 +130,13 @@ patternProperties:
> > > minimum: 1
> > > maximum: 7
> > >
> > > + mediatek,discth:
Just make it "disconnect-threshold" please.
> > > + description:
> > > + The selection of disconnect threshold (U2 phy)
> > > + $ref: /schemas/types.yaml#/definitions/uint32
> > > + minimum: 1
> > > + maximum: 15
> >
> > What unit is this? Unitless? How are the values determined?
> No unit, it's a level, may be treat it as an index to select different
> threshold.
So this is a register value of some sort? What is the actual threshold
measured in?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-02-11 18:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-11 14:15 [RESEND PATCH 1/2] dt-bindings: phy: mediatek,xsphy: add property to set disconnect threshold Chunfeng Yun
2025-01-11 14:15 ` [RESEND PATCH 2/2] phy: mediatek: xsphy: add support " Chunfeng Yun
2025-01-13 12:43 ` AngeloGioacchino Del Regno
2025-01-13 12:43 ` [RESEND PATCH 1/2] dt-bindings: phy: mediatek,xsphy: add property " AngeloGioacchino Del Regno
2025-01-13 18:30 ` Conor Dooley
2025-02-09 3:34 ` Chunfeng Yun (云春峰)
2025-02-11 18:30 ` Conor Dooley [this message]
2025-02-22 8:30 ` Chunfeng Yun (云春峰)
2025-02-24 18:50 ` Conor Dooley
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=20250211-destiny-crablike-ab17a2814b7a@spud \
--to=conor@kernel.org \
--cc=Chunfeng.Yun@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--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=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
--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