14 Jan, 2011

1 commit


10 Dec, 2010

1 commit

  • Registering the twl6030-usb transceiver device as a child to twl6030 core.
    Removed the NOP transceiver init call from board file.

    Populated twl4030_usb_data platform data structure with the function
    pointers for OMAP4430 internal PHY operation to be used by twl630-usb driver.

    Signed-off-by: Hema HK
    Cc: Samuel Ortiz
    Cc: Tony Lindgren
    Signed-off-by: Felipe Balbi

    Hema HK
     

29 Oct, 2010

3 commits


12 Aug, 2010

1 commit

  • This patch extends the ASoC API to allow sound cards to have more than one
    CODEC and more than one platform DMA controller. This is achieved by dividing
    some current ASoC structures that contain both driver data and device data into
    structures that only either contain device data or driver data. i.e.

    struct snd_soc_codec ---> struct snd_soc_codec (device data)
    +-> struct snd_soc_codec_driver (driver data)

    struct snd_soc_platform ---> struct snd_soc_platform (device data)
    +-> struct snd_soc_platform_driver (driver data)

    struct snd_soc_dai ---> struct snd_soc_dai (device data)
    +-> struct snd_soc_dai_driver (driver data)

    struct snd_soc_device ---> deleted

    This now allows ASoC to be more tightly aligned with the Linux driver model and
    also means that every ASoC codec, platform and (platform) DAI is a kernel
    device. ASoC component private data is now stored as device private data.

    The ASoC sound card struct snd_soc_card has also been updated to store lists
    of it's components rather than a pointer to a codec and platform. The PCM
    runtime struct soc_pcm_runtime now has pointers to all its components.

    This patch adds DAPM support for ASoC multi-component and removes struct
    snd_soc_socdev from DAPM core. All DAPM calls are now made on a card, codec
    or runtime PCM level basis rather than using snd_soc_socdev.

    Other notable multi-component changes:-

    * Stream operations now de-reference less structures.
    * close_delayed work() now runs on a DAI basis rather than looping all DAIs
    in a card.
    * PM suspend()/resume() operations can now handle N CODECs and Platforms
    per sound card.
    * Added soc_bind_dai_link() to bind the component devices to the sound card.
    * Added soc_dai_link_probe() and soc_dai_link_remove() to probe and remove
    DAI link components.
    * sysfs entries can now be registered per component per card.
    * snd_soc_new_pcms() functionailty rolled into dai_link_probe().
    * snd_soc_register_codec() now does all the codec list and mutex init.

    This patch changes the probe() and remove() of the CODEC drivers as follows:-

    o Make CODEC driver a platform driver
    o Moved all struct snd_soc_codec list, mutex, etc initialiasation to core.
    o Removed all static codec pointers (drivers now support > 1 codec dev)
    o snd_soc_register_pcms() now done by core.
    o snd_soc_register_dai() folded into snd_soc_register_codec().

    CS4270 portions:
    Acked-by: Timur Tabi

    Some TLV320aic23 and Cirrus platform fixes.
    Signed-off-by: Ryan Mallon

    TI CODEC and OMAP fixes
    Signed-off-by: Peter Ujfalusi
    Signed-off-by: Janusz Krzysztofik
    Signed-off-by: Jarkko Nikula

    Samsung platform and misc fixes :-
    Signed-off-by: Chanwoo Choi
    Signed-off-by: Joonyoung Shim
    Signed-off-by: Kyungmin Park
    Reviewed-by: Jassi Brar
    Signed-off-by: Seungwhan Youn

    MPC8610 and PPC fixes.
    Signed-off-by: Timur Tabi

    i.MX fixes and some core fixes.
    Signed-off-by: Sascha Hauer

    J4740 platform fixes:-
    Signed-off-by: Lars-Peter Clausen

    CC: Tony Lindgren
    CC: Nicolas Ferre
    CC: Kevin Hilman
    CC: Sascha Hauer
    CC: Atsushi Nemoto
    CC: Kuninori Morimoto
    CC: Daniel Gloeckner
    CC: Manuel Lauss
    CC: Mike Frysinger
    CC: Arnaud Patard
    CC: Wan ZongShun

    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Liam Girdwood
     

19 Mar, 2010

1 commit


