Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pinctrl-nomadik-db8540.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 DB8540_PIN_AH6   _GPIO(0)
 
#define DB8540_PIN_AG7   _GPIO(1)
 
#define DB8540_PIN_AF2   _GPIO(2)
 
#define DB8540_PIN_AD3   _GPIO(3)
 
#define DB8540_PIN_AF6   _GPIO(4)
 
#define DB8540_PIN_AG6   _GPIO(5)
 
#define DB8540_PIN_AD5   _GPIO(6)
 
#define DB8540_PIN_AF7   _GPIO(7)
 
#define DB8540_PIN_AG5   _GPIO(8)
 
#define DB8540_PIN_AH5   _GPIO(9)
 
#define DB8540_PIN_AE4   _GPIO(10)
 
#define DB8540_PIN_AD1   _GPIO(11)
 
#define DB8540_PIN_AD2   _GPIO(12)
 
#define DB8540_PIN_AC2   _GPIO(13)
 
#define DB8540_PIN_AC4   _GPIO(14)
 
#define DB8540_PIN_AC3   _GPIO(15)
 
#define DB8540_PIN_AH7   _GPIO(16)
 
#define DB8540_PIN_AE7   _GPIO(17)
 
#define DB8540_PIN_AF8   _GPIO(22)
 
#define DB8540_PIN_AH11   _GPIO(23)
 
#define DB8540_PIN_AG11   _GPIO(24)
 
#define DB8540_PIN_AF11   _GPIO(25)
 
#define DB8540_PIN_AH10   _GPIO(26)
 
#define DB8540_PIN_AG10   _GPIO(27)
 
#define DB8540_PIN_AF10   _GPIO(28)
 
#define DB8540_PIN_AD4   _GPIO(33)
 
#define DB8540_PIN_AF3   _GPIO(34)
 
#define DB8540_PIN_AF5   _GPIO(35)
 
#define DB8540_PIN_AG4   _GPIO(36)
 
#define DB8540_PIN_AF9   _GPIO(37)
 
#define DB8540_PIN_AE8   _GPIO(38)
 
#define DB8540_PIN_M26   _GPIO(64)
 
#define DB8540_PIN_M25   _GPIO(65)
 
#define DB8540_PIN_M27   _GPIO(66)
 
#define DB8540_PIN_N25   _GPIO(67)
 
#define DB8540_PIN_M28   _GPIO(70)
 
#define DB8540_PIN_N26   _GPIO(71)
 
#define DB8540_PIN_M22   _GPIO(72)
 
#define DB8540_PIN_N22   _GPIO(73)
 
#define DB8540_PIN_N27   _GPIO(74)
 
#define DB8540_PIN_N28   _GPIO(75)
 
#define DB8540_PIN_P22   _GPIO(76)
 
#define DB8540_PIN_P28   _GPIO(77)
 
#define DB8540_PIN_P26   _GPIO(78)
 
#define DB8540_PIN_T22   _GPIO(79)
 
#define DB8540_PIN_R27   _GPIO(80)
 
#define DB8540_PIN_P27   _GPIO(81)
 
#define DB8540_PIN_R26   _GPIO(82)
 
#define DB8540_PIN_R25   _GPIO(83)
 
#define DB8540_PIN_U22   _GPIO(84)
 
#define DB8540_PIN_T27   _GPIO(85)
 
#define DB8540_PIN_T25   _GPIO(86)
 
#define DB8540_PIN_T26   _GPIO(87)
 
#define DB8540_PIN_AF20   _GPIO(116)
 
#define DB8540_PIN_AG21   _GPIO(117)
 
#define DB8540_PIN_AH19   _GPIO(118)
 
#define DB8540_PIN_AE19   _GPIO(119)
 
#define DB8540_PIN_AG18   _GPIO(120)
 
#define DB8540_PIN_AH17   _GPIO(121)
 
#define DB8540_PIN_AF19   _GPIO(122)
 
#define DB8540_PIN_AF18   _GPIO(123)
 
#define DB8540_PIN_AE18   _GPIO(124)
 
#define DB8540_PIN_AG17   _GPIO(125)
 
#define DB8540_PIN_AF17   _GPIO(126)
 
#define DB8540_PIN_AE17   _GPIO(127)
 
#define DB8540_PIN_AC27   _GPIO(128)
 
#define DB8540_PIN_AD27   _GPIO(129)
 
#define DB8540_PIN_AE28   _GPIO(130)
 
#define DB8540_PIN_AG26   _GPIO(131)
 
#define DB8540_PIN_AF25   _GPIO(132)
 
#define DB8540_PIN_AE27   _GPIO(133)
 
#define DB8540_PIN_AF27   _GPIO(134)
 
#define DB8540_PIN_AG28   _GPIO(135)
 
