Skip to content
Snippets Groups Projects
Commit 6634fd5b authored by Troy Kisky's avatar Troy Kisky
Browse files

nitrogen8mm: keep camera in reset

parent 8d831488
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,14 @@ static iomux_v3_cfg_t const init_pads[] = {
#define GP_TC358762_EN IMX_GPIO_NR(1, 9)
#define GP_I2C2_SN65DSI83_EN IMX_GPIO_NR(1, 9)
#define GP_MIPI_RESET IMX_GPIO_NR(1, 9)
IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x26),
IMX8MM_PAD_GPIO1_IO09_GPIO1_IO9 | MUX_PAD_CTRL(0x06),
IMX8MM_PAD_SAI2_RXC_GPIO4_IO22 | MUX_PAD_CTRL(PAD_CTL_DSE1 | PAD_CTL_ODE),
#define GP_CSI1_MIPI_PWDN IMX_GPIO_NR(1, 3)
IMX8MM_PAD_GPIO1_IO03_GPIO1_IO3 | MUX_PAD_CTRL(0x141),
#define GP_CSI1_MIPI_RESET IMX_GPIO_NR(1, 4)
IMX8MM_PAD_GPIO1_IO04_GPIO1_IO4 | MUX_PAD_CTRL(0x101),
/* pcie */
#define GP_PCIE0_RESET IMX_GPIO_NR(4, 31)
IMX8MM_PAD_SAI3_TXFS_GPIO4_IO31 | MUX_PAD_CTRL(0x100),
......@@ -182,6 +187,8 @@ int board_init(void)
gpio_request(GPIRQ_GT911, "gt911_irq");
gpio_request(GP_LTK08_MIPI_EN, "lkt08_mipi_en");
gpio_direction_output(GP_GT911_RESET, 0);
gpio_direction_output(GP_CSI1_MIPI_PWDN, 1);
gpio_direction_output(GP_CSI1_MIPI_RESET, 0);
#ifdef CONFIG_MXC_SPI
setup_spi();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment