63 lines · c
1/*2 * Copyright 2014 Maxime Ripard3 *4 * Maxime Ripard <maxime.ripard@free-electrons.com>5 *6 * This file is dual-licensed: you can use it either under the terms7 * of the GPL or the X11 license, at your option. Note that this dual8 * licensing only applies to this file, and not this project as a9 * whole.10 *11 * a) This file is free software; you can redistribute it and/or12 * modify it under the terms of the GNU General Public License as13 * published by the Free Software Foundation; either version 2 of the14 * License, or (at your option) any later version.15 *16 * This file is distributed in the hope that it will be useful,17 * but WITHOUT ANY WARRANTY; without even the implied warranty of18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the19 * GNU General Public License for more details.20 *21 * You should have received a copy of the GNU General Public22 * License along with this file; if not, write to the Free23 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,24 * MA 02110-1301 USA25 *26 * Or, alternatively,27 *28 * b) Permission is hereby granted, free of charge, to any person29 * obtaining a copy of this software and associated documentation30 * files (the "Software"), to deal in the Software without31 * restriction, including without limitation the rights to use,32 * copy, modify, merge, publish, distribute, sublicense, and/or33 * sell copies of the Software, and to permit persons to whom the34 * Software is furnished to do so, subject to the following35 * conditions:36 *37 * The above copyright notice and this permission notice shall be38 * included in all copies or substantial portions of the Software.39 *40 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,41 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES42 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND43 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT44 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,45 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING46 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR47 * OTHER DEALINGS IN THE SOFTWARE.48 */49 50#ifndef __DT_BINDINGS_PINCTRL_SUN4I_A10_H_51#define __DT_BINDINGS_PINCTRL_SUN4I_A10_H_52 53#define SUN4I_PINCTRL_10_MA 054#define SUN4I_PINCTRL_20_MA 155#define SUN4I_PINCTRL_30_MA 256#define SUN4I_PINCTRL_40_MA 357 58#define SUN4I_PINCTRL_NO_PULL 059#define SUN4I_PINCTRL_PULL_UP 160#define SUN4I_PINCTRL_PULL_DOWN 261 62#endif /* __DT_BINDINGS_PINCTRL_SUN4I_A10_H_ */63