aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ASOC : add tty device of each tty mode.Uk Kim2011-11-173-28/+561
| | | | | | | supports VCO, HCO, FULL mode of TTY during call. Change-Id: If56d0c3da20377c59adc8681769e443f35da045c Signed-off-by: Uk Kim <w0806.kim@samsung.com>
* input: cypress-touchkey: Fix version checkRom Lemarchand2011-11-171-1/+1
| | | | | | | Fix the version check that determines which backlight code to use. Change-Id: I85c5e745dd16b5600be23e05f9e94e1255b511f0 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* input: cypress-touchkey: Add firmware filename to the board fileRom Lemarchand2011-11-171-0/+4
| | | | | | | Add extra data needed to flash the firmware onto the touchkey controller. Change-Id: Ib351966432d70d3f4276b4ab6a7cfdcbec14cbdc Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* input: cypress-touchkey: Add firmware loading capabilityRom Lemarchand2011-11-175-22/+663
| | | | | | | Flash the latest firmware onto the touchkey device if needed. Change-Id: Ia36c1e9a27d5497d1cef6583941f2907d4612d0e Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* ARM: herring: Increase delay to 200 ms in wlan power onDmitry Shmidt2011-11-171-1/+1
| | | | Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* S5PC11X: CAMERA: support QCIF, update set filekyoungho.yun2011-11-172-21/+255
| | | | | | | | | 1. update set file 2. add QCIF mode recording routine 3. add FPS_auto for supporting frame rate changing Change-Id: I6cbd5551d5bab49cbbdbb766582f9102cf5a6097 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* modem_ctl:Check FMT Data at every onedram interruptKyungtak Hur2011-11-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | Transfering data between AP and BP, 1. Get access authority 2. Write data to OneDRAM 3. Write command to OneDRAM's mailbox region 4. The opposite side get the interrupt 5. Read the OneDRAM's mailbox region 6. Accoding to mailbox command, processing the data. Our commands for mailbox are composed of FMT, RAW, RFS, request & response semaphore and so on. When FMT data is required to response, sometimes exceptional cases occur. 1. FMT data from the BP; 2. Request the access authority from the BP Requesting the access authority command overwrites FMT data command. Access authority will be asked prior to AP reading the FMT Data. AP give back the access authority to BP, and FMT data from BP will be timeout. Signed-off-by: Kyungtak Hur <kt.hur@samsung.com> Change-Id: I0ef20fd2afe7973bb9f84653261fa20ad2c06d6d Signed-off-by: HUR KYUNGTAK <kt.hur@samsung.com>
* ASOC: set gain bit for voice communication.UK KIM2011-11-171-0/+9
| | | | | Change-Id: I1b54e239278d2433bb00d7f6ac2cb43f5eea5c08 Signed-off-by: UK KIM <w0806.kim@samsung.com>
* ARM: herring: sound: board file to support 3-buttons earjackMinsong Kim2011-11-171-0/+24
| | | | | | Enabling 3-button earjack in the herring board file Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* S5PC11X: SOUND: support 3-buttons earjackMinsong Kim2011-11-172-2/+169
| | | | | | Using input filter to add support for 3-buttons earjack driver. Signed-off-by: Minsong Kim <ms17.kim@samsung.com>
* ASOC: added input source for voice communication.UK KIM2011-11-173-4/+52
| | | | | | | devided gain table between voice capture and voice communication. Signed-off-by: UK KIM <w0806.kim@samsung.com> Change-Id: Ie29abf9e2bb7fd48582ef3a7550bb82398c511c6
* S5PC11X: LCD: Change to support for SONY/HYDIS/HITACHI TFT LCDsl47.kim2011-11-171-4/+3
| | | | | | | Change to support for sony/hydis/hitachi tft lcd in one binary. Change-Id: I5f449147456f867687ae4bd3850aca6289060a03 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ARM: LCD: Add new platform data for support new TFT LCDsl47.kim2011-11-174-8/+652
| | | | | | | Add new platform data for support hydis/hitachi TFT LCD Change-Id: I926e5f9705ad148650f7285bb9ded6e6b1a54441 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: USB: Add core reset condition on RESET requestsb223.kang2011-11-172-0/+3
| | | | | | | | | | When usb cable is unplugged, RESET interrupt is occurred by host Windows PC. But MAC PC is not occurred on USB tethering mode. If cable is unpluged without reset condition, USB controller is not working anymore. This is patch for USB reset condition. Change-Id: I2c2d3b37074869429c09c4d2e69b9a8ed758c84a Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X : FIMC apply v4l2 standard for asynchronous dequeue/queuekyoungheon2011-11-172-37/+45
| | | | | | | To make framedrop in camera HAL layer, FIMC should support v4l2 standard Signed-off-by: Song Youngmok <ym.song@samsung.com>
* 5PC11X: BATTERY: seperate ADC table for OLED and TFTMinsu, Kim2011-11-171-3/+99
| | | | | | | Battery ADC values for TFT LCD are different from those for OLED LCD. Change-Id: Ia6f21c040e80aead1712a9df481ee2e4c794db2a Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* ARM: herring: board changes for max8998 DVS modeTodd Poynor2011-11-171-1/+53
| | | | | | | | | | | | | | | | | | | | | Change-Id: Ic72e625c7b36119963fbb6ead9c709fdcfeda9f2 Signed-off-by: Todd Poynor <toddpoynor@google.com> 5PC11X: CPUFREQ: set dvfs voltage platdata Set arm & int voltage for each cpufreq Change-Id: Icac7dffe1ca3be49c623053260d5f4c594af3704 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com> Fix max8998 platform data for mainline driver S5PC11x: REGULATOR: add default index for buck1 and buck2 default bootup freq is 800Mhz and its corresponding voltage is 1.2v of 0b'01 in buck1 Signed-off-by: Kisoo Yu <ksoo.yu@samsung.com> Change-Id: I15f110dc65bcc93185782a0ef84bbcce10403280
* S5PC11X : CPUFREQ : add platform data interface to dvfsMinsu, Kim2011-11-175-99/+86
| | | | | | | | | | In case of board voltage drop, voltage table should be changed. voltage table can be updated by platform data Change-Id: I4147d1599fd4f91e398dad713a145ad44db77620 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com> Also removes unused code from arch/arm/mach-s5pv210/include/mach/cpu-freq-v210.h
* arm: herring: turn off spinlock and mutex debuggingSimon Wilson2011-11-171-4/+0
| | | | Signed-off-by: Simon Wilson <simonwilson@google.com>
* ARM: s5pv210: cpufreq: Adjust udelay prior to voltage scaling downTodd Poynor2011-11-171-2/+2
| | | | | | | | | | Voltage scaling accesses the MAX8998 regulators over bit-banged I2C with lots of udelays. In the case of decreasing CPU speed, the number of loops per us for udelay needs to be adjusted prior to decreasing voltage to avoid delaying for up to 10X too long. Change-Id: I7d1e7eed0573cabdabc6f84379fa064718db0ac8 Signed-off-by: Todd Poynor <toddpoynor@google.com>
* ARM: herring: touch: Change the touchscreen area for TFT LCDsl47.kim2011-11-171-5/+6
| | | | | | | Change the LCD touchscreen area to calibrate the touch accuracy for LCD visible area Change-Id: If1e7aec660dbfee3b074aaf4a31d3d824503b358 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ASOC: support multi gain tables for several operator.Uk Kim2011-11-173-17/+59
| | | | | Change-Id: Iffc4340f37e80c446e212d656c5605687da6555d Signed-off-by: Uk Kim <w0806.kim@samsung.com>
* S5PC11X: BATTERY: charging register reconfigure for max8998 pmicMinsu, Kim2011-11-171-22/+12
| | | | | | | | | | When charger connected or rejected, CHGR1,2 registers of max8998 will be reset (the same registers of LP3974 are not reset) So the registers must be set again whenever charging control. It also has no side effect for LP3974 pmic. Change-Id: I8ff1bd8b53b2ae2810ea360f5382d94a07eecca9 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* ARM: herring: touchkey: Resize touchkey area to improve accuracysl47.kim2011-11-171-4/+4
| | | | | | | Change the touchkey area (x:6mm->8mm) to make touchkeys easier to hit Change-Id: I0f31d497c5553dc029d56983b11b0dbc3613cda2 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ARM: herring: touch: Calibrate touchscreen for TFT LCDsl47.kim2011-11-171-0/+2
| | | | | | | | | | | | Update touchscreen calibration data for TFT LCD version. TFT LCD is weak to noise, so it needs higher threshold/detect integration value than AMOLED. (threshold: 25 -> 45, detect integration: 2 -> 3) *detect integration : it is used to provide detection filtering. A per-touch counter is incremented each cycle that a touch is detected. When this counter reaches a preset limit the touch is finally declared to be present. Change-Id: I4da3a67147635ff3f67ad596a0da812084154f9d Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* S5PC11X: BATTERY: don't turn on USB power of call processorMinsu, Kim2011-11-171-10/+5
| | | | | | | | | It's not necessary to turn on cp usb power. So we have to set esafeout to '2' If setting the value to '3', the consume current will be increased. Change-Id: I842339ccfbe1ceec4cb6abb91b2f0cfe4ae595f3 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* S5PC11X: USB: Remove flush the tx fifo on dmasb223.kang2011-11-171-6/+0
| | | | | | | | | | | | | | | During analysis it has been observed that this is a critical timing issue, as just during Tethering transfer, UDC driver receives CLEAR_FEATURE request to clear halt, during this if we put one micro frame delay in setdma_tx path issue disappears. Further investigation for the reason behind this delay requirement it has been found that the last setdma_tx is not getting completed and corresponding complete_tx is not called for it. Close inspection of setdma_tx it has been found that tx_fifo clearing in setdma_tx function was causing this issue. So removed fifo flush code from setdma_tx function. Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* Revert "S5PC11X: BATTERY:SOC level report as 100% if batt_full flag set true"Simon Wilson2011-11-171-11/+3
| | | | | | | | | We don't want to lie to userspace about the state of the battery. When charging is complete, the battery will drain until it can charge again. If the user disconnects after the first charge cycle is complete, the battery level may jump from 100 to 95% or less. This reverts commit f7ba01b3b0c31750ab0cf5516d6914be52060144.
* input:touchkey:Make touchkeys bigger for non on-cell devicesRom Lemarchand2011-11-171-4/+4
| | | | | | | | Grow the touch key areas to make then easier to hit on devices that don't have a dedicated touch key controller. Change-Id: Ibf7d683eb22755948d7cf1c4b22555cfe3b71e04 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* ARM: herring: improve reboot reason reportingBrian Swetland2011-11-171-6/+17
| | | | | | | | | | | | | | | Set the reason register (INFORM6) to 0xee at boot so we can use that reason code to detect a watchdog-reboot. On a normal reboot, the installed notifier will set INFORM6 to a small integer reboot reason. On an abnormal reboot (after a panic, etc), we'll hit herring_pm_restart with INFORM6 containing 0xee. In that case we'll rewrite it to 0xbb. INFORM6 = 0, 1, 2, ... normal controlled reboot INFORM6 = 0xbb abnormal reboot (panic, etc) INFORM6 = 0xee watchdog reboot Change-Id: I1042edbffda31f8b796d7ade26c6239e08a5454b Signed-off-by: Brian Swetland <swetland@google.com>
* S5PC11X: BATTERY: Support DeskDock ChargingMinsu Kim2011-11-171-17/+21
| | | | | | | | | If DeskDock is mounted, the cabletype will be set to USB type. So vbus_wake_lock become activated even if the usb or ta is not connected. WakeLock is required only when there is VDC by chargable device. Change-Id: Ifa809ae7a7e92b94ff416cfa39de7a5ae67b7e56 Signed-off-by: Minsu Kim <minsu78.kim@samsung.com>
* S5PC11X: USB Switch: Support USB connection on deskdocksb223.kang2011-11-171-0/+13
| | | | | | | When deskdock is connected, USB will be enabled. Change-Id: I1292f91fce7b80448562f020e3fad691e3f553bd Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X: USB Switch: Support USB Path on deskdocksb223.kang2011-11-171-0/+30
| | | | | | | When deskdock is connected, Switch path will be changed to USB. Change-Id: I448d06aae8b90c0d101788452398d0b97e423289 Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X: USB: Add disconnection routine for deskdocksb223.kang2011-11-171-1/+9
| | | | | | | When deskdock USB is unplugged, it is not notified to platform. Add disconnection routine for deskdock. Signed-off-by: sb223.kang <sb223.kang@samsung.com>
* S5PC11X: LCD: Turn off the LCD Power(LDO7,17) during sleep statussl47.kim2011-11-172-0/+45
| | | | | | | | | TFT LCD had lcd internal voltage floating issue during sleep. It happened because the LCD LDO Power was not turned off even during sleep status.(always on) If it is not turned off, voltage floating can make demage to IC chip side and power consumption. Change-Id: I459cf59b701f4982ea7b492c82ca9e6aedf55bf6 Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ARM: herring: lcd: Change unused OLED_ID GPIO PIN as INPUT/PULLDOWN for TFT ↵sl47.kim2011-11-171-6/+16
| | | | | | | | | | LCD power consumption There was tft lcd current leakage because OLED_ID pin function was set as OUTPUT in late_resume. This pin was not used for tft lcd so I set the pin as INPUT/PULLDOWN at the fisrt config setting. Change-Id: If0f195589379574ff20ab581b4d3ec1a0171f69c Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ARM: herring: Change TFT h/w revisionsl47.kim2011-11-171-4/+4
| | | | | | | Change TFT h/w revision to support several project Change-Id: Id75ff6a0ced6862647023d246a2dee52ca0c086e Signed-off-by: sl47.kim <sl47.kim@samsung.com>
* ARM: herring: panel: Correct color temperature.Arve Hjønnevåg2011-11-171-0/+13
| | | | | | | | The factory calibration values target a 8500K white-point. Add multipliers to convert to D65 (as specified by sRGB). Change-Id: I5855d6bc7768fe206a2f03fd5830f1fb7093d566 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* ARM: herring: panel: Update gamma tableArve Hjønnevåg2011-11-171-15/+90
| | | | | Change-Id: Ied3cac607f67b29cb345c4a5160efc8f975df91d Signed-off-by: Arve Hjønnevåg <arve@android.com>
* ARM: herring: panel: Add support for reading mtp dataArve Hjønnevåg2011-11-171-0/+72
| | | | | Change-Id: I507e29d129757dd33706e4834efc1126f63f0d68 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* s3cfb_tl2796: Add debug function to read current gamma correction registersArve Hjønnevåg2011-11-171-0/+87
| | | | | Change-Id: I83c925ea60c09a54db44e6aa97cf7e6cbe56e597 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* s3cfb_tl2796: Add support for reading mtp gamma register offsetsArve Hjønnevåg2011-11-172-3/+230
| | | | | | | | | The board file must provide a function to switch the needed pins to gpio mode and the register values that were used when the mtp offset values were calculated. Change-Id: I52c45cd0ea63f02835078d320655fb53f78c6321 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* ARM: herring: panel: Adjust pentile gamma tableArve Hjønnevåg2011-11-171-24/+24
| | | | | | | | | | | The hardcoded gamma table that is used to convert from sRGB to linear gamma before the PenTile processing is not correct. Adjust the output gamma table for the PenTile block to compensate for this. Also move the gamma adjustment points back to their original position. Change-Id: I308b2277851b24c651834217cfb05490898eb444 Signed-off-by: Arve Hjønnevåg <arve@android.com>
* S5PC11X: CAMERA: change EXIF information in Front camerakyoungho.yun2011-11-171-2/+3
| | | | | | | | | | | | | | [Bug Fix] When exposure time is very short, shutter speed value in EXIF has abnormal values. So, to calculate exactly, the value from sensor multipled by 1000, before devided by denominator. Also, shutter speed value divided by 1000 in HAL to maintain result value. Change-Id: I923e63dc5d278e930812f3036eb2a22173a22269 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* S5PC11X: CAMERA: change EXIF information in back camerakyoungho.yun2011-11-171-4/+8
| | | | | | | | | | | | | | | 1. When exposure time is very short, shutter speed value in EXIF has abnormal values. So, to calculate exactly, the value from sensor multipled by 1000, before devided by 400. Also, shutter speed value divided by 1000 in HAL to maintain result value. 2. Techwin request to change ISO calculation denominator for calculate more exactly. Change-Id: Ifb2deb8d225f204912e9e97e4e22d1ee22c35069 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* media: s5k4ecgx: preserve torch mode after focus/captureSimon Wilson2011-11-171-5/+6
| | | | | | | | | | | During focus, the flash LED may be used for AF assist. In addition, during capture, the LED may be used as a flash. If the torch is enabled before focus/capture, it will be kept off afterwards because it shares the same flash_on status variable with the flash and AF assit beam. Splitting out the torch_on status to a separate variable fixes this. Signed-off-by: Simon Wilson <simonwilson@google.com>
* S5PC11X: CAMERA: update camera settings to version 1.39Mike J. Chen2011-11-171-1301/+1433
| | | | | | | | | | | 1. Tuning for Samsung reliability evaluation which include subjective and objective test under the TN’s criteria for camera 2. Color Tuning for outdoor 3. Adjusted AWB initial points when camera starts. 4. Modified the sensor setting order in initial settings. Change-Id: Ibf0f49e9be09870770e6b4eb4e049b19ab3ce917 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* input: touchkey: Add support for TFT touchkey LED backlightRom Lemarchand2011-11-172-0/+77
| | | | | | | This patch adds support for the touchkey LED backlight for the TFT SKU. Change-Id: I912bd694f8e486ca78ddd4e444c706ee1f11e6ba Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* ARM: herring: Add touchkey zones to the board fileRom Lemarchand2011-11-171-0/+59
| | | | | | | | Add support for touchkeys when they are just an area on a touch sensor bigger than the visible area. Change-Id: If964bac54fce167090df73905178f73c00cf06b7 Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>
* input:touchkey:Conditionalizing init code based on boardRom Lemarchand2011-11-171-4/+7
| | | | | | | Conditionalizing some of the initialization code based on board rev. Change-Id: Ib0e92c62a2f0ad5129bf6b0e3f3e80f7825bf44e Signed-off-by: Rom Lemarchand <rlemarchand@sta.samsung.com>