[PATCH v2 07/12] pinctrl: qcom: sc7280: Add gp_mn mux function
- From
- Taniya Das <hidden>
- Date
- 2026-10-26 11:30:40
- Also in
- linux-arm-msm, linux-clk, linux-devicetree, linux-gpio, lkml
- Reply to
- Taniya Das, 2026-10-26
Add the gp_mn pin mux function on gpio60 of SC7280. This exposes the
GP M/N divider clock output on the dedicated GPIO pin.
Reviewed-by: Konrad Dybcio <redacted>
Signed-off-by: Taniya Das <redacted>
---
drivers/pinctrl/qcom/pinctrl-sc7280.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-sc7280.c b/drivers/pinctrl/qcom/pinctrl-sc7280.c
index bb32a56649df6faf1aecd470435d74558c20db27..5e210b399f88f5beb68e511bca9c0dd93a1b75dc 100644
--- a/drivers/pinctrl/qcom/pinctrl-sc7280.c
+++ b/drivers/pinctrl/qcom/pinctrl-sc7280.c@@ -515,6 +515,7 @@ enum sc7280_functions { msm_mux_gcc_gp1, msm_mux_gcc_gp2, msm_mux_gcc_gp3, + msm_mux_gp_mn, msm_mux_gpio, msm_mux_host2wlan_sol, msm_mux_ibi_i3c,
@@ -788,6 +789,10 @@ static const char * const gcc_gp2_groups[] = { static const char * const gcc_gp3_groups[] = { "gpio78", "gpio107", }; + +static const char *const gp_mn_groups[] = { + "gpio60", +}; static const char * const host2wlan_sol_groups[] = { "gpio26", };
@@ -1154,6 +1159,7 @@ static const struct pinfunction sc7280_functions[] = { MSM_PIN_FUNCTION(gcc_gp1), MSM_PIN_FUNCTION(gcc_gp2), MSM_PIN_FUNCTION(gcc_gp3), + MSM_PIN_FUNCTION(gp_mn), MSM_GPIO_PIN_FUNCTION(gpio), MSM_PIN_FUNCTION(host2wlan_sol), MSM_PIN_FUNCTION(ibi_i3c),
@@ -1325,7 +1331,7 @@ static const struct msm_pingroup sc7280_groups[] = { [57] = PINGROUP(57, qup16, ddr_bist, phase_flag, _, _, _, _, _, _), [58] = PINGROUP(58, qup16, ddr_bist, phase_flag, qdss, _, _, _, _, _), [59] = PINGROUP(59, qup16, ddr_bist, phase_flag, qdss, _, _, _, _, _), - [60] = PINGROUP(60, qup17, edp_hot, _, phase_flag, _, _, _, _, _), + [60] = PINGROUP(60, qup17, edp_hot, gp_mn, phase_flag, _, _, _, _, _), [61] = PINGROUP(61, qup17, sd_write, phase_flag, tsense_pwm1, tsense_pwm2, _, _, _, _), [62] = PINGROUP(62, qup17, qup16, phase_flag, _, _, _, _, _, _), [63] = PINGROUP(63, qup17, qup16, phase_flag, _, _, _, _, _, _),
--
2.34.1