| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I0b6a4cd191e942356db1064e7376857a47e11f21
Signed-off-by: Arve Hjønnevåg <arve@android.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Ibf474a43900b8f83716116a186e1a750d7c9ec29
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I62d59e844347b93ab995aecfa0d5566879b9d87c
|
|
|
|
|
|
|
| |
This change should resolve issues seen when running
test-opengl-gl2_perf.
Change-Id: Iff09d8c8f0d0cff3c93a536dcbf6496fd00d7f1b
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Stops us overdriving things, improving record quality.
Change-Id: I8043f49961331e10c4bd43890865e39de531dcd0
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Greatly improves audio quality in testing by reducing gain by ~10dB.
Change-Id: If4a9e75cf97c98cba3fe022e9e780febdacac19f
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Kills reams of warnings (one per use) with sparse.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9909070e3533188d09fbb53e5c47634ac1d6e2f3
Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
|
|
|
|
|
|
|
| |
Disable secss clock. Secss is not used.
Change-Id: Idb177f78350b20b015ed21c69e722185f646d2a5
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I4c56c6dc7546e5a6f4f1372eff58b9ab93ddad68
Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
|
|
|
|
|
|
|
| |
Add switch callback func for car/desk dock
Change-Id: I576123c205eb8d8c674e1043b4508a791e9615e6
Signed-off-by: sb223.kang <sb223.kang@samsung.com>
|
|
|
|
|
|
|
| |
Remove unnecessary routine on suspend/resume function.
Change-Id: I8733f5509cb4d2e8a639044e446ba83d3cf09e4f
Signed-off-by: sb223.kang <sb223.kang@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
response
Change-Id: Ie19869d5228f150850d59e06c9be6e1bedf261de
Signed-off-by: tim.sk.lee <tim.sk.lee@samsung.com>
|
|
|
|
|
|
|
| |
Add battery ADC table in board file
Change-Id: I7a88cc7d068ae9c2e01f006597fea0f4e95835c1
Signed-off-by: hongmin.son <hongmin.son@samsung.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I85ad93a8708f178113e16f24b2bb0253cd4ade78
Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
|
|
|
|
|
| |
Change-Id: Ie48493110a12dfb4588a21592ac04f07cf1cefa9
Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Add UART switch for factory
Change-Id: Iec2ab3d06a74647787664996305c6b62a98b7316
Signed-off-by: DooHyunHwang <dh0421.hwang@samsung.com>
|
|
|
|
|
|
|
| |
Add onenand clock gating.
Change-Id: I0149ad95d4ebfd4293821abe1fe594505e74eb9c
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
|
|
|
|
|
| |
Change-Id: I48f1ec8a7a436966ffd9661d59d1d4ab66ec5b74
Signed-off-by: huisung.kang <hs1218.kang@samsung.com>
|
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Change-Id: I9b787bcbc72b4f05ff3e8679dbefa2be5a6bd73f
|
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Change-Id: I919d988663e99e9d53dc8326f073df748169be30
|
|
|
|
|
| |
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Change-Id: I837dd19e3838b9d3d5f928a17afc4f09f625d360
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: Ib43459f5bd765d3841bd1ffb9c63b6355c2db2dd
Signed-off-by: hoony.yu <hoony.yu@samsung.com>
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
|
|
|
|
| |
Makes fuelgauge readings much more stable
Signed-off-by: Simon Wilson <simonwilson@google.com>
|
|
|
|
| |
Signed-off-by: Simon Wilson <simonwilson@google.com>
|