Changeset 3232


Ignore:
Timestamp:
Aug 28, 2012, 6:25:18 PM (2 years ago)
Author:
wmb
Message:

OLPC ARM - MMP audio driver - Some tweaking of device tree properties for the benefit of the Linux driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/sound.fth

    r3219 r3232  
    1111; 
    1212 
     13\ "mav" stands for M(DMA), A(DMA), V(DMA), distinct from 
     14\ the 16 "peripheral" PDMA channels. 
     15\ The number space for mmp-mav-dma-channels is as follows: 
     16\  0: MDMA0 
     17\  1: MDMA1 
     18\  2: ADMA1_CH0 (out) 
     19\  3: ADMA1_CH1 (in) 
     20\  4: ADMA2_CH0 (out) 
     21\  5: ADMA2_CH1 (in) 
     22\  6: VDMA1_CH0 
     23\  7: VDMA1_CH1 
     24\ That's consistent with the enumeration mmp_tdma_type in 
     25\ Linux:arch/arm/mach-mmp/include/mach/mmp_dma.h 
     26\ and also reflects the bit numbering (+16) in the various 
     27\ DMA IRQ status and mask registers, e.g. ICU_DMA_IRQ1_STATUS 
     28 
    1329dev / 
    1430new-device 
    1531   " adma" device-name 
    1632   h# 800 +audio  h# 100 reg 
    17    d# 47 " interrupts" integer-property 
     33   3 encode-int 2 encode-int encode+ " mmp-mav-dma-channels" property 
     34   " marvell,mmp-audio-dma" +compatible 
    1835   current-device  ( adma0-ph ) 
    1936finish-device 
     
    2239   " adma" device-name 
    2340   h# 900 +audio  h# 100 reg 
    24    d# 48 " interrupts" integer-property 
     41   5 encode-int 4 encode-int encode+ " mmp-mav-dma-channels" property 
     42   " marvell,mmp-audio-dma" +compatible 
    2543   current-device  ( adma0-ph adma1-ph ) 
    2644finish-device 
     
    3250   \ We call this the platform driver, a single point that collects 
    3351   \ the Audio DMA resources 
    34    " mrvl,mmp-pcm-audio" +compatible   \ snd_soc_dai_link.cpu_dai_of_node 
     52   " marvell,mmp-pcm-audio" +compatible   \ snd_soc_dai_link.cpu_dai_of_node 
    3553 
    3654   ( adma0-ph adma1-ph ) 
     
    4260   h# d00 +audio  h# 100 reg 
    4361 
    44    " mrvl,mmp-sspa-dai" +compatible 
     62   " marvell,mmp-sspa-dai" +compatible 
    4563 
    4664   " /pmua" encode-phandle d# 20 encode-int encode+ " clocks" property 
     
    5371h# c00 +audio  h# 100 reg 
    5472 
    55 " mrvl,mmp-sspa-dai" +compatible 
     73" marvell,mmp-sspa-dai" +compatible 
    5674 
    5775" /pmua" encode-phandle d# 20 encode-int encode+ " clocks" property 
Note: See TracChangeset for help on using the changeset viewer.