21 Nov, 2013

1 commit


20 Nov, 2013

3 commits


18 Nov, 2013

1 commit


08 Nov, 2013

4 commits


06 Nov, 2013

1 commit


04 Nov, 2013

1 commit


31 Oct, 2013

1 commit


24 Oct, 2013

1 commit


21 Oct, 2013

2 commits

  • R-Car sound has clock pin for each SSI, and sometimes,
    these pins are shared with paired SSI.
    It may sometimes become "SSI-A clock pin is master" and
    "SSI-B clock pin is slave", but "SSI-A/B clock pins are shared".
    SSI-B needs SSI-A clock in this case.

    Current R-Car sound driver is using RSND_SSI_xxx flag
    to control this kind of shared pin behavior.

    But, this information, especially clock master setting,
    can be got from ASoC set_fmt settings.
    This patch removes rsnd_ssi_mode_init() and extend rsnd_ssi_mode_set()
    to controlling pin settings via .set_fmt.

    This patch doesn't removes RSND_SSI_CLK_FROM_ADG flag at this point
    to avoid conflict branch merging between ASoC SH-ARM.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Current SSI needs RSND_SSI_DEPENDENT flag to
    decide dependent/independent mode.
    And SCU needs RSND_SCU_USE_HPBIF flag
    to decide HPBIF is enable/disable.
    But these 2 means same things.

    This patch adds new rsnd_scu_hpbif_is_enable()
    function, and merges above methods.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     

12 Oct, 2013

3 commits


25 Sep, 2013

2 commits


24 Sep, 2013

1 commit


17 Sep, 2013

1 commit


09 Sep, 2013

1 commit


30 Aug, 2013

1 commit


26 Aug, 2013

1 commit

  • Current FSI is supporting DMAEngine transfer,
    but, it needs to use work queue.
    Therefore, DMA transfer settings might be late if there is heavy task.
    This patch reserves next period beforehand on DMA transfer function.
    Android sound will be breaking up without this patch.

    Tested-by: Tomohito Esaki
    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     

07 Aug, 2013

5 commits


31 Jul, 2013

1 commit

  • In case of error, the function devm_ioremap_resource() returns ERR_PTR()
    and never returns NULL. The NULL test in the return value check should be
    replaced with IS_ERR(), and also remove the dev_err call to avoid redundant
    error message.

    Signed-off-by: Wei Yongjun
    Acked-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Wei Yongjun
     

29 Jul, 2013

6 commits

  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuit is different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
    (Actually, there are many difference in Generation1 chips)

    As 1st protype, this patch adds SSI feature on this driver.
    But, it is PIO sound playback support only at this point.
    The DMA transfer, and capture feature will be supported in the future

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuit is different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
    (Actually, there are many difference in Generation1 chips)

    This patch adds ADG feature which controls sound clock

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuit is different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
    (Actually, there are many difference in Generation1 chips)

    This patch adds SCU feature on this driver.
    But, it defines SCU style only, does nothing at this point.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuit is different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
    (Actually, there are many difference in Generation1 chips)

    The main difference between Gen1 and Gen2 are
    1) register offset, 2) data path

    In order to control Gen1/Gen2 by same method,
    this patch adds gen.c.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuit is different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
    (Actually, there are many difference in Generation1 chips)

    Gen1 series consists of SRU/SSI/ADG, and
    Gen2 series consists of SCU/SSIU/SSI/ADG.

    In order to control these by same method,
    these are treated as "mod" on this driver.

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     
  • Renesas R-Car series sound circuit consists of SSI and its peripheral.
    But this peripheral circuits are different between
    R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2).
    (Actually, there are many difference in Generation1 chips)

    Basically, for the future, Renesas R-Car series will use
    Gen2 style sound circuit, but driver should care Gen1 also.
    The main differences between Gen1 and Gen2 peripheral
    are 1) register offset, 2) data path.

    This patch adds basic (core) feature for R-Car
    series sound driver as prototype

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto
     

28 Jun, 2013

1 commit


27 Jun, 2013

1 commit

  • Currently we can only have a single platform built in with AC'97 support
    due to the use of a global variable to provide the bus operations. Fix
    this by making that variable a pointer and having the bus drivers set the
    operations prior to registering.

    This is not a particularly good or nice approach but it avoids blocking
    multiplatform and a real fix involves fixing the fairly deep problems
    with AC'97 support - we should be converting it to a real bus.

    Acked-by: Arnd Bergmann
    Reviewed-by: Stephen Warren
    Signed-off-by: Mark Brown

    Mark Brown
     

28 May, 2013

1 commit

  • This patch fixup below sparse errors

    ${LINUX}/sound/soc/sh/fsi.c:1459:9: \
    error: incompatible types in conditional expression (different base types)
    ${LINUX}/sound/soc/sh/fsi.c:1634:25: \
    error: incompatible types in conditional expression (different base types)
    ${LINUX}/sound/soc/sh/fsi.c:1639:17: \
    error: incompatible types in conditional expression (different base types)
    ${LINUX}/sound/soc/sh/fsi.c:2093:9: \
    error: incompatible types in conditional expression (different base types)
    ${LINUX}/sound/soc/sh/fsi.c:2105:9: \
    error: incompatible types in conditional expression (different base types)

    Signed-off-by: Kuninori Morimoto
    Signed-off-by: Mark Brown

    Kuninori Morimoto