1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8250-lpass-lpi-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM8250 SoC LPASS LPI TLMM
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
13 Top Level Mode Multiplexer pin controller in the Low Power Audio SubSystem
14 (LPASS) Low Power Island (LPI) of Qualcomm SM8250 SoC.
18 const: qcom,sm8250-lpass-lpi-pinctrl
25 - description: LPASS Core voting clock
26 - description: LPASS Audio voting clock
36 description: Specifying the pin number and flags, as defined in
37 include/dt-bindings/gpio/gpio.h
46 - $ref: "#/$defs/qcom-sm8250-lpass-state"
49 $ref: "#/$defs/qcom-sm8250-lpass-state"
50 additionalProperties: false
53 qcom-sm8250-lpass-state:
56 Pinctrl node's client devices use subnodes for desired pin configuration.
57 Client device subnodes use below standard properties.
58 $ref: /schemas/pinctrl/pincfg-node.yaml
63 List of gpio pins affected by the properties specified in this
67 - pattern: "^gpio([0-9]|1[0-3])$"
72 enum: [ gpio, swr_tx_clk, qua_mi2s_sclk, swr_tx_data, qua_mi2s_ws,
73 qua_mi2s_data, swr_rx_clk, swr_rx_data, dmic1_clk, i2s1_clk,
74 dmic1_data, i2s1_ws, dmic2_clk, dmic2_data, i2s1_data,
75 i2s2_clk, wsa_swr_clk, i2s2_ws, wsa_swr_data, dmic3_clk,
76 dmic3_data, i2s2_data ]
78 Specify the alternative function to be configured for the specified
82 enum: [2, 4, 6, 8, 10, 12, 14, 16]
85 Selects the drive strength for the specified pins, in mA.
92 1: Higher Slew rate (faster edges)
93 2: Lower Slew rate (slower edges)
94 3: Reserved (No adjustments)
108 additionalProperties: false
111 - $ref: pinctrl.yaml#
122 additionalProperties: false
126 #include <dt-bindings/sound/qcom,q6afe.h>
127 lpi_tlmm: pinctrl@33c0000 {
128 compatible = "qcom,sm8250-lpass-lpi-pinctrl";
129 reg = <0x33c0000 0x20000>,
131 clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
132 <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
133 clock-names = "core", "audio";
136 gpio-ranges = <&lpi_tlmm 0 0 14>;
138 wsa-swr-active-state {
141 function = "wsa_swr_clk";
142 drive-strength = <2>;
149 function = "wsa_swr_data";
150 drive-strength = <2>;
155 tx-swr-sleep-clk-state {
157 function = "swr_tx_clk";
158 drive-strength = <2>;