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

Commit 39bb9cd5 authored by Mohammed Siddiq's avatar Mohammed Siddiq
Browse files

cnss2: Update GPIOs for wake capability disablement



Update GPIOs(151 and 202) for wake capability disablement on
lahaina and shima.

Change-Id: I97f114ceaf454c3653e69ff912c6b78fd718e8fe
Signed-off-by: default avatarMohammed Siddiq <msiddiq@codeaurora.org>
parent 9ddceddf
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
@@ -1984,8 +1984,7 @@ static const struct msm_pinctrl_soc_data lahaina_pinctrl = {
/* By default, all the gpios that are mpm wake capable are enabled.
 * The following list disables the gpios explicitly
 */
static const unsigned int config_mpm_wake_disable_gpios[] = {
};
static const unsigned int config_mpm_wake_disable_gpios[] = { 151, 202 };

static void lahaina_pinctrl_config_mpm_wake_disable_gpios(void)
{
+2 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
@@ -1902,8 +1902,7 @@ static const struct msm_pinctrl_soc_data shima_pinctrl = {
/* By default, all the gpios that are mpm wake capable are enabled.
 * The following list disables the gpios explicitly
 */
static const unsigned int config_mpm_wake_disable_gpios[] = {
};
static const unsigned int config_mpm_wake_disable_gpios[] = { 151, 202 };

static void shima_pinctrl_config_mpm_wake_disable_gpios(void)
{