On Tue, Sep 22, 2009 at 18:35:12, Sergei Shtylyov wrote: > Hello. > > Chaithrika U S wrote: > > > DA850/OMAP-L138 EVM has a RMII Ethernet PHY on the UI daughter card. The PHY > > is enabled by proper programming of the IO Expander (TCA6416) ports. Also > > for > > RMII PHY to work, the MDIO clock of MII PHY has to be disabled since both > > the > > PHYs have the same address. This is done via the GPIO2[6] pin. This patch > > adds > > support for RMII PHY. > > > > This patch also adds a menuconfig option to select UI card and peripherals > > present on it. Currently, the only sub-option in this menu is RMII. > > This menuconfig option is similar to the one present for UI card on > > DA830/OMAP-L137 EVM. > > > > Signed-off-by: Chaithrika U S <[email protected]> > > [...] > > > diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig > > index 7b6dddf..4ee61cc 100644 > > --- a/arch/arm/mach-davinci/Kconfig > > +++ b/arch/arm/mach-davinci/Kconfig > > @@ -129,6 +129,32 @@ config MACH_DAVINCI_DA850_EVM > > help > > Say Y here to select the TI DA850/OMAP-L138 Evaluation Module. > > > > +config DA850_UI > > + bool "DA850/OMAP-L138 UI (User Interface) board support" > > + depends on MACH_DAVINCI_DA850_EVM > > + help > > + Say Y here if you have the DA850/OMAP-L138 UI > > + (User Interface) board installed and you want to > > + enable the peripherals located on User Interface > > + board. > > + > > +choice > > + prompt "Select DA850/OMAP-L138 UI board peripheral" > > + depends on DA850_UI > > Are the devices on the UI board really mutually exclusive?
What is the purpose of the UI board configuration? Is it just to provide one place where all UI board peripherals can be disabled? Each of the modules already have a menuconfig item. Drivers (at least NAND and NOR) can bail out if they can't detect the device. Most of the choice on the UI card arises from SoC pinmux limitations. Other boards are handling this using warnings printed at boot-time. It can be done the same way for DA830/DA850. Thanks, Sekhar _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
