Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pinctrl-nomadik-db8500.c File Reference
#include <linux/kernel.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-nomadik.h"

Go to the source code of this file.

Macros

#define _GPIO(offset)   (offset)
 
#define DB8500_PIN_AJ5   _GPIO(0)
 
#define DB8500_PIN_AJ3   _GPIO(1)
 
#define DB8500_PIN_AH4   _GPIO(2)
 
#define DB8500_PIN_AH3   _GPIO(3)
 
#define DB8500_PIN_AH6   _GPIO(4)
 
#define DB8500_PIN_AG6   _GPIO(5)
 
#define DB8500_PIN_AF6   _GPIO(6)
 
#define DB8500_PIN_AG5   _GPIO(7)
 
#define DB8500_PIN_AD5   _GPIO(8)
 
#define DB8500_PIN_AE4   _GPIO(9)
 
#define DB8500_PIN_AF5   _GPIO(10)
 
#define DB8500_PIN_AG4   _GPIO(11)
 
#define DB8500_PIN_AC4   _GPIO(12)
 
#define DB8500_PIN_AF3   _GPIO(13)
 
#define DB8500_PIN_AE3   _GPIO(14)
 
#define DB8500_PIN_AC3   _GPIO(15)
 
#define DB8500_PIN_AD3   _GPIO(16)
 
#define DB8500_PIN_AD4   _GPIO(17)
 
#define DB8500_PIN_AC2   _GPIO(18)
 
#define DB8500_PIN_AC1   _GPIO(19)
 
#define DB8500_PIN_AB4   _GPIO(20)
 
#define DB8500_PIN_AB3   _GPIO(21)
 
#define DB8500_PIN_AA3   _GPIO(22)
 
#define DB8500_PIN_AA4   _GPIO(23)
 
#define DB8500_PIN_AB2   _GPIO(24)
 
#define DB8500_PIN_Y4   _GPIO(25)
 
#define DB8500_PIN_Y2   _GPIO(26)
 
#define DB8500_PIN_AA2   _GPIO(27)
 
#define DB8500_PIN_AA1   _GPIO(28)
 
#define DB8500_PIN_W2   _GPIO(29)
 
#define DB8500_PIN_W3   _GPIO(30)
 
#define DB8500_PIN_V3   _GPIO(31)
 
#define DB8500_PIN_V2   _GPIO(32)
 
#define DB8500_PIN_AF2   _GPIO(33)
 
#define DB8500_PIN_AE1   _GPIO(34)
 
#define DB8500_PIN_AE2   _GPIO(35)
 
#define DB8500_PIN_AG2   _GPIO(36)
 
#define DB8500_PIN_F3   _GPIO(64)
 
#define DB8500_PIN_F1   _GPIO(65)
 
#define DB8500_PIN_G3   _GPIO(66)
 
#define DB8500_PIN_G2   _GPIO(67)
 
#define DB8500_PIN_E1   _GPIO(68)
 
#define DB8500_PIN_E2   _GPIO(69)
 
#define DB8500_PIN_G5   _GPIO(70)
 
#define DB8500_PIN_G4   _GPIO(71)
 
#define DB8500_PIN_H4   _GPIO(72)
 
#define DB8500_PIN_H3   _GPIO(73)
 
#define DB8500_PIN_J3   _GPIO(74)
 
#define DB8500_PIN_H2   _GPIO(75)
 
#define DB8500_PIN_J2   _GPIO(76)
 
#define DB8500_PIN_H1   _GPIO(77)
 
#define DB8500_PIN_F4   _GPIO(78)
 
#define DB8500_PIN_E3   _GPIO(79)
 
#define DB8500_PIN_E4   _GPIO(80)
 
#define DB8500_PIN_D2   _GPIO(81)
 
#define DB8500_PIN_C1   _GPIO(82)
 
#define DB8500_PIN_D3   _GPIO(83)
 
#define DB8500_PIN_C2   _GPIO(84)
 
#define DB8500_PIN_D5   _GPIO(85)
 
#define DB8500_PIN_C6   _GPIO(86)
 
#define DB8500_PIN_B3   _GPIO(87)
 
#define DB8500_PIN_C4   _GPIO(88)
 
#define DB8500_PIN_E6   _GPIO(89)
 
