From: Dinh Nguyen <dinguyen@kernel.org>
To: Stephen Boyd <sboyd@kernel.org>, linux-clk@vger.kernel.org
Cc: mark.rutland@arm.com, devicetree@vger.kernel.org,
mturquette@baylibre.com, robh+dt@kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv6 1/3] dt-bindings: documentation: add clock bindings information for Stratix10
Date: Tue, 20 Mar 2018 23:10:04 -0500 [thread overview]
Message-ID: <1b10d9b1-3b2a-9c62-4817-e925fbd3bb77@kernel.org> (raw)
In-Reply-To: <152148291051.242365.11482305337775703728@swboyd.mtv.corp.google.com>
On 03/19/2018 01:08 PM, Stephen Boyd wrote:
> Quoting Dinh Nguyen (2018-02-26 06:47:33)
>> diff --git a/Documentation/devicetree/bindings/clock/intc_stratix10.txt b/Documentation/devicetree/bindings/clock/intc_stratix10.txt
>> new file mode 100644
>> index 0000000..0652ff1
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/clock/intc_stratix10.txt
>> @@ -0,0 +1,51 @@
>> +Device Tree Clock bindings for Intel's SoCFPGA Stratix10 platform
>> +
>> +This binding uses the common clock binding[1].
>> +
>> +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
>> +
>> +Required properties:
>> +- compatible : shall be
>> + "intel,stratix10-clkmgr"
>> +
>> +- reg : shall be the control register offset from CLOCK_MANAGER's base for the clock.
>> +
>> +- #clock-cells : from common clock binding, shall be set to 1.
>> +
>> +- clocks : Should contain fixed-clock sources, such as oscillators.
>> +
>> +Example:
>> + clkmgr: clock-controller@ffd10000 {
>> + compatible = "intel,stratix10-clkmgr";
>> + reg = <0xffd10000 0x1000>;
>> + #clock-cells = <1>;
>> +
>> + clocks {
>
> Why do we need a subnode for clocks inside of a clock controller node?
>
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk {
>> + #clock-cells = <0>;
>> + compatible = "fixed-clock";
>> + clock-frequency = <25000000>;
>
> What is this for? I would think oscillators go into the root of the DT
> because they're on the board, not inside the clock controller.
>
Thanks for the review! I'll move the PLLs into the root of the DT.
Dinh
prev parent reply other threads:[~2018-03-21 4:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-26 14:47 [PATCHv6 1/3] dt-bindings: documentation: add clock bindings information for Stratix10 Dinh Nguyen
2018-02-26 14:47 ` [PATCHv6 2/3] arm64: dts: stratix10: use clock bindings for the Stratix10 platform Dinh Nguyen
2018-02-26 14:47 ` [PATCHv6 3/3] clk: socfpga: stratix10: add clock driver for " Dinh Nguyen
2018-03-05 15:16 ` Dinh Nguyen
2018-03-12 14:38 ` Dinh Nguyen
2018-03-19 18:17 ` Stephen Boyd
2018-03-21 4:09 ` Dinh Nguyen
2018-03-19 18:08 ` [PATCHv6 1/3] dt-bindings: documentation: add clock bindings information for Stratix10 Stephen Boyd
2018-03-21 4:10 ` Dinh Nguyen [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=1b10d9b1-3b2a-9c62-4817-e925fbd3bb77@kernel.org \
--to=dinguyen@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@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;
as well as URLs for NNTP newsgroup(s).