lkml.org 
[lkml]   [2009]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[patch 4/5] xtensa: add resources for canonical data port modes to s6105 platform
    Date
    From: Oskar Schirmer <os@emlix.com>

    Signed-off-by: Oskar Schirmer <os@emlix.com>
    ---
    arch/xtensa/platforms/s6105/device.c | 13 +++++++++++++
    1 files changed, 13 insertions(+), 0 deletions(-)

    diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
    index ff047fc..dec1d88 100644
    --- a/arch/xtensa/platforms/s6105/device.c
    +++ b/arch/xtensa/platforms/s6105/device.c
    @@ -59,6 +59,10 @@ static const signed char dp_irq_mappings[] = {
    S6_INTC_DMA_DPTERMCNT(1),
    S6_INTC_DMA_DPTERMCNT(2),
    S6_INTC_DMA_DPTERMCNT(3),
    +#ifdef CONFIG_VIDEO_S6000_CANONICAL
    + S6_INTC_DMA_LMSPENDCNT(9),
    + S6_INTC_DMA_LMSPENDCNT(10),
    +#endif
    -1
    };

    @@ -421,6 +425,15 @@ static struct resource s6_dp_resource[] = {
    .start = (resource_size_t)DP_INTNUM,
    .flags = IORESOURCE_IRQ,
    },
    +#ifdef CONFIG_VIDEO_S6000_CANONICAL
    + {
    + .start = (resource_size_t)
    + DMA_CHNL(S6_REG_LMSDMA, 9),
    + .end = (resource_size_t)
    + DMA_CHNL(S6_REG_LMSDMA, 10) + 0x100 - 1,
    + .flags = IORESOURCE_DMA,
    + },
    +#endif
    };

    static struct platform_device platform_devices[] = {
    --
    1.6.2.107.ge47ee


    \
     
     \ /
      Last update: 2009-03-26 15:53    [W:0.019 / U:125.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site