#define DB8500_PIN_A3   _GPIO(90)
 
#define DB8500_PIN_B6   _GPIO(91)
 
#define DB8500_PIN_D6   _GPIO(92)
 
#define DB8500_PIN_B7   _GPIO(93)
 
#define DB8500_PIN_D7   _GPIO(94)
 
#define DB8500_PIN_E8   _GPIO(95)
 
#define DB8500_PIN_D8   _GPIO(96)
 
#define DB8500_PIN_D9   _GPIO(97)
 
#define DB8500_PIN_A5   _GPIO(128)
 
#define DB8500_PIN_B4   _GPIO(129)
 
#define DB8500_PIN_C8   _GPIO(130)
 
#define DB8500_PIN_A12   _GPIO(131)
 
#define DB8500_PIN_C10   _GPIO(132)
 
#define DB8500_PIN_B10   _GPIO(133)
 
#define DB8500_PIN_B9   _GPIO(134)
 
#define DB8500_PIN_A9   _GPIO(135)
 
#define DB8500_PIN_C7   _GPIO(136)
 
#define DB8500_PIN_A7   _GPIO(137)
 
#define DB8500_PIN_C5   _GPIO(138)
 
#define DB8500_PIN_C9   _GPIO(139)
 
#define DB8500_PIN_B11   _GPIO(140)
 
#define DB8500_PIN_C12   _GPIO(141)
 
#define DB8500_PIN_C11   _GPIO(142)
 
#define DB8500_PIN_D12   _GPIO(143)
 
#define DB8500_PIN_B13   _GPIO(144)
 
#define DB8500_PIN_C13   _GPIO(145)
 
#define DB8500_PIN_D13   _GPIO(146)
 
#define DB8500_PIN_C15   _GPIO(147)
 
#define DB8500_PIN_B16   _GPIO(148)
 
#define DB8500_PIN_B14   _GPIO(149)
 
#define DB8500_PIN_C14   _GPIO(150)
 
#define DB8500_PIN_D17   _GPIO(151)
 
#define DB8500_PIN_D16   _GPIO(152)
 
#define DB8500_PIN_B17   _GPIO(153)
 
#define DB8500_PIN_C16   _GPIO(154)
 
#define DB8500_PIN_C19   _GPIO(155)
 
#define DB8500_PIN_C17   _GPIO(156)
 
#define DB8500_PIN_A18   _GPIO(157)
 
#define DB8500_PIN_C18   _GPIO(158)
 
#define DB8500_PIN_B19   _GPIO(159)
 
#define DB8500_PIN_B20   _GPIO(160)
 
#define DB8500_PIN_D21   _GPIO(161)
 
#define DB8500_PIN_D20   _GPIO(162)
 
#define DB8500_PIN_C20   _GPIO(163)
 
#define DB8500_PIN_B21   _GPIO(164)
 
#define DB8500_PIN_C21   _GPIO(165)
 
#define DB8500_PIN_A22   _GPIO(166)
 
#define DB8500_PIN_B24   _GPIO(167)
 
#define DB8500_PIN_C22   _GPIO(168)
 
#define DB8500_PIN_D22   _GPIO(169)
 
#define DB8500_PIN_C23   _GPIO(170)
 
#define DB8500_PIN_D23   _GPIO(171)
 
#define DB8500_PIN_AJ27   _GPIO(192)
 
#define DB8500_PIN_AH27   _GPIO(193)
 
#define DB8500_PIN_AF27   _GPIO(194)
 
#define DB8500_PIN_AG28   _GPIO(195)
 
#define DB8500_PIN_AG26   _GPIO(196)
 
#define DB8500_PIN_AH24   _GPIO(197)
 
#define DB8500_PIN_AG25   _GPIO(198)
 
#define DB8500_PIN_AH23   _GPIO(199)
 
#define DB8500_PIN_AH26   _GPIO(200)
 
#define DB8500_PIN_AF24   _GPIO(201)
 
#define DB8500_PIN_AF25   _GPIO(202)
 
#define DB8500_PIN_AE23   _GPIO(203)
 
#define DB8500_PIN_AF23   _GPIO(204)
 
#define DB8500_PIN_AG23   _GPIO(205)
 
#define DB8500_PIN_AG24   _GPIO(206)
 
