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

Commit 4573a7ae authored by Valeri Atamaniouk's avatar Valeri Atamaniouk
Browse files

msm: gpio: apq8084: qca1530: VPG_PWR_M2_EN from Liquid to M.2 card



Configure GPIO 66 PULL_UP for apq8084 M.2.

Change-Id: Ie83e9cf9dae7d51396275770adb63653b255f94c
Signed-off-by: default avatarValeri Atamaniouk <valeria@codeaurora.org>
parent 5cfc0347
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -816,6 +816,12 @@ static struct gpiomux_setting gpio_qca1530_config = {
	.pull = GPIOMUX_PULL_NONE,
};

static struct gpiomux_setting gpio_qca1530_config_mpp7 = {
	.func = GPIOMUX_FUNC_GPIO,
	.drv  = GPIOMUX_DRV_6MA,
	.pull = GPIOMUX_PULL_UP,
};

static struct msm_gpiomux_config msm_qca1530_cdp_configs[] __initdata = {
	{
		.gpio = 133,    /* qca1530 reset */
@@ -835,7 +841,7 @@ static struct msm_gpiomux_config msm_qca1530_liquid_configs[] __initdata = {
	{
		.gpio = 66,     /* qca1530 power extra */
		.settings = {
			[GPIOMUX_SUSPENDED] = &gpio_qca1530_config,
			[GPIOMUX_SUSPENDED] = &gpio_qca1530_config_mpp7,
		},
	},
};