Skip to contentSkip to conversation

ARM: dts: Fix OMAP3 ISP functional clock configuration

PATCH New Laurent Pinchart 4 participants 9 messages Apr 21, 2014 – May 19, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

PATCH 1/2 ARM: dts: use ti, fixed-factor-clock for dpll4_m5x2_mul_ck

We need to use set-rate-parent for dpll4_m5 clock path, so use the ti,fixed-factor-clock version which supports set-rate-parent property.

The set-rate-parent flag itself is set in the following patch, this one just changes the clock driver to ti,fixed-factor-clock without any other changes.

---
 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/omap36xx-clocks.dtsi +1 -1
index 6b5280d..200ae3a 100644
@@ -83,7 +83,7 @@
 };
 
 &dpll4_m5x2_mul_ck {
-	clock-mult = <1>;
+	ti,clock-mult = <1>;
 };
 
 &dpll4_m6x2_mul_ck {
arch/arm/boot/dts/omap3xxx-clocks.dtsi +3 -3
index 12be2b3..351f58b 100644
@@ -453,10 +453,10 @@
 
 	dpll4_m5x2_mul_ck: dpll4_m5x2_mul_ck {
 		#clock-cells = <0>;
-		compatible = "fixed-factor-clock";
+		compatible = "ti,fixed-factor-clock";
 		clocks = <&dpll4_m5_ck>;
-		clock-mult = <2>;
-		clock-div = <1>;
+		ti,clock-mult = <2>;
+		ti,clock-div = <1>;
 	};
 
 	dpll4_m5x2_ck: dpll4_m5x2_ck {
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 2/2 ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

In reply to Laurent Pinchart

Set 'ti,set-rate-parent' property for the dpll4_m5x2_mul_ck clock, which is used for the ISP functional clock. This fixes the OMAP3 ISP driver's clock rate configuration, which needs the rate to be propagated properly to the divider node (dpll4_m5_ck).

---
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap3xxx-clocks.dtsi +1 -0
index 351f58b..e47ff69 100644
@@ -457,6 +457,7 @@
 		clocks = <&dpll4_m5_ck>;
 		ti,clock-mult = <2>;
 		ti,clock-div = <1>;
+		ti,set-rate-parent;
 	};
 
 	dpll4_m5x2_ck: dpll4_m5x2_ck {
Signature · 1 line
1.8.3.2
#3 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

In reply to Laurent Pinchart
Quoted 7 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Quoted 8 lines

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

These look fine to me.

Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140508/209bba74/attachment.sig>

#4 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Quoted 12 lines · On Thursday 08 May 2014 13:57:15 Tomi Valkeinen wrote:
Quoted 11 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

Quoted 7 lines
Quoted 3 lines
 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

These look fine to me.

Thank you.

Tony, could you please pick the patches up for v3.16 ?

Signature · 10 lines
Regards,

Laurent Pinchart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140513/642baaf5/attachment.sig>
#5 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Quoted 17 lines · Laurent Pinchart
Quoted 16 lines · On Thursday 08 May 2014 13:57:15 Tomi Valkeinen wrote:
Quoted 14 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Quoted 7 lines
Quoted 3 lines

These look fine to me.

Thank you.

Tony, could you please pick the patches up for v3.16 ?

I'd like to see acks from Tero on these two, or Tero queue them along with other clock dts clock changes.

Regards,

Tony

#6 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Quoted 20 lines · On Monday 12 May 2014 18:06:10 Tony Lindgren wrote:
Quoted 19 lines · Laurent Pinchart
Quoted 18 lines · On Thursday 08 May 2014 13:57:15 Tomi Valkeinen wrote:
Quoted 7 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Quoted 7 lines

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

 arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
 arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

These look fine to me.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Thank you.

Tony, could you please pick the patches up for v3.16 ?

I'd like to see acks from Tero on these two, or Tero queue them along with other clock dts clock changes.

I'm fine with Tero queuing the patches in his tree. Tero, could they go in v3.16 ?

Signature · 3 lines
Regards,

Laurent Pinchart
#7 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Quoted 25 lines · Laurent Pinchart
Quoted 24 lines · On Monday 12 May 2014 18:06:10 Tony Lindgren wrote:
Quoted 23 lines · Laurent Pinchart
Quoted 12 lines · On Thursday 08 May 2014 13:57:15 Tomi Valkeinen wrote:
Quoted 11 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

Quoted 7 lines
Quoted 3 lines
  arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
  arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)

These look fine to me.

Thank you.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Tony, could you please pick the patches up for v3.16 ?

I'd like to see acks from Tero on these two, or Tero queue them along with other clock dts clock changes.

I'm fine with Tero queuing the patches in his tree. Tero, could they go in v3.16 ?

Yeah, am fine with these, I'll queue these in my branch once I have those setup.

-Tero

#8 lore raw

cover ARM: dts: Fix OMAP3 ISP functional clock configuration

Quoted 31 lines · Tero Kristo
Quoted 30 lines · Laurent Pinchart
Quoted 28 lines · On Monday 12 May 2014 18:06:10 Tony Lindgren wrote:
Quoted 17 lines · Laurent Pinchart
Quoted 16 lines · On Thursday 08 May 2014 13:57:15 Tomi Valkeinen wrote:
Quoted 14 lines · Laurent Pinchart

Hello,

This patch set enables rate propagation from the OMAP3 ISP functional clock to the DPLL4 M5 clock. It copies Tomi Valkeinen's similar patch set for the OMAP DSS functional clock from the "OMAP: OMAP3 DSS related clock patches" patch series.

Laurent Pinchart (2):
ARM: dts: use ti,fixed-factor-clock for dpll4_m5x2_mul_ck
ARM: dts: set 'ti,set-rate-parent' for dpll4_m5 path

  arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +-
  arch/arm/boot/dts/omap3xxx-clocks.dtsi | 7 ++++---
  2 files changed, 5 insertions(+), 4 deletions(-)
Quoted 7 lines
Quoted 3 lines

These look fine to me.

Thank you.

Tony, could you please pick the patches up for v3.16 ?

I'd like to see acks from Tero on these two, or Tero queue them along with other clock dts clock changes.

Quoted 7 lines
Quoted 4 lines

I'm fine with Tero queuing the patches in his tree. Tero, could they go in
v3.16 ?

Yeah, am fine with these, I'll queue these in my branch once I have those setup.

Just to let you know, I have now queued these patches in my branch for 3.16/clk-dt.

-Tero