#define DB8500_PIN_AJ23   _GPIO(207)
 
#define DB8500_PIN_AH16   _GPIO(208)
 
#define DB8500_PIN_AG15   _GPIO(209)
 
#define DB8500_PIN_AJ15   _GPIO(210)
 
#define DB8500_PIN_AG14   _GPIO(211)
 
#define DB8500_PIN_AF13   _GPIO(212)
 
#define DB8500_PIN_AG13   _GPIO(213)
 
#define DB8500_PIN_AH15   _GPIO(214)
 
#define DB8500_PIN_AH13   _GPIO(215)
 
#define DB8500_PIN_AG12   _GPIO(216)
 
#define DB8500_PIN_AH12   _GPIO(217)
 
#define DB8500_PIN_AH11   _GPIO(218)
 
#define DB8500_PIN_AG10   _GPIO(219)
 
#define DB8500_PIN_AH10   _GPIO(220)
 
#define DB8500_PIN_AJ11   _GPIO(221)
 
#define DB8500_PIN_AJ9   _GPIO(222)
 
#define DB8500_PIN_AH9   _GPIO(223)
 
#define DB8500_PIN_AG9   _GPIO(224)
 
#define DB8500_PIN_AG8   _GPIO(225)
 
#define DB8500_PIN_AF8   _GPIO(226)
 
#define DB8500_PIN_AH7   _GPIO(227)
 
#define DB8500_PIN_AJ6   _GPIO(228)
 
#define DB8500_PIN_AG7   _GPIO(229)
 
#define DB8500_PIN_AF7   _GPIO(230)
 
#define DB8500_PIN_AF28   _GPIO(256)
 
#define DB8500_PIN_AE29   _GPIO(257)
 
#define DB8500_PIN_AD29   _GPIO(258)
 
#define DB8500_PIN_AC29   _GPIO(259)
 
#define DB8500_PIN_AD28   _GPIO(260)
 
#define DB8500_PIN_AD26   _GPIO(261)
 
#define DB8500_PIN_AE26   _GPIO(262)
 
#define DB8500_PIN_AG29   _GPIO(263)
 
#define DB8500_PIN_AE27   _GPIO(264)
 
#define DB8500_PIN_AD27   _GPIO(265)
 
#define DB8500_PIN_AC28   _GPIO(266)
 
#define DB8500_PIN_AC27   _GPIO(267)
 
#define DB8500_GPIO_RANGE(a, b, c)
 
#define DB8500_PIN_GROUP(a, b)
 
#define DB8500_FUNC_GROUPS(a, b...)   static const char * const a##_groups[] = { b };
 
#define FUNCTION(fname)
 

Functions

 DB8500_FUNC_GROUPS (u0,"u0_a_1","u0_c_1")
 
 DB8500_FUNC_GROUPS (u1,"u1rxtx_a_1","u1ctsrts_a_1")
 
 DB8500_FUNC_GROUPS (u2,"u2rxtx_b_1","u2rxtx_c_1","u2ctsrts_c_1","u2rxtx_c_2","u2rxtx_c_3")
 
 DB8500_FUNC_GROUPS (ipi2c,"ipi2c_a_1","ipi2c_a_2")
 
 DB8500_FUNC_GROUPS (msp0,"msp0txrx_a_1","msp0tfstck_a_1","msp0rfstck_a_1","msp0txrx_b_1","msp0sck_b_1")
 
 DB8500_FUNC_GROUPS (mc0,"mc0_a_1","mc0_dat47_a_1","mc0dat31dir_a_1")
 
 DB8500_FUNC_GROUPS (msp1,"msp1txrx_a_1","msp1_a_1","msp1txrx_b_1")
 
 DB8500_FUNC_GROUPS (lcdb,"lcdb_a_1")
 
 DB8500_FUNC_GROUPS (lcd,"lcdvsi0_a_1","lcdvsi1_a_1","lcd_d0_d7_a_1","lcd_d8_d11_a_1","lcd_d12_d23_a_1","lcd_b_1")
 
 DB8500_FUNC_GROUPS (kp,"kp_a_1","kp_b_1","kp_b_2","kp_c_1","kp_oc1_1")
 
 DB8500_FUNC_GROUPS (mc2,"mc2_a_1","mc2rstn_c_1")
 
 DB8500_FUNC_GROUPS (ssp1,"ssp1_a_1")
 
 DB8500_FUNC_GROUPS (ssp0,"ssp0_a_1")
 
 DB8500_FUNC_GROUPS (i2c0,"i2c0_a_1")
 
 DB8500_FUNC_GROUPS (ipgpio,"ipgpio0_a_1","ipgpio1_a_1","ipgpio7_b_1","ipgpio2_b_1","ipgpio3_b_1","ipgpio6_c_1","ipgpio0_c_1","ipgpio1_c_1","ipgpio3_c_1","ipgpio2_c_1","ipgpio4_c_1","ipgpio5_c_1","ipgpio6_c_2","ipgpio7_c_1","ipgpio2_c_2","ipgpio3_c_2","ipgpio4_c_2","ipgpio5_c_2")
 
 DB8500_FUNC_GROUPS (msp2,"msp2sck_a_1","msp2_a_1")
 
 DB8500_FUNC_GROUPS (mc4,"mc4_a_1","mc4rstn_c_1")
 
 DB8500_FUNC_GROUPS (mc1,"mc1_a_1","mc1_a_2","mc1dir_a_1")
 
 DB8500_FUNC_GROUPS (hsi,"hsir_a_1","hsit_a_1","hsit_a_2")
 
 DB8500_FUNC_GROUPS (clkout,"clkout_a_1","clkout_a_2","clkout_c_1")
 
 DB8500_FUNC_GROUPS (usb,"usb_a_1")
 
 DB8500_FUNC_GROUPS (trig,"trig_b_1")
 
 DB8500_FUNC_GROUPS (i2c4,"i2c4_b_1")
 
 DB8500_FUNC_GROUPS (i2c1,"i2c1_b_1","i2c1_b_2")
 
 DB8500_FUNC_GROUPS (i2c2,"i2c2_b_1","i2c2_b_2")
 
 DB8500_FUNC_GROUPS (uartmod,"uartmodtx_b_1","uartmodrx_b_1","uartmodrx_b_2","uartmodrx_c_1","uartmod_tx_c_1")
 
 DB8500_FUNC_GROUPS (stmmod,"stmmod_b_1","stmmod_c_1")
 
 DB8500_FUNC_GROUPS (spi3,"spi3_b_1")
 
 DB8500_FUNC_GROUPS (sm,"sm_b_1","smcs0_b_1","smcs1_b_1","smcleale_c_1","smps0_c_1","smps1_c_1")
 
 DB8500_FUNC_GROUPS (lcda,"lcdaclk_b_1","lcda_b_1")
 
 DB8500_FUNC_GROUPS (ddrtrig,"ddrtrig_b_1")
 
 DB8500_FUNC_GROUPS (pwl,"pwl_b_1","pwl_b_2","pwl_b_3","pwl_b_4")
 
 DB8500_FUNC_GROUPS (spi1,"spi1_b_1")
 
 DB8500_FUNC_GROUPS (mc3,"mc3_b_1")
 
 DB8500_FUNC_GROUPS (ipjtag,"ipjtag_c_1")
 
 DB8500_FUNC_GROUPS (slim0,"slim0_c_1")
 
 DB8500_FUNC_GROUPS (ms,"ms_c_1")
 
 DB8500_FUNC_GROUPS (iptrigout,"iptrigout_c_1")
 
 DB8500_FUNC_GROUPS (stmape,"stmape_c_1","stmape_c_2")
 
 DB8500_FUNC_GROUPS (mc5,"mc5_c_1")
 
 DB8500_FUNC_GROUPS (usbsim,"usbsim_c_1","usbsim_c_2")
 
 DB8500_FUNC_GROUPS (i2c3,"i2c3_c_1","i2c3_c_2")
 
 DB8500_FUNC_GROUPS (spi0,"spi0_c_1")
 
 DB8500_FUNC_GROUPS (spi2,"spi2_oc1_1","spi2_oc1_2")
 
void __devinit nmk_pinctrl_db8500_init (const struct nmk_pinctrl_soc_data **soc)
 

Macro Definition Documentation

#define _GPIO (   offset)    (offset)

Definition at line 6 of file pinctrl-nomadik-db8500.c.

