8-3-omapl138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明_W_第1頁(yè)
8-3-omapl138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明_W_第2頁(yè)
8-3-omapl138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明_W_第3頁(yè)
8-3-omapl138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明_W_第4頁(yè)
8-3-omapl138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明_W_第5頁(yè)
已閱讀5頁(yè),還剩11頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、OMAPL138內(nèi)核驅(qū)動(dòng)源碼說(shuō)明1. OMAPL138 SOC 平臺(tái)設(shè)備文件:22. 外設(shè)驅(qū)動(dòng)路徑22.1 串口驅(qū)動(dòng)(TL16754 多串口模塊): 22.2 網(wǎng)口驅(qū)動(dòng):22.3 Nandflash 驅(qū)動(dòng)(基于 EMIFA 總線): 22.4 看門狗驅(qū)動(dòng):32.5 RTC 驅(qū)動(dòng):32.6 LCDC 驅(qū)動(dòng):32.7 Vpif 總線 ov2640 和 tvp5147 驅(qū)動(dòng):32.8 Spi 總線驅(qū)動(dòng):32.9 Usb2.0 驅(qū)動(dòng):32.10 usb1.1 驅(qū)動(dòng)32.11 Mmc 驅(qū)動(dòng):32.12 I2c 總線驅(qū)動(dòng):42.13 Gpio 驅(qū)動(dòng):42.14 音頻驅(qū)動(dòng)(基于 mcasp): 42.15

2、Ad7606 驅(qū)動(dòng):42.16 Sata 驅(qū)動(dòng):42.17 DA5724 驅(qū)動(dòng):42.18 ecap 和 ehrpwm 驅(qū)動(dòng):42.19 mcbsp 驅(qū)動(dòng):4公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97341/161.OMAPL138 SOC 平臺(tái)設(shè)備文件:arch/arm/mach-davinci/clock.carch/arm/mach-davinci/da850.carch/arm/mach

3、-davinci/cp_intc.carch/arm/mach-davinci/cpuidle.carch/arm/mach-davinci/pm.carch/arm/mach-davinci/common.carch/arm/mach-davinci/cpufreq.carch/arm/mach-davinci/time.carch/arm/mach-davinci/mux.carch/arm/mach-davinci/irq.carch/arm/mach-davinci/devices-da8xx.carch/arm/mach-davinci/dma.carch/arm/mach-davi

4、nci/serial.carch/arm/mach-davinci/board-da850-evm.carch/arm/mach-davinci/psc.carch/arm/mach-davinci/devices.carch/arm/mach-davinci/usb.carch/arm/mach-davinci/sram.c2. 外設(shè)驅(qū)動(dòng)路徑2.1 串口驅(qū)動(dòng)(TL16754 多串口模塊):drivers/tty/serial/8250/8250.c2.2 網(wǎng)口驅(qū)動(dòng):drivers/net/ethernet/ti/davinci_emac.cdrivers/net/ethernet/ti/da

5、vinci_cpdma.cdrivers/net/ethernet/ti/davinci_mdio.c2.3 Nandflash 驅(qū)動(dòng)(基于 EMIFA 總線):drivers/mfd/davinci_aemif.c公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97342/16drivers/mtd/nand/davinci_nand.c2.4 看門狗驅(qū)動(dòng):drivers/watchdog/davinc

6、i_wdt.c2.5 RTC 驅(qū)動(dòng):drivers/rtc/rtc-davinci.c2.6 LCDC 驅(qū)動(dòng):drivers/video/da8xx-fb.c2.7 Vpif 總線 ov2640 和 tvp5147 驅(qū)動(dòng):drivers/media/video/davinci/vpif_capture.cdrivers/media/video/davinci/vpif.cdrivers/media/video/davinci/vpif_display.cdrivers/media/video/ov2640.cdrivers/media/video/tvp514x.cdrivers/media/

7、video/tvp514x_regs.h2.8 Spi 總線驅(qū)動(dòng):drivers/spi/spi-davinci.c2.9 Usb2.0 驅(qū)動(dòng):drivers/usb/musb/davinci.cdrivers/usb/musb/da8xx.cdrivers/usb/musb/cppi41.hdrivers/usb/musb/cppi41.cdrivers/usb/musb/cppi41_dma.c2.10 usb1.1 驅(qū)動(dòng)drivers/usb/host/ohci-da8xx.c2.11 Mmc 驅(qū)動(dòng):drivers/mmc/host/davinci_mmc.c公司官網(wǎng):www.tronl

8、 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97343/162.12 I2c 總線驅(qū)動(dòng):drivers/i2c/busses/i2c-davinci.c2.13 Gpio 驅(qū)動(dòng):drivers/gpio/gpio-davinci.c2.14 音頻驅(qū)動(dòng)(基于 mcasp):sound/soc/davinci/davinci-i2s.csound/soc/davinci/davinci-evm.csound/soc/davinci/

9、davinci-mcasp.csound/soc/davinci/davinci-pcm.c2.15 Ad7606 驅(qū)動(dòng):drivers/staging/iio/adc/ad7606_spi.cdrivers/staging/iio/adc/ad7606_par.c2.16 Sata 驅(qū)動(dòng):drivers/ata/ahci.cdrivers/ata/ahci_platform.c2.17 DA5724 驅(qū)動(dòng):drivers/staging/iio/dac/ad5724r_spi.cdrivers/staging/iio/dac/ad5724r.h2.18 ecap 和 ehrpwm 驅(qū)動(dòng):dr

