| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/arm/plat-omap/include/mach/mux.h |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 8 | 9 | * Copyright (C) 2003 - 2008 Nokia Corporation |
|---|
| 9 | 10 | * |
|---|
| 10 | 11 | * Written by Tony Lindgren |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 14 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 15 | | - * (at your option) any later version. |
|---|
| 16 | | - * |
|---|
| 17 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 20 | | - * GNU General Public License for more details. |
|---|
| 21 | | - * |
|---|
| 22 | | - * You should have received a copy of the GNU General Public License |
|---|
| 23 | | - * along with this program; if not, write to the Free Software |
|---|
| 24 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 25 | 12 | * |
|---|
| 26 | 13 | * NOTE: Please use the following naming style for new pin entries. |
|---|
| 27 | 14 | * For example, W8_1610_MMC2_DAT0, where: |
|---|
| .. | .. |
|---|
| 101 | 88 | * OMAP730/850 has a slightly different config for the pin mux. |
|---|
| 102 | 89 | * - config regs are the OMAP7XX_IO_CONF_x regs (see omap7xx.h) regs and |
|---|
| 103 | 90 | * not the FUNC_MUX_CTRL_x regs from hardware.h |
|---|
| 104 | | - * - for pull-up/down, only has one enable bit which is is in the same register |
|---|
| 91 | + * - for pull-up/down, only has one enable bit which is in the same register |
|---|
| 105 | 92 | * as mux config |
|---|
| 106 | 93 | */ |
|---|
| 107 | 94 | #define MUX_CFG_7XX(desc, mux_reg, mode_offset, mode, \ |
|---|