1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm8450-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,sm8450-lpass-lpi-pinctrl
23 - description: LPASS LPI TLMM Control and Status registers
24 - description: LPASS LPI pins SLEW registers
28 - description: LPASS Core voting clock
29 - description: LPASS Audio voting clock
39 description: Specifying the pin number and flags, as defined in
40 include/dt-bindings/gpio/gpio.h
46 #PIN CONFIGURATION NODES
51 Pinctrl node's client devices use subnodes for desired pin configuration.
52 Client device subnodes use below standard properties.
53 $ref: /schemas/pinctrl/pincfg-node.yaml
58 List of gpio pins affected by the properties specified in this
61 pattern: "^gpio([0-9]|[1-2][0-9]])$"
64 enum: [ swr_tx_clk, swr_tx_data, swr_rx_clk, swr_rx_data,
65 dmic1_clk, dmic1_data, dmic2_clk, dmic2_data, dmic4_clk,
66 dmic4_data, i2s2_clk, i2s2_ws, dmic3_clk, dmic3_data,
67 qua_mi2s_sclk, qua_mi2s_ws, qua_mi2s_data, i2s1_clk, i2s1_ws,
68 i2s1_data, wsa_swr_clk, wsa_swr_data, wsa2_swr_clk,
69 wsa2_swr_data, i2s2_data, i2s4_ws, i2s4_clk, i2s4_data,
70 slimbus_clk, i2s3_clk, i2s3_ws, i2s3_data, slimbus_data,
71 ext_mclk1_c, ext_mclk1_b, ext_mclk1_a, ext_mclk1_d,
74 Specify the alternative function to be configured for the specified
78 enum: [2, 4, 6, 8, 10, 12, 14, 16]
81 Selects the drive strength for the specified pins, in mA.
88 1: Higher Slew rate (faster edges)
89 2: Lower Slew rate (slower edges)
90 3: Reserved (No adjustments)
106 additionalProperties: false
109 - $ref: pinctrl.yaml#
120 additionalProperties: false
124 #include <dt-bindings/sound/qcom,q6afe.h>
126 compatible = "qcom,sm8450-lpass-lpi-pinctrl";
127 reg = <0x3440000 0x20000>,
129 clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>,
130 <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
131 clock-names = "core", "audio";
134 gpio-ranges = <&lpi_tlmm 0 0 23>;