Le 17.06.2010 11:36, Sergei Shtylyov a écrit :
Hello.

Christophe Aeschlimann wrote:

I'm in the process of adapting the davinci kernel for a custom board
based on the OMAP-L138 (da850).

Are you planning to submit your work here?

If I do anything that could be useful for the community I will.

I was surprised to see that the PINMUX registers configuration (in
da850.c) is SOC dependant (part of common initialisation).

Frankly speaking, I don't see where the pin lists are a part of common
initialization. Unless you mean da850_pins[] -- that is SoC specific of
course as the PinMux registers are situated in the SoC.

Yes I realised that after Caglar's answer. I first thought the da850_pins structure in da850.c was used to define the functionality of every PINMUX where it just defines a possible configuration.

I think the PINMUX configuration is definitely a board specific setting.

The pin lists there are just the default ones, readily overridable by
the board code. With the annoyng exception of da850_nand_pins[] and
da850_nor_pins[] which should have been in board-da850-evm.c really...

Do you agree with me ? Did I miss something and the PINMUX
configuration can already be easily overloaded in the board specific
configuration ?

Yes.

I was just surprised I had to add my own PINMUX possible configuration inside the da850_pins struct in da850.c so I could have a board specific list of pins inside my board specific file. Or maybe there is another way to handle that ?


Is someone already working on a patch to address that issue ?

I see no issue here. :-)

Regards,

WBR, Sergei


Thank you for your answer,

Regards,


--
Christophe Aeschlimann

Embedded Software Engineer

Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

[email protected]
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to