#define DB8540_PIN_AF28   _GPIO(136)
 
#define DB8540_PIN_AG25   _GPIO(137)
 
#define DB8540_PIN_AG24   _GPIO(138)
 
#define DB8540_PIN_AD25   _GPIO(139)
 
#define DB8540_PIN_AH25   _GPIO(140)
 
#define DB8540_PIN_AF26   _GPIO(141)
 
#define DB8540_PIN_AF23   _GPIO(142)
 
#define DB8540_PIN_AG23   _GPIO(143)
 
#define DB8540_PIN_AE25   _GPIO(144)
 
#define DB8540_PIN_AH24   _GPIO(145)
 
#define DB8540_PIN_AJ25   _GPIO(146)
 
#define DB8540_PIN_AG27   _GPIO(147)
 
#define DB8540_PIN_AH23   _GPIO(148)
 
#define DB8540_PIN_AE26   _GPIO(149)
 
#define DB8540_PIN_AE24   _GPIO(150)
 
#define DB8540_PIN_AJ24   _GPIO(151)
 
#define DB8540_PIN_AE21   _GPIO(152)
 
#define DB8540_PIN_AG22   _GPIO(153)
 
#define DB8540_PIN_AF21   _GPIO(154)
 
#define DB8540_PIN_AF24   _GPIO(155)
 
#define DB8540_PIN_AH22   _GPIO(156)
 
#define DB8540_PIN_AJ23   _GPIO(157)
 
#define DB8540_PIN_AH21   _GPIO(158)
 
#define DB8540_PIN_AG20   _GPIO(159)
 
#define DB8540_PIN_AE23   _GPIO(160)
 
#define DB8540_PIN_AH20   _GPIO(161)
 
#define DB8540_PIN_AG19   _GPIO(162)
 
#define DB8540_PIN_AF22   _GPIO(163)
 
#define DB8540_PIN_AJ21   _GPIO(164)
 
#define DB8540_PIN_AD26   _GPIO(165)
 
#define DB8540_PIN_AD28   _GPIO(166)
 
#define DB8540_PIN_AC28   _GPIO(167)
 
#define DB8540_PIN_AC26   _GPIO(168)
 
#define DB8540_PIN_J3   _GPIO(192)
 
#define DB8540_PIN_H1   _GPIO(193)
 
#define DB8540_PIN_J2   _GPIO(194)
 
#define DB8540_PIN_H2   _GPIO(195)
 
#define DB8540_PIN_H3   _GPIO(196)
 
#define DB8540_PIN_H4   _GPIO(197)
 
#define DB8540_PIN_G2   _GPIO(198)
 
#define DB8540_PIN_G3   _GPIO(199)
 
#define DB8540_PIN_G4   _GPIO(200)
 
#define DB8540_PIN_F2   _GPIO(201)
 
#define DB8540_PIN_C6   _GPIO(202)
 
#define DB8540_PIN_B6   _GPIO(203)
 
#define DB8540_PIN_B7   _GPIO(204)
 
#define DB8540_PIN_A7   _GPIO(205)
 
#define DB8540_PIN_D7   _GPIO(206)
 
#define DB8540_PIN_D8   _GPIO(207)
 
#define DB8540_PIN_F3   _GPIO(208)
 
#define DB8540_PIN_E2   _GPIO(209)
 
#define DB8540_PIN_C7   _GPIO(210)
 
#define DB8540_PIN_B8   _GPIO(211)
 
#define DB8540_PIN_C10   _GPIO(212)
 
#define DB8540_PIN_C8   _GPIO(213)
 
#define DB8540_PIN_C9   _GPIO(214)
 
#define DB8540_PIN_B9   _GPIO(219)
 
#define DB8540_PIN_A10   _GPIO(220)
 
#define DB8540_PIN_D9   _GPIO(221)
 
#define DB8540_PIN_B11   _GPIO(222)
 
#define DB8540_PIN_B10   _GPIO(223)
 
#define DB8540_PIN_E10   _GPIO(224)
 
#define DB8540_PIN_B12   _GPIO(225)
 
#define DB8540_PIN_D10   _GPIO(226)
 
#define DB8540_PIN_D11   _GPIO(227)
 
#define DB8540_PIN_AJ6   _GPIO(228)
 
#define DB8540_PIN_B13   _GPIO(229)
 
#define DB8540_PIN_C12   _GPIO(230)
 
#define DB8540_PIN_B14   _GPIO(231)
 
#define DB8540_PIN_E11   _GPIO(232)
 
#define DB8540_PIN_D12   _GPIO(256)
 
#define DB8540_PIN_D15   _GPIO(257)
 
#define DB8540_PIN_C13   _GPIO(258)
 
#define DB8540_PIN_C14   _GPIO(259)
 