08 Mar, 2010

4 commits

  • Add base address for generic slave ID0, ID1, ID2
    and introduced one more entry to align RTC module number between
    twl4030 and twl6030

    Signed-off-by: Balaji T K
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • This patch disables TWL4030/5030 I2C1 adn I2C4(SR) internal pull-up, to
    use only the external HW resistor >=470 Ohm for the assured
    functionality in HS mode.

    While testing the I2C in High Speed mode, it was discovered that
    without a proper pull-up resistor, there is data corruption during
    multi-byte transfer. RTC(time_set) test case was used for testing.

    From the analysis done, it was concluded that ideally we need a
    pull-up of 1.6k Ohm(recomended) or atleast 470 Ohm or greater for
    assured performance in HS mode.

    Signed-off-by: Moiz Sonasath
    Signed-off-by: Allen Pais
    Signed-off-by: Samuel Ortiz

    Moiz Sonasath
     
  • Change the typo CONFIG_INPUT_TWL4030_PWBUTTON_MODULE in the
    twl_has_pwrbutton definition to CONFIG_INPUT_TWL4030_PWRBUTTON_MODULE.

    Signed-off-by: Eduardo Valentin
    Signed-off-by: Christoph Egger
    Signed-off-by: Samuel Ortiz

    Eduardo Valentin
     
  • The TWL4030_BCI_BATTERY config option originates from a patch to the
    omap git tree. However inclusion in linux was seemingly rejected and
    the functionality nears inclusion under a different name so this
    removes the bits of the old version that made it into the mainline
    kernel again.

    Signed-off-by: Christoph Egger
    Signed-off-by: Samuel Ortiz

    Christoph Egger
     

24 Feb, 2010

1 commit

  • In order to have TWL6030 CODEC driver as a platform driver, codec data
    should be passed through twl_platform_data structure.

    For twl6030 audio codec, the following data may be passed:
    - audpwron_gpio: gpio line used to power-up/down the codec. A low-to-high
    transition powers codec up. Setting audpwron_gpio to a negative value
    means that codec will use manual power sequence instead of automatic
    sequence
    - naudint_irq: irq line for audio interrupt. twl6030 drives NAUDINT line
    to low when an interrupt (codec ready, plug insertion/removal, etc) is
    detected

    However, codec driver can operate if any or none of them are passed.

    Signed-off-by: Misael Lopez Cruz
    Signed-off-by: Margarita Olaya Cabrera
    Signed-off-by: Jorge Eduardo Candelaria
    Acked-by: Samuel Ortiz
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Misael Lopez Cruz
     

14 Dec, 2009

6 commits

  • This patch adds initial support for creating twl6030 PMIC
    specific voltage regulators in the twl mfd driver.

    Board specific regulator configurations will have to be passed from
    respective board files.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Acked-by: Mark Brown
    Reviewed-by: Tony Lindgren
    Signed-off-by: Samuel Ortiz

    Rajendra Nayak
     
  • This patch adds support for phoenix interrupt framework. New iInterrupt
    status register A, B, C are introduced in Phoenix and are cleared on write.
    Due to the differences in interrupt handling with respect to TWL4030,
    twl6030-irq.c is created for TWL6030 PMIC

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Reviewed-by: Tony Lindgren
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • This patch renames all twl4030_ functions to twl so that regulator driver
    can be reused by Triton - TWL4030 and Phoenix - TWL6030.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Acked-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Rajendra Nayak
     
  • This patch renames all twl4030_ functions to twl_ so that RTC driver can be
    shared between Triton and Phoenix.

    Signed-off-by: Balaji T K
    Signed-off-by: Nayak Rajendra
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • This patch renames function names like twl4030_i2c_write_u8,
    twl4030_i2c_read_u8 to twl_i2c_write_u8, twl_i2c_read_u8
    and also common variable in twl-core.c

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Balaji T K
     
  • The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030
    for OMAP3. The common modules like RTC, Regulator creates opportunity
    to re-use the most of the code from twl4030.

    This patch renames few common drivers twl4030* files to twl* to enable
    the code re-use.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Balaji T K
    Signed-off-by: Santosh Shilimkar
    Acked-by: Kevin Hilman
    Signed-off-by: Samuel Ortiz

    Santosh Shilimkar