From: Richard Cochran <richardcochran@gmail.com>
To: Rob Herring <robh@kernel.org>
Cc: Sarath Babu Naidu Gaddam <sarath.babu.naidu.gaddam@amd.com>,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, krzysztof.kozlowski+dt@linaro.org,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, yangbo.lu@nxp.com,
radhey.shyam.pandey@amd.com, anirudha.sarangi@amd.com,
harini.katakam@amd.com, git@amd.com
Subject: Re: [PATCH net-next V2] dt-bindings: net: ethernet-controller: Add ptp-hardware-clock
Date: Tue, 25 Oct 2022 15:27:49 -0700 [thread overview]
Message-ID: <Y1hi5YHS/ATx79JJ@hoboy.vegasvil.org> (raw)
In-Reply-To: <20221024165723.GA1896281-robh@kernel.org>
On Mon, Oct 24, 2022 at 11:57:23AM -0500, Rob Herring wrote:
> On Thu, Oct 20, 2022 at 11:41:10PM -0600, Sarath Babu Naidu Gaddam wrote:
> > There is currently no standard property to pass PTP device index
> > information to ethernet driver when they are independent.
> >
> > ptp-hardware-clock property will contain phandle to PTP clock node.
> >
> > Freescale driver currently has this implementation but it will be
> > good to agree on a generic (optional) property name to link to PTP
> > phandle to Ethernet node. In future or any current ethernet driver
> > wants to use this method of reading the PHC index,they can simply use
> > this generic name and point their own PTP clock node, instead of
> > creating separate property names in each ethernet driver DT node.
>
> Seems like this does the same thing as
> Documentation/devicetree/bindings/ptp/timestamper.txt.
>
> Or perhaps what we have in bindings/timestamp/ which unfortunately does
> about the same thing.
>
> The latter one is more flexible and follows standard provider/consumer
> patterns. So timestamper.txt should probably be deprecated.
I don't see how you can do that. The provider/consumer semantics are
completely opposite.
The three (including present patch) bindings specify three different
relationships.
Thanks,
Richard
prev parent reply other threads:[~2022-10-25 22:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 5:41 Sarath Babu Naidu Gaddam
2022-10-21 12:50 ` Richard Cochran
2022-10-23 15:41 ` Krzysztof Kozlowski
2022-11-10 9:57 ` Gaddam, Sarath Babu Naidu
2022-11-10 14:05 ` Krzysztof Kozlowski
2023-01-19 10:53 ` Gaddam, Sarath Babu Naidu
2022-10-24 16:57 ` Rob Herring
2022-10-25 21:46 ` Richard Cochran
2022-10-25 22:02 ` Richard Cochran
2022-10-25 22:27 ` Richard Cochran [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=Y1hi5YHS/ATx79JJ@hoboy.vegasvil.org \
--to=richardcochran@gmail.com \
--cc=anirudha.sarangi@amd.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=git@amd.com \
--cc=harini.katakam@amd.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=robh@kernel.org \
--cc=sarath.babu.naidu.gaddam@amd.com \
--cc=yangbo.lu@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®