#define DB8500_FUNC_GROUPS (   a,
  b... 
)    static const char * const a##_groups[] = { b };

Definition at line 735 of file pinctrl-nomadik-db8500.c.

#define DB8500_GPIO_RANGE (   a,
  b,
  c 
)
Value:
{ .name = "DB8500", .id = a, .base = b, \
.pin_base = b, .npins = c }

Definition at line 358 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A12   _GPIO(131)

Definition at line 84 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A18   _GPIO(157)

Definition at line 110 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A22   _GPIO(166)

Definition at line 119 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A3   _GPIO(90)

Definition at line 72 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A5   _GPIO(128)

Definition at line 81 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A7   _GPIO(137)

Definition at line 90 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_A9   _GPIO(135)

Definition at line 88 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AA1   _GPIO(28)

Definition at line 36 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AA2   _GPIO(27)

Definition at line 35 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AA3   _GPIO(22)

Definition at line 30 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AA4   _GPIO(23)

Definition at line 31 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AB2   _GPIO(24)

Definition at line 32 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AB3   _GPIO(21)

Definition at line 29 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AB4   _GPIO(20)

Definition at line 28 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC1   _GPIO(19)

Definition at line 27 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC2   _GPIO(18)

Definition at line 26 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC27   _GPIO(267)

Definition at line 177 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC28   _GPIO(266)

Definition at line 176 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC29   _GPIO(259)

Definition at line 169 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC3   _GPIO(15)

Definition at line 23 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AC4   _GPIO(12)

Definition at line 20 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD26   _GPIO(261)

Definition at line 171 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD27   _GPIO(265)

Definition at line 175 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD28   _GPIO(260)

Definition at line 170 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD29   _GPIO(258)

Definition at line 168 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD3   _GPIO(16)

Definition at line 24 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD4   _GPIO(17)

Definition at line 25 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AD5   _GPIO(8)

Definition at line 16 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE1   _GPIO(34)

Definition at line 42 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE2   _GPIO(35)

Definition at line 43 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE23   _GPIO(203)

Definition at line 137 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE26   _GPIO(262)

Definition at line 172 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE27   _GPIO(264)

Definition at line 174 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE29   _GPIO(257)

Definition at line 167 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE3   _GPIO(14)

Definition at line 22 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AE4   _GPIO(9)

Definition at line 17 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF13   _GPIO(212)

Definition at line 146 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF2   _GPIO(33)

Definition at line 41 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF23   _GPIO(204)

Definition at line 138 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF24   _GPIO(201)

Definition at line 135 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF25   _GPIO(202)

Definition at line 136 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF27   _GPIO(194)

Definition at line 128 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF28   _GPIO(256)

Definition at line 166 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF3   _GPIO(13)

Definition at line 21 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF5   _GPIO(10)

Definition at line 18 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF6   _GPIO(6)

Definition at line 14 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF7   _GPIO(230)

Definition at line 164 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AF8   _GPIO(226)

Definition at line 160 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG10   _GPIO(219)

Definition at line 153 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG12   _GPIO(216)

Definition at line 150 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG13   _GPIO(213)

Definition at line 147 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG14   _GPIO(211)

Definition at line 145 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG15   _GPIO(209)

Definition at line 143 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG2   _GPIO(36)

Definition at line 44 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG23   _GPIO(205)

Definition at line 139 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG24   _GPIO(206)

Definition at line 140 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG25   _GPIO(198)

Definition at line 132 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG26   _GPIO(196)

Definition at line 130 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG28   _GPIO(195)

Definition at line 129 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG29   _GPIO(263)

Definition at line 173 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG4   _GPIO(11)

Definition at line 19 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG5   _GPIO(7)

Definition at line 15 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG6   _GPIO(5)

Definition at line 13 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG7   _GPIO(229)

Definition at line 163 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG8   _GPIO(225)

Definition at line 159 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AG9   _GPIO(224)

Definition at line 158 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH10   _GPIO(220)

Definition at line 154 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH11   _GPIO(218)

Definition at line 152 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH12   _GPIO(217)

Definition at line 151 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH13   _GPIO(215)

Definition at line 149 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH15   _GPIO(214)

Definition at line 148 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH16   _GPIO(208)

