1. 16 11月, 2015 6 次提交
    • K
      ASoC: rsnd: fixup rsnd_dma_of_path method for mod base common method · 40854c64
      Kuninori Morimoto 提交于
      Renesas sound needs many devices
      (SSI/SSIU/SRC/CTU/MIX/DVC/CMD/AudioDMAC/AudioDMACpp).
      SSI/SRC/CTU/MIX/DVC are implemented as module.
      SSI parent, SSIU are implemented as part of SSI
      CMD is implemented as part of CTU/MIX/DVC
      AudioDMAC/AudioDMACpp are implemented as part of SSI/SRC
      It is nice sense that these all devices are implemented as mod.
      
      Current rsnd_dma_of_path is assuming that all mods are related to DMA.
      But it will be wrong. This patch tidyup this wrong assumption
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      40854c64
    • K
      ASoC: rsnd: remove all modules when PIO fallback · 48d58281
      Kuninori Morimoto 提交于
      Current Renesas sound is supporting PIO fallback if it can't use DMA.
      In such case, it should remove all attached modules, but current driver
      is missing about CTU/MIX. Because current implement requests
      specific mod for remove.
      To avoid same things in future, this patch removes all mods,
      and re-connects SSI when PIO fallback case.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      48d58281
    • K
      ASoC: rsnd: enable to use rsnd_dai_connect() from each mod · 27924f32
      Kuninori Morimoto 提交于
      Renesas sound needs many devices
      (SSI/SSIU/SRC/CTU/MIX/DVC/CMD/AudioDMAC/AudioDMACpp).
      SSI/SRC/CTU/MIX/DVC are implemented as module.
      SSI parent, SSIU are implemented as part of SSI
      CMD is implemented as part of CTU/MIX/DVC
      AudioDMAC/AudioDMACpp are implemented as part of SSI/SRC
      It is nice sense that these all devices are implemented as mod.
      
      DMAC/SSIU/SSI-parent/CMD will be implemented as module, but these are
      not customer controlled module. These should be automatically install
      to system. Because of this, rsnd_dai_connect() should be called from
      each mod. SSI can be very special, because it will be installed as
      SSI-parent / SSI-child. Thus, new rsnd_dai_connect() has type parameter
      which should be mod->type except SSI-parent
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      27924f32
    • K
      ASoC: rsnd: rename rsnd_dma_init() to rsnd_dma_attach() · 81ecbb65
      Kuninori Morimoto 提交于
      Renesas sound needs many devices
      (SSI/SSIU/SRC/CTU/MIX/DVC/CMD/AudioDMAC/AudioDMACpp).
      SSI/SRC/CTU/MIX/DVC are implemented as module.
      SSI parent, SSIU are implemented as part of SSI
      CMD is implemented as part of CTU/MIX/DVC
      AudioDMAC/AudioDMACpp are implemented as part of SSI/SRC
      It is nice sense that these all devices are implemented as mod.
      
      DMA will be implemented as module. Then each rsnd_dma_ops will be
      rsnd_mod_ops. But current rsnd_dma_ops::init means "DMA attach".
      This patch removes .init from rsnd_dma_ops, and renames
      rsnd_dma_init() to rsnd_dma_attach()
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      81ecbb65
    • K
      ASoC: rsnd: DMA related definition goes to dma.c · 3e5afa73
      Kuninori Morimoto 提交于
      Renesas sound needs many devices
      (SSI/SSIU/SRC/CTU/MIX/DVC/CMD/AudioDMAC/AudioDMACpp).
      SSI/SRC/CTU/MIX/DVC are implemented as module.
      SSI parent, SSIU are implemented as part of SSI
      CMD is implemented as part of CTU/MIX/DVC
      AudioDMAC/AudioDMACpp are implemented as part of SSI/SRC
      It is nice sense that these all devices are implemented as mod.
      
      DMA will be implemented as module. Current DMA definition is no longer
      needed on rsnd.h. Let's move it to dma.c
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3e5afa73
    • K
      ASoC: rsnd: DMA become SSI/SRC member · 232c00b6
      Kuninori Morimoto 提交于
      Renesas sound needs many devices
      (SSI/SSIU/SRC/CTU/MIX/DVC/CMD/AudioDMAC/AudioDMACpp).
      SSI/SRC/CTU/MIX/DVC are implemented as module.
      SSI parent, SSIU are implemented as part of SSI
      CMD is implemented as part of CTU/MIX/DVC
      AudioDMAC/AudioDMACpp are implemented as part of SSI/SRC
      It is nice sense that these all devices are implemented as mod.
      
      Current rsnd_mod is member of rsnd_mod. But the DMA user is only
      SSI/SRC. This DMA will be implemented as module. As 1st step, DMA
      become SSI/SRC member by this patch.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      232c00b6
  2. 22 10月, 2015 9 次提交
  3. 16 10月, 2015 1 次提交
  4. 14 10月, 2015 1 次提交
    • K
      ASoC: rsnd: Announce for removing Gen1 SRU support · 43624957
      Kuninori Morimoto 提交于
      Gen1 SRU support was created for preparation of Gen2 SRC support,
      but no-one is using this feature (sampling rate convert) on Gen1.
      BockW had used SRU before, but it was pass through mode.
      This means it is same as SSI. And BockW "platform base" code was
      removed from upstream code. It is now supported via DT, but it doesn't
      use SRU. More detail, r8a7778.dtsi has "rcar_sound,src" entry, but
      no-one is using this feature today. SRU probing has no relation to this
      removing. This means there is no effect for DT compatibility, no issues
      on upstream kernel.
      
      Gen2 SRC was created from Gen1 SRU, these are similar but not same IP.
      Keeping Gen1 SRU in current driver is a little bit difficult,
      and no-one is using it today. Gen1 sound is still supported via SSI.
      Gen1 SRU support will be removed in the next kernel version.
      This patch announces it.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      43624957
  5. 12 10月, 2015 1 次提交
  6. 07 10月, 2015 1 次提交
  7. 17 9月, 2015 2 次提交
  8. 15 9月, 2015 13 次提交
  9. 30 8月, 2015 1 次提交
  10. 29 8月, 2015 1 次提交
  11. 12 8月, 2015 1 次提交
  12. 29 7月, 2015 1 次提交
  13. 21 7月, 2015 1 次提交
  14. 18 7月, 2015 1 次提交