From: Stanislav Aleksandrov <lightofmysoul@gmail.com>
To: Bartosz Golaszewski <brgl@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Linus Walleij <linusw@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Stanislav Aleksandrov <lightofmysoul@gmail.com>
Subject: [PATCH 1/2] dt-bindings: pinctrl: document the Halliday Top Level Mode Multiplexer
Date: Mon, 09 Nov 2026 00:28:37 +0000 [thread overview]
Message-ID: <20261109-halliday-tlmm-v1-1-a181d54214cd@gmail.com> (raw)
In-Reply-To: <20261109-halliday-tlmm-v1-0-a181d54214cd@gmail.com>
Document the Top Level Mode Multiplexer on the Qualcomm Halliday SoC
(SXR2250P).
Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com>
---
.../bindings/pinctrl/qcom,halliday-tlmm.yaml | 146 +++++++++++++++++++++
1 file changed, 146 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml
new file mode 100644
index 000000000000..172de2d98997
--- /dev/null
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,halliday-tlmm.yaml
@@ -0,0 +1,146 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pinctrl/qcom,halliday-tlmm.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Technologies, Inc. Halliday TLMM block
+
+maintainers:
+ - Stanislav Aleksandrov <lightofmysoul@gmail.com>
+
+description:
+ Top Level Mode Multiplexer pin controller in Qualcomm Halliday SoC.
+
+allOf:
+ - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#
+
+properties:
+ compatible:
+ const: qcom,halliday-tlmm
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ gpio-reserved-ranges:
+ minItems: 1
+ maxItems: 112
+
+ gpio-line-names:
+ maxItems: 224
+
+patternProperties:
+ "-state$":
+ oneOf:
+ - $ref: "#/$defs/qcom-halliday-tlmm-state"
+ - patternProperties:
+ "-pins$":
+ $ref: "#/$defs/qcom-halliday-tlmm-state"
+ additionalProperties: false
+
+$defs:
+ qcom-halliday-tlmm-state:
+ type: object
+ description:
+ Pinctrl node's client devices use subnodes for desired pin configuration.
+ Client device subnodes use below standard properties.
+ $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state
+ unevaluatedProperties: false
+
+ properties:
+ pins:
+ description:
+ List of gpio pins affected by the properties specified in this
+ subnode.
+ items:
+ oneOf:
+ - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|2[01][0-9]|22[0-3])$"
+ - enum: [ ufs_reset, sdc2_clk, sdc2_cmd, sdc2_data ]
+ minItems: 1
+ maxItems: 36
+
+ function:
+ description:
+ Specify the alternative function to be configured for the specified
+ pins.
+ enum: [ atest_char, atest_usb, audio_ext_mclk0, audio_ext_mclk1,
+ audio_ref_clk, cam_mclk, cci_async_in, cci_i2c_scl,
+ cci_i2c_sda, cci_timer, cmu_rng, dbg_out_clk,
+ ddr_bist_complete, ddr_bist_fail, ddr_bist_start,
+ 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, gcc_gp1, gcc_gp10, gcc_gp11, gcc_gp2, gcc_gp3,
+ gcc_gp4, gcc_gp5, gcc_gp6, gcc_gp7, gcc_gp8, gcc_gp9, 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,
+ mdp0_vsync3_out, mdp0_vsync4_out, mdp0_vsync5_out,
+ mdp0_vsync6_out, mdp0_vsync7_out, mdp0_vsync8_out, mdp1_vsync,
+ mdp1_vsync0_out, mdp1_vsync1_out, mdp1_vsync2_out,
+ mdp1_vsync3_out, mdp1_vsync4_out, mdp1_vsync5_out,
+ mdp1_vsync6_out, mdp1_vsync7_out, mdp1_vsync8_out,
+ pcie0_clk_req_n, pcie1_clk_req_n, pcie2_clk_req_n, phase_flag,
+ pll_bist_sync, pll_clk_aux, prng_rosc0, prng_rosc1, prng_rosc2,
+ prng_rosc3, pwm_0, pwm_1, pwm_10, pwm_11, pwm_12, pwm_13,
+ pwm_14, pwm_15, pwm_16, pwm_17, pwm_18, pwm_19, pwm_2, pwm_3,
+ pwm_4, pwm_5, pwm_6, pwm_7, pwm_8, pwm_9, qdss_cti, qdss_gpio,
+ qup0_se0, qup0_se1, qup0_se2, qup0_se3, qup0_se4,
+ qup0_se4_l0_mira, qup0_se4_l0_mirb, qup0_se4_l1_mira,
+ qup0_se4_l1_mirb, qup0_se4_l2_mira, qup0_se4_l2_mirb,
+ qup0_se4_l3_mira, qup0_se4_l3_mirb, qup0_se5, qup0_se6,
+ qup1_se0, qup1_se0_l3_mira, qup1_se0_l3_mirb, qup1_se1,
+ qup1_se1_l3_mira, qup1_se1_l3_mirb, qup1_se2, qup1_se2_l3_mira,
+ qup1_se2_l3_mirb, qup1_se3, qup1_se3_l3_mira, qup1_se3_l3_mirb,
+ qup1_se4, qup1_se5, qup1_se6, qup1_se6_l0_mira,
+ qup1_se6_l0_mirb, qup1_se6_l1_mira, qup1_se6_l1_mirb,
+ sd_write_protect, sdcc5_vdd2_on, tb_trig_sdc2, tgu_ch0_trigout,
+ tgu_ch1_trigout, tgu_ch2_trigout, tgu_ch3_trigout, tmess_prng0,
+ tmess_prng1, tmess_prng2, tmess_prng3, tsense_pwm1,
+ tsense_pwm2, usb0_phy_ps, usb2phy_ac_en,
+ vsense_trigger_mirnat ]
+
+ required:
+ - pins
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ pinctrl@f100000 {
+ compatible = "qcom,halliday-tlmm";
+ reg = <0x0f100000 0x300000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&tlmm 0 0 225>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
+
+ gpio-wo-state {
+ pins = "gpio1";
+ function = "gpio";
+ };
+
+ i2c-w-state {
+ scl-pins {
+ pins = "gpio58";
+ function = "qup1_se0";
+ bias-pull-up;
+ };
+
+ sda-pins {
+ pins = "gpio57";
+ function = "qup1_se0";
+ bias-pull-up;
+ };
+ };
+ };
+...
--
2.55.0
next prev parent reply other threads:[~2026-11-09 0:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 0:28 [PATCH 0/2] Add pinctrl driver for Qualcomm Halliday (SXR2250P) Stanislav Aleksandrov
2026-11-09 0:28 ` Stanislav Aleksandrov [this message]
2026-11-09 0:28 ` [PATCH 2/2] pinctrl: qcom: Add Halliday pinctrl driver Stanislav Aleksandrov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261109-halliday-tlmm-v1-1-a181d54214cd@gmail.com \
--to=lightofmysoul@gmail.com \
--cc=andersson@kernel.org \
--cc=brgl@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®