| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Check the following registers after we received the READYINT
interrupt (init ready) from twl6040 to be sure that the boot
sequence has been really completed:
reg 0x05 must be 0x81 <- NCPCTL
reg 0x06 must be 0x45 <- LDOCTL
reg ox08 must be 0x01 <- LPPLLCTL
Try to boot up using the automatic power on, if it still
fails revert back to manual power control, and execute the
sequence by hand.
Change-Id: I91119f38d3258bd485647dc9dc9f901a57f67204
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: PankajJindal <pankajjindal@ti.com>
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow TWL6040 MFD to make explicit use of external 32kHz clock.
It's required for Power-On state, and can be disabled during
Sleep state.
Since external clocks might not be handled through clock framework,
it's up to platforms/boards to implement the appropriate method
as needed.
Change-Id: I027bb51ec6263d8c1b04b6bc50d24077674be255
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TWL6040 platform device is used only for error message prints,
it can be removed as the twl6040 device pointer can be retrieved
from main twl6040 struct.
Change-Id: I1fb06020ffb6df2af7884ce3304844c8c52e0dc1
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
arch/arm/mach-omap2/dpll3xxx.c
Change-Id: Ie53daed5cabbadef73d18969263ff2f7b77b3dc7
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
drivers/mmc/host/omap_hsmmc.c
Change-Id: I37eac90b9007a8a96fa25788126e2bf2b49255aa
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in suspend.
To reduce current consumption of twl6030, disable GPADC_IN1 temperature measurement feature in suspend.
When system wakeup, enable GPADC_IN1 temperature measurement feature.
Change-Id: I53e2d4ce8939bc6356b3fb4158d591f1deb21835
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On I2c read error while reading DEV_ON, DEV_ON bits will be
wrongly configured leading to MPU shutdown on suspend.
Writing 0 to DEV_ON bits has no effect and will eventually keep
all the processor group active during suspend.
Signed-off-by: Ambresh K <ambresh@ti.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For PMIC to enter deeper power state, all the processor group needs
be to turned off and it can be achieved either through HW & SW. In case
of HW, by de-asserting PREQ1/2a/2b/2c/3 pins all the processor group
will be turned off. In case of SW, by configuring DEV_ON register, we can
selectively disable individual processor group.
In most of HW design, only PREQ1 is used to turn Application processor
and PREQ2a/2b/2c/3 are not connected. So to achieve low power state,
MOD & CON processor group needs to disabled through SW.
SW bits gets reset after PMIC exit low power state, so it is necessary
to ensure that during every suspend, SW bits are configured accordingly.
Change-Id: I3e29086fcc04199601233b45000fb4fa87a063c3
Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Baek.Kyung-Han <wildtaz.sec@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
TWL6030 has Phoenix group system resource & some system configuration
that needs to handled in a suitable manner to achieve TWL low power state.
Currently patch has only statically defined for DEV_ON, list can be easily
extend for other resources too.
By default DEV_ON is configured to DEV_GRP_P1, based on board requirement
power_data has to be updated in board file.
Change-Id: Icb9ab2ccf5b9eea80cb59e6c63968194002960a4
Signed-off-by: Ambresh K <ambresh@ti.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4b14c611e4c27e042508da750216e06a0368178f
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 90614432a0d56d8623a14ff44376ec33fc3f2f61.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Its found on simulation results of EHCI IP, that there are
worse OCP accesses generated when ENA_INCR_ALIGN = 1
Looks the bit is not exactly doing what it was designed for.
Simulation results for ENA_INCR_ALIGN == 0 show much lesser
OCP L3 interconnect requests being generated as opposed to
Simulation results for ENA_INCR_ALIGN == 1
So switch ENA_INCR_ALIGN back to 0
Change-Id: Ic832d65a7b3acf2df1a696bf3aeee5d26d706134
Reported-by: John Grossman <johngro@google.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | |\ \
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
drivers/tty/serial/omap-serial.c
drivers/usb/musb/musb_gadget.c
sound/soc/omap/omap-mcbsp.c
Change-Id: Ic31b7266dda3ac8483f737272874ebf4725b5fe3
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
commit e600cffe618ff0da29ae1f8b8d3824ce0e2409fc upstream.
This code section seems to have been accidentally copy pasted.
It causes incorrect bits to be set up in the TLL_CHANNEL_CONF
register and prevents the TLL mode from working correctly.
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Cc: Keshava Munegowda <keshava_mgowda@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
commit fa948761e685fb03823b3029e5b6bdb52229d6ce upstream.
Fix regression introduced by commit
a2974732ca7614aaf0baf9d6dd3ad893d50ce1c5 (TPS65911: Add new irq
definitions) which caused irq_num to be incorrectly set for tps65910.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Recommendation is to put ENA_INCR_ALIGN == 1 for UHH_HOSTCONFIG
Recommendation is to put APP_START_CLK == 0 if OHCI is not used
Fix this configuration
Change-Id: Icd2f54dbd7a12dd5e2005d469f01658bfe202bb9
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
twl_i2c_read and twl_i2c_write error messages don't give enough
information about the error context. Add address, register and
message length to the error message in order to provide more
debug data.
Change-Id: I732e052a690dc2befa388e74b0706aac42f24fd9
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
drivers/mfd/twl6030-madc.c
Change-Id: I90bdfede31b046c57527297123eefef2e4fab771
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ie7555a4859104e9398213e2693fa7edf0609007f
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I611aa1291ffd966d060aa92c80b4472819403858
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add the 32KHz audio clock as a regulator as it
it may be used as a clk source for some external
chips. By adding it, we can enable and disable it
using the regulator framework.
Change-Id: Ic7a39600277bd28cac039c1385c68fe712c89875
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
to make these more noticeable in logs.
Change-Id: I54fa97e2ddd6e7d5a8d7287bb563ada80b2b5ebc
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iea7b71f854fb9cccf51ad5b6869f0f60f5e16e07
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I0a38d6238bb3f1e17eae32ba94bb24116579db13
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Error message dereferences a NULL pointer. Move code to enable
CH2 to probe function.
Change-Id: I05032a950590c9087e7f9a5cff18928367f6e53d
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Warn if twl6040_disable() API is called when TWL6040 MFD is already
disabled.
Change-Id: I65321e02b3b8005df9a378733833a2008a319f31
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
False positives seen, at least on OMAP4430 sample 4.
Change-Id: I607cf5f3c7f043bbdec149887fcd72fb20598731
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is possible for the device to suspend while the adc driver is
waiting for a conversion to finish. Add a wakelock to prevent that.
Change-Id: I32174b1213e7e6c1ef21fe507bdcafa3618e51f9
Signed-off-by: Marty Fouts <mfouts@sta.samsung.com>
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
This reverts commit 9e1881507906359ad39bcb39aabea35fd64475ac.
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
twl6030_madc sets the TOGGLE1 register GPADCS bit to enable GPADC
on each conversion. Add code to set the GPADCR bit after the
conversion is done. This may save up to 1.4mA while disabled, per
the data sheet.
Change-Id: I043640ab986be98093442cb62439b24a466c97c3
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
5ms timeout is one jiffy, need to ensure at least 2 jiffies delta to
avoid early timeout at trailing end of jiffy and to handle rollover
during timeout calculation.
Change-Id: I101400219d32f418c556824219772441408dc38a
Signed-off-by: Todd Poynor <toddpoynor@google.com>
|
|\ \ \
| |/ / |
|