SSBI declarations were in the gpio_keypad files
resulting in needing to add gpio_keypad to use
ssbi for pmic functions.
Change-Id: Ic62a499a3cbd5fab9b8235e469b93103d207b20e
Changing the log level from info to critical for gpio_config
as they are errors and should always be reported.
Change-Id: If10d415ed494a655a67793438240c3845aaa2b50
Adding support to turn on backlight for lk
through pm8921 GPIO. Turning backlight on
by default for lk.
Change-Id: I97171c9f0e1d18053bb2d45b00bccb7c5ca4804d
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
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
--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
- Add support for new PXO frequency plan.
- Update splash image
- Disable mdp after loading HLOS into the ram.
Change-Id: I35072af621bae881a623def67b4f02dab9102bf4
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
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
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
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
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
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
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
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.