devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: qoriq-clock: Add coreclk
@ 2017-02-15  5:47 yuantian.tang
  2017-02-15  5:47 ` [PATCH 2/2] clk: qoriq: Separate root input clock for core PLLs on ls1012a yuantian.tang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: yuantian.tang @ 2017-02-15  5:47 UTC (permalink / raw)
  To: mturquette
  Cc: sboyd, robh+dt, mark.rutland, linux-clk, devicetree, linux-kernel,
	linux-arm-kernel, Tang Yuantian, Scott Wood, Tang Yuantian

From: Tang Yuantian <Yuantian.Tang@nxp.com>

ls1012a has separate input root clocks for core PLLs versus the platform
PLL, with the latter described as sysclk in the hw docs.
Update the qoriq-clock binding to allow a second input clock, named
"coreclk".  If present, this clock will be used for the core PLLs.

Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
---
 Documentation/devicetree/bindings/clock/qoriq-clock.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock.txt b/Documentation/devicetree/bindings/clock/qoriq-clock.txt
index df9cb5a..97a9666 100644
--- a/Documentation/devicetree/bindings/clock/qoriq-clock.txt
+++ b/Documentation/devicetree/bindings/clock/qoriq-clock.txt
@@ -55,6 +55,11 @@ Optional properties:
 - clocks: If clock-frequency is not specified, sysclk may be provided
 	as an input clock.  Either clock-frequency or clocks must be
 	provided.
+	A second input clock, called "coreclk", may be provided if
+	core PLLs are based on a different input clock from the
+	platform PLL.
+- clock-names: Required if a coreclk is present.  Valid names are
+	"sysclk" and "coreclk".
 
 2. Clock Provider
 
@@ -71,6 +76,7 @@ second cell is the clock index for the specified type.
 	2	hwaccel		index (n in CLKCGnHWACSR)
 	3	fman		0 for fm1, 1 for fm2
 	4	platform pll	0=pll, 1=pll/2, 2=pll/3, 3=pll/4
+	5	coreclk		must be 0
 
 3. Example
 
-- 
2.1.0.27.g96db324


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-07-24  1:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15  5:47 [PATCH 1/2] dt-bindings: qoriq-clock: Add coreclk yuantian.tang
2017-02-15  5:47 ` [PATCH 2/2] clk: qoriq: Separate root input clock for core PLLs on ls1012a yuantian.tang
     [not found]   ` <1487137656-4006-2-git-send-email-yuantian.tang-3arQi8VN3Tc@public.gmane.org>
2017-02-15 18:36     ` Scott Wood
2017-02-16  2:21       ` Y.T. Tang
2017-02-27  2:19 ` [PATCH 1/2] dt-bindings: qoriq-clock: Add coreclk Y.T. Tang
2017-02-27 17:18 ` Rob Herring
2017-03-01  1:45   ` Y.T. Tang
2017-03-01 23:17     ` Rob Herring
2017-03-09  8:46   ` Y.T. Tang
     [not found]     ` <DB6PR0402MB2837EB5F759C39616BF8A904F3210-2mNvjAGDOPlOuRXvvz5UoY3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-07-21 22:03       ` sboyd-sgV2jX0FEOL9JmXXK+q4OQ
2017-07-24  1:20         ` Andy Tang

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).