Commit 6863f198 authored by Uwe Kleine-König's avatar Uwe Kleine-König
Browse files

arm/imx/iomux-mx1: unify style and comment cleanup



- use __MACH_IOMUX_MX1_H__ as header protector analogous to
  <mach/mx...h>
- use tabs for indention

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
parent f021b5a1
Loading
Loading
Loading
Loading
+150 −159
Original line number Diff line number Diff line
@@ -15,21 +15,13 @@
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA 02110-1301, USA.
 */

#ifndef _MXC_IOMUX_MX1_H
#define _MXC_IOMUX_MX1_H
#ifndef __MACH_IOMUX_MX1_H__
#define __MACH_IOMUX_MX1_H__

#ifndef GPIO_PORTA
#error Please include mach/iomux.h
#endif

/* FIXME: This list is not completed. The correct directions are
* missing on some (many) pins
*/


/* Primary GPIO pin functions */

#define PA0_AIN_SPI2_CLK	(GPIO_PORTA | GPIO_AIN | GPIO_OUT | 0)
#define PA0_AF_ETMTRACESYNC	(GPIO_PORTA | GPIO_AF | 0)
#define PA1_AOUT_SPI2_RXD	(GPIO_PORTA | GPIO_AOUT | GPIO_IN | 1)
@@ -162,5 +154,4 @@
#define PD31_PF_TMR2OUT		(GPIO_PORTD | GPIO_PF | 31)
#define PD31_BIN_SPI2_TXD	(GPIO_PORTD | GPIO_BIN | 31)


#endif
#endif /* ifndef __MACH_IOMUX_MX1_H__ */