Re: Trying to understand how to use new OMAP mux code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Tony Lindgren <tony@xxxxxxxxxxx> [100603 17:03]:
> * Laurent Epinat <laurent.epinat@xxxxxxxxxxxxxxx> [100603 16:36]:
> > 
> > I would like one basic configuration for the modules with (twl,net,flash,.. all on the COM's)
> > and for the rest, external driver for extra functionalities on the support board.
> > 
> > This is why I need to change the mux pins dynamically by the driver module.
> 
> If you really want to do it after the system has booted instead of passing
> the desired muxing in the kernel cmdline, you could just do some
> shell scripts to echo 0xXXXX > /sys/kernel/debug/omap_mux/whateverpin..

Or you could have the remux function in your board-*.c file, then pass
the pointer to it to your custom remux module in the platform data.
Then your custom remux module could change the mode via sysfs or
something.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux