51 Commits
Author SHA1 Message Date
xndcn 22ca89a225 add support for HP Veer. 2012-04-13 23:06:26 +08:00
James Sullins 150f08154c update fbcon: inter-char pixel, fbcon_setpos, fbcon_set_colors 2011-09-23 19:50:55 -05:00
James Sullins 9f8a6e9f99 enable FBCON (framebuffer console) with HP Touchpad 2011-09-14 06:29:15 -05:00
Kinson Chik ea6462494e ssbi: Cleanup ssbi dependency from gpio_keypad
SSBI declarations were in the gpio_keypad files
resulting in needing to add gpio_keypad to use
ssbi for pmic functions.

Change-Id: Ic62a499a3cbd5fab9b8235e469b93103d207b20e
2011-09-01 14:10:27 -07:00
Kinson Chik 3925c26ddb pm8921: Clean up variable names
Changing the PULL_UP defines to specify the PULL_UP
current in the variable name.

Change-Id: Ie99c50b9cab5824ddde75663e35ad97015f6e91d
2011-08-30 16:29:42 -07:00
Ajay Dudani afc5b11919 pm8921: Clear voltage bits before setting requested value
Change-Id: If11ed8ed8a50c0b1011a6aec0c441c4ef7bfe57a
CRs-Fixed: 302607
2011-08-24 14:44:54 -07:00
Greg Grisco d2471ef677 Clean up more warnings in lk code
Change-Id: I71eb3f1730ae0c80ec4d0da12a5b5755bc9f5614
2011-07-26 10:28:56 -07:00
Shashank Mittal 395032624b msm8960: Add support to shutdown device.
Add support to shutdown target after configuring PM8921.

Change-Id: I7e2173fc1e46d8f2c6780f1bb0765f8153a2afa9
2011-07-23 17:56:53 -07:00
Kinson Chik e5c9343f22 msm8960: Enabling splash screen for lk
This enables splash screen support in lk for mipi
toshiba mdt61 panel.

Change-Id: Ieb9fcde096aa8c8e55a3ceb88f2fd7513ca7187e
2011-07-14 15:36:30 -07:00
Greg Grisco d625055fcc Clean up warnings in lk code
Change-Id: I05b3a6cf07cde7e60586b1816c2f1279f64f5cf4
2011-07-12 23:21:49 -06:00
Kinson Chik ef7b943fed pm8921: Change log level from info to critical
Changing the log level from info to critical for gpio_config
as they are errors and should always be reported.

Change-Id: If10d415ed494a655a67793438240c3845aaa2b50
2011-06-29 08:49:55 -07:00
Amol Jadi 60a5597455 pm8921: ldo config
Adding functionality to program LDO through PM8921.

Change-Id: I83fd289ee51aca33f17df709666c9a630cc80267
2011-06-28 16:21:45 -07:00
Linux Build Service Account 8d574f84bb Merge "dev/keypad: Removed unnecessary scans for detecting key press event." 2011-06-16 02:14:55 -07:00
Kinson Chik 1ac45ceb8d msm8960: Adding backlight support to lk
Adding support to turn on backlight for lk
through pm8921 GPIO. Turning backlight on
by default for lk.

Change-Id: I97171c9f0e1d18053bb2d45b00bccb7c5ca4804d
2011-06-09 18:23:23 -07:00
Amol Jadi 3570f9ddf7 dev/pmic: adds pm8921 gpio config api
Change-Id: I995b23be5b45d75a518fc1f010aeeefba692124b
2011-06-09 10:13:48 -07:00
Amol Jadi f2f4560575 dev/pmic: Adds PM8921 driver
- minimal functionality to init and set the boot_done flag.

Change-Id: Iaed0fadc3ede3fdaf9877804ce38fc2fb40bb9e3
2011-05-24 19:08:46 -07:00
Amol Jadi db7845319c dev/keypad: Removed unnecessary scans for detecting key press event.
- Reduces boot time spent in LK.

Change-Id: I62f289bd46dcd18ed1a42aeeceb7480f2241be6d
2011-05-23 12:58:40 -07:00
Ajay Dudani 25478468fa msm: keypad: Initialize keypad detected to -1
Fix detection of row0/col0 gpio keypad.

CRs-Fixed: 281180
Change-Id: I2167947a4676557b6e2836c883bffbe486398d27
2011-04-11 19:41:14 -07:00
Subbaraman Narayanamurthy 8f0b045a87 [msm8660]: Add fastboot key detection for QT8660
Due to a hardware design bug, keypad controller in PM8058 could not be
used for key detection. Hence detecting it by configuring PM8058 GPIOs
as normal function and accessing it over SSBI