#define DB8540_PIN_C18   _GPIO(260)
 
#define DB8540_PIN_C16   _GPIO(261)
 
#define DB8540_PIN_B16   _GPIO(262)
 
#define DB8540_PIN_D18   _GPIO(263)
 
#define DB8540_PIN_C15   _GPIO(264)
 
#define DB8540_PIN_C17   _GPIO(265)
 
#define DB8540_PIN_B17   _GPIO(266)
 
#define DB8540_PIN_D17   _GPIO(267)
 
#define DB8540_GPIO_RANGE(a, b, c)
 
#define DB8540_PIN_GROUP(a, b)
 
#define DB8540_FUNC_GROUPS(a, b...)   static const char * const a##_groups[] = { b };
 
#define FUNCTION(fname)
 

Functions

 DB8540_FUNC_GROUPS (apetrig,"apetrig_b_1")
 
 DB8540_FUNC_GROUPS (clkout,"clkoutreq_a_1","clkout_a_1","clkout_a_2")
 
 DB8540_FUNC_GROUPS (ddrtrig,"ddrtrig_b_1")
 
 DB8540_FUNC_GROUPS (hsi,"hsir_a_1","hsit_a_1","hsit_a_2")
 
 DB8540_FUNC_GROUPS (hwobs,"hwobs_oc4_1")
 
 DB8540_FUNC_GROUPS (hx,"hxclk_oc2_1","hxgpio_oc2_1")
 
 DB8540_FUNC_GROUPS (i2c0,"i2c0_a_1")
 
 DB8540_FUNC_GROUPS (i2c1,"i2c1_b_1","i2c1_b_2")
 
 DB8540_FUNC_GROUPS (i2c2,"i2c2_b_1","i2c2_b_2")
 
 DB8540_FUNC_GROUPS (i2c3,"i2c3_c_1","i2c4_b_1")
 
 DB8540_FUNC_GROUPS (i2c4,"i2c4_b_2")
 
 DB8540_FUNC_GROUPS (i2c5,"i2c5_b_1","i2c5_b_2","i2c5_c_1","i2c5_c_2")
 
 DB8540_FUNC_GROUPS (i2c6,"i2c6_b_1","i2c6_oc1_1")
 
 DB8540_FUNC_GROUPS (ipgpio,"ipgpio0_a_1","ipgpio0_c_1","ipgpio0_c_2","ipgpio1_a_1","ipgpio1_c_1","ipgpio1_c_2","ipgpio2_b_1","ipgpio2_c_1","ipgpio2_c_2","ipgpio3_b_1","ipgpio3_c_1","ipgpio3_c_2","ipgpio4_c_1","ipgpio4_c_2","ipgpio5_c_1","ipgpio5_c_2","ipgpio6_c_1","ipgpio6_c_2","ipgpio7_b_1","ipgpio7_c_1")
 
 DB8540_FUNC_GROUPS (ipi2c,"ipi2c_a_1","ipi2c_a_2")
 
 DB8540_FUNC_GROUPS (kp,"kp_a_1","kp_b_1","kp_c_1","kp_oc1_1")
 
 DB8540_FUNC_GROUPS (lcd,"lcd_d0_d7_a_1","lcd_d12_d23_a_1","lcd_d8_d11_a_1","lcdvsi0_a_1","lcdvsi1_a_1")
 
 DB8540_FUNC_GROUPS (lcdb,"lcdb_a_1")
 
 DB8540_FUNC_GROUPS (mc0,"mc0_a_1")
 
 DB8540_FUNC_GROUPS (mc1,"mc1_a_1","mc1_a_2")
 
 DB8540_FUNC_GROUPS (mc2,"mc2_a_1","mc2rstn_c_1")
 
 DB8540_FUNC_GROUPS (mc3,"mc3_b_1")
 
 DB8540_FUNC_GROUPS (mc4,"mc4_a_1","mc4rstn_c_1")
 
 DB8540_FUNC_GROUPS (mc5,"mc5_c_1")
 
 DB8540_FUNC_GROUPS (modaccgpo,"modaccgpo_c_1","modaccgpo_oc1_1","modaccgpo_oc3_1")
 
 DB8540_FUNC_GROUPS (modaccuart,"modaccuart_oc2_1","modaccuarttxrx_oc4_1","modaccuartrtccts_oc4_1")
 
 DB8540_FUNC_GROUPS (modi2s,"modi2s_a_1")
 
 DB8540_FUNC_GROUPS (modobs,"modobsclk_a_1","modobsclkout_oc1_1","modobspwrctrl_oc1_1","modobspwrrst_c_1","modobsrefclk_oc1_1","modobsresout_c_1","modobsresout_oc1_1","modobsservice_oc2_1")
 
 DB8540_FUNC_GROUPS (modprcmudbg,"modprcmudbg_oc1_1")
 
 DB8540_FUNC_GROUPS (modrf,"modrf_c_1")
 
 DB8540_FUNC_GROUPS (modsmb,"modsmb_a_1")
 
 DB8540_FUNC_GROUPS (modtrig,"modtrig_b_1")
 
 DB8540_FUNC_GROUPS (moduart,"moduart1_c_1","moduart1_oc1_1","moduart1txrx_oc4_1","moduart1rtscts_oc4_1","moduart0_oc2_1")
 
 DB8540_FUNC_GROUPS (moduartstmmux,"moduartstmmux_b_1","moduartstmmux_oc2_1","moduartstmmux_oc4_1")
 
 DB8540_FUNC_GROUPS (modxmip,"modxmip_oc1_1","modxmip_oc2_1")
 
 DB8540_FUNC_GROUPS (msp0,"msp0rfsrck_a_1","msp0tfstck_a_1","msp0txrx_a_1","msp0txrx_b_1")
 
 DB8540_FUNC_GROUPS (msp1,"msp1_a_1","msp1txrx_a_1","msp1txrx_b_1")
 
 DB8540_FUNC_GROUPS (msp2,"msp2sck_a_1","msp2txdtcktfs_a_1","msp2rxd_a_1")
 
 DB8540_FUNC_GROUPS (msp4,"msp4_a_1","msp4_b_1","msp4_c_1")
 
 DB8540_FUNC_GROUPS (pwl,"pwl_b_1","pwl_b_2","pwl_b_3","pwl_b_4")
 
 DB8540_FUNC_GROUPS (remap,"remap0_oc1_1","remap1_oc1_1")
 
 DB8540_FUNC_GROUPS (sbag,"sbag_oc2_1","sbag_oc2_2")
 
 DB8540_FUNC_GROUPS (sm,"sm_b_1","smcleale_c_1","smcs0_b_1","smcs1_b_1","smps0_c_1","smps1_c_1")
 
 DB8540_FUNC_GROUPS (spi0,"spi0_c_1")
 
 DB8540_FUNC_GROUPS (spi1,"spi1_b_1")
 
 DB8540_FUNC_GROUPS (spi2,"spi2_a_1")
 
 DB8540_FUNC_GROUPS (spi3,"spi3_oc1_1")
 
 DB8540_FUNC_GROUPS (ssp0,"ssp0_a_1")
 
 DB8540_FUNC_GROUPS (ssp1,"ssp1_a_1")
 
 DB8540_FUNC_GROUPS (stmape,"stmape_c_1","stmape_oc1_1","stmape_oc2_1")
 
 DB8540_FUNC_GROUPS (stmmod,"stmmod_b_1","stmmod_oc2_1","stmmod_oc4_1")
 
 DB8540_FUNC_GROUPS (tpui,"tpui_oc3_1")
 
 DB8540_FUNC_GROUPS (u0,"u0_a_1","u0_c_1")
 
 DB8540_FUNC_GROUPS (u1,"u1ctsrts_a_1","u1rxtx_a_1")
 
 DB8540_FUNC_GROUPS (u2,"u2_oc1_1","u2_oc2_1","u2ctsrts_a_1","u2ctsrts_oc1_1","u2rxtx_c_1","u2txrx_a_1","u2txrx_b_1","u2txrx_b_2","u2txrx_oc1_1")
 
 DB8540_FUNC_GROUPS (u3,"u3ctsrts_b_1","u3rxtx_c_1","u3txrxa_b_1")
 
 DB8540_FUNC_GROUPS (u4,"u4ctsrts_b_1","u4ctsrts_c_1","u4txrx_b_1")
 
 DB8540_FUNC_GROUPS (usb,"usb_a_1")
 
