QUERY: How to handle SOC Configuration (Peripheral Multiplexing) in linux
Shiraz HASHIM
shiraz.hashim at st.com
Mon Mar 15 05:09:58 EDT 2010
Armando,
On 3/15/2010 2:12 PM, Armando VISCONTI wrote:
>> Now, For this we need some interface or channel through which we provide
>> this information to kernel. This is what precisely i have done. The
>> channel i
>> provided is through Kconfig and the function "s300_configure", accepts
>> this bitmap and configures hardware.
>>
> I'm not getting this point.
yes, Actually this is what we are saying. Seemingly the best option is
to do it during compilation time, except if we have some standard way
at booting.
> If you do it thru Kconfig still it would be fixed a compilation time.
> Do you agree or am I missing something?
yes, and if you see, should any one require it dynamically? Each user
would have his own board with static devices. This configuration (of
selecting multiplexed devices) depends on his board configuration, which
is the responsibility of the board configuration file.
> So, probably the correct way is passing peripheral selection information
> thru
> bootargs.
> What do you think?
This is very specific to how an SoC provides multiplexing options and will
vary greatly. Which option of bootargs are you talking about?
regards
Shiraz
More information about the linux-arm-kernel
mailing list