diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-09-09 13:33:04 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-09-15 15:51:19 +0000 |
commit | a2a8874e7d21621d8b6bf6e52a91f94b743405bf (patch) | |
tree | 8bbc11c8887f0b7ff2b59f6f9e5dd2683de2e011 /arch/arm/boot/dts/imx6q-apalis-eval.dts | |
parent | 27e8bf72449fb718f4bb27bb7e24cc20c932f807 (diff) |
arm: dts: imx6q apalis: ov5640: make sure the mclk is on
When the parallel camera kernel modules are loaded mclk is switched on
by them, so this bug has been masked.
While at it drop the pwms property which was what clock 147 was pointing
to. Setting pwms results in the pwm being configured with 50% duty cycle
and then no longer touched by the driver.
In our HW design we use CCM_CLKO2 as the MCLK, not PWM2.
Related-to: ELB-2899
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-apalis-eval.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-apalis-eval.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-eval.dts b/arch/arm/boot/dts/imx6q-apalis-eval.dts index 4b8a75317b0f..07e73c0b96a7 100644 --- a/arch/arm/boot/dts/imx6q-apalis-eval.dts +++ b/arch/arm/boot/dts/imx6q-apalis-eval.dts @@ -285,7 +285,9 @@ ov5640_mipi@3c { compatible = "ovti,ov564x_mipi"; reg = <0x3c>; - clocks = <&clks 147>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cam_mclk>; + clocks = <&clks 200>; clock-names = "csi_mclk"; DOVDD-supply = <®_1p8v>; AVDD-supply = <®_2p5v>; @@ -296,7 +298,6 @@ csi_id = <1>; mclk = <22000000>; mclk_source = <0>; - pwms = <&pwm3 0 45 0>; status = "okay"; }; }; |