void __devinit nmk_pinctrl_db8540_init (const struct nmk_pinctrl_soc_data **soc)
 

Macro Definition Documentation

#define _GPIO (   offset)    (offset)

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

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

Definition at line 829 of file pinctrl-nomadik-db8540.c.

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

Definition at line 344 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_A10   _GPIO(220)

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

#define DB8540_PIN_A7   _GPIO(205)

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

#define DB8540_PIN_AC2   _GPIO(13)

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

#define DB8540_PIN_AC26   _GPIO(168)

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

#define DB8540_PIN_AC27   _GPIO(128)

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

#define DB8540_PIN_AC28   _GPIO(167)

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

#define DB8540_PIN_AC3   _GPIO(15)

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

#define DB8540_PIN_AC4   _GPIO(14)

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

#define DB8540_PIN_AD1   _GPIO(11)

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

#define DB8540_PIN_AD2   _GPIO(12)

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

#define DB8540_PIN_AD25   _GPIO(139)

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

#define DB8540_PIN_AD26   _GPIO(165)

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

#define DB8540_PIN_AD27   _GPIO(129)

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

#define DB8540_PIN_AD28   _GPIO(166)

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

#define DB8540_PIN_AD3   _GPIO(3)

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

#define DB8540_PIN_AD4   _GPIO(33)

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

