asoc: msm-cdc-pinctrl: Add alternate pinctrl state for DSD input
Add additional pinctrl states to support alternative function. This change enables support of alternative pins through pinctrl framework. Change-Id: I1f3f9a13345846f1714b4ecaeecde975b5cf6813 Signed-off-by: Sanjana B <sanjb@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
fe3356fa53
commit
79fba80fa6
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __MFD_CDC_PINCTRL_H_
|
||||
@@ -11,6 +11,7 @@
|
||||
#if IS_ENABLED(CONFIG_MSM_CDC_PINCTRL)
|
||||
extern int msm_cdc_pinctrl_select_sleep_state(struct device_node *np);
|
||||
extern int msm_cdc_pinctrl_select_active_state(struct device_node *np);
|
||||
extern int msm_cdc_pinctrl_select_alt_active_state(struct device_node *np);
|
||||
extern int msm_cdc_pinctrl_get_state(struct device_node *np);
|
||||
extern int msm_cdc_get_gpio_state(struct device_node *np);
|
||||
extern int msm_cdc_pinctrl_set_wakeup_capable(struct device_node *np,
|
||||
@@ -27,6 +28,10 @@ int msm_cdc_pinctrl_select_active_state(struct device_node *np)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int msm_cdc_pinctrl_select_alt_active_state(struct device_node *np)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int msm_cdc_get_gpio_state(struct device_node *np)
|
||||
{
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user