Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * Copyright 2012 ST-Ericsson
 
 
 
 
 
 
 
  4 */
  5#include <dt-bindings/pinctrl/nomadik.h>
  6
  7/ {
  8	in_nopull: in_nopull {
  9		ste,input = <INPUT_NOPULL>;
 10	};
 11
 12	in_pu: input_pull_up {
 13		ste,input = <INPUT_PULLUP>;
 14	};
 15
 16	in_pd: input_pull_down {
 17		ste,input = <INPUT_PULLDOWN>;
 18	};
 19
 20	out_hi: output_high {
 21		ste,output = <OUTPUT_HIGH>;
 22	};
 23
 24	out_lo: output_low {
 25		ste,output = <OUTPUT_LOW>;
 26	};
 27
 28	gpio_in_nopull: gpio_input_nopull {
 29		ste,gpio = <GPIOMODE_ENABLED>;
 30		ste,input = <INPUT_NOPULL>;
 31	};
 32
 33	gpio_in_pu: gpio_input_pull_up {
 34		ste,gpio = <GPIOMODE_ENABLED>;
 35		ste,input = <INPUT_PULLUP>;
 36	};
 37
 38	gpio_in_pd: gpio_input_pull_down {
 39		ste,gpio = <GPIOMODE_ENABLED>;
 40		ste,input = <INPUT_PULLDOWN>;
 41	};
 42
 43	gpio_out_lo: gpio_output_low {
 44		ste,gpio = <GPIOMODE_ENABLED>;
 45		ste,output = <OUTPUT_LOW>;
 46	};
 47
 48	gpio_out_hi: gpio_output_high {
 49		ste,gpio = <GPIOMODE_ENABLED>;
 50		ste,output = <OUTPUT_HIGH>;
 51	};
 52
 53	slpm_pdis: slpm_pdis {
 54		ste,sleep = <SLPM_ENABLED>;
 55		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
 56		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 57	};
 58
 59	slpm_wkup_pdis: slpm_wkup_pdis {
 60		ste,sleep = <SLPM_ENABLED>;
 61		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 62		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 63	};
 64
 65	slpm_wkup_pdis_en: slpm_wkup_pdis_en {
 66		ste,sleep = <SLPM_ENABLED>;
 67		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 68		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
 69	};
 70
 71	slpm_in_pu: slpm_in_pu {
 72		ste,sleep = <SLPM_ENABLED>;
 73		ste,sleep-input = <SLPM_INPUT_PULLUP>;
 74		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 75	};
 76
 77	slpm_in_pdis: slpm_in_pdis {
 78		ste,sleep = <SLPM_ENABLED>;
 79		ste,sleep-input = <SLPM_DIR_INPUT>;
 80		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
 81		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 82	};
 83
 84	slpm_in_wkup_pdis: slpm_in_wkup_pdis {
 85		ste,sleep = <SLPM_ENABLED>;
 86		ste,sleep-input = <SLPM_DIR_INPUT>;
 87		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 88		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 89	};
 90
 91	slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
 92		ste,sleep = <SLPM_ENABLED>;
 93		ste,sleep-input = <SLPM_DIR_INPUT>;
 94		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 95		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
 96	};
 97
 98	slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
 99		ste,sleep = <SLPM_ENABLED>;
100		ste,sleep-input = <SLPM_INPUT_PULLUP>;
101		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
102		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
103	};
104
105	slpm_out_lo: slpm_out_lo {
106		ste,sleep = <SLPM_ENABLED>;
107		ste,sleep-output = <SLPM_OUTPUT_LOW>;
108		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
109	};
110
111	slpm_out_hi: slpm_out_hi {
112		ste,sleep = <SLPM_ENABLED>;
113		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
114		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
115	};
116
117	slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
118		ste,sleep = <SLPM_ENABLED>;
119		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
120		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
121		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
122	};
123
124	slpm_out_lo_pdis: slpm_out_lo_pdis {
125		ste,sleep = <SLPM_ENABLED>;
126		ste,sleep-output = <SLPM_OUTPUT_LOW>;
127		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
128		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
129	};
130
131	slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
132		ste,sleep = <SLPM_ENABLED>;
133		ste,sleep-output = <SLPM_OUTPUT_LOW>;
134		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
135		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
136	};
137
138	slpm_out_wkup_pdis: slpm_out_wkup_pdis {
139		ste,sleep = <SLPM_ENABLED>;
140		ste,sleep-output = <SLPM_DIR_OUTPUT>;
141		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
142		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
143	};
144
145	in_wkup_pdis: in_wkup_pdis {
146		ste,sleep-input = <SLPM_DIR_INPUT>;
147		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
148		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
149	};
150
151	in_wkup_pdis_en: in_wkup_pdis_en {
152		ste,sleep-input = <SLPM_DIR_INPUT>;
153		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
154		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
155	};
156
157	out_lo_wkup_pdis: out_lo_wkup_pdis {
158		ste,sleep-output = <SLPM_OUTPUT_LOW>;
159		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
160		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
161	};
162
163	out_hi_wkup_pdis: out_hi_wkup_pdis {
164		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
165		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
166		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
167	};
168
169	out_wkup_pdis: out_wkup_pdis {
170		ste,sleep-output = <SLPM_DIR_OUTPUT>;
171		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
172		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
173	};
174};
v4.17
 
  1/*
  2 * Copyright 2012 ST-Ericsson
  3 *
  4 * The code contained herein is licensed under the GNU General Public
  5 * License. You may obtain a copy of the GNU General Public License
  6 * Version 2 or later at the following locations:
  7 *
  8 * http://www.opensource.org/licenses/gpl-license.html
  9 * http://www.gnu.org/copyleft/gpl.html
 10 */
 11#include <dt-bindings/pinctrl/nomadik.h>
 12
 13/ {
 14	in_nopull: in_nopull {
 15		ste,input = <INPUT_NOPULL>;
 16	};
 17
 18	in_pu: input_pull_up {
 19		ste,input = <INPUT_PULLUP>;
 20	};
 21
 22	in_pd: input_pull_down {
 23		ste,input = <INPUT_PULLDOWN>;
 24	};
 25
 26	out_hi: output_high {
 27		ste,output = <OUTPUT_HIGH>;
 28	};
 29
 30	out_lo: output_low {
 31		ste,output = <OUTPUT_LOW>;
 
 
 
 
 
 32	};
 33
 34	gpio_in_pu: gpio_input_pull_up {
 35		ste,gpio = <GPIOMODE_ENABLED>;
 36		ste,input = <INPUT_PULLUP>;
 37	};
 38
 39	gpio_in_pd: gpio_input_pull_down {
 40		ste,gpio = <GPIOMODE_ENABLED>;
 41		ste,input = <INPUT_PULLDOWN>;
 42	};
 43
 44	gpio_out_lo: gpio_output_low {
 45		ste,gpio = <GPIOMODE_ENABLED>;
 46		ste,output = <OUTPUT_LOW>;
 47	};
 48
 49	gpio_out_hi: gpio_output_high {
 50		ste,gpio = <GPIOMODE_ENABLED>;
 51		ste,output = <OUTPUT_HIGH>;
 52	};
 53
 54	slpm_pdis: slpm_pdis {
 55		ste,sleep = <SLPM_ENABLED>;
 56		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
 57		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 58	};
 59
 60	slpm_wkup_pdis: slpm_wkup_pdis {
 61		ste,sleep = <SLPM_ENABLED>;
 62		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 63		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 64	};
 65
 66	slpm_wkup_pdis_en: slpm_wkup_pdis_en {
 67		ste,sleep = <SLPM_ENABLED>;
 68		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 69		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
 70	};
 71
 72	slpm_in_pu: slpm_in_pu {
 73		ste,sleep = <SLPM_ENABLED>;
 74		ste,sleep-input = <SLPM_INPUT_PULLUP>;
 75		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 76	};
 77
 78	slpm_in_pdis: slpm_in_pdis {
 79		ste,sleep = <SLPM_ENABLED>;
 80		ste,sleep-input = <SLPM_DIR_INPUT>;
 81		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
 82		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 83	};
 84
 85	slpm_in_wkup_pdis: slpm_in_wkup_pdis {
 86		ste,sleep = <SLPM_ENABLED>;
 87		ste,sleep-input = <SLPM_DIR_INPUT>;
 88		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 89		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
 90	};
 91
 92	slpm_in_wkup_pdis_en: slpm_in_wkup_pdis_en {
 93		ste,sleep = <SLPM_ENABLED>;
 94		ste,sleep-input = <SLPM_DIR_INPUT>;
 95		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
 96		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
 97	};
 98
 99	slpm_in_pu_wkup_pdis_en: slpm_in_wkup_pdis_en {
100		ste,sleep = <SLPM_ENABLED>;
101		ste,sleep-input = <SLPM_INPUT_PULLUP>;
102		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
103		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
104	};
105
106	slpm_out_lo: slpm_out_lo {
107		ste,sleep = <SLPM_ENABLED>;
108		ste,sleep-output = <SLPM_OUTPUT_LOW>;
109		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
110	};
111
112	slpm_out_hi: slpm_out_hi {
113		ste,sleep = <SLPM_ENABLED>;
114		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
115		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
116	};
117
118	slpm_out_hi_wkup_pdis: slpm_out_hi_wkup_pdis {
119		ste,sleep = <SLPM_ENABLED>;
120		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
121		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
122		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
123	};
124
125	slpm_out_lo_pdis: slpm_out_lo_pdis {
126		ste,sleep = <SLPM_ENABLED>;
127		ste,sleep-output = <SLPM_OUTPUT_LOW>;
128		ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
129		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
130	};
131
132	slpm_out_lo_wkup_pdis: slpm_out_lo_wkup_pdis {
133		ste,sleep = <SLPM_ENABLED>;
134		ste,sleep-output = <SLPM_OUTPUT_LOW>;
135		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
136		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
137	};
138
139	slpm_out_wkup_pdis: slpm_out_wkup_pdis {
140		ste,sleep = <SLPM_ENABLED>;
141		ste,sleep-output = <SLPM_DIR_OUTPUT>;
142		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
143		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
144	};
145
146	in_wkup_pdis: in_wkup_pdis {
147		ste,sleep-input = <SLPM_DIR_INPUT>;
148		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
149		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
150	};
151
152	in_wkup_pdis_en: in_wkup_pdis_en {
153		ste,sleep-input = <SLPM_DIR_INPUT>;
154		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
155		ste,sleep-pull-disable = <SLPM_PDIS_ENABLED>;
156	};
157
158	out_lo_wkup_pdis: out_lo_wkup_pdis {
159		ste,sleep-output = <SLPM_OUTPUT_LOW>;
160		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
161		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
162	};
163
164	out_hi_wkup_pdis: out_hi_wkup_pdis {
165		ste,sleep-output = <SLPM_OUTPUT_HIGH>;
166		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
167		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
168	};
169
170	out_wkup_pdis: out_wkup_pdis {
171		ste,sleep-output = <SLPM_DIR_OUTPUT>;
172		ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
173		ste,sleep-pull-disable = <SLPM_PDIS_DISABLED>;
174	};
175};