#define DB8540_PIN_AD5   _GPIO(6)

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

#define DB8540_PIN_AE17   _GPIO(127)

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

#define DB8540_PIN_AE18   _GPIO(124)

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

#define DB8540_PIN_AE19   _GPIO(119)

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

#define DB8540_PIN_AE21   _GPIO(152)

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

#define DB8540_PIN_AE23   _GPIO(160)

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

#define DB8540_PIN_AE24   _GPIO(150)

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

#define DB8540_PIN_AE25   _GPIO(144)

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

#define DB8540_PIN_AE26   _GPIO(149)

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

#define DB8540_PIN_AE27   _GPIO(133)

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

#define DB8540_PIN_AE28   _GPIO(130)

Definition at line 80 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_AE4   _GPIO(10)

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

#define DB8540_PIN_AE7   _GPIO(17)

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

#define DB8540_PIN_AE8   _GPIO(38)

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

#define DB8540_PIN_AF10   _GPIO(28)

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

#define DB8540_PIN_AF11   _GPIO(25)

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

#define DB8540_PIN_AF17   _GPIO(126)

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

#define DB8540_PIN_AF18   _GPIO(123)

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

#define DB8540_PIN_AF19   _GPIO(122)

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

#define DB8540_PIN_AF2   _GPIO(2)

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

#define DB8540_PIN_AF20   _GPIO(116)

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

#define DB8540_PIN_AF21   _GPIO(154)

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

#define DB8540_PIN_AF22   _GPIO(163)

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

#define DB8540_PIN_AF23   _GPIO(142)

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

#define DB8540_PIN_AF24   _GPIO(155)

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

#define DB8540_PIN_AF25   _GPIO(132)

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

#define DB8540_PIN_AF26   _GPIO(141)

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

#define DB8540_PIN_AF27   _GPIO(134)

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

#define DB8540_PIN_AF28   _GPIO(136)

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

#define DB8540_PIN_AF3   _GPIO(34)

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

#define DB8540_PIN_AF5   _GPIO(35)

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

#define DB8540_PIN_AF6   _GPIO(4)

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

#define DB8540_PIN_AF7   _GPIO(7)

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

#define DB8540_PIN_AF8   _GPIO(22)

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

#define DB8540_PIN_AF9   _GPIO(37)

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

#define DB8540_PIN_AG10   _GPIO(27)

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

#define DB8540_PIN_AG11   _GPIO(24)

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

#define DB8540_PIN_AG17   _GPIO(125)

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

#define DB8540_PIN_AG18   _GPIO(120)

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

#define DB8540_PIN_AG19   _GPIO(162)

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

#define DB8540_PIN_AG20   _GPIO(159)

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

#define DB8540_PIN_AG21   _GPIO(117)

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

#define DB8540_PIN_AG22   _GPIO(153)

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

#define DB8540_PIN_AG23   _GPIO(143)

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

#define DB8540_PIN_AG24   _GPIO(138)

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

#define DB8540_PIN_AG25   _GPIO(137)

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

#define DB8540_PIN_AG26   _GPIO(131)

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

#define DB8540_PIN_AG27   _GPIO(147)

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

#define DB8540_PIN_AG28   _GPIO(135)

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

#define DB8540_PIN_AG4   _GPIO(36)

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

#define DB8540_PIN_AG5   _GPIO(8)

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

#define DB8540_PIN_AG6   _GPIO(5)

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

#define DB8540_PIN_AG7   _GPIO(1)

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

#define DB8540_PIN_AH10   _GPIO(26)

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

#define DB8540_PIN_AH11   _GPIO(23)

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

#define DB8540_PIN_AH17   _GPIO(121)

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

#define DB8540_PIN_AH19   _GPIO(118)

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

#define DB8540_PIN_AH20   _GPIO(161)

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

#define DB8540_PIN_AH21   _GPIO(158)

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

#define DB8540_PIN_AH22   _GPIO(156)

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

#define DB8540_PIN_AH23   _GPIO(148)

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

#define DB8540_PIN_AH24   _GPIO(145)

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

#define DB8540_PIN_AH25   _GPIO(140)

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

#define DB8540_PIN_AH5   _GPIO(9)

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

#define DB8540_PIN_AH6   _GPIO(0)

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

#define DB8540_PIN_AH7   _GPIO(16)

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

#define DB8540_PIN_AJ21   _GPIO(164)

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

#define DB8540_PIN_AJ23   _GPIO(157)

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

#define DB8540_PIN_AJ24   _GPIO(151)

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

