09 Jan, 2012

2 commits


12 Oct, 2011

2 commits

  • If the client only interested, if any of the vibra channels enabled, or
    if any of the channels are set to receive audio data via PDM.

    This function targets mainly the vibra driver, so it can check if it is
    allowed to execute effects ot not.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • The vibra control register will be used from the ASoC codec driver as well.
    In order to avoid latency issues caused by I2C read access, cache the two
    control register within the core driver, so we do not need to reach out
    to the chip to read it back.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

20 Sep, 2011

3 commits

  • Avoid requesting the audpwron gpio in case of ES1.0
    revision.
    In the past we requested the gpio, but we did not
    free it up, since we made the check for the revision
    later. This results later checks for gpio validity to
    fail, leaving the gpio reserved (even after the driver
    has been removed).

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • For client driver to use, if they need chip resvision information.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     
  • There is no need to keep global pointer for the platform
    device, since it is only used for dev_* prints, and the
    device pointer available within the twl6040 structure.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Peter Ujfalusi
     

07 Jul, 2011

4 commits


05 Jul, 2011

2 commits

  • Pass twl4030_codec_data instead of the twl4030_audio_data
    for the ASoC codec driver.

    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz

    Peter Ujfalusi
     
  • TWL6040 IC provides analog high-end audio codec functions for
    handset applications. It contains several audio analog inputs
    and outputs as well as vibrator support. It's connected to the
    host processor via PDM interface for audio data communication.
    The audio modules are controlled by internal registers that
    can be accessed by I2C and PDM interface.

    TWL6040 MFD will be registered as a child of TWL-CORE, and will
    have two children of its own: twl6040-codec and twl6040-vibra.

    This driver is based on TWL4030 and WM8350 MFD drivers.

    Signed-off-by: Misael Lopez Cruz
    Signed-off-by: Peter Ujfalusi
    Acked-by: Samuel Ortiz

    Misael Lopez Cruz