Change-Id: I92db69fe504598a6d1dfc0736642b1cb7a02be4c
2011-03-11 19:04:22 -08:00
Ajay Dudani 35e7aae64c gpio_keypad: Set kypd_enable flag when configuring keypad ctrl reg
Change-Id: I308ae04d5572f54cb46b46dda235849eb65656c2
2011-01-20 22:24:16 -08:00
Dima Zavin 8090690c3c gpio_keypad: reset the column value for each row
Change-Id: I6c19340be83cf87a22c0eef31007a02dac59a867
Signed-off-by: Dima Zavin <dima@android.com>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
2011-01-14 16:43:33 -08:00
Dima Zavin aacfed2c42 gpio_keypad: program the correct row/col values into the pmic
Change-Id: I6c3cbf9b238399cdacee76001a0342eb0a332ee6
Signed-off-by: Dima Zavin <dima@android.com>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
2011-01-14 16:43:27 -08:00
Chandan Uddaraju fe93e82532 [msm8660]: Enable MIPI DSI Novatek panel display
Add code to support two lane command mode for MIPI DSI
novatek blue panel.

Change-Id: I84cb14bba243f2ab6b30d4a60128fc60a61a56df
2010-12-03 11:53:14 -08:00
Chandan Uddaraju 78ae675783 [msm8660]: Enable MIPI display support for Toshiba MIPI panel.
Add code to configure MDP DSI module to support MIPI DSI interface. Add support
to configure Toshiba MIPI panel.
Enable DSI Core clock, DSI BYTE clock, DSI CORE_P clock

Add a new character array representing the QuIC Logo in RGB888 format.

Change-Id: Ic638f5b42998896e8f7750b56457ff091eb91b81
CRs-fixed: 259879
2010-11-04 16:17:24 -06:00
Chandan Uddaraju c009e4d6ea [platform/msm7630]: Enable MDDI display in android bootloader.
--Initialize MDDI host and client
  to enable display. Enable PMDH and PMDH_P clock using proc comm.
--Add code to configure voltage regulators using SSBI writes.

By default, Display in bootloader is disabled on this target.

This code doesn't have support for Local clock control. To further
optimize the code, PMDH and PMDH_P clock should be enabled in the
modem bootloader code instead of enabling them in application
bootloader.

Change-Id: Ie10f8b096addf9f62e65526f8ffad80e64c5db93
2010-10-11 14:58:48 -06:00
Shashank Mittal c648e71d34 [msm8x60]: Fix LCDC display for new PXO plan.
- Add support for new PXO frequency plan.
    - Update splash image
    - Disable mdp after loading HLOS into the ram.

Change-Id: I35072af621bae881a623def67b4f02dab9102bf4
2010-10-08 17:48:03 -07:00
Shashank Mittal 402d0973aa [msm8x60]: Enable LCDC display for SURF and FFA devices
Enable LCDC display for MSM8660 SURF and FFA devices.

Change-Id: I74099c7fb8a06bb40d6663066588698ed69cfee0
2010-10-05 14:12:51 -07:00
Shashank Mittal 3704083c8f [msm7x30]: Enable LCDC display for msm7x30 devices
-- Add code to configure Toshiba LCDC panels
-- Add support for MDP4 LCDC mode.

Change-Id: I3846a146b98d19038779d8088cf64becff087a89
2010-09-11 20:50:58 -06:00
Chandan Uddaraju 49fd643a08 [target/(msm7627/qsd8250)]: Update to splash and persist partitions.
1. The splash image is in the form of an array. The splash partition present
   in the ptable is not needed anymore.
2. Interchange the foreground and background color for splash screen display.
3. Fix the persist partition size. Use integer values for the persist partition
   size.

Change-Id: Ib41f4686be6d5762508e312f04416bf2cbb796f4
2010-08-12 13:36:18 -07:00
Chandan Uddaraju 40b227df7c [target]: Add code to use splash image as a character array
Represent the splash image in the form of a character array.
Use this array instead of reading the splash image from nand device.
Reduce the debug messages that are displayed on the screen.

The time taken by the bootloader is reduced by ~325ms with this change on
a MDDI display device.

Below are the steps/commands to convert the splash image into a character array:
1. $convert -depth 8 <splash image in PNG format> rgb:splash.raw
2. $host/linux-x86/bin/rgb2565 < ./splash.raw > final.img
3. $hexdump -C -v final.img | tr -s " " | cut -d ' ' -f2-17 | awk 'BEGIN {print "{"}
                {OFS=""; ORS=""; print "\t"; for(i=1; i <= NF; i++) print "0x"$i", "; print "\n";}
                END {print "}\n"}' > array.txt

Change-Id: If3d1752939cba7e843c1b8a350c40bb0d92b27c4
2010-08-08 20:14:13 -07:00
Chandan Uddaraju 07644859a1 [target]: Fix LCDC panel configuration macros for all targets
Add code to move the LCDC panel configuration macros to target specific
display.h files.

