Mainline:Broadcom Kona/Pin control (PADCTRL): Difference between revisions
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
== Functions == | == Functions == | ||
Each pin can have 6 alternative functions. The names (and thus numbers) for these are defined separately in the downstream drivers. They cover a lot more cases than just the base pins, including things like every GPIO. (This is a fairly standard pin muxing setup.) | Each pin can have 4 (BCM28155) or 6 (BCM2166x) alternative functions. The names (and thus numbers) for these are defined separately in the downstream drivers. They cover a lot more cases than just the base pins, including things like every GPIO. (This is a fairly standard pin muxing setup.) | ||
The currently selected function is saved to the ''' | The currently selected function is saved to the '''pinsel''' register, which represents the currently selected function in 3 bits. Which bit belongs to which function is described in <code>arch/arm/mach-{codename}/{codename}_pinmux.c</code>. | ||
* [[/BCM21664 pins]] |