1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,lpass-lpi-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. Low Power Audio SubSystem (LPASS)
8 Low Power Island (LPI) TLMM block
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 This binding describes the Top Level Mode Multiplexer block found in the
15 LPASS LPI IP on most Qualcomm SoCs
19 const: qcom,sm8250-lpass-lpi-pinctrl
27 - description: LPASS Core voting clock
28 - description: LPASS Audio voting clock
38 description: Specifying the pin number and flags, as defined in
39 include/dt-bindings/gpio/gpio.h
45 #PIN CONFIGURATION NODES
50 Pinctrl node's client devices use subnodes for desired pin configuration.
51 Client device subnodes use below standard properties.
52 $ref: "/schemas/pinctrl/pincfg-node.yaml"
57 List of gpio pins affected by the properties specified in this
61 - pattern: "^gpio([0-9]|[1-9][0-9])$"
66 enum: [ gpio, swr_tx_clk, qua_mi2s_sclk, swr_tx_data, qua_mi2s_ws,
67 qua_mi2s_data, swr_rx_clk, swr_rx_data, dmic1_clk, i2s1_clk,
68 dmic1_data, i2s1_ws, dmic2_clk, dmic2_data, i2s1_data,
69 i2s2_clk, wsa_swr_clk, i2s2_ws, wsa_swr_data, dmic3_clk,
70 dmic3_data, i2s2_data ]
72 Specify the alternative function to be configured for the specified
76 enum: [2, 4, 6, 8, 10, 12, 14, 16]
79 Selects the drive strength for the specified pins, in mA.
86 1: Higher Slew rate (faster edges)
87 2: Lower Slew rate (slower edges)
88 3: Reserved (No adjustments)
104 additionalProperties: false
115 additionalProperties: false
119 #include <dt-bindings/sound/qcom,q6afe.h>
120 lpi_tlmm: pinctrl@33c0000 {
121 compatible = "qcom,sm8250-lpass-lpi-pinctrl";
122 reg = <0x33c0000 0x20000>,
124 clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
125 <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
126 clock-names = "core", "audio";
129 gpio-ranges = <&lpi_tlmm 0 0 14>;