| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Add new "CONFIG_FB_S3C_NT35580" to support TFT LCD
Change-Id: I2d8ae15c514d35be9b3a5c4a7019884bf6c619dd
Signed-off-by: sl47.kim <sl47.kim@samsung.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Add nt35580 lcd driver to support the TFT LCD version
Change-Id: I5939042ffe4e47ebc5133e1084c6d2f4db377f70
Signed-off-by: sl47.kim <sl47.kim@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
User-space requires the framebuffer to be doubled in size.
Signed-off-by: Simon Wilson <simonwilson@google.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Avoids getting stuck on modem restart after failure.
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Based on code we used on msm and tegra.
Change-Id: Icccc929855cffad389067e5de82453182a276cae
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I37b207c90d6e14e69135f70ec30bf5892a6544f6
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
|
|
|
|
|
|
|
| |
Samsung's hardware engineers consider 42C the safest
maximum temperature for restarting charging.
Signed-off-by: Simon Wilson <simonwilson@google.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Old name was "Samsung SP5C110".
Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
<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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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>
|
|
|
|
|
|
|
| |
disable mic path without closing input stream.
Change-Id: If26c1c2317d94147dc038f63387eb14d12d1cb25
Signed-off-by: Uk Kim <w0806.kim@samsung.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<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>
|
|
|
|
|
|
|
| |
Removing useless entry from the keycode table.
Change-Id: I19047a27a027e0114d9d5223e07ede83474521e7
Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Simon Wilson <simonwilson@google.com>
|
|
|
|
| |
Add a gain configuration for headsets without microphones.
|
|
|
|
| |
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Allow the swap chain length to be different to the number of
available swap buffers.
Signed-off-by: Simon Wilson <simonwilson@google.com>
|
|
|
|
|
|
|
| |
Change the LCD STANDBY_ON timing from 120ms to 160ms
Change-Id: Ied530cc9caf44a90b3829e8d3e91a02a10699c45
Signed-off-by: sl47.kim <sl47.kim@samsung.com>
|
|
|
|
|
| |
Change-Id: Ibafa9499d447de4cd6d11be833803bdc3acc8d14
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
pmem is not used on this platform.
Signed-off-by: Brian Swetland <swetland@google.com>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Reduce headphone volume, which lowers the minimum volume to
improve the listening experience in a quiet environment.
|
| |
|
|
|
|
|
|
|
| |
In ESD state, camera module can be disabled. So add recovering routine.
Change-Id: I1e845161d531c0946b49bde76086494aec283f94
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I3a8c375935db7e1480246badacc46cafabd2b4f5
Signed-off-by: Arve Hjønnevåg <arve@android.com>
|
|
|
|
|
| |
Change-Id: Iad14552ae4be35e0d75fdd0b6b69b2459f396509
Signed-off-by: Arve Hjønnevåg <arve@android.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
FIMD use sclk_fimd clock. lcd clock isn't needed.
Change-Id: I8b33d5996a5c3232a0b00e975b25540708014772
Signed-off-by: Choi jonghwan <jhbird.choi@samsung.com>
|