aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* S5PC11x: LCD: Add new CONFIG to support TFT LCDsl47.kim2011-11-171-0/+1
| | | | | | | Add new "CONFIG_FB_S3C_NT35580" to support TFT LCD Change-Id: I2d8ae15c514d35be9b3a5c4a7019884bf6c619dd Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: LCD: Add new lcd platform data for support TFT LCDsl47.kim2011-11-173-13/+145
| | | | | | | | 1. add new nt35580 platform data. 2. make loading the tft lcd driver when revision is tft version Change-Id: I357bfde4424e7adcf850117959e520af58a925fe Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: LCD: Add new lcd driver to support the TFT LCDsl47.kim2011-11-174-0/+309
| | | | | | | Add nt35580 lcd driver to support the TFT LCD version Change-Id: I5939042ffe4e47ebc5133e1084c6d2f4db377f70 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* pn544: Perform reset to correctly trigger firmware download mode.Nick Pelly2011-11-172-8/+19
| | | | | | | | | | | | | The pn544 data sheet is not clear that a full reset with GPIO4 held high is required to trigger firmware download mode. This fixes as per actual behavior. Also, increase max buffer size to 512 in order to support firmware download. Also, increase GPIO delays from 3/7ms (as per data sheet) to 10ms. NXP engineers insist that 10ms is much more safe. Change-Id: Ib3f2ad373d6e3768ac26b5532c925d6913fb5ea7 Signed-off-by: Nick Pelly <npelly@google.com>
* S5PC11X: touchkey: Control the GPJ3[3] to support TFT touchkey LEDsl47.kim2011-11-171-4/+7
| | | | | | | | | Control the GPJ3[3](GPIO_EAR_ADC_SEL) as INPUT/PULLDOWN when the revision is higher than 0.7. It is not used after 0.7REV and I control it to avoid touchkey LED enabled during the booting time. If the revision is less than 0.7REV, I control the gpio as OUPUT/HIGH to support the EAR_ADC_SEL. Signed-off-by: sl47.kim <sl47.kim@samsung.com> Change-Id: Ic9dbad85d8bd5aa25622bce178827067ca311adb
* ARM: herring: double framebuffer sizeSimon Wilson2011-11-171-1/+1
| | | | | | User-space requires the framebuffer to be doubled in size. Signed-off-by: Simon Wilson <simonwilson@google.com>
* ARM: herring: add calculation for FIMD sizeSimon Wilson2011-11-171-3/+8
| | | | | | | Instead of using a fixed-size number, calculate the required FIMD size from the LCD size and number of framebuffers. Signed-off-by: Simon Wilson <simonwilson@google.com>
* samsung_modemctl: downref mmio sem request count on failureBrian Swetland2011-11-171-6/+7
| | | | | | Avoids getting stuck on modem restart after failure. Signed-off-by: Brian Swetland <swetland@google.com>
* ARM: herring: increase touchkey power on delaySimon Wilson2011-11-171-1/+1
| | | | | | | | | Following device manufacturer recommendations, increase the power on delay from 25 to 50ms. the first i2c read can give an incorrect value if the read is attempted too soon. This can cause the wrong backlight and touch code paths to be used. Signed-off-by: Simon Wilson <simonwilson@google.com>
* ARM: herring: force console flush on restartBrian Swetland2011-11-171-0/+34
| | | | | | | Based on code we used on msm and tegra. Change-Id: Icccc929855cffad389067e5de82453182a276cae Signed-off-by: Brian Swetland <swetland@google.com>
* S5PC11X: CAMERA: move lens to default position when preview startskyoungho.yun2011-11-172-0/+37
| | | | | | | | | | | | | After taking a picture, the focus is maintained. So if user change from camera mode to video mode after taking a picture very closely to object, focus in video mode is not normal. So move lens to default position when preview starts. But if latest focus mode is MACRO, the focus should be maintained as MACRO default after taking a picture. Change-Id: Ice86ffd9b5932635ba0b4861bc2168559aaafe76 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* S5PC11X: CAMERA: move lens to default position in INFINITY modekyoungho.yun2011-11-173-28/+4
| | | | | Change-Id: I37b207c90d6e14e69135f70ec30bf5892a6544f6 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* power: s5pc110_battery: reduce recovery temperatureSimon Wilson2011-11-171-1/+1
| | | | | | | Samsung's hardware engineers consider 42C the safest maximum temperature for restarting charging. Signed-off-by: Simon Wilson <simonwilson@google.com>
* power: s5pc110_battery: increase charge temperaturesSimon Wilson2011-11-171-2/+2
| | | | | | | | | Samsung's hardware team provided new values for charge cut-off and recovery, which are 5C higher than previously, due to the relative location of the temperature probe and battery within the device. Signed-off-by: Simon Wilson <simonwilson@google.com>
* misc: samsung_modemctl: add timeouts to deal with modem crashesBrian Swetland2011-11-172-12/+25
| | | | | | | | In the event the modem is not responsive during boot, ramdump, or semaphore acquisition, we timeout and return an error to userspace, so the RIL can reset the modem. Signed-off-by: Brian Swetland <swetland@google.com>
* ARM: herring: watchdog: Increase timeout and use realtime workqueueArve Hjønnevåg2011-11-171-5/+5
| | | | | | | | | | | The old code created a realtime workqueue, but did not use it. This could cause a reboot if the default workqueue was blocked for more than one second. Also, the old timeout was short enough to often trigger a watchdog reset when duming the kernel log in the fiq debugger. Change-Id: I556e6bb85dd9a166cab98270a4f1ba23a9f4069c Signed-off-by: Arve Hjønnevåg <arve@android.com>
* usb mass storage: don't support FUA to improve write performanceMike J. Chen2011-11-171-0/+2
| | | | | | | | | | | | | | | FUA (force unit access) is implemented by f_mass_storage.c as vfs_write() with O_SYNC flag set. This makes writes much slower since it disables write caching and we're limited by the write speed of the block device. Since Android devices are battery powered, there is no concern about losing data (though FAT always has potential problems with file system corruption due to hot-removal that O_SYNC doesn't remedy anyway) due to asynchronous writes. So, disable FUA support in Android configs. Change-Id: I7daab7e544add3c7c64b3790c20f03313d2d311e Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* power: s5pc110_battery: use freezeable workqueueSimon Wilson2011-11-171-2/+4
| | | | | | | | | | | Use a freezeable workqueue to ensure that the work function is not running when a system sleep transition is taking place, since the work queue interacts with other drivers. Also balance the wake_unlock() in the work function with wake_lock() calls. Signed-off-by: Simon Wilson <simonwilson@google.com>
* power: s5pc110_battery: fix race; usb switch and vdcin detectSimon Wilson2011-11-171-15/+9
| | | | | | | | Fix a race condition where the USB switch callback is called after vdcin in detected, meaning that the wrong charging mode may be used and a wakelock is not held when USB is connected. Signed-off-by: Simon Wilson <simonwilson@google.com>
* misc: kr3dm: split mutex locksSimon Wilson2011-11-171-8/+12
| | | | | | | | | The single mutex lock can cause starvation in the SET_DELAY ioctl when the READ_ACCEL_XYZ ioctl is repeatedly used in a higher priority thread. By splitting the lock, this starvation cannot occur. Signed-off-by: Simon Wilson <simonwilson@google.com>
* SP5C11X: USB: Rename USB product name to "Nexus S"Mike J. Chen2011-11-171-1/+1
| | | | | | Old name was "Samsung SP5C110". Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* S5PC11X: RTC: Bug fix: Set tick timer sub clock selection (32768 Hz).Choi Jong-hwan2011-11-171-0/+8
| | | | | | | | Now we just use default ticksel value. If bootloader changed ticksel value, error occured. So init function set the ticksel value. Change-Id: I825d31749b85c23bdf0ad14ecb74ef9874537e7b Signed-off-by: Choi Jong-hwan <jhbird.choi@samsung.com>
* S5PC11X: SOUND: Update WM8994 codec gain for Camcorder modeMinsong Kim2011-11-171-1/+1
| | | | | | | | | | | <Bug fix> Change gain values in Camcorder mode IN1L_VOL(18h, MAIN_MIC) = -1.5dB This patch is requested by Samsung H/W Team. Change-Id: I4b3b6dcf22eb2504acdc28958558688e2bb26ef0 Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* S5PC11X: SOUND: Update 3-pole headset gain in voicecallMinsong Kim2011-11-171-2/+2
| | | | | | | | | | | | <Bug Fix> This is requested by Samsung HW team. IN1L_VOL(18h, HP_NO_MIC) = -9dB When we test voice call with 3-pole headset, we use main mic. So mic gain must be same with speaker call mode. Change-Id: Ica9828e74eb69c68c9783d68b70bcc0793763aaf Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* S5PC11X: SOUND: implemented MIC_OFF control for mic mute functionality.Uk Kim2011-11-172-0/+5
| | | | | | | disable mic path without closing input stream. Change-Id: If26c1c2317d94147dc038f63387eb14d12d1cb25 Signed-off-by: Uk Kim <w0806.kim@samsung.com>
* S5PC11X: SOUND: Update WM8994 codec gain for EuropeMinsong Kim2011-11-171-1/+1
| | | | | | | | | | | | | | | <Bug fix> Change gain values in voice call mode IN1R_VOL(1ah, HP_MIC) = +7.5dB This patch is requested by Samsung H/W team. For audio voice quality improvement, Analog input gain goes up. It makes more natural voice and improving a muffle voice. Change-Id: Idcbc2e1ca3ebdfd7ac76418fdc823f3fca8b5430 Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* input: cypress-touchkey: keymask changes for the board fileRom Lemarchand2011-11-171-4/+3
| | | | | | | Removing useless entry from the keycode table. Change-Id: I19047a27a027e0114d9d5223e07ede83474521e7 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* S5PC11X: SOUND: Support a different microphone gain for the camcorderMinsong Kim2011-11-173-19/+75
| | | | | | | | | | We have to support a different microphone gain for the camcorder. Because codec gain is set focused on SIP. When we use the phone as the camcorder, MIC gain should be higher than SIP. This is requested by Samsung QA. Change-Id: I8600ed70350f2fe2d715f81e1c22d2f37d55a303 Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* video: s3cfb: use bootmem for framebuffer, if presentSimon Wilson2011-11-171-3/+14
| | | | Signed-off-by: Simon Wilson <simonwilson@google.com>
* Add an HP_NO_MIC gain configurationJean-Michel Trivi2011-11-172-6/+42
| | | | Add a gain configuration for headsets without microphones.
* ARM: herring: add herring_defconfigBrian Swetland2011-11-171-0/+331
| | | | Signed-off-by: Brian Swetland <swetland@google.com>
* S5PC11X: SOUND: Update WM8994 codec gain for EuropeMinsong Kim2011-11-171-7/+7
| | | | | | | | | | | | | | | | | | | | | | Change gain values in voice call mode IN1L_VOL(18h, receiver) = -6dB IN1L_VOL(18h, speaker) = -6dB IN1R_VOL(1ah, HP_MIC) = -10.5dB This is requested by Samsung H/W Team. The reason why voice was clipping problem from codec, we reduced an analog gain and volume up a digital gain in modem. And also we can manage to improve an echo/DT problem from these change. Change gain values in voice call mode HPOUT1L_VOL(1ch, HP_MIC) = +3dB HPOUT1L_VOL(1ch, HP_NO_MIC) = +3dB HPOUT1R_VOL(1dh, HP_MIC) = +3dB HPOUT1R_VOL(1dh, HP_NO_MIC) = +3dB Change-Id: Ifc6f9a31664e640d65c1a3cd099e6a8005f304bd Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* s3c_lcd: allow a different swap chain lengthAlistair Strachan2011-11-171-2/+2
| | | | | | | Allow the swap chain length to be different to the number of available swap buffers. Signed-off-by: Simon Wilson <simonwilson@google.com>
* S5PC11X: LCD: Change the LCD STANDBY_ON timingsl47.kim2011-11-171-1/+1
| | | | | | | Change the LCD STANDBY_ON timing from 120ms to 160ms Change-Id: Ied530cc9caf44a90b3829e8d3e91a02a10699c45 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: NFC: Add firmware GPIO configurationNick Pelly2011-11-172-4/+7
| | | | | Change-Id: Ibafa9499d447de4cd6d11be833803bdc3acc8d14 Signed-off-by: Nick Pelly <npelly@google.com>
* SP5C11X: fix unbalanced regulator calls <again>Mike J. Chen2011-11-171-24/+37
| | | | | | | | | My first commit to fix the problem had a typo which broke camera. The change was merged and then reverted. Fixed the typo and tested again. Change-Id: Ie29958339a6f8b5217c1aed20b590ae7a8226df0 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* ARM: herring: remove allocation for pmem. recover 12.5MBBrian Swetland2011-11-171-25/+1
| | | | | | pmem is not used on this platform. Signed-off-by: Brian Swetland <swetland@google.com>
* S5PC11X: FIMC: add mutex in section of fb_blank.hoony.yu2011-11-171-0/+6
| | | | | | | | - BUG: race condition between Window on/off - to avoid the simultaneous use of ctrl->fb.is_enable. Change-Id: I2930822cc45b979ec1e68b0e83dc4a2465e5825f Signed-off-by: hoony.yu <hoony.yu@samsung.com>
* SOUND: fix bug 3108692Jean-Michel Trivi2011-11-171-2/+2
| | | | | Reduce headphone volume, which lowers the minimum volume to improve the listening experience in a quiet environment.
* SOUND: realign voice recognition main mic gain on referenceJean-Michel Trivi2011-11-171-1/+1
|
* S5PC11X: CAMERA: add s/w reset routine for recovering module in ESD statekyoungho.yun2011-11-171-1/+14
| | | | | | | In ESD state, camera module can be disabled. So add recovering routine. Change-Id: I1e845161d531c0946b49bde76086494aec283f94 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* S5PC11X: CAMERA: change front cam power sequence and fix mclk timingkyoungho.yun2011-11-172-18/+45
| | | | | | | | | Change front cam power sequence. This is requested by hardware team. And fix the problem that mclk is enabled before power is on. It occured in first entrance after booting. Change-Id: Ic8c7f8dbef7f78c9956e638c43b085139a8bacef Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* S5PC11X: LCD: Add the mutex to prevent sending commandsl47.kim2011-11-171-7/+20
| | | | | | | Move the ldi_enable = 0 and add the mutex to prevent sending command Change-Id: I4e5df6dcadcc92616db4cf074fce4478d4f5363a Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* s3cfb_tl2796: Disable log messages when the requested gamma curve is out of ↵Arve Hjønnevåg2011-11-171-3/+3
| | | | | | | | | range Setting the brightness to 0 triggered a lot of these messages Change-Id: I483c4a488f6c76b11ee60258547b6261ce1fa409 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* ARM: herring: panel: Move V19 and V43 adjustment pointsArve Hjønnevåg2011-11-171-4/+15
| | | | | Change-Id: I3a8c375935db7e1480246badacc46cafabd2b4f5 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* s3cfb_tl2796: Allow passing the gamma adjustment points in the platform data.Arve Hjønnevåg2011-11-172-10/+36
| | | | | Change-Id: Iad14552ae4be35e0d75fdd0b6b69b2459f396509 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* mxt224: TOUCH: Calibrate touchscreenJinkyu Song2011-11-171-7/+7
| | | | | | | | | | | | | Touchscreen calibration data. This allows the user to go to the edges of the screen while maintaining a good linearity and touch response. This change utilizes the clipping feature of mXT224 for better linearity. Improved sensitivity and made separate fingers more distinguishable. 'Merge threshold' value is adjusted to prevent the problem separating a wide object into multiple touches. It is changed from 4 to 14. Change-Id: I0c8d8ffc65281e50d87a7d1d9d5bd3fa1cc003cd Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
* S5PC11X: WLAN: fix rising floor current in suspend when turning BT on after ↵w12.lee2011-11-171-3/+0
| | | | | | | | | | | | | WiFi off. In only this case, Wifi off -> BT on -> screen off -> suspend, sleep configuration of WLAN_nRST pin makes BT current consumption in suspend mode much higher.(+7mA) So, additional slp_cfg for WLAN_nRST will be removed. Change-Id: I06df9c2d8668ed093341eaea838425af10c097d5 Signed-off-by: w12.lee <w12.lee@samsung.com>
* S5PC11X: LCD: Fix the LCD Power On sequence in S3CFBsl47.kim2011-11-171-7/+7
| | | | | | | 1.Move the backlight_on and reset_lcd at the s3cfb_late_resume() Change-Id: I75f72d02b062b53f612169c0e53f8608a9d58b22 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: FIMD: Fimd use sclk_fimd clock.Choi jonghwan2011-11-172-15/+4
| | | | | | | FIMD use sclk_fimd clock. lcd clock isn't needed. Change-Id: I8b33d5996a5c3232a0b00e975b25540708014772 Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>