From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.218.48 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795529961; b=tN+SOyTnyYPvA5j0r+gnHyLc9gnLQyv9CzR8xVWy5Xe1A0VvO+vgJu2QCWX1OiYned21 fHWXeyCGDFQEzh3VLFHVvBcXds95qmC+JLPqeLBZL5Felrx3c6ahiN+60C/4YlwH1krot FdFJencCAmCrBWM1nxABqBQUW5hyiegGxZp2iIH/vslb1/reRaCMJclpu1Cs0STjDKnR5 ytmr82Kv5zwbZ+0zV+xgu5B20vhNKUPlLb3wyT1As3L903n1KyUXGWkcE2Z/RXXiVblrp fbGLZpd0xgf4EyWlaLJ/u7hR4CiRBtE2smUIsBvlHgTlJBjhlPVCjLrF5zKsE87OiLg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795529961; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key; bh=WpjqgAKt1hsxdB7y+H9svR2XM1GgbrP7e+UE0C/pPCI=; b=xyas15Fi4MF9TkIQ0R4lEQNwAD/aP9Q3e+TMdcBQxY8M9JluwnJnBJPEEIs3rY+mQx77 Gkk5luboWqUDryVa2yDBR8MtWGS7yRSOJH6tPFZUfpZ19bZN1xF87V1owbzVcre85YnIt BnOuFqcgSfS5LFHDg2/sPsl++KA7yBxt+uweeqb5TbdtY4ya0DhHJp8QQpkBs3IxqZan8 XeTAFuaO7WG6IshKE7Nhm7MfQKXuc9Ff80uql5b8RG5K8j2FhFKHIchzgJz4NB0h/4IOd ttkVchIgbzVWeL/7UvlYfSKMuFZ1tCwllyAT74Llv7S3BoVpYpZfbnO/NAxclgwiV1Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=M33AeBIY; arc=none smtp.remote-ip=209.85.218.48 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE525606A336 for ; Tue, 24 Nov 2026 14:19:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CE525606A336 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=M33AeBIY Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-c516a192844so366208466b.1 for ; Tue, 24 Nov 2026 06:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795529959; x=1796134759; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=WpjqgAKt1hsxdB7y+H9svR2XM1GgbrP7e+UE0C/pPCI=; b=M33AeBIYDvRPE67RKe+HHGYm2nB36PKYYTO8Y2ljIRHeBx9RAA4Xee2LdX6hd24fKv 1SFaVDn3bfldC/5N4Mxim7EmGaqf9fjo7tRzeM4EesYljDDJgRpBE3KRISAUSa/zGOwj Tu/YxtpuhGMofnUxR97njtxfskbmobrSEuXoG+hzYJ2miF9EzRe/MLX1UZ7nKR/dBR4v 2+2I+HxV4oPkTghL74bEGaDnuEjujVXCRf7dLWB9w2H9ftd/sAqAKZjzEFOHpFLBkglJ 1u/ck061OvE79nrYQXEpUgcisxTS1VNR0m7IyzNw2W+DrJZ9M2/BckeA8MpFtMHEWyhL 7fog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795529959; x=1796134759; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=WpjqgAKt1hsxdB7y+H9svR2XM1GgbrP7e+UE0C/pPCI=; b=NawL7Fez4F/djNW06wxUluYQQCWyQndZXcR36EHYMGja57018MZATAUHg6ZQ8/gWPF NF7fSZ3SkPQHMKc/52smF+MK6u22ckTjX5evx3YyPY9NXK3c8pvMXQxDJ6N4R3E7dfl2 BHqUeTvYhY4cGOC1kNUCAGnCkEnaWm+oAIMHbjrLkN7OH0mKRtFZlx6oheTYYIhEfstz rYDMXcERprkq/Rjrsmo0O76Dk9gzBm/0iIJ+skdswwJMLPcjlFRP776WCZ0ra2LZW5dZ PFlfN0b2zu+zTkZ0cCcUcUIRmqnYIgX0rTfdXwydLB3CL868Sq9G1KCFtY6XV929cMth oLbQ== X-Forwarded-Encrypted: i=1; AL+hErF8AaimqcEvN05WHcWgTg50AH6mLjEy9upoL7Qqspckt6h5ZNG3zl/RXZ5Z0hT2IAFxUSwv1uFgdzF6aUE=@vger.kernel.org X-Gm-Message-State: APuU4Z8lQPA/4h5/fWkjcOzLdpVUIg7goYqQLF6sIzMTNFP0p64Ambet Fp8APEArV9B/9tPsLdhtboZKVrg7J5cIFURCkizSmgbxlASrXkfV0FSH X-Gm-Gg: AZFdTZf+jbigdjk1Xs7jufal6BMMQ+KyRcUf1FZTyCdn1fP+IkLv1Q/fKJPmZ8FaxAr EKW3WFlosV1OQYxS9zAx7sxjlKei2yZ6f1Y/iH8emt09k6GZYUzDSEfklSb88D5Ua9ckuhyuXCX whYDGiPxGb8eaZsc6z+mS1HpzldOynrPI18PmXDiIKBG5Q+5tJiw5pfNm+lw6eopf4DPdW7k+Bx +aLEhrhYNoaLgq8ub5mHUPRokqwtfghcTfYNijUmNHae1MxyXDyBoqwSOmmRhtN/xSlxczPzZJu tBbzg3wkFq4CdxK/OQLPpcECNeztih6+YQ/zSWKjmbmuhwFJCo9osTVYhJoWs0fBVgE5+jLICVt 2hSgml43BnaJNvuuuHwuhUIRPDcX6437v3PhsvynwhuJq0nOxUkZpleM+mKmoqUBM+VooK6BQOW VXrHB6pC2g8X5SXVI/Nw7ewudhfr2YvlUvU+/2Bw58iqVJf7rv10ISUyOJgDoDRt7YvDvugIeC0 7j9u8Z4mhmgc67X59BBbTWuBNnJDHpFBCEtL1amMtgkahrVpLoEpvfhfyxT/ZI/xSbphDFPAcki pZOJuZi16FbqGzJGQi/KDBRMjNGFLzVPhyPhNA== X-Received: by 2002:a17:906:a207:b0:c42:102f:15d3 with SMTP id a640c23a62f3a-c513a897629mr842494266b.34.1795529959010; Tue, 24 Nov 2026 06:19:19 -0800 (PST) Received: from [10.32.31.239] ([212.58.121.92]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae679e3sm525342766b.22.2026.11.24.06.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2026 06:19:18 -0800 (PST) From: Stanislav Aleksandrov Date: Tue, 24 Nov 2026 14:18:51 +0000 Subject: [PATCH v3 1/2] dt-bindings: pinctrl: document the Halliday Top Level Mode Multiplexer X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261124-halliday-tlmm-v3-1-6b516e5f269c@gmail.com> References: <20261124-halliday-tlmm-v3-0-6b516e5f269c@gmail.com> In-Reply-To: <20261124-halliday-tlmm-v3-0-6b516e5f269c@gmail.com> To: Bartosz Golaszewski , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stanislav Aleksandrov , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795529955; l=6058; i=lightofmysoul@gmail.com; s=20261108; h=from:subject:message-id; bh=SlX6QYe21sxQH79MXblD8P7iKl/sCn2h4tLFFAnduVo=; b=Wm/piiI3F2H+ifLrXxTKiPbQUIcPYW3WDFvYx+wrNatwXc86Cj5laI936TcSWoKDW4Mes0QMJ wOJY+8GGZKCAxVnnNWcrMIzWbJIxAO3sZjvw00oxylmSemFWTOr1VBU X-Developer-Key: i=lightofmysoul@gmail.com; a=ed25519; pk=jeRUlfmkhE53CJPoeIIXgu7rTE0ybDRH0HQrEwbydzg= Document the Top Level Mode Multiplexer on the Qualcomm Halliday SoC (SXR2250P). Reviewed-by: Krzysztof Kozlowski Signed-off-by: Stanislav Aleksandrov --- .../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..2615d40b0478 --- /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 + +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, egpio, 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 + tlmm: 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 = ; + + 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