Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1223829

Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk

From Harini Katakam <harinikatakamlinux@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk
Date 2015-09-14 06:10 +0200
Message-ID <q8tfz-3oy-11@gated-at.bofh.it> (permalink)
References <q8tfz-3oy-13@gated-at.bofh.it> <q8tfz-3oy-15@gated-at.bofh.it> <q8tfz-3oy-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Sep 11, 2015 at 10:22 PM, Sören Brinkmann
<soren.brinkmann@xilinx.com> wrote:
> Hi Harini,
>
> On Fri, 2015-09-11 at 01:27PM +0530, Harini Katakam wrote:
>> Add TSU clock frequency to be used for 1588 support in macb driver.
>>
>> Signed-off-by: Harini Katakam <harinik@xilinx.com>
>> ---
>>  Documentation/devicetree/bindings/net/macb.txt |    3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt
>> index b5d7976..f7c0ea8 100644
>> --- a/Documentation/devicetree/bindings/net/macb.txt
>> +++ b/Documentation/devicetree/bindings/net/macb.txt
>> @@ -19,6 +19,9 @@ Required properties:
>>       Optional elements: 'tx_clk'
>>  - clocks: Phandles to input clocks.
>>
>> +Optional properties:
>> +- tsu-clk: Time stamp unit clock frequency used.
>
> Why are we not using the CCF and a clk_get_rate() in the driver?
>

If the clock source was only internal, we could use this
approach as usual. But TSU clock can be configured to
come from an external clock source or internal.

Regards,
Harini
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk Harini Katakam <harinikatakamlinux@gmail.com> - 2015-09-14 06:10 +0200
  Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-09-14 10:00 +0200
    Re: [RFC PATCH 3/3] devicetree: macb: Add optional property tsu-clk Harini Katakam <harinikatakamlinux@gmail.com> - 2015-09-14 19:40 +0200

csiph-web