Skip to contentSkip to conversation

ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for Trats2

PATCH New Sylwester Nawrocki 2 participants 2 messages Jan 16, 2015 – Feb 3, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for Trats2

In order to get exact 24MHz clock frequency value for the camera sensor and avoid rounding errors the parent clock must be CLK_XUSBXTI, not CLK_MOUT_MPLL_USER_T. Currently the sensor's master clock frequency is too high and the sensor doesn't work properly.

This fixes commit 0357a4438d531ef3cf529e80ffcd208eb8e35f55 ("ARM: dts: Specify default clocks for Exynos4 camera devices").

---
 arch/arm/boot/dts/exynos4412-trats2.dts |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/exynos4412-trats2.dts +2 -2
index 29231b4..9ae62c2 100644
@@ -721,8 +721,8 @@
 		status = "okay";
 		assigned-clocks = <&clock CLK_MOUT_CAM0>,
 				  <&clock CLK_MOUT_CAM1>;
-		assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
-					 <&clock CLK_MOUT_MPLL_USER_T>;
+		assigned-clock-parents = <&clock CLK_XUSBXTI>,
+					 <&clock CLK_XUSBXTI>;
 
 		fimc_0: fimc at 11800000 {
 			status = "okay";

--
1.7.9.5

Applied
#1 lore raw

PATCH 1/1 ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for Trats2

Quoted 20 lines · Sylwester Nawrocki

In order to get exact 24MHz clock frequency value for the camera sensor and avoid rounding errors the parent clock must be CLK_XUSBXTI, not CLK_MOUT_MPLL_USER_T. Currently the sensor's master clock frequency is too high and the sensor doesn't work properly.

This fixes commit 0357a4438d531ef3cf529e80ffcd208eb8e35f55 ("ARM: dts: Specify default clocks for Exynos4 camera devices").

---
 arch/arm/boot/dts/exynos4412-trats2.dts |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/exynos4412-trats2.dts +0 -0
index 29231b4..9ae62c2 100644
@@ -721,8 +721,8 @@
 		status = "okay";

arch/arm/boot/dts/exynos4412-trats2.dts

Quoted 10 lines
arch/arm/boot/dts/exynos4412-trats2.dts +2 -3
 		assigned-clocks = <&clock CLK_MOUT_CAM0>,
 				  <&clock CLK_MOUT_CAM1>;
-		assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
-					 <&clock CLK_MOUT_MPLL_USER_T>;
+		assigned-clock-parents = <&clock CLK_XUSBXTI>,
+					 <&clock CLK_XUSBXTI>;
 
 		fimc_0: fimc at 11800000 {
 			status = "okay";
--

Applied, thanks.

- Kukjin