From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7051C3DA7F0 for ; Mon, 30 Mar 2026 16:46:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774889195; cv=none; b=Of+RkH87BZqFIY+WH4uoURE4GOzr5jF5z/CJMW1vPtX7H93Jw6AEyiZDj4biLGpqQrzczv7y0fZTRJki8fqu4T8CNo0WsmLnEgY8j9ay9A4f1AMZOJqH4XgTm6877nL3OpPy4t+w8xeRRwJ8KaJghmd5YIpIFVfdVy9PG2/ui1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774889195; c=relaxed/simple; bh=UGRFSj5Ba3is397uYXqZUWK6BEHYREPYtCW/7pqYOYE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MN1al4ITjTHadr7Ls2T/EDZ9pbZlh2CX9YBfaiyc/T9F224OvawwVwKhIQnnMZmHtdJKvGzW7KmivHj5lRNt2bKWtVm2i7bIXsJvcJrup957QX7wpsrZHzjG0tcGRWTOfgVtWs6d0NfNUkn7LXKJnZAk9LHBS1Z8LA9a370EKUU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=A41TPXXX; arc=none smtp.client-ip=209.85.222.181 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.b="A41TPXXX" Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-8cd71fb9f06so282423985a.2 for ; Mon, 30 Mar 2026 09:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774889193; x=1775493993; 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; bh=cbcT5PNKPZsRmJFnWFIOFaq96gfL1gOp/mxwODnDkPQ=; b=A41TPXXXmdUc+Q+HfvIhYbOgrHmoapNir8A07oxqfS4AjrhZhXwVUR+vIq4m8eq7Z1 nQtl8EcjD8z2+XQl96A5xebpWRroHeW4Wx/MPBwqb/y2IhdaC+pGOtrMVzOJNgxcoMxi fPMZ59P8LQ4AVkse3xzhJefWdjHx+rPLquUokd74eoEAKeW/3KZQVZu46+s8Sc7VARlY hSUNMyAGhVSpZu62iyvkZl86XVkvrFn8j1bXz5D6/9QBM6EotaMwdkrbGHzvkmpVwoij ts018aOr/CsjyJOZqcwOI0NTABkclH8elkS9YzMtLMDn/OowcY4qOD9HynzWpHOd0o17 KI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774889193; x=1775493993; 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; bh=cbcT5PNKPZsRmJFnWFIOFaq96gfL1gOp/mxwODnDkPQ=; b=JuL7M2PaPvXIGyLNvRfOp7Nw/FTs4PSjCbWJNIveZmkU4J2QacQVQYoZcheOlVH8Dm 1mygAEwMbo5VbKCHioNYYR58rzxw8WQtuY/igR7lFJo60dB9nRW2uT0qZYkjLDK/Kxdv QK4FbGpXETQM9fbQ401QOxsYcSQy5Fmvo/O2e9gvisQCsYYilhxCF0iMSgqh098j1Jvi NUgFySehql2292j+P37SBi5mp9AsfvJuyWfEugzgjUB6rSnEqzZdA0gjgAfjXD3lLqec O2Tvcu+Ns7KGStFOcZC4pEQubFdze/wakz+xn6ZDGHZdrMNEsLIvrPk24oDhtTVTd+gt fHDQ== X-Forwarded-Encrypted: i=1; AJvYcCWDwolu0RuDX10YM0UeZP6VAhY0ZgU80syYB785EFaMz6lD/lSDvvNeJX4R6hV0XS2h0ACGSsgb+9Hh@vger.kernel.org X-Gm-Message-State: AOJu0Yy/u/d3Giah8yCJHvPHYotsMi1OEFUGk/cSHUj746JeiqCHPFHO 79yNa8fN62L3wz2uX1Mk3on14epbR0lp4r9EkLEaPj4i3Qd76ojAyXOA X-Gm-Gg: ATEYQzxaX+1rJkX6JM+LZ9r2yaR8ohyMQ9VOc/UWmtMqJE1roAELvfSAkLe7DOCe+oc NJqxRICa2DU1IPZmwTop+AepD5GgxwkSvwx7Gqv8yG91Ybf4uY4Ncxuyr2arR03C7Z/SOYUS46b kEyM7kYNK+rr/Cq7l+kRit6BWZJULZikDZhiBKxgKaMx9O8a8HAQgiwVIu+t37h8Z1v1X8ix8O/ 9t56/y+/Wih5546KOSfBKNNYoYynSkR04joju5EGNTF6pz4/BD645QGfyQ2neIlHQCIAG1DbQva Ebhoweo6AT0MBdJctzbrMZ32LnpyCloACWbcFDS4X2K208cOuNHvzVZRBg8OK+7XSST9zLp0+a+ 8/MUAp0JyiyrWpOujIkKlVFhCUa7G1tWrdHyMSO9hZFAasN2TTc9swx8vFTgVSPy+ovPpNXp9VA C6zU6QXby/GV136OA/v/j6/tQ= X-Received: by 2002:a05:620a:269a:b0:8cf:c08e:5f55 with SMTP id af79cd13be357-8d01c801736mr1622688285a.60.1774889193277; Mon, 30 Mar 2026 09:46:33 -0700 (PDT) Received: from localhost ([199.7.157.54]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8d028095f1csm741102985a.47.2026.03.30.09.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2026 09:46:32 -0700 (PDT) From: Richard Acayan To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Cc: Richard Acayan Subject: [PATCH v4 2/5] dt-bindings: pinctrl: qcom: Add SDM670 LPASS LPI pinctrl Date: Mon, 30 Mar 2026 12:47:04 -0400 Message-ID: <20260330164707.87441-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260330164707.87441-1-mailingradian@gmail.com> References: <20260330164707.87441-1-mailingradian@gmail.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the pin controller for the audio Low-Power Island (LPI) on SDM670. Signed-off-by: Richard Acayan Reviewed-by: Krzysztof Kozlowski --- .../qcom,sdm670-lpass-lpi-pinctrl.yaml | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,sdm670-lpass-lpi-pinctrl.yaml diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-lpass-lpi-pinctrl.yaml new file mode 100644 index 000000000000..c76ad70e6b9f --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm670-lpass-lpi-pinctrl.yaml @@ -0,0 +1,81 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/qcom,sdm670-lpass-lpi-pinctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM670 SoC LPASS LPI TLMM + +maintainers: + - Richard Acayan + +description: + Top Level Mode Multiplexer pin controller in the Low Power Audio SubSystem + (LPASS) Low Power Island (LPI) of Qualcomm SDM670 SoC. + +properties: + compatible: + const: qcom,sdm670-lpass-lpi-pinctrl + + reg: + items: + - description: LPASS LPI TLMM Control and Status registers + +patternProperties: + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sdm670-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sdm670-lpass-state" + additionalProperties: false + +$defs: + qcom-sdm670-lpass-state: + type: object + description: + Pinctrl node's client devices use subnodes for desired pin configuration. + Client device subnodes use below standard properties. + $ref: qcom,lpass-lpi-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false + + properties: + pins: + description: + List of gpio pins affected by the properties specified in this + subnode. + items: + pattern: "^gpio([0-9]|1[0-9]|2[0-9]|3[0-1])$" + + function: + enum: [ gpio, comp_rx, dmic1_clk, dmic1_data, dmic2_clk, dmic2_data, + i2s1_clk, i2s_data, i2s_ws, lpi_cdc_rst, mclk0, pdm_rx, + pdm_sync, pdm_tx, slimbus_clk ] + description: + Specify the alternative function to be configured for the specified + pins. + +allOf: + - $ref: qcom,lpass-lpi-common.yaml# + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + lpi_tlmm: pinctrl@62b40000 { + compatible = "qcom,sdm670-lpass-lpi-pinctrl"; + reg = <0x62b40000 0x20000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpi_tlmm 0 0 32>; + + cdc_comp_default: cdc-comp-default-state { + pins = "gpio22", "gpio24"; + function = "comp_rx"; + drive-strength = <4>; + }; + }; -- 2.53.0