10、ivers/pwm/ecap.cdrivers/pwm/ecap_cap.cdrivers/pwm/ehrpwm.c2.19 mcbsp 驅(qū)動(dòng):sound/soc/davinci/davinci-evm.csound/soc/davinci/davinci-i2s.c公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97344/16SPI Flash DriverAbstractThis chapter d

11、escribes the SPI flash driver architecture, driver features and performance numbers (throughputand CPU load).Introduction (drivers/spi/spi-davinci.c)SPI Flash driver is implemented as block driver and compliant with standard MTD driver. It supports variousflash devices. The SPI driver creates device

12、 node for user space access (example, /dev/mtd1). 公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97345/16Driver FeaturesDMA and PIO modes are supported.Supported System CallsSupports the system call support proivided by MTD int

13、erface viz. open(), close(), read(), write(), ioctl()MMC/SD DriverThis chapter provides details on MMC/SD driver along with throughput and CPU load numbers.Introduction (drivers/mmc/host/davinci_mmc.c)The MMC controller provides an interface to external MMC cards that follow the MMC specification v4

14、.0. TheMMCdriverisimplementedasablockdriver.Blockdevicenodes(suchas/dev/mmcblockp1,公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97346/16/dev/mmcblockp2) are created for user space access.Abstract Driver FeaturesLinux file sys

15、tem and generic MMC layer abstract details of block devices (MMC)High-speed (SDv1.1) and High Capacity (SDv2.0) cardsSupport for 1/4 bit modesSupport for card detect and Write protect featuresConstraints公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8

16、998-6280 技術(shù)熱線:020-3893-97347/16 DMA and polled mode for data transfer operations MMC/SD native protocol command/response set Single/multiple block data transfersThe driver supports the following features:MMC/SD cards should not be removed when the mount operation is in progress. If done so, dataSupp

17、orted System Callsopen(),close(),read(),write()UART DriverThis chapter provides details on UART driver.Introduction (drivers/tty/serial/8250/8250.c)The UART driver is implemented as a serial driver, and can be accessed from user space as /dev/ttyS2. Driver FeaturesThe driver supports the following f

18、eatures:公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97348/16Abstractintegrity cannot be guaranteed.Supported System Callsopen(),close(),read(),write(),ioctl()I2C DriverAbstractIntroduction (drivers/i2c/busses/i2c-davinci.c)T

19、he I2C peripheral is compliant with the Philips Semiconductor I2C-bus specification version 2.1. The I2Cdriver is implemented as a serial driver. The I2C driver can be accessed from the user space as /dev/i2c/0. 公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公

20、司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-97349/16This chapter provides details on I2C driver. Only UART2 is physically available on EVM boardDriver FeaturesThe driver supports the following features:7-bit addressing modeFast modeFeatures Not Supported7-bit and 10-bit addressing combined format is not support

21、edDMA mode is not supportedSupported System CallsWatchdog(WDT) DriverIntroduction (drivers/char/watchdog/davinci_wdt.c)DaVinci SoCs have a 64-bit watchdog timer which can be used to reset the hardware in case of a softwarefault. Once the /dev/watchdog is opened, it will reboot the system unless a us

22、er space daemon resets thetimer at regular intervals within a certain timeout period. The WDT driver is registered as a misc device.公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-973410/16Default timeout of this driver is 60 se

23、conds.AbstractThis chapter provides details on Watchdog timer driver.open(),close(),read(),write(),ioctl() Interrupt mode Driver FeaturesThe driver supports the following features:Supports IOCTLs to set/get the timeout value, ping the watchdog & query the watchdog structureConstraintsOnce /dev/watch

24、dog is opened, closing it doesnt disable the watchdogSupported System Callsopen(), close(), write(), read()USB DriverAbstract公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-973411/16info. Driver can be built as a loadable module

25、 and inserted dynamically.This chapter describes the USB (EHCI and MUSB) driver architecture, features supported/not supported,constraints and performance numbers.OHCI ControllerDriver FeaturesMass Storage Class (MSC)Hub ClassUSB Video Class (UVC)USB Audio Class (UAC)Features Not SupportedMUSB OTG c

26、ontrollerDescriptionThe MUSB driver is implemented on top of Mentor OTG IP version 1.8 which supports all the speeds (High,Full and Low (host mode only). On DA850/OMAP-L138, MUSB uses CPPI 4.1 DMA for all the transfers onDriver FeaturesThe driver supports the following features公司官網(wǎng):

27、技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-973412/16other devices CPPI 3.0 DMA is used.All other classes not mentioned in the Supported Features section. Human Interface Class (HID)The driver supports the following featuresThis chapter provides

28、details on OHCI and MUSB drivers along with throughput and CPU load numbers.Human Interface Class (HID)Mass Storage Class (MSC)Hub ClassUSB Video Class (UVC)Mass Storage Class (MSC)USB Networking - RNDIS/CDCFeatures Not SupportedUSB Mass Storage Class Host DriverDriver FeaturesThe driver supports th

29、e following featureDMA modeSupported SystemCallsopen(), close(), read(), write(), ioctl()公司官網(wǎng): 技術(shù)論壇:銷售郵箱: 技術(shù)郵箱:公司總機(jī):020-8998-6280 技術(shù)熱線:020-3893-973413/16 PIO mode OTG Modular support for host/device mode.Gadget mode USB Audio Class (UAC)Host ModeUSB Mass Storage Class Slave DriverDescriptionThis figure illustrates the stack diagram of the system with USB File Storage Gadget driver Driver FeaturesThe driver supports the following featureDMA m

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論