1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/pinctrl/qcom,sm6115-lpass-lpi-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SM6115 SoC LPASS LPI TLMM
10 - Konrad Dybcio <konradybcio@kernel.org>
11 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 Top Level Mode Multiplexer pin controller in the Low Power Audio SubSystem
15 (LPASS) Low Power Island (LPI) of Qualcomm SM6115 SoC.
19 const: qcom,sm6115-lpass-lpi-pinctrl
23 - description: LPASS LPI TLMM Control and Status registers
24 - description: LPASS LPI MCC registers
28 - description: LPASS Audio voting clock
37 description: Specifying the pin number and flags, as defined in
38 include/dt-bindings/gpio/gpio.h
47 - $ref: "#/$defs/qcom-sm6115-lpass-state"
50 $ref: "#/$defs/qcom-sm6115-lpass-state"
51 additionalProperties: false
54 qcom-sm6115-lpass-state:
57 Pinctrl node's client devices use subnodes for desired pin configuration.
58 Client device subnodes use below standard properties.
59 $ref: /schemas/pinctrl/pincfg-node.yaml
64 List of gpio pins affected by the properties specified in this
67 pattern: "^gpio([0-9]|1[0-8])$"
70 enum: [ dmic01_clk, dmic01_data, dmic23_clk, dmic23_data, gpio, i2s1_clk,
71 i2s1_data, i2s1_ws, i2s2_clk, i2s2_data, i2s2_ws, i2s3_clk,
72 i2s3_data, i2s3_ws, qua_mi2s_data, qua_mi2s_sclk, qua_mi2s_ws,
73 swr_rx_clk, swr_rx_data, swr_tx_clk, swr_tx_data, wsa_mclk ]
75 Specify the alternative function to be configured for the specified
79 enum: [2, 4, 6, 8, 10, 12, 14, 16]
82 Selects the drive strength for the specified pins, in mA.
89 1: Higher Slew rate (faster edges)
90 2: Lower Slew rate (slower edges)
91 3: Reserved (No adjustments)
105 additionalProperties: false
108 - $ref: pinctrl.yaml#
119 additionalProperties: false
123 #include <dt-bindings/sound/qcom,q6afe.h>
125 lpass_tlmm: pinctrl@a7c0000 {
126 compatible = "qcom,sm6115-lpass-lpi-pinctrl";
127 reg = <0x0a7c0000 0x20000>,
128 <0x0a950000 0x10000>;
129 clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
130 clock-names = "audio";
134 gpio-ranges = <&lpass_tlmm 0 0 19>;