aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: Tweak gains for voice recognitionMark Brown2011-11-171-6/+6
| | | | | | | | | | | | | | | | | | | | | The signal level was observed to be very low when doing recordings for voice recognition from headphone sources, and also from main microphone. Change this by: - Increasing the gain for headphone case, applying an additional 3dB in the mic preamp and +30dB from the input mixer. - Removing +6dB digital gain for main mic (since digital gain will only increase the signal level, not recover extra information after ADC has quantized the data). - Updating main mic analogue settings to match normal record for an aggregate change from 21dB to 40.5dB. The most observable user level effect of the above being that the signal meter displayed by the voice search application registers a fairly clear signal while previously the signal levels appeared very flat. Change-Id: I3beaf70ab7649f678e105fa75cd09f2a80749f99 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* S5PC11X: BATTERY:Delete reset function that is called at Probehongmin.son2011-11-171-7/+0
| | | | | | | | Wrong soc value occurs due to reset during operating device. so delete reset code in probe function Change-Id: I2c9acc31b283f9f96bc2c118ea7649c4b764566f Signed-off-by: hongmin.son <hongmin.son@samsung.com>
* s3cfb_tl2796: Compute gamma curve values from one gamma tableArve Hjønnevåg2011-11-171-224/+135
| | | | | Change-Id: I0b6a4cd191e942356db1064e7376857a47e11f21 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* S5PC11X: UART: Disable uart irq in suspend mode.Choi jonghwan2011-11-171-0/+5
| | | | | | | Disable uart irq in suspend mode, For prevent uart irq handler before uart_resume function. Change-Id: If24059c2b65b404ec0845cacc4f7b8a91f4fae5e Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
* ASoC: Also avoid powering up WM8994 VMID on bootMark Brown2011-11-171-6/+0
| | | | | | | | Since we're not bringing it up on resume let's do the same on first boot also. Change-Id: I1ca11608ed400d7224c9a40ea55ed6922aaabbfb Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Use CODEC_OFF when marking the CODEC as powered down on suspendMark Brown2011-11-171-1/+1
| | | | | | | We're using CODEC_OFF elsewhere so use it here also for consistency. Change-Id: Ia2d7933b36374a896ffffaf5542644d4d7f6c715 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Don't bring up VMID when resuming WM8994Mark Brown2011-11-171-8/+0
| | | | | | | | | | | | | | | | | | | In normal operation the driver leaves VMID disabled when the CODEC is idle so do this also when coming out of resume. Maintaining VMID consumes a small amount of power so this should improve battery life, especially when waking up to perform background syncs with network services. This will lead to an additional 50ms delay when bringing up the first audio stream on the device after resume but since we already take a similar hit for all audio enables after that this should have negligable effect on user experience. We should consider also disabling the LDOs as they only take 5ms to bring up but we need to measure to ensure that power consumption is actually meaningfully reduce.d Change-Id: I825e26e5d4916fa7babac93393b795c9ff52d119 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Don't specify enable bits for speaker+headphone DC servo on herringMark Brown2011-11-171-2/+1
| | | | | Change-Id: Ibf474a43900b8f83716116a186e1a750d7c9ec29 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Save and restore DC servo state when unchangedMark Brown2011-11-173-25/+64
| | | | | | | | | | | | | | We only need to recalibrate the DC servo configuration when the analogue configuration is changed, which in this system means whenver the analogue volume is changed or whenever the path is changed. Use this to save the ~160ms taken by the recalibration by saving the value per-path We still need to recalibrate after volume changes and the first time a given path is used but these should be much less frequent events than headphone enable. Change-Id: I706fe161f5cc0709e58d7702b28796ed85c51384 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* gpu: pvr: Only service pending CPU cache ops before LASTKICK TAs.Alistair Strachan2011-11-177-27/+38
| | | | Change-Id: I62d59e844347b93ab995aecfa0d5566879b9d87c
* gpu: pvr: Increase timeout used when waiting for HWBen Jones2011-11-171-1/+1
| | | | | | | This change should resolve issues seen when running test-opengl-gl2_perf. Change-Id: Iff09d8c8f0d0cff3c93a536dcbf6496fd00d7f1b
* ASoC: Remove 10ms delay in Herring record startupMark Brown2011-11-171-14/+12
| | | | | | | | | | Enable the high pass filter at the start of the powerup sequence to ensure that it's enabled when we start seeing audio, and remove the 10ms delay in the sequence which appears to have been masking the bounce by discarding audio. Change-Id: Ie73155339bea8450a8948ab265b2ad1d3bc83685 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Reduce Herring main mic recording levelMark Brown2011-11-171-1/+1
| | | | | | | Stops us overdriving things, improving record quality. Change-Id: I8043f49961331e10c4bd43890865e39de531dcd0 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Document some of the Herring gainsMark Brown2011-11-171-23/+23
| | | | | | | | Add comments translating register values into dB levels. Should be no functional changes. Change-Id: I25cfc1fd524c42e5e03b3d7ce060d602fbb8287a Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Reduce Herring main mic gain for voice callMark Brown2011-11-171-1/+1
| | | | | | | Greatly improves audio quality in testing by reducing gain by ~10dB. Change-Id: If4a9e75cf97c98cba3fe022e9e780febdacac19f Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* S5PC11X: ADC: set adc standby mode when it is not usedMinsu Kim2011-11-171-1/+10
| | | | | | | | | It reduce the normal power consumption by 4~5mA. Standby mode power consumption is same with VADC off state. Thus VADC LDO off is not necessary. Change-Id: Id96d79c46859558f762a72773a13d55dc1b332d9 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* S5PC11X: USB: Add USB u_ether patch for USB tetheringsb223.kang2011-11-172-1/+30
| | | | | | | | | Add USB u_ether aligned bufffer patch for using C11X DMA mode. This patch is needed for use USB tethering. Change-Id: Id47666eec388ec144fda5e0abf638d3336f0bbff Signed-off-by: sb223.kang <sb223.kang@samsung.com> Signed-off-by: Mike Lockwood <lockwood@google.com>
* ASoC: Remove inline from wm8994_read()Mark Brown2011-11-171-1/+1
| | | | | | | It can't be inlined as we keep references to it and refer to it in other compilation units. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Replace dead reckoning for WM8994 DC servo with hardware pollMark Brown2011-11-171-31/+40
| | | | | | | | | | | | | Rather than inserting large sleeps waiting for the DC servo to complete poll the DC servo status to see if the hardware is done. This ensures that the delays aren't too long while also avoiding races with the hardware. In order to aid debug during the transition an info level print displaying the time taken to complete is left in by default, allowing comparison with the dead reckinging delays used previously. Overall we save ~5ms in my tests. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: wm8994_read() isn't inlineMark Brown2011-11-171-1/+1
| | | | | | Kills reams of warnings (one per use) with sparse. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Simplify samsung_wm8994 mic path settingMark Brown2011-11-171-7/+10
| | | | | | | | - Only have one call to universal_mic_path(). - Use a switch statement rather than cascaded if () statements for clarity. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* S5PC11X: SOUND: doesn't change the source of AIF3ADC & AID3DAC during using ↵UK KIM2011-11-171-7/+0
| | | | | | | | | bluetooth sco. 1. modified wrong source of AIF3ADC & AI3DAC when disabling bluetooth sco Change-Id: If66436d5f681f7cac9cbe693153431fd586f1b90 Signed-off-by: UK KIM <w0806.kim@samsung.com>
* S5PC11X: CLOCK: Disable MFC clock in booting time.huisung.kang2011-11-171-6/+6
| | | | | Change-Id: I9909070e3533188d09fbb53e5c47634ac1d6e2f3 Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
* S5PC11X: CLOCK: Disable secss clock.Choi jonghwan2011-11-171-0/+6
| | | | | | | Disable secss clock. Secss is not used. Change-Id: Idb177f78350b20b015ed21c69e722185f646d2a5 Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
* S5PC11X: SOUND: devide gain table using gain codeUK KIM2011-11-173-3/+84
| | | | | | | devide gain table with default table not to effect default gain table value. Change-Id: I369fa9e3dfe3c733e0ba6797a44d75b0c26baf15 Signed-off-by: UK KIM <w0806.kim@samsung.com>
* S5PC11X: WLAN: Add delay for enabling Wifi hotspot.w12.lee2011-11-171-1/+1
| | | | | | | | | When enabling WiFi hotspot, sdio_reset_comm() is called before mmc1 is ready. So wlan driver falls down unstable state. We need more delay to make sure all components be ready before sdio_reset_comm(). Change-Id: Ia8870a2d38df7443e94ca2e1158037568262717e Signed-off-by: w12.lee <w12.lee@samsung.com>
* S5PC11X: herring: Delete unused platform device of ac97.huisung.kang2011-11-171-1/+0
| | | | | Change-Id: I4c56c6dc7546e5a6f4f1372eff58b9ab93ddad68 Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
* S5PC11X: USB Switch: Add switch for car/desk docksb223.kang2011-11-171-0/+34
| | | | | | | Add switch callback func for car/desk dock Change-Id: I576123c205eb8d8c674e1043b4508a791e9615e6 Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X: USB: Remove unnecessary routine on pm opssb223.kang2011-11-171-27/+9
| | | | | | | Remove unnecessary routine on suspend/resume function. Change-Id: I8733f5509cb4d2e8a639044e446ba83d3cf09e4f Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X: SOUND: Fix DC Bias level for voice recording.UK KIM2011-11-171-72/+115
| | | | | | | | | | | | 1.changed register setting sequence. - mixer, input power up -> clamp enable -> input mixer setting -> AIF1 adc mute -> AIF1 controller setting -> AIF1 ADC power up -> routing and gain setting -> AIF1 adc unmute 2. add HPF filter Signed-off-by: UK KIM <w0806.6.kim@samsung.com> Change-Id: I94f66eb86f08d96c0c4c77d506ae16742a197831
* S5PC11X: SOUND: modified send key of earjackMinsong Kim2011-11-171-1/+1
| | | | | | | | | | we want to support double-press button concept. If we press button twice quickly, next song is played in music player. Nexus one supports this function. So we need to adjust time range of button. Change-Id: Ic3a167931f508d69d060a4f3ba031b3221c6874e Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* S5PC11X: SENSOR: Add automatic hysteresis adjustment for stable proximity ↵tim.sk.lee2011-11-171-1/+1
| | | | | | | response Change-Id: Ie19869d5228f150850d59e06c9be6e1bedf261de Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
* S5PC11X: BATTERY: Add battery ADC table in board filehongmin.son2011-11-171-0/+86
| | | | | | | Add battery ADC table in board file Change-Id: I7a88cc7d068ae9c2e01f006597fea0f4e95835c1 Signed-off-by: hongmin.son <hongmin.son@samsung.com>
* input: cypress-touchkey: Board file cleanupRom Lemarchand2011-11-171-1/+1
| | | | | | | | Use the name defined in the header file rather than hardcoding it in the board file. Change-Id: I92c1e298a3967506bf8e5bf2858c0240428dcd82 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* input: cypress-touchkey: Wait before I2C transfersRom Lemarchand2011-11-171-0/+2
| | | | | | | | | | | | The chip takes about 25ms between when it is powered on and when it is ready to accept transfers. This litters the kernel log file with "i2c transfer failed" messages and seems to be at least one of the reasons why the touchscreen and touch keypad are unresponsive when running late-resume. Those timings have been vetted by the hardware team and Cypress. Change-Id: Ibaea29f0114cfb6d50a7aaafb1c3783a5f0cd7f8 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* S5PC11X: SOUND: Fixed problem related with changing of period count.Lakkyung Jung2011-11-171-16/+14
| | | | | | | | When the aplay was configured by period count 2, didn't play sound stream. I modified that able to support various period count. Change-Id: I175f0f34aac1eb7710d39740ba260872c3d04758 Signed-off-by: Lakkyung Jung <lakkyung.jung@samsung.com>
* S5PC11X: KEY: Fixed wakeup problem related gpio key.huisung.kang2011-11-171-1/+1
| | | | | Change-Id: I85ad93a8708f178113e16f24b2bb0253cd4ade78 Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
* S5PC11X: SOUND: modified H/W rev about jack driverMinsong Kim2011-11-171-8/+8
| | | | | Change-Id: Ie48493110a12dfb4588a21592ac04f07cf1cefa9 Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* S5PC11X: PM: check cable status for power-off charging when turn the device offMinsu Kim2011-11-171-2/+1
| | | | | | | use 'set_cable_status' instead of TA_CURRENT_SEL for USB cable connection Change-Id: Id0e4d094e422fcab5aeb89cfa5694618575650a5 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* S5PC11X: SOUND: increased L/R output volume in headset_normal mode.UK KIM2011-11-171-2/+2
| | | | | | | | | left output volume : -8db -> 0 db right output volume : -8db -> 0 db mode : MP3 playback mode Change-Id: Id701e9844589a994ec8e71d13d7239b6b9ce8f7c Signed-off-by: UK KIM <w0806.kim@samsung.com>
* S5PC11X: SWITCH: Add sysfs for UART switchingDooHyunHwang2011-11-171-0/+27
| | | | | | | Add UART switch for factory Change-Id: Iec2ab3d06a74647787664996305c6b62a98b7316 Signed-off-by: DooHyunHwang <dh0421.hwang@samsung.com>
* SP5C11X: ONENAND: Add onenand clock gating.Choi jonghwan2011-11-174-1/+31
| | | | | | | Add onenand clock gating. Change-Id: I0149ad95d4ebfd4293821abe1fe594505e74eb9c Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
* S5PC11X: I2C: Add i2c clock gating.huisung.kang2011-11-171-0/+4
| | | | | Change-Id: I48f1ec8a7a436966ffd9661d59d1d4ab66ec5b74 Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
* mmc: sdhci-s3c: Add MMC_PM_IGNORE_PM_NOTIFY for builtin deviceDmitry Shmidt2011-11-171-0/+5
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Change-Id: I9b787bcbc72b4f05ff3e8679dbefa2be5a6bd73f
* ARM: herring: Set built_in flag for wlan deviceDmitry Shmidt2011-11-171-1/+11
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Change-Id: I919d988663e99e9d53dc8326f073df748169be30
* ARM: samsung: Add built_in flag support to mmc deviceDmitry Shmidt2011-11-175-0/+11
| | | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> Change-Id: I837dd19e3838b9d3d5f928a17afc4f09f625d360
* S5PC11X: SOUND: modified to support bluetooth SCO in VOIPUK KIM2011-11-173-64/+132
| | | | | | | | | | 1. add bluetooth sco path 2. clean up codec driver 3. fix sound mute issue when output device is changed in voip 4. recognition param is added for recognition rate up Change-Id: I89f0c3ab628bc0adaf0fc809ac5745e2912d98bb Signed-off-by: UK KIM <w0806.6.kim@samsung.com>
* PVR: Added PVR/IMG driver for S5PC11X - SGX DDK 1.6.16.3947.Brian Swetland2011-11-17141-0/+66105
| | | | | | Change-Id: Ib43459f5bd765d3841bd1ffb9c63b6355c2db2dd Signed-off-by: hoony.yu <hoony.yu@samsung.com> Signed-off-by: Brian Swetland <swetland@google.com>
* arm: herring: change battery chemistry for fuelgaugeSimon Wilson2011-11-171-0/+1
| | | | | | Makes fuelgauge readings much more stable Signed-off-by: Simon Wilson <simonwilson@google.com>
* power: charger: report battery status as full when chargedSimon Wilson2011-11-171-0/+2
| | | | Signed-off-by: Simon Wilson <simonwilson@google.com>