arm64: dts: imx8mq-librem5: describe the clock for the csi sensors
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Thu, 9 Mar 2023 20:45:56 +0000 (21:45 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Mar 2023 01:47:38 +0000 (09:47 +0800)
The CLKO2 clock is used for both camera CSI interfaces as the
driving clock for the connected sensors. In order for it to be
available, use this hog. We can't simply add it to 2 different
sensor descriptions.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index c81cf3e6582b1a8f6f78ea863e78cd9014260aa2..fd1f6fb6d6f6ff8ff148973fd9518421ed888cb7 100644 (file)
 };
 
 &iomuxc {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_hog>;
+
+       pinctrl_hog: hoggrp {
+               fsl,pins = <
+                       /* CLKO2 for cameras on both CSI1 and CSI2 */
+                       MX8MQ_IOMUXC_GPIO1_IO15_CCMSRCGPCMIX_CLKO2      0x1f
+               >;
+       };
+
        pinctrl_audiopwr: audiopwrgrp {
                fsl,pins = <
                        /* AUDIO_POWER_EN_3V3 */