linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock
@ 2019-08-12 10:02 Wen He
  2019-08-19  9:32 ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Wen He @ 2019-08-12 10:02 UTC (permalink / raw)
  To: Rob Herring, Michael Turquette, Stephen Boyd, Mark Rutland,
	Shawn Guo, devicetree, linux-clk, linux-kernel
  Cc: leoyang.li, liviu.dudau, Wen He

The LS1028A has a clock domain PXLCLK0 used for the Display output
interface in the display core, independent of the system bus frequency,
for flexible clock design. This display core has its own pixel clock.

This patch enable the pixel clock provider on the LS1028A.

Signed-off-by: Wen He <wen.he_1@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 2d31e1c09e74..0c54ba3214af 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -70,11 +70,18 @@
 		clock-output-names = "sysclk";
 	};
 
-	dpclk: clock-dp {
+	osc_27m: clock-osc-27m {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
 		clock-frequency = <27000000>;
-		clock-output-names= "dpclk";
+		clock-output-names = "phy_27m";
+	};
+
+	dpclk: clock-controller@f1f0000 {
+		compatible = "fsl,ls1028a-plldig";
+		reg = <0x0 0xf1f0000 0x0 0xffff>;
+		#clock-cells = <1>;
+		clocks = <&osc_27m>;
 	};
 
 	aclk: clock-axi {
@@ -557,7 +564,7 @@
 		interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 223 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "DE", "SE";
-		clocks = <&dpclk>, <&aclk>, <&aclk>, <&pclk>;
+		clocks = <&dpclk 0>, <&aclk>, <&aclk>, <&pclk>;
 		clock-names = "pxlclk", "mclk", "aclk", "pclk";
 		arm,malidp-output-port-lines = /bits/ 8 <8 8 8>;
 		arm,malidp-arqos-value = <0xd000d000>;
-- 
2.17.1


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

* Re: [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock
  2019-08-12 10:02 [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock Wen He
@ 2019-08-19  9:32 ` Shawn Guo
  2019-08-19  9:52   ` [EXT] " Wen He
  0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2019-08-19  9:32 UTC (permalink / raw)
  To: Wen He
  Cc: Rob Herring, Michael Turquette, Stephen Boyd, Mark Rutland,
	devicetree, linux-clk, linux-kernel, leoyang.li, liviu.dudau

On Mon, Aug 12, 2019 at 06:02:24PM +0800, Wen He wrote:
> The LS1028A has a clock domain PXLCLK0 used for the Display output
> interface in the display core, independent of the system bus frequency,
> for flexible clock design. This display core has its own pixel clock.
> 
> This patch enable the pixel clock provider on the LS1028A.
> 
> Signed-off-by: Wen He <wen.he_1@nxp.com>

Applied, thanks.

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

* RE: [EXT] Re: [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock
  2019-08-19  9:32 ` Shawn Guo
@ 2019-08-19  9:52   ` Wen He
  0 siblings, 0 replies; 3+ messages in thread
From: Wen He @ 2019-08-19  9:52 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Rob Herring, Michael Turquette, Stephen Boyd, Mark Rutland,
	devicetree, linux-clk, linux-kernel, Leo Li, liviu.dudau



> -----Original Message-----
> From: Shawn Guo <shawnguo@kernel.org>
> Sent: 2019年8月19日 17:32
> To: Wen He <wen.he_1@nxp.com>
> Cc: Rob Herring <robh+dt@kernel.org>; Michael Turquette
> <mturquette@baylibre.com>; Stephen Boyd <sboyd@kernel.org>; Mark
> Rutland <mark.rutland@arm.com>; devicetree@vger.kernel.org;
> linux-clk@vger.kernel.org; linux-kernel@vger.kernel.org; Leo Li
> <leoyang.li@nxp.com>; liviu.dudau@arm.com
> Subject: [EXT] Re: [v1 3/3] arm64: dts: ls1028a: Add properties node for
> Display output pixel clock
> 
> 
> On Mon, Aug 12, 2019 at 06:02:24PM +0800, Wen He wrote:
> > The LS1028A has a clock domain PXLCLK0 used for the Display output
> > interface in the display core, independent of the system bus
> > frequency, for flexible clock design. This display core has its own pixel clock.
> >
> > This patch enable the pixel clock provider on the LS1028A.
> >
> > Signed-off-by: Wen He <wen.he_1@nxp.com>
> 
> Applied, thanks.

Thank you for the review, Shawn.

Best Regards,
Wen

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

end of thread, other threads:[~2019-08-19  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 10:02 [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock Wen He
2019-08-19  9:32 ` Shawn Guo
2019-08-19  9:52   ` [EXT] " Wen He

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