The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Arun Parameswaran <arun.parameswaran@broadcom.com>
To: Ray Jui <ray.jui@broadcom.com>,
	Richard Cochran <richardcochran@gmail.com>
Cc: Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com
Subject: Re: [PATCH v1 1/2] dt-binding: ptp: add bindings document for dte based ptp clock
Date: Wed, 14 Jun 2017 11:39:17 -0700	[thread overview]
Message-ID: <d23bbbcc-9f3f-d664-fd83-58414925f566@broadcom.com> (raw)
In-Reply-To: <a4586d75-2aca-94f3-ab7a-fc94c9dc5a4a@broadcom.com>



On 17-06-14 11:18 AM, Ray Jui wrote:
> 
> 
> On 6/13/17 10:46 AM, Arun Parameswaran wrote:
>>
>> Hi Richard,
>>
>> On 17-06-12 10:09 PM, Richard Cochran wrote:
>>> On Mon, Jun 12, 2017 at 01:26:00PM -0700, Arun Parameswaran wrote:
>>>> +Example:
>>>> +
>>>> +ptp_dte: ptp_dte@180af650 {
>>>> +	compatible = "brcm,ptp-dte";
>>>> +	reg = <0x180af650 0x10>;
>>>> +	status = "okay";
>>>> +};
>>> This patch set looks okay, as far as it goes, but how does one
>>> actually use the clock?
>>>
>>> How does one connect this node to an Ethernet MAC, for example?
>> In some of the SoC's, the DTE's NCO is synced in hardware with the Ethernet's
>> 1588 Shim NCO (used for time-stamping the packets). We are working on getting
>> all the future SoC's synced this way (for Ethernet).
>>
> 
> So apparently you do not need any phandle based DT binding defined for
> the connection between the Ethernet device node and the PTP device node?
> 
Correct. This driver doesn't need any phandle.

The Ethernet driver, in SoC's where the hardware link is not available,
might need the phandle to this driver.

>> In other scenarios, we use an user-space app to perform the sync based on
>> time-stamps from external hardware sources like the Wi-Fi.
>>> Thanks,
>>> Richard
>>

  parent reply	other threads:[~2017-06-14 18:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 20:25 [PATCH v1 0/2] Add support for Broadcom DTE based PTP clock Arun Parameswaran
2017-06-12 20:26 ` [PATCH v1 1/2] dt-binding: ptp: add bindings document for dte based ptp clock Arun Parameswaran
2017-06-13  5:09   ` Richard Cochran
2017-06-13 17:46     ` Arun Parameswaran
2017-06-14 18:18       ` Ray Jui
2017-06-14 18:33         ` Arun Parameswaran
2017-06-14 18:39         ` Arun Parameswaran [this message]
2017-06-18 14:04   ` Rob Herring
2017-06-19 16:50     ` Arun Parameswaran
2017-06-20 20:48     ` Scott Branden
2017-06-22  3:19       ` Rob Herring
2017-06-23  0:42         ` Scott Branden
2017-06-23  1:04           ` Florian Fainelli
2017-06-27  5:10             ` Scott Branden
2017-06-29 22:40               ` Rob Herring
2017-06-30  1:05                 ` Scott Branden
2017-06-12 20:26 ` [PATCH v1 2/2] ptp: Add a ptp clock driver for Broadcom DTE Arun Parameswaran
2017-06-15 16:07 ` [PATCH v1 0/2] Add support for Broadcom DTE based PTP clock David Miller

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=d23bbbcc-9f3f-d664-fd83-58414925f566@broadcom.com \
    --to=arun.parameswaran@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=netdev@vger.kernel.org \
    --cc=ray.jui@broadcom.com \
    --cc=richardcochran@gmail.com \
    --cc=robh+dt@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