#define DB8540_PIN_AJ25   _GPIO(146)

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

#define DB8540_PIN_AJ6   _GPIO(228)

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

#define DB8540_PIN_B10   _GPIO(223)

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

#define DB8540_PIN_B11   _GPIO(222)

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

#define DB8540_PIN_B12   _GPIO(225)

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

#define DB8540_PIN_B13   _GPIO(229)

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

#define DB8540_PIN_B14   _GPIO(231)

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

#define DB8540_PIN_B16   _GPIO(262)

Definition at line 165 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_B17   _GPIO(266)

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

#define DB8540_PIN_B6   _GPIO(203)

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

#define DB8540_PIN_B7   _GPIO(204)

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

#define DB8540_PIN_B8   _GPIO(211)

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

#define DB8540_PIN_B9   _GPIO(219)

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

#define DB8540_PIN_C10   _GPIO(212)

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

#define DB8540_PIN_C12   _GPIO(230)

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

#define DB8540_PIN_C13   _GPIO(258)

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

#define DB8540_PIN_C14   _GPIO(259)

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

#define DB8540_PIN_C15   _GPIO(264)

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

#define DB8540_PIN_C16   _GPIO(261)

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

#define DB8540_PIN_C17   _GPIO(265)

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

#define DB8540_PIN_C18   _GPIO(260)

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

#define DB8540_PIN_C6   _GPIO(202)

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

#define DB8540_PIN_C7   _GPIO(210)

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

#define DB8540_PIN_C8   _GPIO(213)

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

#define DB8540_PIN_C9   _GPIO(214)

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

#define DB8540_PIN_D10   _GPIO(226)

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

#define DB8540_PIN_D11   _GPIO(227)

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

#define DB8540_PIN_D12   _GPIO(256)

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

#define DB8540_PIN_D15   _GPIO(257)

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

#define DB8540_PIN_D17   _GPIO(267)

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

#define DB8540_PIN_D18   _GPIO(263)

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

#define DB8540_PIN_D7   _GPIO(206)

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

#define DB8540_PIN_D8   _GPIO(207)

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

#define DB8540_PIN_D9   _GPIO(221)

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

#define DB8540_PIN_E10   _GPIO(224)

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

#define DB8540_PIN_E11   _GPIO(232)

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

#define DB8540_PIN_E2   _GPIO(209)

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

#define DB8540_PIN_F2   _GPIO(201)

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

#define DB8540_PIN_F3   _GPIO(208)

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

#define DB8540_PIN_G2   _GPIO(198)

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

#define DB8540_PIN_G3   _GPIO(199)

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

#define DB8540_PIN_G4   _GPIO(200)

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

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

Definition at line 657 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_H1   _GPIO(193)

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

#define DB8540_PIN_H2   _GPIO(195)

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

#define DB8540_PIN_H3   _GPIO(196)

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

#define DB8540_PIN_H4   _GPIO(197)

Definition at line 125 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_J2   _GPIO(194)

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

#define DB8540_PIN_J3   _GPIO(192)

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

#define DB8540_PIN_M22   _GPIO(72)

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

#define DB8540_PIN_M25   _GPIO(65)

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

#define DB8540_PIN_M26   _GPIO(64)

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

#define DB8540_PIN_M27   _GPIO(66)

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

#define DB8540_PIN_M28   _GPIO(70)

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

#define DB8540_PIN_N22   _GPIO(73)

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

#define DB8540_PIN_N25   _GPIO(67)

Definition at line 45 of file pinctrl-nomadik-db8540.c.

#define DB8540_PIN_N26   _GPIO(71)

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

#define DB8540_PIN_N27   _GPIO(74)

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

#define DB8540_PIN_N28   _GPIO(75)

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

#define DB8540_PIN_P22   _GPIO(76)

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

#define DB8540_PIN_P26   _GPIO(78)

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

#define DB8540_PIN_P27   _GPIO(81)

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

#define DB8540_PIN_P28   _GPIO(77)

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

#define DB8540_PIN_R25   _GPIO(83)

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

#define DB8540_PIN_R26   _GPIO(82)

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

#define DB8540_PIN_R27   _GPIO(80)

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

#define DB8540_PIN_T22   _GPIO(79)

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

#define DB8540_PIN_T25   _GPIO(86)

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

#define DB8540_PIN_T26   _GPIO(87)

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

#define DB8540_PIN_T27   _GPIO(85)

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

#define DB8540_PIN_U22   _GPIO(84)

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

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

Definition at line 917 of file pinctrl-nomadik-db8540.c.

Function Documentation

