summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-06IKXCLOCK-2107: PMIC SPI bus is running at 700MHz Instead of 15MHzDavid Peyer
The TPS659120 spec indicates that the Max SPI frequency which can be used in conjunction with the part is 15MHz. The current operating frequency is at 750KHz due to OMAP clock dividers. This change requests 15MHz which results in a clock rate of 12MHz. Change-Id: I72626be745cb6df04fee129d999482536ebc3ce6
2014-06-06IKXCLOCK-2112: gpio-charger.c returns a charger change state on every resumeDavid Peyer
Check the state of the charger during charger detect resume and only report a change to the charger state if it has actually changed since it was last checked. Change-Id: I5fb0b65556899c0029b1f2a62be47c5b7cd451bc
2014-06-06IKXCLOCK-1967 C55: Ensure C55 is OFF when going into suspendJee Su Chang
Change-Id: Iaee645f750625bcb541420f02c4dd66ffe4987c3
2014-06-06IKXCLOCK-1472 - PMIC SPI driver does not initialize the SPI transfer array ↵David Peyer
resulting in random delays The TPS65912 spi driver was updated to initialize the spi_transfer structure in the read and write cases. In addition it was updated to better handle other error cases. This will remove the random delays as well as random transfer speeds. Change-Id: I3a8850fb0cc1316ec034df5045c7a79c5a8a8db5
2014-06-04IKXCLOCK-1924 power: avs: Time to exit from retention is too longVladimir Tsunaev
Retetntion exit time is defined by values in VOTLSETUP1 register and should be based on slew rate for PMIC regulator Change-Id: I754d76fcf18b1387b45b4a763be78e9ef0f36475 Signed-off-by: Vladimir Tsunaev <vladimirt@motorola.com>
2014-06-04IKXCLOCK-1901 Fix RTC settimeofday HandlingEric Tashakkor
Removed hctosys from the defconfig (it would set time before the RTC was ready). Added setting the time to the pre-flash callback (framework needs this). Updated the kernel prints to include the times we were setting/saving. Updated the kernel prints to print time of day only if we were able to set it. Change-Id: Id8937815243f4d4a470cd1da95f0440b57a6dc9b Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-06-04IKXCLOCK-1762: Fixing build errors due to the previous pushViditha Hanumanthareddy
Change-Id: I9c090eb29435dea38b43bd367acdf2efa1fde17b
2014-06-04IKXCLOCK-1762: Fix m4 panic handlersViditha Hanumanthareddy
Change-Id: I53820435227388c323d2beec6e678a94b674fff9
2014-06-04Revert "Revert "IKXCLOCK-1035 Add M4 Heartrate Confidence""ERIC TASHAKKOR
Sensor HAL changes are ready. This reverts commit 32f9600c928b343a813e0c2c50a33411a99400ee. Change-Id: Id713cb74c72e71b935ce842020372ab18811791e
2014-06-03IKXCLOCK-1759 Audio: LDO9 voltage needs to be increased to 1.2 VJee Su Chang
Change-Id: I29d2b5c4313e6d7117e7b68fd1e3338ff2b1e6e9
2014-06-02Revert "IKXCLOCK-1035 Add M4 Heartrate Confidence"ERIC TASHAKKOR
Waiting for sensorHAL changes This reverts commit cadf46b3a3be695b1abd4f2f044cea6a5d0c6ee2. Change-Id: I48ed2e257539d98156e72c5b67132d14daae4a73
2014-06-02IKXCLOCK-1035 Add M4 Heartrate ConfidenceEric Tashakkor
Added reading the heartrate confidence value from M4. Change-Id: I9604f39ee541c1c20c7964fae63264aecf1c5ae6 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-06-01IKXCLOCK-1877 arm: mach-omap2: 192Mhz clock tree is not correctVladimir Tsunaev
OMAP 36xx has 192Mhz source clock, which is used as parent of 96MHz. Clock tree is modified by substitution omap_96m_alwon_fck with copy of omap_96m_alwon_fck_3630, but hw structure was not modified to reflect this substitution. Change-Id: Ib68586b7807177d2798b1cb301215789cd325742 Signed-off-by: Vladimir Tsunaev <vladimirt@motorola.com>
2014-05-31IKXCLOCK-1817 PT:Sanity:xClock: The watch shuts down randomlyWengang Wu
Change-Id: Ife464a59b53e9a76ad39b0328705e0439c21ffed
2014-05-30IKXCLOCK-1848: kernel: musb: reset phy only when VBUS is onRiyad Abd
When msub calls reset to phy, phy will only do it if VBUS is present otherwise, it will ignore the call. Change-Id: I69a1e068672045c8da26a3c4b236d25fe533c862
2014-05-30IKXCLOCK-1722 printk: ignore console lock during panicJim Wylder
When the console is locked, as is done in OMAPLFBFlip, panic information will not be flushed to the console. If in an oops case, ignore the console lock and forge ahead. Change-Id: Ic65dc76c0f2e2d5f68997bc5c2669921d80d374f Signed-off-by: Jim Wylder <jwylder@motorola.com>
2014-05-30IKXCLOCK-1833 printk: ignore suspend state during panicJim Wylder
Skip suspend check if we are in a panic (oops), this allows the pstore ramconsole to save logs for panics during suspend. Change-Id: I8db78384f86f3f80a45948f22dff1335aa9ac5db Signed-off-by: Jim Wylder <jwylder@motorola.com>
2014-05-29IKXCLOCK-1807 Revert "IKXCLOCK-672: cpu0 cpufreq reset voltage on panic"Jim Wylder
No longer needed. This reverts commit 56121ee43556a78d40912f5899cd32216cbcf537. Change-Id: If5e0fb1a7ca103586cc6180da96f5be3e2b599ae
2014-05-29minnow: defconfig: Merge android-base.cfgBenoit Goby
Change-Id: If100ef690001c91ba2be0b6ad048f623a5affb8a Signed-off-by: Benoit Goby <benoit@android.com>
2014-05-29IKXCLOCK-1703 Add M4 Pre-Flash Callback for RTCEric Tashakkor
Added a pre-flash callback system for drivers with timing restrictions like RTC Updated the RTC driver to save and use set time requests until M4 is ready Fixed a bug where uninitialized memory was preventing the time being set Minor clean up of driver files to meet checkpatch style requirements Change-Id: I9e03f373226e678e8e884c836f68fcb265f39a57 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-29IKXCLOCK-1646: Add ability to enable/disable passive modeViditha Hanumanthareddy
Change-Id: I882c3fe5c3a034154593bb560a3e6e9aaa1cd6fa
2014-05-29IKXCLOCK-1624: kernel: consecutive fastboot/adb failsRiyad Abd
Change-Id: I428b91a1faeded005ad5efe4276774354b350b91
2014-05-28IKXCLOCK-1662 vib: device vibrates continouslyDoug Zobel
Hold wakelock while vibrator is on Change-Id: Ic5bf79e033726bf729500c754109be5a4c60c647
2014-05-28IKXCLOCK-1524: minnow: Repurpose "charge_reduce" pin for charger detectionDmitriy Gruzman
Configure the gpio as an input with internal pullup enabled. Previously, the gpio was an output that controled charging rate. The new gpio configuration will work on older h/w where the gpio was either not connected or connected to an analog circuit that controlled charging rate. Do not enable offmode wake-up for the pin for now. Enable wakeup when driver that processes gpio IRQs is available. Change-Id: Icc792efa70f785b673e68e48b965013d8e01e00c Signed-off-by: Dmitriy Gruzman <dgruzman@motorola.com>
2014-05-28IKXCLOCK-1741 Add support for P2.5 wingboard (issue 04)Doug Zobel
P2.5 wingboard (issue 04) is hardware rev 0x08. Change-Id: Ied475439ba6ed87fc0af0f26bb71416ac6a6313b
2014-05-27IKXCLOCK-1705 arm: dts: add ti,wkup_padJim Wylder
Add wakeup from pad status wkup bit for devices uart2, uart3, uart4, m4sensorhub, touch, battery, USB and gpio-charger. Change-Id: Ide5611de9d0cc5411e6761a98cc95fd1999dbc98 Signed-off-by: Jim Wylder <jwylder@motorola.com>
2014-05-27IKXCLOCK-1705 arm: omap2: padwkup interrupt handlerJim Wylder
This change replaces the previous, of signaling an interrupt for the gpio bank with a pure software call. Change-Id: I3380acf3745a9ff823cd3a0028f8b7be9190f20f Signed-off-by: Jim Wylder <jwylder@motorola.com>
2014-05-27IKXCLOCK-1705 Revert "IKXCLOCK-1044 arm: dts: offmode wkup pads"Jim Wylder
Redoing solution. This reverts commit 2976644c690a3a190a5beca8a156439819119190. Change-Id: Ifb1a8940a46c925ab9968af3d46e69fb0f488b5b
2014-05-27IKXCLOCK-1705 Revert "arm: OMAP: offmode translate pad wkups to isr"Jim Wylder
Redoing the solution. This reverts commit 54c1f5bc458eae45c865fdddc5ccc601a866f98e. Change-Id: Idd3d978a2a4d65990d88f55c853aec8bac26e692
2014-05-27IKXCLOCK-1219: Add sysfs for m4 debugViditha Hanumanthareddy
Added two new sysfs interfaces, one to disable power management on m4 and the other to enable reading and writing any m4 registers. Change-Id: I237691678ab590f9acf4b3df5b4f0297c62a5a91
2014-05-27IKXCLOCK-1655 tps65912 Disable LOADSWITCH for LDO9Andrey Andreyev
Regulator LDO9 does not need to turn on LOADSWITCH for HWREV >=5 Change-Id: I1b565a1de19f64d5c735225b8df729ffa572f137 Signed-off-by: Andrey Andreyev <aandreyev@motorola.com>
2014-05-27IKXCLOCK-1349 Fix Kernel Panics in M4 CoreEric Tashakkor
Fixed several panics caused by missing NULL checks in exported core functions (e.g., M4 fails to init but an outside process calls the sysfs interface) Fixed/added error messages to check for bad conditions earlier Fixed a bug in m4sensorhub-irq where IRQ book-keeping was not being done Added missing callback string to m4sensorhub-panic.c Change-Id: I82a8602f2327bf63982caa23af103c48a01bbcc1 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-27IKXCLOCK-1114 C55: Set UART pins to mode 0 on resumeJee Su Chang
When C55 is brought up, if the UART TX (from OMAP) pin is low, it causes C55's UART to get messed up. Change-Id: I6e7267c1eb5ed250b42d217628f914f9ba8f3494
2014-05-23IKXCLOCK-1654 kernel: revert MUSB changes made in IKXCLOCK-1323Riyad Abd
Change-Id: I7f43a5d9ba9afac03da1ffa2e20d00209a63910c
2014-05-23IKXCLOCK-1568 omap3: musb: USB enumeration fails after offmodeDoug Zobel
After OMAP hits offmode, USB enumeration fails. The PM_PWSTCTRL_USBHOST.SAVEANDRESTORE feature cannot be used because it breaks offmode. Instead, the musb context is stored on driver suspend and restored on driver resume. Change-Id: I8a22c132df9a183cb7a53822c840a05fe6d7d0dc
2014-05-23IKXCLOCK-1590 Transition form Mot Logo to Moto Animation has blankWengang Wu
Change-Id: I2725345b2bde4ff16a4e13e938b91af298971ec1
2014-05-22IKXCLOCK-542 defconfig: minnow: enable selinux and dependenciesMohsan Habibi
As part of the Android security model, Android uses Security-Enhanced Linux (SELinux) to enforce Mandatory Access Control (MAC) over all processes, even processes running with root/superuser privileges. Enable SELinux in the kernel as well as its dependencies. Change-Id: Ib3556f195f4844538cb97bea0ae572cae413f914 Signed-off-by: Mohsan Habibi <mohsan@motorola.com>
2014-05-22IKXCLOCK-1596 Disable CONFIG_MUSB_HARDCONNECTDoug Zobel
Revert "IKXCLOCK-1323: defconfig: enable CONFIG_MUSB_HARDCONNECT" This reverts commit 7cc587b62fe3df51ffc356da5e3539244dda323e because suspend was broken. Change-Id: I4ff2239259c9518d1692b4ea1f8e5c50b868debe
2014-05-22IKXCLOCK-1246 watch was vibrating continuouslyDoug Zobel
Make IO operations (GPIO & regulator) atomic. Also add more debug logging. Change-Id: Ifba24a6753447a3abce7bd6fe5becb2c431a179f
2014-05-22IKXCLOCK-1536 mtd: m25p80: fix enable gpio when pctrl is usedMohsan Habibi
If dynamic pinctrl is used for the enable gpio, the gpio should not be driven as output, and instead should be set to input. Change-Id: I0ab737523e75fd399415151efb83ea23120db23e Signed-off-by: Mohsan Habibi <mohsan@motorola.com>
2014-05-22IKXCLOCK-1302 tty: omap: reset latency in rt suspendJim Wylder
If platform data is not set (the device was configured throught the device tree) we still need to reset the latency during suspend. Change-Id: I28ed7838d44d9d3aa9fe83687cdbb914c64d2358 Signed-off-by: Jim Wylder <jwylder@motorola.com>
2014-05-22IKXCLOCK-1481 Change M4 IRQ from Rising Edge to LevelEric Tashakkor
Changed the M4 core to look for a level trigger, which is what M4 generates. Change-Id: Ic91d0c210301c4f62017b5452548063702151d0c Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-22IKXCLOCK-1588 Fix drv_tdat FailureEric Tashakkor
Added a name since request_firmware_nowait() now uses that to create a device. Change-Id: I59c382245f5729aa9587098110789dd251c0e9a7 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-05-21IKXCLOCK-1323: defconfig: enable CONFIG_MUSB_HARDCONNECTRiyad Abd
Enable workaround D+/D- issue with MUSB in minnow Change-Id: I90b2476ab148f6078067fde4ceb2db496699fac2
2014-05-21IKXCLOCK-1323: musb: force d+/d- transition via vbusRiyad Abd
When CONFIG_MUSB_HARDCONNECT is defined in defconfig force the musb driver to call pullup enable/disable API which will cause registered phy to set the state of the vbus line and hence control d+/d- and reset usb controller. Change-Id: I6b4db4e3af4c2151512bf0f708302f9687d4bd89
2014-05-21IKXCLOCK-1323: drivers:phy: control reset via vbus_set apiRiyad Abd
Create a helper function and move code from worker queue and re-use it whenever it is required by both, the new reset routine and worker queue. Implement vbus_set and allow gadget driver to control reset sequence by calling vbus_set APIs. Change-Id: I11b7e0c0f92b8a273d1569da3016f49f56ea64ca
2014-05-21IKXCLOCK-1501 Upgrade to TI SGX Android OpenGL 1.12@2701748Wengang Wu
Moto changes to build TI SGX kernel driver Change-Id: I7d941b8fb46ee2633ea235e167f5407ea4897166
2014-05-21IKXCLOCK-1501 Upgrade to TI SGX Android OpenGL 1.12@2701748Wengang Wu
Initial codes of TI SGX DDK 1.12@2701748 Change-Id: I75a8f6521968346ea1b2ea9fa54817ba186442ce
2014-05-20IKXCLOCK-1469: Disable Kernel Same Page MergingAmit Jain
This feature was enabled to support 128 MB devices. Since the product decision is to ship a 256 MB device, CPU cycles can be saved by preventing this daemon from running periodically. Change-Id: Icfd73616fda5f40a84b499ea681c93b5b7ef7420
2014-05-20IKXCLOCK-1486 Display: fix issue for older 1.0 panel can not turn on after ↵Wengang Wu
turn off Change-Id: I484ec4c773b12a108bd1878669b7c4e735b1fa00