From mboxrd@z Thu Jan 1 00:00:00 1970 From: s.hauer@pengutronix.de (Sascha Hauer) Date: Thu, 25 Aug 2011 14:07:45 +0200 Subject: [PATCH 1/4 v4] drivers: create a pin control subsystem In-Reply-To: References: <1313747630-32258-1-git-send-email-linus.walleij@stericsson.com> <74CDBE0F657A3D45AFBB94109FB122FF04B24A3BC0@HQMAIL01.nvidia.com> <20110825110451.GU31404@pengutronix.de> Message-ID: <20110825120745.GV31404@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Aug 25, 2011 at 01:58:12PM +0200, Linus Walleij wrote: > On Thu, Aug 25, 2011 at 1:04 PM, Sascha Hauer wrote: > > > Not really. UART2_CTS can't be routed to arbitrary pads, but it can be > > routed to more than one pad: > > > > #define _MX51_PAD_EIM_D16__UART2_CTS ? ? ? ? ? ?IOMUX_PAD(0x3f0, 0x5c, 3, 0x0000, 0, 0) > > #define _MX51_PAD_EIM_D25__UART2_CTS ? ? ? ? ? ?IOMUX_PAD(0x414, 0x80, 4, 0x0000, 0, 0) > > #define _MX51_PAD_USBH1_DATA0__UART2_CTS ? ? ? ?IOMUX_PAD(0x688, 0x288, 1, 0x0000, 0, 0) > > Aha! > > Is it typically a few pads like this, say 2,3,4 alternatives, > sometimes just one? > > So the actual relation is not 1..1 nor 1...* but 1..? Yes. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |