Lines Matching +full:gpio1 +full:- +full:cfg
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * cs35l45.h -- CS35L45 ALSA SoC audio driver DT bindings header
12 * cirrus,asp-sdout-hiz-ctrl
14 * TX_HIZ_UNUSED: TX pin high-impedance during unused slots.
15 * TX_HIZ_DISABLED: TX pin high-impedance when all channels disabled.
21 * Optional GPIOX Sub-nodes:
22 * The cs35l45 node can have up to three "cirrus,gpio-ctrlX" ('X' = [1,2,3])
23 * sub-nodes for configuring the GPIO pins.
25 * - gpio-dir : GPIO pin direction. Valid only when 'gpio-ctrl'
30 * - gpio-lvl : GPIO level. Valid only when 'gpio-ctrl' is 1 and 'gpio-dir' is 0.
35 * - gpio-op-cfg : GPIO output configuration. Valid only when 'gpio-ctrl' is 1
36 * and 'gpio-dir' is 0.
41 * - gpio-pol : GPIO output polarity select. Valid only when 'gpio-ctrl' is 1
42 * and 'gpio-dir' is 0.
44 * 0 = Non-inverted, Active High (Default)
47 * - gpio-invert : Defines the polarity of the GPIO pin if configured
53 * - gpio-ctrl : Defines the function of the GPIO pin.
55 * GPIO1:
57 * 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
59 * 3-7 = Reserved
63 * 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
66 * 4 = Pin acts as push-pull output INT. Active low.
67 * 5 = Pin acts as push-pull output INT. Active high.
72 * 1 = Pin acts as a GPIO, direction controlled by 'gpio-dir'
73 * 2-7 = Reserved