Skip to content

Commit

Permalink
boards: arm: Conditionalize csi pinmuxes on nxp boards
Browse files Browse the repository at this point in the history
Conditionalizes csi pinmuxes on CONFIG_VIDEO for all nxp boards
(kinetis, lpc, and imx families) to avoid possible conflicts between
peripherals.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
  • Loading branch information
MaureenHelm authored and carlescufi committed May 22, 2020
1 parent de22784 commit 1a89ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/arm/mimxrt1064_evk/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ static int mimxrt1064_evk_init(struct device *dev)
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_09_FLEXPWM2_PWMA03, 0);
#endif

#if DT_NODE_HAS_STATUS(DT_NODELABEL(csi), okay)
#if DT_NODE_HAS_STATUS(DT_NODELABEL(csi), okay) && CONFIG_VIDEO
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_04_GPIO1_IO04, 0);
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_04_CSI_PIXCLK, 0);
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_05_CSI_MCLK, 0);
Expand Down

0 comments on commit 1a89ca1

Please sign in to comment.