diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-09-09 13:33:04 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-01-27 20:36:46 +0200 |
commit | 17a4b254561be57ca3be5689c06a34ccdc67d606 (patch) | |
tree | 10dd42d35e3bde58364e02e043b8022e220fdba7 /arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | |
parent | 8c5e718f34ddb89570c950def4adb1f957b7b95a (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-ixora-v1.2.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts index 4ceb450ba41b..334209093397 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.2.dts @@ -311,7 +311,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>; @@ -322,7 +324,6 @@ csi_id = <1>; mclk = <22000000>; mclk_source = <0>; - pwms = <&pwm3 0 45 0>; status = "okay"; }; }; |