| Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
Change-Id: Iaee645f750625bcb541420f02c4dd66ffe4987c3
|
|
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
|
|
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>
|
|
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>
|
|
Change-Id: I9c090eb29435dea38b43bd367acdf2efa1fde17b
|
|
Change-Id: I53820435227388c323d2beec6e678a94b674fff9
|
|
Sensor HAL changes are ready.
This reverts commit 32f9600c928b343a813e0c2c50a33411a99400ee.
Change-Id: Id713cb74c72e71b935ce842020372ab18811791e
|
|
Change-Id: I29d2b5c4313e6d7117e7b68fd1e3338ff2b1e6e9
|
|
Waiting for sensorHAL changes
This reverts commit cadf46b3a3be695b1abd4f2f044cea6a5d0c6ee2.
Change-Id: I48ed2e257539d98156e72c5b67132d14daae4a73
|
|
Added reading the heartrate confidence value from M4.
Change-Id: I9604f39ee541c1c20c7964fae63264aecf1c5ae6
Signed-off-by: Eric Tashakkor <w36098@motorola.com>
|
|
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>
|
|
Change-Id: Ife464a59b53e9a76ad39b0328705e0439c21ffed
|
|
When msub calls reset to phy, phy will only do it if VBUS is present
otherwise, it will ignore the call.
Change-Id: I69a1e068672045c8da26a3c4b236d25fe533c862
|
|
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>
|
|
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>
|
|
No longer needed.
This reverts commit 56121ee43556a78d40912f5899cd32216cbcf537.
Change-Id: If5e0fb1a7ca103586cc6180da96f5be3e2b599ae
|
|
Change-Id: If100ef690001c91ba2be0b6ad048f623a5affb8a
Signed-off-by: Benoit Goby <benoit@android.com>
|
|
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>
|
|
Change-Id: I882c3fe5c3a034154593bb560a3e6e9aaa1cd6fa
|
|
Change-Id: I428b91a1faeded005ad5efe4276774354b350b91
|
|
Hold wakelock while vibrator is on
Change-Id: Ic5bf79e033726bf729500c754109be5a4c60c647
|
|
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>
|
|
P2.5 wingboard (issue 04) is hardware rev 0x08.
Change-Id: Ied475439ba6ed87fc0af0f26bb71416ac6a6313b
|
|
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>
|
|
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>
|
|
Redoing solution.
This reverts commit 2976644c690a3a190a5beca8a156439819119190.
Change-Id: Ifb1a8940a46c925ab9968af3d46e69fb0f488b5b
|
|
Redoing the solution.
This reverts commit 54c1f5bc458eae45c865fdddc5ccc601a866f98e.
Change-Id: Idd3d978a2a4d65990d88f55c853aec8bac26e692
|
|
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
|
|
Regulator LDO9 does not need to turn on LOADSWITCH for HWREV >=5
Change-Id: I1b565a1de19f64d5c735225b8df729ffa572f137
Signed-off-by: Andrey Andreyev <aandreyev@motorola.com>
|
|
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>
|
|
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
|
|
Change-Id: I7f43a5d9ba9afac03da1ffa2e20d00209a63910c
|
|
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
|
|
Change-Id: I2725345b2bde4ff16a4e13e938b91af298971ec1
|
|
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>
|
|
Revert "IKXCLOCK-1323: defconfig: enable CONFIG_MUSB_HARDCONNECT"
This reverts commit 7cc587b62fe3df51ffc356da5e3539244dda323e because
suspend was broken.
Change-Id: I4ff2239259c9518d1692b4ea1f8e5c50b868debe
|
|
Make IO operations (GPIO & regulator) atomic. Also add more debug logging.
Change-Id: Ifba24a6753447a3abce7bd6fe5becb2c431a179f
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Enable workaround D+/D- issue with MUSB in minnow
Change-Id: I90b2476ab148f6078067fde4ceb2db496699fac2
|
|
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
|
|
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
|
|
Moto changes to build TI SGX kernel driver
Change-Id: I7d941b8fb46ee2633ea235e167f5407ea4897166
|
|
Initial codes of TI SGX DDK 1.12@2701748
Change-Id: I75a8f6521968346ea1b2ea9fa54817ba186442ce
|
|
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
|
|
turn off
Change-Id: I484ec4c773b12a108bd1878669b7c4e735b1fa00
|