Definition at line 142 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH23   _GPIO(199)

Definition at line 133 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH24   _GPIO(197)

Definition at line 131 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH26   _GPIO(200)

Definition at line 134 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH27   _GPIO(193)

Definition at line 127 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH3   _GPIO(3)

Definition at line 11 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH4   _GPIO(2)

Definition at line 10 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH6   _GPIO(4)

Definition at line 12 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH7   _GPIO(227)

Definition at line 161 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AH9   _GPIO(223)

Definition at line 157 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ11   _GPIO(221)

Definition at line 155 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ15   _GPIO(210)

Definition at line 144 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ23   _GPIO(207)

Definition at line 141 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ27   _GPIO(192)

Definition at line 126 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ3   _GPIO(1)

Definition at line 9 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ5   _GPIO(0)

Definition at line 8 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ6   _GPIO(228)

Definition at line 162 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_AJ9   _GPIO(222)

Definition at line 156 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B10   _GPIO(133)

Definition at line 86 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B11   _GPIO(140)

Definition at line 93 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B13   _GPIO(144)

Definition at line 97 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B14   _GPIO(149)

Definition at line 102 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B16   _GPIO(148)

Definition at line 101 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B17   _GPIO(153)

Definition at line 106 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B19   _GPIO(159)

Definition at line 112 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B20   _GPIO(160)

Definition at line 113 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B21   _GPIO(164)

Definition at line 117 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B24   _GPIO(167)

Definition at line 120 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B3   _GPIO(87)

Definition at line 69 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B4   _GPIO(129)

Definition at line 82 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B6   _GPIO(91)

Definition at line 73 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B7   _GPIO(93)

Definition at line 75 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_B9   _GPIO(134)

Definition at line 87 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C1   _GPIO(82)

Definition at line 64 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C10   _GPIO(132)

Definition at line 85 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C11   _GPIO(142)

Definition at line 95 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C12   _GPIO(141)

Definition at line 94 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C13   _GPIO(145)

Definition at line 98 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C14   _GPIO(150)

Definition at line 103 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C15   _GPIO(147)

Definition at line 100 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C16   _GPIO(154)

Definition at line 107 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C17   _GPIO(156)

Definition at line 109 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C18   _GPIO(158)

Definition at line 111 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C19   _GPIO(155)

Definition at line 108 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C2   _GPIO(84)

Definition at line 66 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C20   _GPIO(163)

Definition at line 116 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C21   _GPIO(165)

Definition at line 118 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C22   _GPIO(168)

Definition at line 121 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C23   _GPIO(170)

Definition at line 123 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C4   _GPIO(88)

Definition at line 70 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C5   _GPIO(138)

Definition at line 91 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C6   _GPIO(86)

Definition at line 68 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C7   _GPIO(136)

Definition at line 89 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C8   _GPIO(130)

Definition at line 83 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_C9   _GPIO(139)

Definition at line 92 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D12   _GPIO(143)

Definition at line 96 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D13   _GPIO(146)

Definition at line 99 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D16   _GPIO(152)

Definition at line 105 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D17   _GPIO(151)

Definition at line 104 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D2   _GPIO(81)

Definition at line 63 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D20   _GPIO(162)

Definition at line 115 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D21   _GPIO(161)

Definition at line 114 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D22   _GPIO(169)

Definition at line 122 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D23   _GPIO(171)

Definition at line 124 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D3   _GPIO(83)

Definition at line 65 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D5   _GPIO(85)

Definition at line 67 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D6   _GPIO(92)

Definition at line 74 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D7   _GPIO(94)

Definition at line 76 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D8   _GPIO(96)

Definition at line 78 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_D9   _GPIO(97)

Definition at line 79 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E1   _GPIO(68)

Definition at line 50 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E2   _GPIO(69)

Definition at line 51 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E3   _GPIO(79)

Definition at line 61 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E4   _GPIO(80)

Definition at line 62 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E6   _GPIO(89)

Definition at line 71 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_E8   _GPIO(95)

Definition at line 77 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_F1   _GPIO(65)

Definition at line 47 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_F3   _GPIO(64)

Definition at line 46 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_F4   _GPIO(78)

Definition at line 60 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_G2   _GPIO(67)

Definition at line 49 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_G3   _GPIO(66)

