1. 14 1月, 2011 1 次提交
  2. 10 12月, 2010 1 次提交
    • H
      mfd: TWL6030: OMAP4: Registering the TWL6030-usb device · e70357e3
      Hema HK 提交于
      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: NHema HK <hemahk@ti.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      e70357e3
  3. 29 10月, 2010 3 次提交
  4. 12 8月, 2010 1 次提交
    • L
      ASoC: multi-component - ASoC Multi-Component Support · f0fba2ad
      Liam Girdwood 提交于
      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: NTimur Tabi <timur@freescale.com>
      
      Some TLV320aic23 and Cirrus platform fixes.
      Signed-off-by: NRyan Mallon <ryan@bluewatersys.com>
      
      TI CODEC and OMAP fixes
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: NJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Signed-off-by: NJarkko Nikula <jhnikula@gmail.com>
      
      Samsung platform and misc fixes :-
      Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NJassi Brar <jassi.brar@samsung.com>
      Signed-off-by: NSeungwhan Youn <sw.youn@samsung.com>
      
      MPC8610 and PPC fixes.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      
      i.MX fixes and some core fixes.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      
      J4740 platform fixes:-
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      
      CC: Tony Lindgren <tony@atomide.com>
      CC: Nicolas Ferre <nicolas.ferre@atmel.com>
      CC: Kevin Hilman <khilman@deeprootsystems.com>
      CC: Sascha Hauer <s.hauer@pengutronix.de>
      CC: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
      CC: Kuninori Morimoto <morimoto.kuninori@renesas.com>
      CC: Daniel Gloeckner <dg@emlix.com>
      CC: Manuel Lauss <mano@roarinelk.homelinux.net>
      CC: Mike Frysinger <vapier.adi@gmail.com>
      CC: Arnaud Patard <apatard@mandriva.com>
      CC: Wan ZongShun <mcuos.com@gmail.com>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      f0fba2ad
  5. 19 3月, 2010 1 次提交
  6. 08 3月, 2010 4 次提交
  7. 24 2月, 2010 1 次提交
  8. 14 12月, 2009 11 次提交
  9. 25 11月, 2009 1 次提交
  10. 23 11月, 2009 1 次提交
  11. 27 10月, 2009 1 次提交
  12. 26 10月, 2009 1 次提交
  13. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  14. 12 10月, 2009 1 次提交
  15. 17 9月, 2009 2 次提交
  16. 21 6月, 2009 1 次提交
  17. 18 6月, 2009 1 次提交
    • R
      mfd: Mark clocks_init as non-init in twl4030-core.c · 04ffa131
      Rakib Mullick 提交于
      Impact: Fix section mismatch.
      
      clocks_init() has been called from twl4030_probe() which is a non-init
      function. Since probing can be done anytime so clocks_init will be
      called anytime too. So we mark clock_init() as non-init.
      
      LD      drivers/mfd/built-in.o
      WARNING: drivers/mfd/built-in.o(.text+0x8dd9): Section mismatch in
      reference from the function twl4030_probe() to the function
      .init.text:clocks_init()
      The function twl4030_probe() references
      the function __init clocks_init().
      This is often because twl4030_probe lacks a __init
      annotation or the annotation of clocks_init is wrong.
      Signed-off-by: NRakib Mullick <rakib.mullick@gmail.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      04ffa131
  18. 31 3月, 2009 1 次提交
  19. 17 2月, 2009 1 次提交
  20. 14 1月, 2009 1 次提交
  21. 11 1月, 2009 1 次提交
  22. 04 1月, 2009 3 次提交
    • S
      mfd: Fix twl4030-core.c build error · 6354ab5c
      Samuel Ortiz 提交于
      This is a fix for:
      
      twl4030-core.c:(.text+0x16a797): undefined reference to `clk_get_rate'
      twl4030-core.c:(.text+0x16a797): undefined reference to `clk_put'
      
      on x86 and x86_64, as the clock API is not defined on those platforms.
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      6354ab5c
    • D
      mfd: twl4030 regulator bug fixes · b73eac78
      David Brownell 提交于
      This contains two bugfixes to the initial twl4030 regulator
      support patch related to USB:
      
       (a) always overwrite the old list of consumers ... else
           the regulator handles all use the same "usb1v5" name;
       (b) don't set up the "usbcp" regulator, which turns out
           to be managed through separate controls, usually ULPI
           directly from the OTG controller.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      b73eac78
    • D
      mfd: twl4030: create some regulator devices · dad759ff
      David Brownell 提交于
      Initial code to create twl4030 voltage regulator devices, using
      the new regulator framework.  Note that this now starts to care
      what name is used to declare the TWL chip:
      
       - TWL4030 is the "old" chip; newer ones have a bigger variety
         of VAUX2 voltages.
      
       - TWL5030 is the core "new" chip; TPS65950 is its catalog version.
      
       - The TPS65930 and TPS65920 are cost-reduced catalog versions of
         TWL5030 parts ... fewer regulators, no battery charger, etc.
      
      Board-specific regulator configuration should be provided, listing
      which regulators are used and their constraints (e.g. 1.8V only).
      
      Code that could ("should"?) leverage the regulator stuff includes
      TWL4030 USB transceiver support and MMC glue, LCD support for the
      3430SDP and Labrador boards, and S-Video output.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
      dad759ff