Lines Matching +full:out +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
16 "Line", "Line Out";
18 simple-audio-card,routing =
19 "Line Out", "LOUT",
20 "Line Out", "ROUT",
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
29 simple-audio-card,cpu {
30 sound-dai = <&mcbsp1>;
33 sound_master: simple-audio-card,codec {
34 sound-dai = <&tlv320aic23_1>;
35 system-clock-frequency = <12000000>;
40 compatible = "simple-audio-card";
41 simple-audio-card,name = "tlv320aic23-hifi";
43 simple-audio-card,widgets =
46 "Line", "Line Out";
48 simple-audio-card,routing =
49 "Line Out", "LOUT",
50 "Line Out", "ROUT",
55 simple-audio-card,format = "i2s";
56 simple-audio-card,bitclock-master = <&sound_master2>;
57 simple-audio-card,frame-master = <&sound_master2>;
59 simple-audio-card,cpu {
60 sound-dai = <&mcbsp2>;
63 sound_master2: simple-audio-card,codec {
64 sound-dai = <&tlv320aic23_2>;
65 system-clock-frequency = <12000000>;
69 expander-keys {
70 compatible = "gpio-keys-polled";
71 poll-interval = <100>;
73 key-record {
76 gpios = <&tca6416_2 15 GPIO_ACTIVE_LOW>;
79 key-play {
82 gpios = <&tca6416_2 14 GPIO_ACTIVE_LOW>;
85 key-stop {
88 gpios = <&tca6416_2 13 GPIO_ACTIVE_LOW>;
91 key-fwd {
94 gpios = <&tca6416_2 12 GPIO_ACTIVE_LOW>;
97 key-rwd {
100 gpios = <&tca6416_2 11 GPIO_ACTIVE_LOW>;
103 key-shift {
106 gpios = <&tca6416_2 10 GPIO_ACTIVE_LOW>;
109 key-mode {
112 gpios = <&tca6416_2 9 GPIO_ACTIVE_LOW>;
115 key-menu {
118 gpios = <&tca6416_2 8 GPIO_ACTIVE_LOW>;
121 key-up {
124 gpios = <&tca6416_2 7 GPIO_ACTIVE_LOW>;
127 key-down {
130 gpios = <&tca6416_2 6 GPIO_ACTIVE_LOW>;
140 #sound-dai-cells = <0>;
147 #sound-dai-cells = <0>;
157 #sound-dai-cells = <0>;
165 gpio-controller;
166 #gpio-cells = <2>;
167 vcc-supply = <&vdd_io_reg>;
173 gpio-controller;
174 #gpio-cells = <2>;
175 vcc-supply = <&vdd_io_reg>;
187 #sound-dai-cells = <0>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&mcbsp1_pins>;
194 #sound-dai-cells = <0>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&mcbsp2_pins>;
200 mcbsp1_pins: mcbsp1-pins {
201 pinctrl-single,pins = <
209 mcbsp2_pins: mcbsp2-pins {
210 pinctrl-single,pins = <