From: Michael Turquette <mturquette@baylibre.com>
To: Tony Lindgren <tony@atomide.com>,
"Stephen Boyd" <sboyd@codeaurora.org>,
"Tero Kristo" <t-kristo@ti.com>
Cc: linux-clk@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
"Brian Hutchinson" <b.hutchman@gmail.com>,
"Delio Brignoli" <dbrignoli@audioscience.com>,
"Neil Armstrong" <narmstrong@baylibre.com>,
"Matthijs van Duin" <matthijsvanduin@gmail.com>,
"Philipp Rosenberger" <ilu@linutronix.de>,
"Russell King - ARM Linux" <linux@arm.linux.org.uk>,
devicetree@vger.kernel.org, "Rob Herring" <robh+dt@kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: clock: adpll: Add binding documentation for TI adpll
Date: Tue, 16 Feb 2016 17:04:40 -0800 [thread overview]
Message-ID: <20160217010440.2278.62327@quark.deferred.io> (raw)
In-Reply-To: <1455312009-808-2-git-send-email-tony@atomide.com>
Hi Tony,
Quoting Tony Lindgren (2016-02-12 13:20:08)
> Let's add binding documentation for the ADPLL found on dm814x
> and dra62x. The binding uses the standard clock binding.
> =
> Cc: devicetree@vger.kernel.org
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Tero Kristo <t-kristo@ti.com>
> Acked-by: Michael Turquette <mturquette@baylibre.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> .../devicetree/bindings/clock/ti/adpll.txt | 43 ++++++++++++++++=
++++++
> 1 file changed, 43 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/ti/adpll.txt
> =
> diff --git a/Documentation/devicetree/bindings/clock/ti/adpll.txt b/Docum=
entation/devicetree/bindings/clock/ti/adpll.txt
> new file mode 100644
> index 0000000..8516bf0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/ti/adpll.txt
> @@ -0,0 +1,43 @@
> +Binding for Texas Instruments ADPLL clock.
> +
> +Binding status: Unstable - ABI compatibility may be broken in the future
> +
> +This binding uses the common clock binding[1]. It assumes a
> +register-mapped ADPLL with two to three selectable input clocks
> +and three to four children.
> +
> +[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
> +
> +Required properties:
> +- compatible : shall be one of "ti,dm814-adpll-s-clock" or
> + "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL
> +- #clock-cells : from common clock binding; shall be set to 0.
Thanks for the patch.
clock-cells =3D 1 in both of the examples below (which looks right).
> +- clocks : link phandles of parent clocks clkinp and clkinpulow, note
> + that the adpll-s-clock also has an optional clkinphif
> +- reg : address and length of the register set for controlling the ADPLL.
> +
> +Examples:
> + adpll_mpu_ck: adpll@40 {
> + #clock-cells =3D <1>;
> + compatible =3D "ti,dm814-adpll-s-clock";
> + reg =3D <0x40 0x40>;
> + clocks =3D <&devosc_ck &devosc_ck &devosc_ck>;
> + clock-names =3D "clkinp", "clkinpulow", "clkinphif";
> + clock-indices =3D <0>, <1>, <2>, <3>;
Why is clock-indices necessary?
Best regards,
Mike
> + clock-output-names =3D "481c5040.adpll.dcoclkldo",
> + "481c5040.adpll.clkout",
> + "481c5040.adpll.clkoutx2",
> + "481c5040.adpll.clkouthif";
> + };
> +
> + adpll_dsp_ck: adpll@80 {
> + #clock-cells =3D <1>;
> + compatible =3D "ti,dm814-adpll-lj-clock";
> + reg =3D <0x80 0x30>;
> + clocks =3D <&devosc_ck &devosc_ck>;
> + clock-names =3D "clkinp", "clkinpulow";
> + clock-indices =3D <0>, <1>, <2>;
> + clock-output-names =3D "481c5080.adpll.dcoclkldo",
> + "481c5080.adpll.clkout",
> + "481c5080.adpll.clkoutldo";
> + };
> -- =
> 2.7.0
>=20
next prev parent reply other threads:[~2016-02-17 1:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 21:20 [PATCHv5 0/2] Clock driver for dm814x and dra62x ADPLL Tony Lindgren
2016-02-12 21:20 ` [PATCH 1/2] dt-bindings: clock: adpll: Add binding documentation for TI adpll Tony Lindgren
2016-02-17 1:04 ` Michael Turquette [this message]
2016-02-17 17:28 ` Tony Lindgren
2016-02-12 21:20 ` [PATCH 2/2] clk: ti: Add support for dm814x ADPLL Tony Lindgren
2016-02-17 1:19 ` Michael Turquette
2016-02-17 17:39 ` Tony Lindgren
2016-02-17 20:52 ` Michael Turquette
2016-02-17 21:20 ` Tony Lindgren
2016-02-17 23:02 ` Michael Turquette
2016-02-23 13:47 ` Matthijs van Duin
2016-02-26 17:35 ` Tony Lindgren
2016-02-29 22:19 ` Michael Turquette
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=20160217010440.2278.62327@quark.deferred.io \
--to=mturquette@baylibre.com \
--cc=b.hutchman@gmail.com \
--cc=dbrignoli@audioscience.com \
--cc=devicetree@vger.kernel.org \
--cc=ilu@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=matthijsvanduin@gmail.com \
--cc=narmstrong@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=t-kristo@ti.com \
--cc=tony@atomide.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;
as well as URLs for NNTP newsgroup(s).