Definition at line 48 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_G4   _GPIO(71)

Definition at line 53 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_G5   _GPIO(70)

Definition at line 52 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_GROUP (   a,
  b 
)
Value:
{ .name = #a, .pins = a##_pins, \
.npins = ARRAY_SIZE(a##_pins), .altsetting = b }

Definition at line 611 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_H1   _GPIO(77)

Definition at line 59 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_H2   _GPIO(75)

Definition at line 57 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_H3   _GPIO(73)

Definition at line 55 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_H4   _GPIO(72)

Definition at line 54 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_J2   _GPIO(76)

Definition at line 58 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_J3   _GPIO(74)

Definition at line 56 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_V2   _GPIO(32)

Definition at line 40 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_V3   _GPIO(31)

Definition at line 39 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_W2   _GPIO(29)

Definition at line 37 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_W3   _GPIO(30)

Definition at line 38 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_Y2   _GPIO(26)

Definition at line 34 of file pinctrl-nomadik-db8500.c.

#define DB8500_PIN_Y4   _GPIO(25)

Definition at line 33 of file pinctrl-nomadik-db8500.c.

#define FUNCTION (   fname)
Value:
{ \
.name = #fname, \
.groups = fname##_groups, \
.ngroups = ARRAY_SIZE(fname##_groups), \
}

Definition at line 809 of file pinctrl-nomadik-db8500.c.

Function Documentation

DB8500_FUNC_GROUPS ( u0  ,
"u0_a_1"  ,
"u0_c_1"   
)
DB8500_FUNC_GROUPS ( u1  ,
"u1rxtx_a_1"  ,
"u1ctsrts_a_1"   
)
DB8500_FUNC_GROUPS ( u2  ,
"u2rxtx_b_1"  ,
"u2rxtx_c_1"  ,
"u2ctsrts_c_1"  ,
"u2rxtx_c_2"  ,
"u2rxtx_c_3"   
)
DB8500_FUNC_GROUPS ( ipi2c  ,
"ipi2c_a_1"  ,
"ipi2c_a_2"   
)
DB8500_FUNC_GROUPS ( msp0  ,
"msp0txrx_a_1"  ,
"msp0tfstck_a_1"  ,
"msp0rfstck_a_1"  ,
"msp0txrx_b_1"  ,
"msp0sck_b_1"   
)
DB8500_FUNC_GROUPS ( mc0  ,
"mc0_a_1"  ,
"mc0_dat47_a_1"  ,
"mc0dat31dir_a_1"   
)
DB8500_FUNC_GROUPS ( msp1  ,
"msp1txrx_a_1"  ,
"msp1_a_1"  ,
"msp1txrx_b_1"   
)
DB8500_FUNC_GROUPS ( lcdb  ,
"lcdb_a_1"   
)
DB8500_FUNC_GROUPS ( lcd  ,
"lcdvsi0_a_1"  ,
"lcdvsi1_a_1"  ,
"lcd_d0_d7_a_1"  ,
"lcd_d8_d11_a_1"  ,
"lcd_d12_d23_a_1"  ,
"lcd_b_1"   
)
DB8500_FUNC_GROUPS ( kp  ,
"kp_a_1"  ,
"kp_b_1"  ,
"kp_b_2"  ,
"kp_c_1"  ,
"kp_oc1_1"   
)
DB8500_FUNC_GROUPS ( mc2  ,
"mc2_a_1"  ,
"mc2rstn_c_1"   
)
DB8500_FUNC_GROUPS ( ssp1  ,
"ssp1_a_1"   
)
DB8500_FUNC_GROUPS ( ssp0  ,
"ssp0_a_1"   
)
DB8500_FUNC_GROUPS ( i2c0  ,
"i2c0_a_1"   
)
DB8500_FUNC_GROUPS ( ipgpio  ,
"ipgpio0_a_1"  ,
"ipgpio1_a_1"  ,
"ipgpio7_b_1"  ,
"ipgpio2_b_1"  ,
"ipgpio3_b_1"  ,
"ipgpio6_c_1"  ,
"ipgpio0_c_1"  ,
"ipgpio1_c_1"  ,
"ipgpio3_c_1"  ,
"ipgpio2_c_1"  ,
"ipgpio4_c_1"  ,
"ipgpio5_c_1"  ,
"ipgpio6_c_2"  ,
"ipgpio7_c_1"  ,
"ipgpio2_c_2"  ,
"ipgpio3_c_2"  ,
"ipgpio4_c_2"  ,
"ipgpio5_c_2"   
)
DB8500_FUNC_GROUPS ( msp2  ,
"msp2sck_a_1"  ,
"msp2_a_1"   
)
DB8500_FUNC_GROUPS ( mc4  ,
"mc4_a_1"  ,
"mc4rstn_c_1"   
)
DB8500_FUNC_GROUPS ( mc1  ,
"mc1_a_1"  ,
"mc1_a_2"  ,
"mc1dir_a_1"   
)
DB8500_FUNC_GROUPS ( hsi  ,
"hsir_a_1"  ,
"hsit_a_1"  ,
"hsit_a_2"   
)
DB8500_FUNC_GROUPS ( clkout  ,
"clkout_a_1"  ,
"clkout_a_2"  ,
"clkout_c_1"   
)
DB8500_FUNC_GROUPS ( usb  ,
"usb_a_1"   
)
DB8500_FUNC_GROUPS ( trig  ,
"trig_b_1"   
)
DB8500_FUNC_GROUPS ( i2c4  ,
"i2c4_b_1"   
)
DB8500_FUNC_GROUPS ( i2c1  ,
"i2c1_b_1"  ,
"i2c1_b_2"   
)
DB8500_FUNC_GROUPS ( i2c2  ,
"i2c2_b_1"  ,
"i2c2_b_2"   
)
DB8500_FUNC_GROUPS ( uartmod  ,
"uartmodtx_b_1"  ,
"uartmodrx_b_1"  ,
"uartmodrx_b_2"  ,
"uartmodrx_c_1"  ,
"uartmod_tx_c_1"   
)
DB8500_FUNC_GROUPS ( stmmod  ,
"stmmod_b_1"  ,
"stmmod_c_1"   
)
DB8500_FUNC_GROUPS ( spi3  ,
"spi3_b_1"   
)
DB8500_FUNC_GROUPS ( sm  ,
"sm_b_1"  ,
"smcs0_b_1"  ,
"smcs1_b_1"  ,
"smcleale_c_1"  ,
"smps0_c_1"  ,
"smps1_c_1"   
)
DB8500_FUNC_GROUPS ( lcda  ,
"lcdaclk_b_1"  ,
"lcda_b_1"   
)
DB8500_FUNC_GROUPS ( ddrtrig  ,
"ddrtrig_b_1"   
)
DB8500_FUNC_GROUPS ( pwl  ,
"pwl_b_1"  ,
"pwl_b_2"  ,
"pwl_b_3"  ,
"pwl_b_4"   
)
DB8500_FUNC_GROUPS ( spi1  ,
"spi1_b_1"   
)
DB8500_FUNC_GROUPS ( mc3  ,
"mc3_b_1"   
)
DB8500_FUNC_GROUPS ( ipjtag  ,
"ipjtag_c_1"   
)
DB8500_FUNC_GROUPS ( slim0  ,
"slim0_c_1"   
)
DB8500_FUNC_GROUPS ( ms  ,
"ms_c_1"   
)
DB8500_FUNC_GROUPS ( iptrigout  ,
"iptrigout_c_1"   
)
DB8500_FUNC_GROUPS ( stmape  ,
"stmape_c_1"  ,
"stmape_c_2"   
)
DB8500_FUNC_GROUPS ( mc5  ,
"mc5_c_1"   
)
DB8500_FUNC_GROUPS ( usbsim  ,
"usbsim_c_1"  ,
"usbsim_c_2"   
)
DB8500_FUNC_GROUPS ( i2c3  ,
"i2c3_c_1"  ,
"i2c3_c_2"   
)
DB8500_FUNC_GROUPS ( spi0  ,
"spi0_c_1"   
)
DB8500_FUNC_GROUPS ( spi2  ,
"spi2_oc1_1"  ,
"spi2_oc1_2"   
)
void __devinit nmk_pinctrl_db8500_init ( const struct nmk_pinctrl_soc_data **  soc)

Definition at line 1156 of file pinctrl-nomadik-db8500.c.