Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 303626c2 authored by Su Liu's avatar Su Liu
Browse files

Revert "msm: camera: Add SKUF GPIO config"



This reverts commit 67c69f0d1a79bcb3309cb34e5b2f940e4b744ecd.
Unsing board identification function for QRD OEM instead.

Change-Id: Ic458a953f3ecf006c7bf25c5e79f70134b5396d6
Signed-off-by: default avatarSu Liu <suliu@codeaurora.org>
parent 07ca70b0
Loading
Loading
Loading
Loading
+12 −14
Original line number Diff line number Diff line
@@ -85,6 +85,12 @@ static struct gpiomux_setting gpio_spi_cs_config = {
	.pull = GPIOMUX_PULL_DOWN,
};

static struct gpiomux_setting gpio_spi_cs_eth_config = {
	.func = GPIOMUX_FUNC_4,
	.drv = GPIOMUX_DRV_6MA,
	.pull = GPIOMUX_PULL_DOWN,
};

static struct gpiomux_setting wcnss_5wire_suspend_cfg = {
	.func = GPIOMUX_FUNC_GPIO,
	.drv  = GPIOMUX_DRV_2MA,
@@ -199,6 +205,12 @@ static struct msm_gpiomux_config msm_blsp_configs[] __initdata = {
			[GPIOMUX_SUSPENDED] = &gpio_i2c_config,
		},
	},
	{
		.gpio      = 22,		/* BLSP1 QUP1 SPI_CS_ETH */
		.settings = {
			[GPIOMUX_SUSPENDED] = &gpio_spi_cs_eth_config,
		},
	},
	{					/*  NFC   */
		.gpio      = 10,		/* BLSP1 QUP3 I2C_DAT */
		.settings = {
@@ -560,20 +572,6 @@ static struct msm_gpiomux_config msm_sensor_configs[] __initdata = {
			[GPIOMUX_SUSPENDED] = &cam_settings[4],
		},
	},
	{
		.gpio = 22, /* CAM1_VDD */
		.settings = {
			[GPIOMUX_ACTIVE]    = &cam_settings[3],
			[GPIOMUX_SUSPENDED] = &cam_settings[4],
		},
	},
	{
		.gpio = 34, /* CAM1 VCM_PWDN */
		.settings = {
			[GPIOMUX_ACTIVE]    = &cam_settings[3],
			[GPIOMUX_SUSPENDED] = &cam_settings[4],
		},
	},
	{
		.gpio = 35, /* CAM2_STANDBY_N */
		.settings = {