aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2009-03-03ASoC: Constify pin names for DAPM pin status APIsMark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02rename-gta03-dropped-3d7k-new-moniker.patchAndy Green
GTA03 project is dropped, long live Openmoko 3d7k project. This name was literally generated by picking the first character of the next four car license plates to pass by I am told. The should catch all GTA03 instances except the machine name. I registered a new machine name since the 3d7k is different from original GTA03, the machine number is 2120. Signed-off-by: Andy Green <andy@openmoko.com>
2009-03-02OpenMoko: Update for normal WM8753 device registration.Mark Brown
The WM8753 driver now uses the standard I2C device registration model and so requires the platform to register the device. Convert the OpenMoko GTA0x series devices to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02ASoC: Convert WM8753 to register via normal device probeMark Brown
The base support for the only in-tree user, the GTA01, is out of tree and will be updated separately. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02ASoC: Shuffle WM8753 device registration codeMark Brown
This patch should be pure code motion, separating that out from the functional changes to move to new style device registration. [Backported from upstream with some modifications for old code.] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-03-02MERGE-via-pending-tracking-hist-asoc-only-write-back-non-defaumerge
pending-tracking-hist top was asoc-only-write-back-non-defau / 04f55b6c2392d4af2b8b2178c333c7f131d3cdc0 ... parent commitmessage: From: Mark Brown <broonie@opensource.wolfsonmicro.com> ASoC: Only write back non-default registers when resuming WM8753 This will reduce the number of writes done on resume, allowing that to complete faster (especially on systems with very slow I2C like the current Samsung driver). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-02-26AUDIO: Fixup s3c-i2s-v2 merge problemsBen Dooks
Fix CONFIG_CPU_S3C64XX which should have been CONFIG_PLAT_S3C64XX. Fix the merge problems that failed to properly set the master/slave bits for S3C64XX. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-26AUDIO: Update GTA03 setup error pathBen Dooks
Add common error exit for om_gta03_hifi_hw_params() so that any error can easily be debugged. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-26AUDIO: Tidy indentation in GTA03 driverBen Dooks
Tidy the driver formatting. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-26AUDIO: Fix GTA03 clock and channel setup.Ben Dooks
The I2S codec is connected to I2S channel 1, not 0 as initially setup. Also fix the divisors to produce 12MHz on MCLK (was 6MHz) to ensure that the PLL in the WM8753 is within proper limits. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-24clean-dust-to-info-s3c64xx-i2s.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-24MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-s3c64xx-dma-support-1235439162-1235439227 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162-1235439227 / 3d6a1b21cf5fbdb6250d781b0a4900a7a0768aa1 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 stable-tracking-hist top was MERGE-via-mokopatches-tracking-s3c64xx-dma-support-1235439162 / 893e864e65adffc9eb085ed4f8b552a31dcec840 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-s3c64xx-dma-support mokopatches-tracking-hist top was s3c64xx-dma-support / 2515f9a1d53d19b1e61d639875aedcbe7929666e ... parent commitmessage: From: Ben Dooks <ben@simtec.co.uk> S3C64XX: DMA support Add support for the DMA blocks in the S3C64XX series of CPUS, which are based on the ARM PL080 PrimeCell system. Unfortunately, these DMA controllers diverge from the PL080 design by adding another DMA controller register and configuration for OneNAND. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-20ASoC: Staticise suspend/resume functions for GTA02Mark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-02-18GTA03: Fix audio dapm settings.Matt Hsu
Correct the dapm mapping between audio endpoint and physical pin. Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
2009-02-17MERGE-via-pending-tracking-hist-wm8753-unregister-i2c-device-bmerge
pending-tracking-hist top was wm8753-unregister-i2c-device-b / 31c3d7550beb6e4b6bcc8da63b81211e00e9f676 ... parent commitmessage: From: Paul Fertser <fercerpav@gmail.com> wm8753: unregister I2C device (backport from upstream) This is the last change necessary to be able to load/unload all sound modules on Neo FreeRunner. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-02-16MERGE-via-pending-tracking-hist-fix-wm8753-dais-unregisteringmerge
pending-tracking-hist top was fix-wm8753-dais-unregistering / 0e964e0adf23b9e7c819750df3ad77ca81fdf56a ... parent commitmessage: From: Paul Fertser <fercerpav@gmail.com> Fix WM8753 DAIs unregistering WM8753 uses a tricky way to switch DAIs "on the fly", for that it registers 2 dummy DAIs and substitutes them depending on mixer control. List element of registered dummy DAIs should be preserved to allow unregistering of DAIs on module unload. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2009-02-15Copy the GTA02 support and edit out the items that areAndy Green
not present in the GTA03 (such as the external AMP) and bind to the S3C64XX I2S audio. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-15Add s3c64xx_i2s_get_clockrate() so that the linkAndy Green
drivers can find the IIS bus clock rate. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-15Add checks to see if wmXXXX_reset() failed and notifyAndy Green
the user of the problem. This is generally due to a problem on the i2c bus such as an un-powered or non-connected codec. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
2009-02-07tracking-2.6.29-rc3-wm8753-gta02-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-02-06MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414-1233879505 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414-1233879505 / 1c405b6ccee468298e7ccbfd9a3a3f4d123207b0 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414 stable-tracking-hist top was MERGE-via-mokopatches-tracking-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011-1233879414 / 71be0a45396066b1f8f27f8f4f87937247a129e1 ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011 mokopatches-tracking-hist top was MERGE-via-master-MERGE-via-master-hist-1232625318-1233879011 / 1be1b01373f572a02c6f1f99863c8c11ed2f9f5b ... parent commitmessage: From: merge <null@invalid> MERGE-via-master-MERGE-via-master-hist-1232625318 master top was MERGE-via-master-hist-1232625318 / dd4b117123ae66451695810017eb72fbdfc05df5 ... parent commitmessage: From: merge <null@invalid> MERGE-master-patchset-edits
2009-02-02Make ALSA name truncation verboseNelson Castillo
Make previous Michael's patch verbose about truncating mixer names. Sample message: sound/soc/soc-dapm.c:349 mixer name 'Playback Mixer Voice Capture Switch' truncated to 31 characters. Signed-off-by: Nelson Castillo <arhuaco@freaks-unidos.net>
2009-02-02This is a ugly openmokoo revert for name changing in alsa.conf.Michael Trimarchi
Please revert in feuture version Pointed-out-by: Andy Green <andy@openmoko.com> Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-01-31The continue instead of return is not necessary now, because the DAIAndy Green
has a dummy inizialization. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-01-29Fix the registration of sound subsystem. This patch doesn't fix theMichael Trimarchi
audio volume. Signed-off-by: Michael Trimarchi <michael@panicking.kicks-ass.org>
2009-01-29fix-alsa-bt-dai-registration-missing.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-27tracking-2.6.29-rc2-soc-card-vs-machine-struct.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-27fix-deprecated-soc-api.emlNelson Castillo
2009-01-27tracking-2.6.29-rc2-dai_ops-to-ops.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-27tracking-2.6.29-rc2-I2C_CLASS_SOUND.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-27tracking-2.6.29-rc2-alsa-soc-res-write-sysfs-gone.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2009-01-22MERGE-via-pending-tracking-hist-MERGE-via-stable-tracking-MERGE-via-mokopatc ↵merge
hes-tracking-fix-stray-endmenu-patch-1232632040-1232632141 pending-tracking-hist top was MERGE-via-stable-tracking-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040-1232632141 / fdf777a63bcb59e0dfd78bfe2c6242e01f6d4eb9 ... parent commitmessage: From: merge <null@invalid> MERGE-via-stable-tracking-hist-MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 stable-tracking-hist top was MERGE-via-mokopatches-tracking-fix-stray-endmenu-patch-1232632040 / 90463bfd2d5a3c8b52f6e6d71024a00e052b0ced ... parent commitmessage: From: merge <null@invalid> MERGE-via-mokopatches-tracking-hist-fix-stray-endmenu-patch mokopatches-tracking-hist top was fix-stray-endmenu-patch / 3630e0be570de8057e7f8d2fe501ed353cdf34e6 ... parent commitmessage: From: Andy Green <andy@openmoko.com> fix-stray-endmenu.patch Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19GTA01: Hack to make GTA01 bootJonas Bonn
This is probably not correct as the i2c registration is not supposed to work this way, but for the time being, add this hack to make the GTA01 at least boot. Revisit this and drop this patch when possible. Thanks to Andy Green for the tip. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19tracking-2.6.28-add-codec_dev-to-gta02-soc-mach-stuff.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.28-breakage-after-change-to-64xx-tree.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.28-bcd-functions-changed.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19Move asm/arch/gta02.h to mach/gta02.hJonas Bonn
Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19fix-stable-tracking-build-without-symlink.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19GTA02: Fix WM8753 device registrationJonas Bonn
This makes the GTA02 work with the new-style WM8753 ALSA I2C driver. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19Fix build warningJonas Bonn
2008-11-19ALSA: Cleanup WM8753 driver after switch to i2c driver modelJonas Bonn
Mainly this concerns device registration. Registration should be handled at the machine level and not in the driver itself. This patch drops registration at the driver level. As registration allows for specifying an i2c device address, the setup data is not needed to be passed to the driver. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19ALSA: Keep reference to lm4857 i2c_client for write_regsJonas Bonn
The function lm4857_write_regs requires that the i2c_client be available in the local variable 'i2c'. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19ALSA: Drop device registration from lm4857 driverJonas Bonn
Device registration should be handled at the machine level and not in the driver code itself. This patch removes the device registration from the driver code in preparation for moving it to the machine definition. Signed-off-by: Jonas Bonn <jonas.bonn@gmail.com>
2008-11-19ASoC: Fix build of GTA01 audio driverMark Brown
Fix a couple of thinkos introduced during the I2C API update. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2008-11-19ASoC: Convert neo1973/lm4857 to a new-style i2c driverJean Delvare
Convert the lm4857 driver in neo1973_wm8753 to the new (standard) i2c device driver binding model. I assumed that the LM4857 was always on the same I2C bus as the WM8753 codec. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Tim Niemeyer <reddog@mastersword.de> Cc: Graeme Gregory <graeme@openmoko.org> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2008-11-19ASoC: Fix an error path in neo1973_wm8753Jean Delvare
The error handling in neo1973_init is incorrect: * If platform_device_add fails, we go on with the rest of the initialization instead of bailing out. Things will break when the module is removed (platform_device_unregister called on a device that wasn't registered.) * If i2c_add_driver fails, we return an error so the module will not load, but we don't unregister neo1973_snd_device, so we are leaking resources. Add the missing error handling. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Tim Niemeyer <reddog@mastersword.de> Cc: Graeme Gregory <graeme@openmoko.org> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2008-11-19tracking-2.6.27-rc2-include-path-changes.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.27-rc1-snd_soc_dapm_sync_endpoints.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.27-rc1-snd_soc_dapm_set_endpoint.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>
2008-11-19tracking-2.6.26-rc9-dai-alsa.patchAndy Green
Signed-off-by: Andy Green <andy@openmoko.com>