Change-Id: Ie2551592a89c1ae20da447a97ac7e6d56e337547
2010-07-14 12:43:14 -07:00
Chandan Uddaraju 2943fd6d1f [msm]: Enable display driver by default for splash screen on 7627 & 8650
If rgb565 image is available in splash partition then display it
as splash screen.

On Linux, splash.img can be created as follows:
convert -depth 8 splash.png rgb:- | out/host/linux-x86/bin/rgb2565  > splash.img

Change-Id: I24b61cbc94af4bac14b9a49b030b59484a0b283e
2010-07-14 06:45:31 -07:00
Chandan Uddaraju bedca15aec [target/msm8660_surf]: Add keypad driver support.
Add code to interface with PMIC SSBI arbiter registers to scan keypad for
msm8660 target. Add two additional functions to read, write and configure
the PMIC gpios used for keypad. Add code to use different read/write functions
for PMIC SSBI2 interface for msm7630 and PMIC arbiter wrapper interface for
msm8660 target.

Change-Id: Idde16232785dfc06728dea29c05b99251e45ba9f
2010-06-09 00:37:59 -07:00
Chandan Uddaraju a7cb0f49b0 [keys/msm7630]: Remove the syncronization with mARM for PMIC GPIOs.
The PMIC GPIOs are now configured in the mARM boot code before the scorpion
is released from reset. Remove the code that waits for the AMSS initializtion
to complete.

Change-Id: I296aea27fa199898bb6efa08b590e3664a643679
2010-04-01 17:18:00 -07:00
Chandan Uddaraju 2aba273fb1 [keypad/msm7630]: Fix the bootup issue while trying to do soft reset using Jtag
During soft reset using Jtag, the device goes into fastboot mode.
The key scanner is detecting all the keys in a particular row as pressed.
The fix filters this condition where the key scanner reports that
all keys in the row are pressed at the same time.

CRs-Fixed: 227799
2010-02-24 14:34:41 -08:00
Chandan Uddaraju a342574576 [msm7630]: Add code to scan limited number of keys of Qwerty keypad.
Add code to scan only the common keys present on all the different
varients of msm7630 target. This fixes the issue of device not going
into fastboot when miniSD card is present in a Fluid device.

CRs-fixed: 225917
2010-02-09 22:45:33 -08:00
David Ng 6e1711f21c msm7630: Update for new memory map
New memory map for msm7630 with apps bootloader starting at
0x00100000 (1MB) and shared memory at 0x0.

Add new command "loadaddr:" to nandwrite for querying
the load address of images for flashing.  This allows the
target to respond with the second/larger memory segment
in order to accommodate larger images.
2010-02-08 18:36:13 -08:00
Shashank Mittal 4f99a88131 LK: Add support for splash screen on MSM7627_SURF
Moving lcdc.c file from qsd8k and msm7x30 to msm_shared under platform
directory.
2010-02-01 18:04:43 -08:00
Chandan Uddaraju 5fa471ae07 [msm7630]: Add code to support qwerty keypad in lk bootloader 2009-12-02 17:31:34 -08:00
Dima Zavin 25ed99486b [dev] fbcon: flush the display after newline/scroll.
Needed if the display requires the data to be manually redrawn after
screen updates.
2009-01-29 17:35:33 -08:00
Dima Zavin d6455cda90 [dev][gpio_keypad] make the init function wait for one full scan 2009-01-29 17:34:51 -08:00
Dima Zavin 42f13d3822 [dev] gpio_keypad: get rid of compiler warnings 2009-01-29 17:30:37 -08:00
Dima Zavin 0f88be2b9b [dev][keys] Initial support for gpio keypads. 2009-01-25 17:39:00 -08:00
Dima Zavin 443afca29b [dev] add primitive keys state management (keys device) 2009-01-25 17:38:52 -08:00
Dima Zavin d5b0b6a345 [dev] add framebuffer console device. 2009-01-25 17:38:24 -08:00
Travis Geiselbrecht 345adb5b1a [usb] merge in some changes from another code base to make the usb
string manipulation a little simpler
2009-01-01 05:27:06 -08:00
Travis Geiselbrecht 89fcb14409 [usb] first stab at a usb device stack 2009-01-01 03:47:07 -08:00
Travis Geiselbrecht 2c691e84a4 work in progress of usb controller and usb stack for omap3 2009-01-01 03:47:07 -08:00
Travis Geiselbrecht 6ec9c27dd5 [omap3] start of twl4030 driver 2009-01-01 03:46:37 -08:00
Travis Geiselbrecht f54ab82112 flatten the make system a little bit by providing only modules as a
compilation unit.

to add a module as a dependency of another, just add to the MODULE make
variable, instead of APPS/LIBS/DEVS
2008-09-05 04:18:30 -07:00