From nobody Fri Oct 3 21:04:31 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B23135965; Mon, 25 Aug 2025 12:32:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756125162; cv=none; b=Bh3NUcV/tjZiUy0MI+T938Myvs3Gsrgr5D6PE5V2xWs7BpiwF4PrmujiDHJSDj3mMXhUFdTQOdnLp5xnWWsQY5GIH6yzEyYb3Y+xccQrNROo+QpSthKMB5nr73x9lfLbNaH7xOHYmDKB0fWL4IqCRUwaIAAbq/pMCf3OxZ017EI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756125162; c=relaxed/simple; bh=FiS7jd5aADRgPn/gVSL2fBEPfJMjQCFYti3lIUvrhJM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=mvnPcLdf+NxaqUpeJqyxPSdnByM/1kR5yoFV5Ih2L6whBLU8vklECwOthj84odVqhoI55GkX7tjTMsco5beigraooVQ3vtcRWP/EvlV/Z+Cq8MCE4cJQSQFf4aPQGdqkarIgzkn1H1rrfUBdZspWI7zQy0Dgbe7724Uzqot2Apo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jCb99gOP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jCb99gOP" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1711EC113D0; Mon, 25 Aug 2025 12:32:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1756125162; bh=FiS7jd5aADRgPn/gVSL2fBEPfJMjQCFYti3lIUvrhJM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jCb99gOPovekeSXoPLnvVyY6z0quOx03Qyh9wgwLJfRX9rW+w3cXJ5NYF4RvGgGHE rcC7x+ZOWpLEJvB9zi7dYFrV3GAXxj1kCFRsPD5YfDxSkUYv/CjE/FasYw71erPw5N TCZDia4P2oBlK4bw5gCpKfwFyHCOKbnzT156d4eF8GzTc+Cgb4f6CqtQ3VqESHgZ7F zMrGPY+GK8lJco+YX00XQNKgUVEIcjWvMsgWQewfQdIteXWyRklGjccPhP5C+tGaCJ H7Iaf2FohILr7RQxfDr3XAcoZxIFnH4y6vv+kdm1KKbDFKQ0OvQ7QQ5Fu8+ddFG0sK 0lrspClkN6/RQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A94FCA0FEB; Mon, 25 Aug 2025 12:32:42 +0000 (UTC) From: Nickolay Goppen via B4 Relay Date: Mon, 25 Aug 2025 15:32:29 +0300 Subject: [PATCH v3 2/3] dt-bindings: pinctrl: qcom: Add SDM660 LPI pinctrl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250825-sdm660-lpass-lpi-v3-2-65d4a4db298e@yandex.ru> References: <20250825-sdm660-lpass-lpi-v3-0-65d4a4db298e@yandex.ru> In-Reply-To: <20250825-sdm660-lpass-lpi-v3-0-65d4a4db298e@yandex.ru> To: Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Nickolay Goppen , Richard Acayan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1756125160; l=2866; i=setotau@yandex.ru; s=20250815; h=from:subject:message-id; bh=lw+wkCHuwJi81P9r9kd3s9iM9l26tF2/jGo2tCXg0SE=; b=XQ1QJj3KCvVQxp/xhTtuvKLdPuN6D990inQAjITepFMYg9rVxxp0doz6HP6zCKR/f/ORUySig ShInPV+uZcSA/62pccmDdmqip42ueV91FAVcO/tY16ecLflff47BX0J X-Developer-Key: i=setotau@yandex.ru; a=ed25519; pk=Og7YO6LfW+M2QfcJfjaUaXc8oOr5zoK8+4AtX5ICr4o= X-Endpoint-Received: by B4 Relay for setotau@yandex.ru/20250815 with auth_id=492 X-Original-From: Nickolay Goppen Reply-To: setotau@yandex.ru From: Nickolay Goppen Add bindings for pin controller in SDM660 Low Power Audio SubSystem (LPASS). Co-developed-by: Richard Acayan Signed-off-by: Richard Acayan Signed-off-by: Nickolay Goppen --- .../pinctrl/qcom,sdm660-lpass-lpi-pinctrl.yaml | 74 ++++++++++++++++++= ++++ 1 file changed, 74 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdm660-lpass-lp= i-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdm660-lpas= s-lpi-pinctrl.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6b930a5b914bc79a00dbaead411= 89efc525c2eb2 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdm660-lpass-lpi-pinct= rl.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/qcom,sdm660-lpass-lpi-pinctrl.y= aml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SDM660 SoC LPASS LPI TLMM + +maintainers: + - Nickolay Goppen + +description: + Top Level Mode Multiplexer pin controller in the Low Power Audio SubSyst= em + (LPASS) Low Power Island (LPI) of Qualcomm SDM660 SoC. + +properties: + compatible: + const: qcom,sdm660-lpass-lpi-pinctrl + + reg: + items: + - description: LPASS LPI TLMM Control and Status registers + +patternProperties: + "-state$": + oneOf: + - $ref: "#/$defs/qcom-sdm660-lpass-state" + - patternProperties: + "-pins$": + $ref: "#/$defs/qcom-sdm660-lpass-state" + additionalProperties: false + +$defs: + qcom-sdm660-lpass-state: + type: object + description: + Pinctrl node's client devices use subnodes for desired pin configura= tion. + 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-6])$" + + function: + enum: [ gpio, comp_rx, dmic12, dmic34, mclk0, pdm_2_gpios, + pdm_clk, pdm_rx, pdm_sync ] + description: + Specify the alternative function to be configured for the specif= ied + pins. + +allOf: + - $ref: qcom,lpass-lpi-common.yaml# + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + lpi_tlmm: pinctrl@15070000 { + compatible =3D "qcom,sdm660-lpass-lpi-pinctrl"; + reg =3D <0x15070000 0x20000>; + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&lpi_tlmm 0 0 32>; + }; --=20 2.51.0