xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/qcom,lpass-lpi-common.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8d13bc63SEmmanuel Vadot%YAML 1.2
3*8d13bc63SEmmanuel Vadot---
4*8d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/qcom,lpass-lpi-common.yaml#
5*8d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8d13bc63SEmmanuel Vadot
7*8d13bc63SEmmanuel Vadottitle: Qualcomm SoC LPASS LPI TLMM Common Properties
8*8d13bc63SEmmanuel Vadot
9*8d13bc63SEmmanuel Vadotmaintainers:
10*8d13bc63SEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11*8d13bc63SEmmanuel Vadot  - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12*8d13bc63SEmmanuel Vadot  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
13*8d13bc63SEmmanuel Vadot
14*8d13bc63SEmmanuel Vadotdescription:
15*8d13bc63SEmmanuel Vadot  Common properties for the Top Level Mode Multiplexer pin controllers in the
16*8d13bc63SEmmanuel Vadot  Low Power Audio SubSystem (LPASS) Low Power Island (LPI) of Qualcomm SoCs.
17*8d13bc63SEmmanuel Vadot
18*8d13bc63SEmmanuel Vadotproperties:
19*8d13bc63SEmmanuel Vadot  gpio-controller: true
20*8d13bc63SEmmanuel Vadot
21*8d13bc63SEmmanuel Vadot  "#gpio-cells":
22*8d13bc63SEmmanuel Vadot    description:
23*8d13bc63SEmmanuel Vadot      Specifying the pin number and flags, as defined in
24*8d13bc63SEmmanuel Vadot      include/dt-bindings/gpio/gpio.h
25*8d13bc63SEmmanuel Vadot    const: 2
26*8d13bc63SEmmanuel Vadot
27*8d13bc63SEmmanuel Vadot  gpio-ranges:
28*8d13bc63SEmmanuel Vadot    maxItems: 1
29*8d13bc63SEmmanuel Vadot
30*8d13bc63SEmmanuel Vadotrequired:
31*8d13bc63SEmmanuel Vadot  - gpio-controller
32*8d13bc63SEmmanuel Vadot  - "#gpio-cells"
33*8d13bc63SEmmanuel Vadot  - gpio-ranges
34*8d13bc63SEmmanuel Vadot
35*8d13bc63SEmmanuel VadotallOf:
36*8d13bc63SEmmanuel Vadot  - $ref: pinctrl.yaml#
37*8d13bc63SEmmanuel Vadot
38*8d13bc63SEmmanuel VadotadditionalProperties: true
39*8d13bc63SEmmanuel Vadot
40*8d13bc63SEmmanuel Vadot$defs:
41*8d13bc63SEmmanuel Vadot  qcom-tlmm-state:
42*8d13bc63SEmmanuel Vadot    properties:
43*8d13bc63SEmmanuel Vadot      drive-strength:
44*8d13bc63SEmmanuel Vadot        enum: [2, 4, 6, 8, 10, 12, 14, 16]
45*8d13bc63SEmmanuel Vadot        default: 2
46*8d13bc63SEmmanuel Vadot        description:
47*8d13bc63SEmmanuel Vadot          Selects the drive strength for the specified pins, in mA.
48*8d13bc63SEmmanuel Vadot
49*8d13bc63SEmmanuel Vadot      slew-rate:
50*8d13bc63SEmmanuel Vadot        enum: [0, 1, 2, 3]
51*8d13bc63SEmmanuel Vadot        default: 0
52*8d13bc63SEmmanuel Vadot        description: |
53*8d13bc63SEmmanuel Vadot          0: No adjustments
54*8d13bc63SEmmanuel Vadot          1: Higher Slew rate (faster edges)
55*8d13bc63SEmmanuel Vadot          2: Lower Slew rate (slower edges)
56*8d13bc63SEmmanuel Vadot          3: Reserved (No adjustments)
57*8d13bc63SEmmanuel Vadot
58*8d13bc63SEmmanuel Vadot      bias-bus-hold: true
59*8d13bc63SEmmanuel Vadot      bias-pull-down: true
60*8d13bc63SEmmanuel Vadot      bias-pull-up: true
61*8d13bc63SEmmanuel Vadot      bias-disable: true
62*8d13bc63SEmmanuel Vadot      input-enable: true
63*8d13bc63SEmmanuel Vadot      output-high: true
64*8d13bc63SEmmanuel Vadot      output-low: true
65*8d13bc63SEmmanuel Vadot
66*8d13bc63SEmmanuel Vadot    required:
67*8d13bc63SEmmanuel Vadot      - pins
68*8d13bc63SEmmanuel Vadot      - function
69*8d13bc63SEmmanuel Vadot
70*8d13bc63SEmmanuel Vadot    allOf:
71*8d13bc63SEmmanuel Vadot      - $ref: pincfg-node.yaml#
72*8d13bc63SEmmanuel Vadot      - $ref: pinmux-node.yaml#
73*8d13bc63SEmmanuel Vadot
74*8d13bc63SEmmanuel Vadot    additionalProperties: true
75*8d13bc63SEmmanuel Vadot
76