* [PATCH 0/2] pinctrl: qcom: halliday: Add the gp_mn and gp_pdm functions
@ 2026-11-26 15:22 Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 1/2] dt-bindings: pinctrl: qcom: halliday: add " Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 2/2] pinctrl: qcom: halliday: Add gp_mn and gp_pdm mux functions Stanislav Aleksandrov
0 siblings, 2 replies; 3+ messages in thread
From: Stanislav Aleksandrov @ 2026-11-26 15:22 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Konrad Dybcio, linux-arm-msm, linux-gpio, devicetree,
linux-kernel, Stanislav Aleksandrov, Konrad Dybcio
Konrad Dybcio pointed out three pin functions that are missing in the
Halliday TLMM driver [1]: gp_mn, gp_pdm_mira and gp_pdm_mirb. This
follow-up to the applied series adds them to the binding and to the
driver.
Qualcomm's downstream driver does not have these functions and the
Galaxy XR does not use them, so they are only build-tested.
This work was made together with Claude.
[1] https://lore.kernel.org/r/84fbc195-8e93-4d25-ab0e-14c3510edf40@oss.qualcomm.com
Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com>
---
Stanislav Aleksandrov (2):
dt-bindings: pinctrl: qcom: halliday: add gp_mn and gp_pdm functions
pinctrl: qcom: halliday: Add gp_mn and gp_pdm mux functions
.../bindings/pinctrl/qcom,halliday-tlmm.yaml | 3 +-
drivers/pinctrl/qcom/pinctrl-halliday.c | 32 +++++++++++++++++-----
2 files changed, 27 insertions(+), 8 deletions(-)
---
base-commit: d1e44b75cd10eead6750f929e3cf68febab8586a
change-id: 20261126-halliday-tlmm-gp-functions-8a8ed8d454dd
Best regards,
--
Stanislav Aleksandrov <lightofmysoul@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] dt-bindings: pinctrl: qcom: halliday: add gp_mn and gp_pdm functions
2026-11-26 15:22 [PATCH 0/2] pinctrl: qcom: halliday: Add the gp_mn and gp_pdm functions Stanislav Aleksandrov
@ 2026-11-26 15:22 ` Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 2/2] pinctrl: qcom: halliday: Add gp_mn and gp_pdm mux functions Stanislav Aleksandrov
1 sibling, 0 replies; 3+ messages in thread
From: Stanislav Aleksandrov @ 2026-11-26 15:22 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Konrad Dybcio, linux-arm-msm, linux-gpio, devicetree,
linux-kernel, Stanislav Aleksandrov, Konrad Dybcio
Add the gp_mn, gp_pdm_mira and gp_pdm_mirb pin mux functions to the
Halliday TLMM function enum.
Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com>
---
Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml
index 2615d40b0478..e89220c185a4 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml
@@ -73,7 +73,8 @@ $defs:
ddr_bist_stop, ddr_pxi0, ddr_pxi1, ddr_pxi2, ddr_pxi3, dp0_hot,
edp0_hot, edp0_lcd_self, edp1_dpu0_lcd, edp1_dpu1_lcd,
edp1_hot, egpio, gcc_gp1, gcc_gp10, gcc_gp11, gcc_gp2, gcc_gp3,
- gcc_gp4, gcc_gp5, gcc_gp6, gcc_gp7, gcc_gp8, gcc_gp9, gpio,
+ gcc_gp4, gcc_gp5, gcc_gp6, gcc_gp7, gcc_gp8, gcc_gp9, gp_mn,
+ gp_pdm_mira, gp_pdm_mirb, gpio,
i2s0_data0, i2s0_data1, i2s0_sck, i2s0_ws, i2s2_data0,
i2s2_data1, i2s2_sck, i2s2_ws, ibi_i3c, jitter_bist,
mdp0_vsync, mdp0_vsync0_out, mdp0_vsync1_out, mdp0_vsync2_out,
--
2.55.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] pinctrl: qcom: halliday: Add gp_mn and gp_pdm mux functions
2026-11-26 15:22 [PATCH 0/2] pinctrl: qcom: halliday: Add the gp_mn and gp_pdm functions Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 1/2] dt-bindings: pinctrl: qcom: halliday: add " Stanislav Aleksandrov
@ 2026-11-26 15:22 ` Stanislav Aleksandrov
1 sibling, 0 replies; 3+ messages in thread
From: Stanislav Aleksandrov @ 2026-11-26 15:22 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Konrad Dybcio, linux-arm-msm, linux-gpio, devicetree,
linux-kernel, Stanislav Aleksandrov, Konrad Dybcio
Add the gp_mn function on gpio63 and the gp_pdm_mira and gp_pdm_mirb
functions on gpio35-37 and gpio88-90.
Qualcomm's downstream pinctrl-anorak driver does not have them. The pins
and the mux values were provided by Konrad Dybcio.
Link: https://lore.kernel.org/r/84fbc195-8e93-4d25-ab0e-14c3510edf40@oss.qualcomm.com
Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com>
---
drivers/pinctrl/qcom/pinctrl-halliday.c | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-halliday.c b/drivers/pinctrl/qcom/pinctrl-halliday.c
index 05e7f22bb417..9d386bdec24c 100644
--- a/drivers/pinctrl/qcom/pinctrl-halliday.c
+++ b/drivers/pinctrl/qcom/pinctrl-halliday.c
@@ -603,6 +603,9 @@ enum halliday_functions {
msm_mux_gcc_gp7,
msm_mux_gcc_gp8,
msm_mux_gcc_gp9,
+ msm_mux_gp_mn,
+ msm_mux_gp_pdm_mira,
+ msm_mux_gp_pdm_mirb,
msm_mux_i2s0_data0,
msm_mux_i2s0_data1,
msm_mux_i2s0_sck,
@@ -920,6 +923,18 @@ static const char *const gcc_gp9_groups[] = {
"gpio107",
};
+static const char *const gp_mn_groups[] = {
+ "gpio63",
+};
+
+static const char *const gp_pdm_mira_groups[] = {
+ "gpio35", "gpio36", "gpio37",
+};
+
+static const char *const gp_pdm_mirb_groups[] = {
+ "gpio88", "gpio89", "gpio90",
+};
+
static const char *const i2s0_data0_groups[] = {
"gpio163",
};
@@ -1419,6 +1434,9 @@ static const struct pinfunction halliday_functions[] = {
MSM_PIN_FUNCTION(gcc_gp7),
MSM_PIN_FUNCTION(gcc_gp8),
MSM_PIN_FUNCTION(gcc_gp9),
+ MSM_PIN_FUNCTION(gp_mn),
+ MSM_PIN_FUNCTION(gp_pdm_mira),
+ MSM_PIN_FUNCTION(gp_pdm_mirb),
MSM_PIN_FUNCTION(i2s0_data0),
MSM_PIN_FUNCTION(i2s0_data1),
MSM_PIN_FUNCTION(i2s0_sck),
@@ -1575,9 +1593,9 @@ static const struct msm_pingroup halliday_groups[] = {
[32] = PINGROUP(32, cci_timer, _, phase_flag, _, _, _, _, _, _),
[33] = PINGROUP(33, cci_timer, _, phase_flag, _, _, _, _, _, _),
[34] = PINGROUP(34, cci_timer, _, phase_flag, _, _, _, _, _, _),
- [35] = PINGROUP(35, cci_timer, _, _, phase_flag, _, _, _, _, _),
- [36] = PINGROUP(36, cci_timer, _, _, phase_flag, _, _, _, _, _),
- [37] = PINGROUP(37, cci_timer, _, _, phase_flag, _, _, _, _, _),
+ [35] = PINGROUP(35, cci_timer, gp_pdm_mira, _, phase_flag, _, _, _, _, _),
+ [36] = PINGROUP(36, cci_timer, gp_pdm_mira, _, phase_flag, _, _, _, _, _),
+ [37] = PINGROUP(37, cci_timer, gp_pdm_mira, _, phase_flag, _, _, _, _, _),
[38] = PINGROUP(38, cci_timer, _, phase_flag, _, _, _, _, _, _),
[39] = PINGROUP(39, cci_timer, _, phase_flag, _, _, _, _, _, _),
[40] = PINGROUP(40, cci_async_in, _, phase_flag, _, _, _, _, _, _),
@@ -1603,7 +1621,7 @@ static const struct msm_pingroup halliday_groups[] = {
[60] = PINGROUP(60, qup1_se0_l3_mira, pwm_2, mdp1_vsync0_out, _, _, _, _, _, _),
[61] = PINGROUP(61, pwm_3, mdp1_vsync1_out, _, _, _, _, _, _, _),
[62] = PINGROUP(62, gcc_gp4, qup1_se0_l3_mirb, mdp1_vsync2_out, _, _, _, _, _, _),
- [63] = PINGROUP(63, qup1_se1, ibi_i3c, mdp1_vsync3_out, _, _, _, _, _, _),
+ [63] = PINGROUP(63, qup1_se1, ibi_i3c, mdp1_vsync3_out, gp_mn, _, _, _, _, _),
[64] = PINGROUP(64, qup1_se1, ibi_i3c, mdp1_vsync4_out, _, _, _, _, _, _),
[65] = PINGROUP(65, qup1_se1, mdp1_vsync5_out, _, _, _, _, _, _, _),
[66] = PINGROUP(66, qup1_se1_l3_mira, pwm_4, mdp1_vsync6_out, _, _, _, _, _, _),
@@ -1628,9 +1646,9 @@ static const struct msm_pingroup halliday_groups[] = {
[85] = PINGROUP(85, qup1_se4, _, _, _, _, _, _, _, _),
[86] = PINGROUP(86, qup1_se4, _, _, _, _, _, _, _, _),
[87] = PINGROUP(87, gcc_gp8, qup1_se4, _, _, _, _, _, _, _),
- [88] = PINGROUP(88, qup1_se5, _, _, _, _, _, _, _, _),
- [89] = PINGROUP(89, qup1_se5, _, _, _, _, _, _, _, _),
- [90] = PINGROUP(90, qup1_se5, _, _, _, _, _, _, _, _),
+ [88] = PINGROUP(88, qup1_se5, gp_pdm_mirb, _, _, _, _, _, _, _),
+ [89] = PINGROUP(89, qup1_se5, gp_pdm_mirb, _, _, _, _, _, _, _),
+ [90] = PINGROUP(90, qup1_se5, gp_pdm_mirb, _, _, _, _, _, _, _),
[91] = PINGROUP(91, qup1_se5, _, _, _, _, _, _, _, _),
[92] = PINGROUP(92, qup1_se6_l0_mira, _, _, _, _, _, _, _, _),
[93] = PINGROUP(93, qup1_se6_l1_mira, _, _, _, _, _, _, _, _),
--
2.55.0
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-26 15:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 15:22 [PATCH 0/2] pinctrl: qcom: halliday: Add the gp_mn and gp_pdm functions Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 1/2] dt-bindings: pinctrl: qcom: halliday: add " Stanislav Aleksandrov
2026-11-26 15:22 ` [PATCH 2/2] pinctrl: qcom: halliday: Add gp_mn and gp_pdm mux functions Stanislav Aleksandrov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®