Lines Matching +full:codec +full:- +full:reset
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RT5677 audio CODEC
10 - Animesh Agarwal <animeshagarwal28@gmail.com>
30 - $ref: dai-common.yaml#
42 gpio-controller: true
44 '#gpio-cells':
47 realtek,pow-ldo2-gpio:
49 description: CODEC's POW_LDO2 pin.
51 realtek,reset-gpio:
53 description: CODEC's RESET pin. Active low.
55 realtek,gpio-config:
58 0 - floating (reset value)
59 1 - pull down
60 2 - pull up
61 $ref: /schemas/types.yaml#/definitions/uint32-array
67 realtek,jd1-gpio:
70 - 0 # OFF
71 - 1 # GPIO1 for jd1.
72 - 2 # GPIO2 for jd1.
73 - 3 # GPIO3 for jd1.
76 realtek,jd2-gpio:
79 - 0 # OFF
80 - 1 # GPIO4 for jd2.
81 - 2 # GPIO5 for jd2.
82 - 3 # GPIO6 for jd2.
85 realtek,jd3-gpio:
88 - 0 # OFF
89 - 1 # GPIO4 for jd3.
90 - 2 # GPIO5 for jd3.
91 - 3 # GPIO6 for jd3.
95 '^realtek,in[1-2]-differential$':
98 single-ended.
100 '^realtek,lout[1-3]-differential$':
103 single-ended.
106 - compatible
107 - reg
108 - interrupts
109 - gpio-controller
110 - '#gpio-cells'
115 - |
116 #include <dt-bindings/gpio/gpio.h>
117 #include <dt-bindings/interrupt-controller/irq.h>
120 #address-cells = <1>;
121 #size-cells = <0>;
123 codec@2c {
126 interrupt-parent = <&gpio>;
128 gpio-controller;
129 #gpio-cells = <2>;
130 realtek,pow-ldo2-gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
131 realtek,reset-gpio = <&gpio 3 GPIO_ACTIVE_LOW>;
132 realtek,in1-differential;
133 realtek,gpio-config = <0 0 0 0 0 2>;