DB8540_FUNC_GROUPS ( apetrig  ,
"apetrig_b_1"   
)
DB8540_FUNC_GROUPS ( clkout  ,
"clkoutreq_a_1"  ,
"clkout_a_1"  ,
"clkout_a_2"   
)
DB8540_FUNC_GROUPS ( ddrtrig  ,
"ddrtrig_b_1"   
)
DB8540_FUNC_GROUPS ( hsi  ,
"hsir_a_1"  ,
"hsit_a_1"  ,
"hsit_a_2"   
)
DB8540_FUNC_GROUPS ( hwobs  ,
"hwobs_oc4_1"   
)
DB8540_FUNC_GROUPS ( hx  ,
"hxclk_oc2_1"  ,
"hxgpio_oc2_1"   
)
DB8540_FUNC_GROUPS ( i2c0  ,
"i2c0_a_1"   
)
DB8540_FUNC_GROUPS ( i2c1  ,
"i2c1_b_1"  ,
"i2c1_b_2"   
)
DB8540_FUNC_GROUPS ( i2c2  ,
"i2c2_b_1"  ,
"i2c2_b_2"   
)
DB8540_FUNC_GROUPS ( i2c3  ,
"i2c3_c_1"  ,
"i2c4_b_1"   
)
DB8540_FUNC_GROUPS ( i2c4  ,
"i2c4_b_2"   
)
DB8540_FUNC_GROUPS ( i2c5  ,
"i2c5_b_1"  ,
"i2c5_b_2"  ,
"i2c5_c_1"  ,
"i2c5_c_2"   
)
DB8540_FUNC_GROUPS ( i2c6  ,
"i2c6_b_1"  ,
"i2c6_oc1_1"   
)
DB8540_FUNC_GROUPS ( ipgpio  ,
"ipgpio0_a_1"  ,
"ipgpio0_c_1"  ,
"ipgpio0_c_2"  ,
"ipgpio1_a_1"  ,
"ipgpio1_c_1"  ,
"ipgpio1_c_2"  ,
"ipgpio2_b_1"  ,
"ipgpio2_c_1"  ,
"ipgpio2_c_2"  ,
"ipgpio3_b_1"  ,
"ipgpio3_c_1"  ,
"ipgpio3_c_2"  ,
"ipgpio4_c_1"  ,
"ipgpio4_c_2"  ,
"ipgpio5_c_1"  ,
"ipgpio5_c_2"  ,
"ipgpio6_c_1"  ,
"ipgpio6_c_2"  ,
"ipgpio7_b_1"  ,
"ipgpio7_c_1"   
)
DB8540_FUNC_GROUPS ( ipi2c  ,
"ipi2c_a_1"  ,
"ipi2c_a_2"   
)
DB8540_FUNC_GROUPS ( kp  ,
"kp_a_1"  ,
"kp_b_1"  ,
"kp_c_1"  ,
"kp_oc1_1"   
)
DB8540_FUNC_GROUPS ( lcd  ,
"lcd_d0_d7_a_1"  ,
"lcd_d12_d23_a_1"  ,
"lcd_d8_d11_a_1"  ,
"lcdvsi0_a_1"  ,
"lcdvsi1_a_1"   
)
DB8540_FUNC_GROUPS ( lcdb  ,
"lcdb_a_1"   
)
DB8540_FUNC_GROUPS ( mc0  ,
"mc0_a_1"   
)
DB8540_FUNC_GROUPS ( mc1  ,
"mc1_a_1"  ,
"mc1_a_2"   
)
DB8540_FUNC_GROUPS ( mc2  ,
"mc2_a_1"  ,
"mc2rstn_c_1"   
)
DB8540_FUNC_GROUPS ( mc3  ,
"mc3_b_1"   
)
DB8540_FUNC_GROUPS ( mc4  ,
"mc4_a_1"  ,
"mc4rstn_c_1"   
)
DB8540_FUNC_GROUPS ( mc5  ,
"mc5_c_1"   
)
DB8540_FUNC_GROUPS ( modaccgpo  ,
"modaccgpo_c_1"  ,
"modaccgpo_oc1_1"  ,
"modaccgpo_oc3_1"   
)
DB8540_FUNC_GROUPS ( modaccuart  ,
"modaccuart_oc2_1"  ,
"modaccuarttxrx_oc4_1"  ,
"modaccuartrtccts_oc4_1"   
)
DB8540_FUNC_GROUPS ( modi2s  ,
"modi2s_a_1"   
)
DB8540_FUNC_GROUPS ( modobs  ,
"modobsclk_a_1"  ,
"modobsclkout_oc1_1"  ,
"modobspwrctrl_oc1_1"  ,
"modobspwrrst_c_1"  ,
"modobsrefclk_oc1_1"  ,
"modobsresout_c_1"  ,
"modobsresout_oc1_1"  ,
"modobsservice_oc2_1"   
)
DB8540_FUNC_GROUPS ( modprcmudbg  ,
"modprcmudbg_oc1_1"   
)
DB8540_FUNC_GROUPS ( modrf  ,
"modrf_c_1"   
)
DB8540_FUNC_GROUPS ( modsmb  ,
"modsmb_a_1"   
)
DB8540_FUNC_GROUPS ( modtrig  ,
"modtrig_b_1"   
)
DB8540_FUNC_GROUPS ( moduart  ,
"moduart1_c_1"  ,
"moduart1_oc1_1"  ,
"moduart1txrx_oc4_1"  ,
"moduart1rtscts_oc4_1"  ,
"moduart0_oc2_1"   
)
DB8540_FUNC_GROUPS ( moduartstmmux  ,
"moduartstmmux_b_1"  ,
"moduartstmmux_oc2_1"  ,
"moduartstmmux_oc4_1"   
)
DB8540_FUNC_GROUPS ( modxmip  ,
"modxmip_oc1_1"  ,
"modxmip_oc2_1"   
)
DB8540_FUNC_GROUPS ( msp0  ,
"msp0rfsrck_a_1"  ,
"msp0tfstck_a_1"  ,
"msp0txrx_a_1"  ,
"msp0txrx_b_1"   
)
DB8540_FUNC_GROUPS ( msp1  ,
"msp1_a_1"  ,
"msp1txrx_a_1"  ,
"msp1txrx_b_1"   
)
DB8540_FUNC_GROUPS ( msp2  ,
"msp2sck_a_1"  ,
"msp2txdtcktfs_a_1"  ,
"msp2rxd_a_1"   
)
DB8540_FUNC_GROUPS ( msp4  ,
"msp4_a_1"  ,
"msp4_b_1"  ,
"msp4_c_1"   
)
DB8540_FUNC_GROUPS ( pwl  ,
"pwl_b_1"  ,
"pwl_b_2"  ,
"pwl_b_3"  ,
"pwl_b_4"   
)
DB8540_FUNC_GROUPS ( remap  ,
"remap0_oc1_1"  ,
"remap1_oc1_1"   
)
DB8540_FUNC_GROUPS ( sbag  ,
"sbag_oc2_1"  ,
"sbag_oc2_2"   
)
DB8540_FUNC_GROUPS ( sm  ,
"sm_b_1"  ,
"smcleale_c_1"  ,
"smcs0_b_1"  ,
"smcs1_b_1"  ,
"smps0_c_1"  ,
"smps1_c_1"   
)
DB8540_FUNC_GROUPS ( spi0  ,
"spi0_c_1"   
)
DB8540_FUNC_GROUPS ( spi1  ,
"spi1_b_1"   
)
DB8540_FUNC_GROUPS ( spi2  ,
"spi2_a_1"   
)
DB8540_FUNC_GROUPS ( spi3  ,
"spi3_oc1_1"   
)
DB8540_FUNC_GROUPS ( ssp0  ,
"ssp0_a_1"   
)
DB8540_FUNC_GROUPS ( ssp1  ,
"ssp1_a_1"   
)
DB8540_FUNC_GROUPS ( stmape  ,
"stmape_c_1"  ,
"stmape_oc1_1"  ,
"stmape_oc2_1"   
)
DB8540_FUNC_GROUPS ( stmmod  ,
"stmmod_b_1"  ,
"stmmod_oc2_1"  ,
"stmmod_oc4_1"   
)
DB8540_FUNC_GROUPS ( tpui  ,
"tpui_oc3_1"   
)
DB8540_FUNC_GROUPS ( u0  ,
"u0_a_1"  ,
"u0_c_1"   
)
DB8540_FUNC_GROUPS ( u1  ,
"u1ctsrts_a_1"  ,
"u1rxtx_a_1"   
)
DB8540_FUNC_GROUPS ( u2  ,
"u2_oc1_1"  ,
"u2_oc2_1"  ,
"u2ctsrts_a_1"  ,
"u2ctsrts_oc1_1"  ,
"u2rxtx_c_1"  ,
"u2txrx_a_1"  ,
"u2txrx_b_1"  ,
"u2txrx_b_2"  ,
"u2txrx_oc1_1"   
)
DB8540_FUNC_GROUPS ( u3  ,
"u3ctsrts_b_1"  ,
"u3rxtx_c_1"  ,
"u3txrxa_b_1"   
)
DB8540_FUNC_GROUPS ( u4  ,
"u4ctsrts_b_1"  ,
"u4ctsrts_c_1"  ,
"u4txrx_b_1"   
)
DB8540_FUNC_GROUPS ( usb  ,
"usb_a_1"   
)
void __devinit nmk_pinctrl_db8540_init ( const struct nmk_pinctrl_soc_data **  soc)

Definition at line 1258 of file pinctrl-nomadik-db8540.c.