Lines Matching +full:gpio1 +full:- +full:cfg

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>
18 - $ref: dai-common.yaml#
23 - cirrus,cs35l45
31 '#sound-dai-cells':
34 reset-gpios:
37 vdd-a-supply:
40 vdd-batt-supply:
43 spi-max-frequency:
46 cirrus,asp-sdout-hiz-ctrl:
48 Audio serial port SDOUT Hi-Z control. Sets the Hi-Z
57 "^cirrus,gpio-ctrl[1-3]$":
63 gpio-dir:
65 GPIO pin direction. Valid only when 'gpio-ctrl' is 1
72 gpio-lvl:
74 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
81 gpio-op-cfg:
83 GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0
90 gpio-pol:
92 GPIO output polarity select. Valid only when 'gpio-ctrl' is 1
93 and 'gpio-dir' is 0
94 0 = Non-inverted, Active High
100 gpio-ctrl:
103 GPIO1
105 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
107 3-7 = Reserved
110 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
113 4 = Pin acts as push-pull output INT. Active low.
114 5 = Pin acts as push-pull output INT. Active high.
118 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
119 2-7 = Reserved
125 - compatible
126 - reg
127 - "#sound-dai-cells"
132 - |
133 #include <dt-bindings/sound/cs35l45.h>
135 #address-cells = <1>;
136 #size-cells = <0>;
139 #sound-dai-cells = <1>;
142 spi-max-frequency = <5000000>;
143 vdd-a-supply = <&dummy_vreg>;
144 vdd-batt-supply = <&dummy_vreg>;
145 reset-gpios = <&gpio 110 0>;
146 cirrus,asp-sdout-hiz-ctrl = <(CS35L45_ASP_TX_HIZ_UNUSED |
148 cirrus,gpio-ctrl1 {
149 gpio-ctrl = <0x2>;
151 cirrus,gpio-ctrl2 {
152 gpio-ctrl = <0x2>;
154 cirrus,gpio-ctrl3 {
155 gpio-ctrl = <0x1>;
156 gpio-dir = <0x1>;