mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-27 22:13:55 -04:00
Merge tag 'pinctrl-qcom-fixes-for-v7.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into fixes
Qualcomm pin control fixes for v7.2-rc6 - mark gpio and pci reset as a GPIO pin functions in pinctrl-ipq8064 - fix audio_sec_mclk_in1/out1 pin numbers in pinctrl-ipq9650 Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
@@ -480,7 +480,7 @@ static const char * const ps_hold_groups[] = {
|
||||
};
|
||||
|
||||
static const struct pinfunction ipq8064_functions[] = {
|
||||
IPQ_PIN_FUNCTION(gpio),
|
||||
IPQ_GPIO_PIN_FUNCTION(gpio),
|
||||
IPQ_PIN_FUNCTION(mdio),
|
||||
IPQ_PIN_FUNCTION(ssbi),
|
||||
IPQ_PIN_FUNCTION(spmi),
|
||||
@@ -507,19 +507,19 @@ static const struct pinfunction ipq8064_functions[] = {
|
||||
IPQ_PIN_FUNCTION(usb2_hsic),
|
||||
IPQ_PIN_FUNCTION(rgmii2),
|
||||
IPQ_PIN_FUNCTION(sata),
|
||||
IPQ_PIN_FUNCTION(pcie1_rst),
|
||||
IPQ_GPIO_PIN_FUNCTION(pcie1_rst),
|
||||
IPQ_PIN_FUNCTION(pcie1_prsnt),
|
||||
IPQ_PIN_FUNCTION(pcie1_pwren_n),
|
||||
IPQ_PIN_FUNCTION(pcie1_pwren),
|
||||
IPQ_PIN_FUNCTION(pcie1_pwrflt),
|
||||
IPQ_PIN_FUNCTION(pcie1_clk_req),
|
||||
IPQ_PIN_FUNCTION(pcie2_rst),
|
||||
IPQ_GPIO_PIN_FUNCTION(pcie2_rst),
|
||||
IPQ_PIN_FUNCTION(pcie2_prsnt),
|
||||
IPQ_PIN_FUNCTION(pcie2_pwren_n),
|
||||
IPQ_PIN_FUNCTION(pcie2_pwren),
|
||||
IPQ_PIN_FUNCTION(pcie2_pwrflt),
|
||||
IPQ_PIN_FUNCTION(pcie2_clk_req),
|
||||
IPQ_PIN_FUNCTION(pcie3_rst),
|
||||
IPQ_GPIO_PIN_FUNCTION(pcie3_rst),
|
||||
IPQ_PIN_FUNCTION(pcie3_prsnt),
|
||||
IPQ_PIN_FUNCTION(pcie3_pwren_n),
|
||||
IPQ_PIN_FUNCTION(pcie3_pwren),
|
||||
|
||||
@@ -310,11 +310,11 @@ static const char *const audio_sec_mclk_out0_groups[] = {
|
||||
};
|
||||
|
||||
static const char *const audio_sec_mclk_in1_groups[] = {
|
||||
"gpio37",
|
||||
"gpio39",
|
||||
};
|
||||
|
||||
static const char *const audio_sec_mclk_out1_groups[] = {
|
||||
"gpio37",
|
||||
"gpio39",
|
||||
};
|
||||
|
||||
static const char *const audio_sec_groups[] = {
|
||||
|
||||
@@ -24,6 +24,11 @@ struct pinctrl_pin_desc;
|
||||
fname##_groups, \
|
||||
ARRAY_SIZE(fname##_groups))
|
||||
|
||||
#define IPQ_GPIO_PIN_FUNCTION(fname) \
|
||||
[IPQ_MUX_##fname] = PINCTRL_GPIO_PINFUNCTION(#fname, \
|
||||
fname##_groups, \
|
||||
ARRAY_SIZE(fname##_groups))
|
||||
|
||||
#define MSM_PIN_FUNCTION(fname) \
|
||||
[msm_mux_##fname] = PINCTRL_PINFUNCTION(#fname, \
|
||||
fname##_groups, \
|
||||
|
||||
Reference in New Issue
Block a user