All of lore.kernel.org
 help / color / mirror / Atom feed
* [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux
@ 2015-04-14 10:56 ` Igal.Liberman
  0 siblings, 0 replies; 26+ messages in thread
From: Igal.Liberman @ 2015-04-14 10:56 UTC (permalink / raw)
  To: devicetree, linuxppc-dev; +Cc: scottwood, Igal Liberman

From: Igal Liberman <Igal.Liberman@freescale.com>

v3: Addressed feedback from Scott:
	- Removed clock specifier description.

v2: Addressed feedback from Scott:
	- Moved the "fman-clk-mux" clock provider details
	  under "clocks" property.

Signed-off-by: Igal Liberman <Igal.Liberman@freescale.com>
---
 .../devicetree/bindings/clock/qoriq-clock.txt      |   17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock.txt b/Documentation/devicetree/bindings/clock/qoriq-clock.txt
index b0d7b73..2bb3b38 100644
--- a/Documentation/devicetree/bindings/clock/qoriq-clock.txt
+++ b/Documentation/devicetree/bindings/clock/qoriq-clock.txt
@@ -65,9 +65,10 @@ Required properties:
 		It takes parent's clock-frequency as its clock.
 	* "fsl,qoriq-platform-pll-1.0" for the platform PLL clock (v1.0)
 	* "fsl,qoriq-platform-pll-2.0" for the platform PLL clock (v2.0)
+	* "fsl,fman-clk-mux" for the Frame Manager clock.
 - #clock-cells: From common clock binding. The number of cells in a
-	clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0"
-	clocks, or <1> for "fsl,qoriq-core-pll-[1,2].0" clocks.
+	clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0" and
+	"fsl,fman-clk-mux" clocks or <1> for "fsl,qoriq-core-pll-[1,2].0".
 	For "fsl,qoriq-core-pll-1.0" clocks, the single
 	clock-specifier cell may take the following values:
 	* 0 - equal to the PLL frequency
@@ -145,6 +146,18 @@ Example for clock block and clock provider:
 			clocks = <&sysclk>;
 			clock-output-names = "platform-pll", "platform-pll-div2";
 		};
+
+		fm0clk: fm0-clk-mux {
+			#clock-cells = <0>;
+			reg = <0x10 4>
+			compatible = "fsl,fman-clk-mux";
+			clocks = <&pll0 0>, <&pll0 1>, <&pll0 2>, <&pll0 3>,
+				 <&platform_pll 0>, <&pll1 1>, <&pll1 2>;
+			clock-names = "pll0", "pll0-div2", "pll0-div3",
+				      "pll0-div4", "platform-pll", "pll1-div2",
+				      "pll1-div3";
+			clock-output-names = "fm0-clk";
+		};
 	};
 };
 
-- 
1.7.9.5

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

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

end of thread, other threads:[~2015-05-05 21:16 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14 10:56 [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux Igal.Liberman
2015-04-14 10:56 ` Igal.Liberman
2015-04-15 17:35 ` Scott Wood
2015-04-15 17:35   ` Scott Wood
     [not found]   ` <1429119357.22867.724.camel-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-04-16  6:11     ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-04-16  6:11       ` Igal.Liberman
     [not found]       ` <DM2PR03MB38330DBBFFD1BC45D58F447E6E40-ufbTtyGzTTRJonC5hhDUuuO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-04-17  5:41         ` Scott Wood
2015-04-17  5:41           ` Scott Wood
     [not found]           ` <1429249281.32545.52.camel-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-04-20 11:07             ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-04-20 11:07               ` Igal.Liberman
2015-04-20 11:40           ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-04-20 11:40             ` Igal.Liberman
     [not found]             ` <DM2PR03MB383E5F67C358CCE2E38EA71E6E00-ufbTtyGzTTRJonC5hhDUuuO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-04-21  0:51               ` Scott Wood
2015-04-21  0:51                 ` Scott Wood
     [not found]                 ` <1429577504.4352.67.camel-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-04-22 10:47                   ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-04-22 10:47                     ` Igal.Liberman
     [not found]                     ` <DM2PR03MB383C35FA5959662DD48D00BE6EE0-ufbTtyGzTTRJonC5hhDUuuO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-04-30  0:30                       ` Scott Wood
2015-04-30  0:30                         ` Scott Wood
     [not found]                         ` <1430353832.16357.138.camel-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-04-30 14:28                           ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-04-30 14:28                             ` Igal.Liberman
     [not found]                             ` <DM2PR03MB3839C9D3FDFD7978C1A3497E6D60-ufbTtyGzTTRJonC5hhDUuuO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-05-01 23:42                               ` Scott Wood
2015-05-01 23:42                                 ` Scott Wood
     [not found]                                 ` <1430523775.16357.177.camel-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-05-05 21:02                                   ` Igal.Liberman-KZfg59tc24xl57MIdRCFDg
2015-05-05 21:02                                     ` Igal.Liberman
     [not found]                                     ` <BY2PR03MB3794413FB3FF795DF520D23E6D10-+7O3WWA3DPtn35zppGJRk+O6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-05-05 21:16                                       ` Scott Wood
2015-05-05 21:16                                         ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.