Lines Matching +full:a +full:- +full:gpio
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
11 - Richard Fitzgerald <rf@opensource.cirrus.com>
14 CS35L45 is a Boosted Mono Class D Amplifier with DSP
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
28 '#sound-dai-cells':
31 reset-gpios:
34 vdd-a-supply:
37 vdd-batt-supply:
40 spi-max-frequency:
43 cirrus,asp-sdout-hiz-ctrl:
45 Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
54 "^cirrus,gpio-ctrl[1-3]$":
56 GPIO pins configuration.
60 gpio-dir:
62 GPIO pin direction. Valid only when 'gpio-ctrl' is 1
69 gpio-lvl:
71 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
78 gpio-op-cfg:
80 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
87 gpio-pol:
89 GPIO output polarity select. Valid only when 'gpio-ctrl' is 1
90 and 'gpio-dir' is 0
91 0 = Non-inverted, Active High
97 gpio-ctrl:
99 Defines the function of the GPIO pin.
102 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
104 3-7 = Reserved
107 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
110 4 = Pin acts as push-pull output INT. Active low.
111 5 = Pin acts as push-pull output INT. Active high.
115 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
116 2-7 = Reserved
122 - compatible
123 - reg
124 - "#sound-dai-cells"
129 - |
130 #include <dt-bindings/sound/cs35l45.h>
132 #address-cells = <1>;
133 #size-cells = <0>;
136 #sound-dai-cells = <1>;
139 spi-max-frequency = <5000000>;
140 vdd-a-supply = <&dummy_vreg>;
141 vdd-batt-supply = <&dummy_vreg>;
142 reset-gpios = <&gpio 110 0>;
143 cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED |
145 cirrus,gpio-ctrl1 {
146 gpio-ctrl = <0x2>;
148 cirrus,gpio-ctrl2 {
149 gpio-ctrl = <0x2>;
151 cirrus,gpio-ctrl3 {
152 gpio-ctrl = <0x1>;
153 gpio-dir = <0x1>;