From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796221016; b=GDkGx0Fd22rA7kQzez9+i7b88ctaKk7CyY90RCbDD1Xdb7tQaLVx0AOaW02GsPFuPGHk n8KJFxBtqQbjC1VPslvEmK93VpuzoNlGNPOTOxjvbZN9xGrte1H6RgKPF5ADa+QUMr7G0 kv5kD4i7Z3BSdWDvWINJsA4kqIG8zUJvbocntfJL44PtXGWr/SPp4EGrFAuy6GWT8I2RT f+bAyFnAcGvJmGnD/Wt+xXUDnqnoFfQc5sPyPvkNQwzJvi9dCnhv6MpE2qXhG16+jrxlQ U3ZBBYzlRUe3KgGj9MwtdFrHBkJyvtMD4zdyHxuNFrD4hkGGj/jAxxa5w+52Hkltozw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796221016; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:To:Cc: Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=49YFlJIWusstvMKsZ+oVD0CKvkAa52Gl/xH4xGcrTHY=; b=X2mUbWDHNT5aFG5wvfyludJawZgqbuDrwH7jV9W9fu47fBtLq7tf1/YwGjIX7jH2VfHt FzM51Omprw0BLvJWgXCDjphhzGxf0EerP56sflZJnEgVL3JhLGTvkgNTJ2ST4Eu7ax03c Trrz9RXBhMZQfSx9unN++k+Nd7dowWE74OjnUSN+HJ2g8+a9tUeF6q6p5lSjtxHKqoVVU iJToM2x1Q8B1rQzlxjRvoKFpH/JvbsUMucKmylbiDE/e9YS7oYFxyBdEBZciRnx3Yf6sD d1Ij8yijlCL4wUWLYewVUpuMk/VmT+HhSeJ1S623/bpg+e6ihPxTx67S28efKm9xLBQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=BMInoCcw; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=LqKyrBO+; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68BB5606A33E for ; Wed, 2 Dec 2026 14:16:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 68BB5606A33E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=BMInoCcw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=LqKyrBO+ Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B2B5HNL4159813 for ; Wed, 2 Dec 2026 14:16:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=49YFlJIWuss tvMKsZ+oVD0CKvkAa52Gl/xH4xGcrTHY=; b=BMInoCcwPdUQZQ0A3S8K1lyPyV7 kq2WqYjQrz1U+y9phgInEFoU7GSDmzEykqGPJLdO67Ds08EZ0qpDPggL6ye+DJ1s /MrDST944BsiJCVVSs4auTpbbJFF3LaWBcEsqrucO8Wch00SYdTBOZ8b8RktRSTe ZnOwUmkDWpsF4y+IRoPupceUC8PK3uk1NSpZG71AdiZkMS3vuVX4wE7PAljSgCF2 V6RjQKJav4YB/wkrhxwSeq0YJZyNheATbe6vTrk+z2iF/SpXecG5+5KrmuMR0AE0 HBYfTbRP3BJtYXIYyBKKllINuay1oIStS68g3d5aD3wUzLitkcyXGcoruGA== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jaj5a0nmd-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 14:16:54 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2f08196b148so105002345ad.1 for ; Wed, 02 Dec 2026 06:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796221014; x=1796825814; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=49YFlJIWusstvMKsZ+oVD0CKvkAa52Gl/xH4xGcrTHY=; b=LqKyrBO+tI990L1moeIA8dTun1V4Rr/lAy8J8CqVlfxycmok0vfHKFB3NYBBxyGD3Q Zdoo0sMykHxYOA7Nh1SHqL+mgH/y9fW7OcLfiMLI4PdepCL0XH3D1mXW+r64KeXs8Y+S Hr/gOTXYLSs+vXGlJsLlqM0IPf5gFryds+upshvt1929Mv3MDM/yB52RYWclZVMHRXOC gnNEVtc1cZb8VIC3UwWMW1ZFC1pDfzzma/TN7ba3QC3DjV+djTfJOn0sjCpndi+DyOz6 IpCMsx82dc1CsYxY4RoXe00q7XjZijgrp9sR/ZaQyqDbTIK5nh6xdWPq+Y/eWHgUJE1b 7s8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796221014; x=1796825814; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=49YFlJIWusstvMKsZ+oVD0CKvkAa52Gl/xH4xGcrTHY=; b=B3V3DUyt/a9aROsK9BsbpyuO4uKMMuVB9merCFYc0ihtyq+oibeOe7DEGUu4AD4nnw QhkOjPZ2qOIKB/4dLUxZbfR9dy2qfg8xDH8nHLEV5wSsKd32oA0heZW94a3+iWbFaDH2 an1iTD2x/XjkpBKaN5CtOutZWY9/MlTotU2ongB+/HV3WLi6UAajJDnzR0yGqK8MwPs5 ayLhW0DeIpKY+tSNvsqatz1IO6ilYX475F49Ac+tZpTjIY1VFbIYW9iUULxf5x9Z4HZ2 4HoFqFUP1ohjzNMhQ6Tb52WvwdZtWGesJ87LumFlbAv7V5ss3CQwxtUGIlPPQwuyLUXS /rCQ== X-Forwarded-Encrypted: i=1; AL+hErHMLXE/DaCcFhRU2Nfawjt+nu80gO5bI4KqpuncOqlz2DFNsqY5LQaPC+rfyKBtWTGjTMTxcQKP9x7PFw8=@vger.kernel.org X-Gm-Message-State: APuU4Z8zCzrKXYB2/KH5X9mKg8TDKf3OKcUuyl8hw1mNNhsrMW03HAAv f2ykafYZQm4rQvjQ1TL2k1/M6BgJRknuhQFASpgjqUVKmHLoYi2k5LTIvoWOFVnPRGOLlC3fNcD ARNnQsTYSYxoEna0EGMxqN4Xk9Kuqu+snICVcuIovID/kXrFdGeRoMa/Pw9rcn8yhFrw= X-Gm-Gg: AZFdTZfe8qL4Fazpa5ZJ6BGJYyPgrE6M9YIJaGtnnT/ZuBLAwRw7KOE2u3uXMg+nu/f urVgmrmllsywTuIDyV3nAgfDPh1+Y8dwSeuvG2R6D0kOVKdtZYKO3virWEzwFHdt9VgneH8BneL CxksAvzTWwFsq3HwxwlzRiyMLE3v+5UKTkZJzTxr1iYK1V3KoQuf4LgmzueoTCe7O8XhSwVndnM nHPgfT/NAUETrzO4yt2Z2w5Liw8o8Ay3DBiXFqbU2CFgYlVt3yOOV9BBsXdL/i9jj3nccc8tOvj PcXY1x8XdIZZj9hJISjPDLc/rGFDeNBhRw19QHSnHtdpc/SAnuEZ6UgoaKr5z3CGQR806BWjwtf Xl/EqSGgiSNguslsUyOuN+JG7b4jHxW2ZboF6+VUDFl6pPlW5MSLS06Kou2IcrNxZa2GhvqXnMA 1rv3EJuUNbqhHmK6R4LgxcS5yjVoucQD8iVdubGlbHw0tahKbi0qosiv0= X-Received: by 2002:a17:903:19cb:b0:2ed:101c:480a with SMTP id d9443c01a7336-2f03f1c007dmr446404395ad.37.1796221013535; Wed, 02 Dec 2026 06:16:53 -0800 (PST) X-Received: by 2002:a17:903:19cb:b0:2ed:101c:480a with SMTP id d9443c01a7336-2f03f1c007dmr446404175ad.37.1796221013040; Wed, 02 Dec 2026 06:16:53 -0800 (PST) Received: from hu-ymg-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f14c8a7281sm54505545ad.61.2026.12.02.06.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 06:16:52 -0800 (PST) From: Yadu M G To: Bjorn Andersson , Bartosz Golaszewski , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mukesh Ojha Subject: [PATCH v2 1/2] dt-bindings: pinctrl: qcom: Add Seca TLMM Date: Wed, 2 Dec 2026 19:46:42 +0530 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: zhPPwnKSrzZLpS1Acw7nlcZ1a3EyRJ9i X-Authority-Analysis: v=2.4 cv=TYYDJhQh c=1 sm=1 tr=0 ts=6b102856 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=RS--hHaVoNrYE_hnkMsA:9 a=324X-CrmTo6CU4MGRt3R:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDA1NiBTYWx0ZWRfX1i0ytMccZcjO asmwjKjtf9fltZcLfmiCyNzTCkAadOdfHRPQ0ocTcDKIYl/7RhcJYkiJXNu0LdQy/KYJHDl8zpu cnXnNLOHLgO2GiG72Z0sBKeCRC9ZGfpbzeg0dgl8GRlHjJD50L2zCp8wQAZVhnBlsmvzis7Tjb2 LV0CtdF9ulAI4tpoi8fj3Qx2vDfSiCIXoSokcQdysy7Apvt3oQ7yoxVTiYCl8PpOGR3DyFyoWFb 3sruvn9q2/ml2DDuGbelmc4J0sx0G7RHqfmMNsby2xEoq4CyiKlKrQeO7u9wxaOzMoc68sTpo0T LLfQE5lVXiz6ZUKnyy4Zr0d0zy71wJcLV5MFcju3xygw27e2I63w7Qi1JSUQbXrlqDDIx3l4h4b nXOvonNHG+xiqV31PxC09CvKM5sn90pKrXAH5emldy6Z/9GyiaBCBS2V04Kcntn99OcRbSIryVq scXw/rRhnHQOFjMpXjQ== X-Proofpoint-GUID: zhPPwnKSrzZLpS1Acw7nlcZ1a3EyRJ9i X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDA1NiBTYWx0ZWRfX5I6SWyzAavEy c9RbG+r9Gfg6OBPzz8jKYCf92DuYc/PX7URbBiKcXGCShotKlG4QQmlm6iUls3TfSOBiRfQy8DJ oTQum8uzrLSkNss8lRCn83EH5BqSmec= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_02,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 impostorscore=0 priorityscore=1501 adultscore=0 malwarescore=0 phishscore=0 spamscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020056 Add device tree bindings for TLMM pin controller found in Qualcomm Seca SoC. Signed-off-by: Yadu M G --- .../bindings/pinctrl/qcom,seca-tlmm.yaml | 135 ++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,seca-tlmm.yaml diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,seca-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,seca-tlmm.yaml new file mode 100644 index 000000000000..be683e31332b --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/qcom,seca-tlmm.yaml @@ -0,0 +1,135 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/qcom,seca-tlmm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Technologies, Inc. Seca TLMM block + +maintainers: + - Yadu M G + +description: + Top Level Mode Multiplexer pin controller in Qualcomm Seca SoC. + +allOf: + - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml# + +properties: + compatible: + const: qcom,seca-tlmm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + gpio-reserved-ranges: + minItems: 1 + maxItems: 90 + + gpio-line-names: + maxItems: 181 + +patternProperties: + "-state$": + oneOf: + - $ref: "#/$defs/qcom-seca-tlmm-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-seca-tlmm-state" + additionalProperties: false + +$defs: + qcom-seca-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-7][0-9]|180)$" + - enum: [ ufs_reset ] + minItems: 1 + maxItems: 16 + + function: + description: + Specify the alternative function to be configured for the specified + pins. + + enum: [ gpio, aoss_cti, atest_char, atest_usb20, atest_usb21, + aud_intfc0_clk, aud_intfc0_data, aud_intfc0_ws, aud_intfc10_clk, + aud_intfc10_data, aud_intfc10_ws, aud_intfc1_clk, + aud_intfc1_data, aud_intfc1_ws, aud_intfc2_clk, aud_intfc2_data, + aud_intfc2_ws, aud_intfc3_clk, aud_intfc3_data, aud_intfc3_ws, + aud_intfc4_clk, aud_intfc4_data, aud_intfc4_ws, aud_intfc5_clk, + aud_intfc5_data, aud_intfc5_ws, aud_intfc6_clk, aud_intfc6_data, + aud_intfc6_ws, aud_intfc7_clk, aud_intfc7_data, aud_intfc7_ws, + aud_intfc8_clk, aud_intfc8_data, aud_intfc8_ws, aud_intfc9_clk, + aud_intfc9_data, aud_intfc9_ws, aud_mclk0_mira, aud_mclk0_mirb, + aud_mclk1_mira, aud_mclk1_mirb, aud_mclk2_mira, aud_mclk2_mirb, + aud_refclk0, aud_refclk1, bist_done, ccu_async_in, ccu_i2c_scl, + ccu_i2c_sda, ccu_timer, dbg_out, dbg_out_clk, ddr_bist_complete, + ddr_bist_fail, ddr_bist_start, ddr_bist_stop, ddr_pxi, dp_rx0, + dp_rx00, dp_rx01, dp_rx0_mute, edp0_hot, edp0_lcd, edp1_hot, + edp1_lcd, edp2_hot, edp2_lcd, emac0_mcg, emac0_mdc, emac0_mdio, + emac0_ptp, emac1_mcg, emac1_mdc, emac1_mdio, emac1_ptp, + gcc_gp1_clk, gcc_gp2_clk, gcc_gp3_clk, gcc_gp4_clk, gcc_gp5_clk, + gcc_gp6_clk, gcc_gp7_clk, gcc_gp8_clk, jitter_bist, lbist_pass, + mbist_pass, mdp0_vsync_out, mdp1_vsync_out, mdp_vsync_e, + mdp_vsync_p, mdp_vsync_s, pcie0_clk_req_n, pcie1_clk_req_n, + pcie2_clk_req_n, pcie3_clk_req_n, phase_flag, pll_bist_sync, + pll_clk_aux, prng_rosc0, prng_rosc1, pwrbrk_i_n, qdss, qdss_cti, + qspi, qup0_se0, qup0_se1, qup0_se2, qup0_se3, qup0_se4, + qup0_se5, qup1_se0, qup1_se1, qup1_se2_01, qup1_se2_23, + qup1_se3_01, qup1_se3_23, qup1_se4, qup1_se5, qup1_se6, + qup2_se0, qup2_se1, qup2_se2, qup2_se3, qup2_se4, qup2_se5, + qup2_se6, qup3_se0_mira, qup3_se0_mirb, sailss_ospi, sdc4, + sdc4_clk, sdc4_cmd, smb_alert, smb_alert_n, smb_clk, smb_dat, + tb_trig_sdc4, tmess_prng0, tmess_prng1, tsc_timer, tsense_clm, + tsense_pwm, usb0_hs, usb0_phy_ps, usb1_hs, usb1_phy_ps, usb2_hs, + usxgmii0_phy, usxgmii1_phy, vsense_trigger_mirnat, wcn_sw, + wcn_sw_ctrl ] + + required: + - pins + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + + tlmm: pinctrl@f100000 { + compatible = "qcom,seca-tlmm"; + reg = <0x0f100000 0xc0000>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + gpio-ranges = <&tlmm 0 0 181>; + wakeup-parent = <&pdc>; + + qup_uart15_default: qup-uart15-default-state { + pins = "gpio147", "gpio148"; + function = "qup2_se2"; + drive-strength = <2>; + bias-disable; + }; + }; +... -- 2.43.0