Skip to contentSkip to conversation

Peripheral multiplexing in devices

U-Boot Vipin KUMAR 2 participants 2 messages Mar 16, 2010

lore
Share & tools
lore
#0 lore raw

Hi All,

This is with regards to the pad multiplexing in devices.

SPEAr SoCs support pin multiplexing(in hardware) to support multiple peripherals by selecting a particular mode from a list of ten modes and then selecting one of the two peripherals which can both be supported in that mode.
I hope I am clear :)

Now, we want to support this in sw in such a way that we have a single image for linux for all possible configurations. We intend to do this though bootloader (u-boot in this case)

SPEAr has an arm platform and linux-arm doesn't seem to support peripheral multiplexing in the way we want. Though, I could see some stuff fo that kind in ppc platform supported by u-boot to pass device information to linux

Do we have a similar way for arm based platforms as well or any other suggestions.

Regards
Vipin

#1 lore raw

Dear Vipin KUMAR,

Quoted 4 lines · In message <[email protected]> you wrote:

Now, we want to support this in sw in such a way that we have a single image for linux for all possible configurations. We intend to do this though bootloader (u-boot in this case)

This may be possible, but it is not wise, nor the officially supported mode of operation in U-Boot. Please see bullet 2 at
http://www.denx.de/wiki/U-Boot/DesignPrinciples#KeepFast and related entries - U-Boot is not supposed to initialize things it does not need for it's own operation.

Quoted 4 lines

SPEAr has an arm platform and linux-arm doesn't seem to support peripheral multiplexing in the way we want. Though, I could see some stuff fo that kind in ppc platform supported by u-boot to pass device information to linux

We use the device tree to do things like this.

Quoted 2 lines

Do we have a similar way for arm based platforms as well or any other suggestions.

Please check out Grant Likely's work to bring the device tree to ARM Linux.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It would seem that evil retreats when forcibly confronted
	-- Yarnek of Excalbia, "The Savage Curtain", stardate 5906.5