- Oct 07, 2019
-
-
aTc authored
-
- Mar 12, 2017
-
- Mar 07, 2017
- Jul 16, 2016
-
-
Matthijs van Duin authored
-
Matthijs van Duin authored
Use the right registers and add ES2.2 detection. Really, the twl6035/6037 (palmas) simply isn't like the twl6030, and it's special-cased in every substantial function now. This file should be split into two separate ones.
- Jul 15, 2016
-
-
Matthijs van Duin authored
-
- May 09, 2016
-
-
Nishanth Menon authored
Newer glib (>2.2) prefers _DEFAULT_SOURCE defined, so allow builds based on what ever glib needed. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Dave Gerlach authored
Add dump of dpll and irq prcm registers to dump prcm command. Signed-off-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Dave Gerlach authored
Add functions to dump each PRM and cm module according to power domain. Option to dump all PRCM registers. Although not technically a power domain, PRCM device registers can also be dumped. Signed-off-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Dave Gerlach authored
Add all AM437X PRM register definitions and appropriate accessors functions for use by 'dump prcm' command. Signed-off-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Dave Gerlach authored
Add all AM437X CM register definitions and appropriate accessors functions for use by 'dump prcm' command. Signed-off-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Dave Gerlach authored
Add EMIF register functions to implement the dump EMIF command in omapconf for AM437X. Signed-off-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Apr 14, 2016
-
-
Vishal Mahaveer authored
Add API to check if OS supports wake_lock and use the same [COMMON][LIB] for wake_lock operations check. Fixes: https://github.com/omapconf/omapconf/issues/35 Reported-By:
ggardet <guillaume.gardet@opensuse.org> Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Vishal Mahaveer authored
More Linux distributions support wake_lock now, use lowmemory killer driver to identify Android OS. Fixes: https://github.com/omapconf/omapconf/issues/35 Reported-By:
ggardet <guillaume.gardet@opensuse.org> Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Vishal Mahaveer authored
Add ID code support for DRA72x SR2.0 Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Dec 11, 2015
-
-
Brad Griffis authored
This commit picks up a bunch of missing registers. This was determined by "Save Registers" in CTT. Comparing the generated rd1 file against the one being input showed many missing registers. Sync with v4.0.0.0 http://www.ti.com/tool/clocktreetool Acked-by:
Dave Gerlach <d-gerlach@ti.com> Signed-off-by:
Brad Griffis <bgriffis@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Nov 23, 2015
-
-
Vishal Mahaveer authored
Extend android product name to include Marshmallow Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Aug 28, 2015
-
-
Nishanth Menon authored
Typical example is when building a tarball, error message "/bin/sh: 1: git: not found" is seen. we can just dump that message. Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
yet another gcc 5.2 nuisance. fixes: common/trace.c: In function ‘trace_perf_capture’: common/trace.c:1633:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/data"); ^ Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
inline with a static variable causes gcc 5.2 to croak and die Fixes: linux/linux_mem.h:51:14: warning: inline function ‘lmem_phys2virt’ declared but never defined inline void *lmem_phys2virt(void *addr); ^ linux/linux_mem.c:239:34: warning: ‘mem_map_base’ is static but used in inline function ‘lmem_phys2virt’ which is not static return (void *) ((unsigned int) mem_map_base + ^ /bin/sh: 1: git: not found common/mem.o: In function `mem_phys2virt': mem.c:(.text+0x34): undefined reference to `lmem_phys2virt' collect2: error: ld returned 1 exit status Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
gcc 5.2 is finicky. Looks like it does not get the idea of casting to ignore results ;)... Fixes: 79186cee ("[COMMON / OMAP4/ OMAP5] cast fget result to void") Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Aug 27, 2015
-
-
Praveen Rao authored
Support for DRA7xx SR2.0 IDCODE for DRA74x. NOTE: new silicon revisions are called SR (Silicon Revisions) as Opposed to ES (Engineering Samples) to avoid misunderstandings of what "engineering samples" actually mean. Unfortunately, the old code carry over still uses ES nomenclature for many legacy silicon. we leave that as is. Signed-off-by:
Praveen Rao <prao@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
DRA7XX is a superset of DRA74x DRA75x and DRA72x.. that is not really true for these macros.. Lets just use DRA74x instead to keep things simple. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Seems fgets needs to have return value checked, but our existing logic seems to have no need for it, so cast to void to make gcc 5.1 happy. Fixes: arch/arm/mach-omap/omap4/uc_audit44xx.c:887:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] arch/arm/mach-omap/omap5/lib54xx.c:500:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] arch/arm/mach-omap/omap5/lib54xx.c:501:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1576:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1704:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1707:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:303:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:1110:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:1170:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:450:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:639:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:782:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:840:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:853:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:872:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:884:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:906:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:961:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:984:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Stop confusing gcc 5.1. Fixes build warnings: common/mem.h:59:14: warning: inline function 'mem_phys2virt' declared but never defined inline void *mem_phys2virt(void *addr); Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Dont keep inlines in public functions, just make them static inlines Confuses the heck out of gcc 5.1 Fixes: common/mem.h:59:14: warning: inline function 'mem_phys2virt' declared but never defined inline void *mem_phys2virt(void *addr); ^ In file included from omapconf.c:49:0: common/lib.h:237:12: warning: inline function 'mhz2khz' declared but never defined inline int mhz2khz(double mhz); ^ common/lib.h:236:15: warning: inline function 'khz2mhz' declared but never defined inline double khz2mhz(int khz); ^ common/lib.h:234:12: warning: inline function 'v2uv' declared but never defined inline int v2uv(double v); ^ common/lib.h:233:15: warning: inline function 'uv2v' declared but never defined inline double uv2v(int uv); Reported-by:
Robert C Nelson <robertcnelson@gmail.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Aug 25, 2015
-
-
Nishanth Menon authored
Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Karthik Ramanan authored
* Fixing the compatibility issue with latest CTT version 1.12.0.4 * Clean up the register dump to make it inline with the CTT tool requirements. The new rd1 has been verified with the latest CTT Tool. Signed-off-by:
Karthik Ramanan <karthik.ramanan@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Statistics collector library does not seem too happy with gcc optimization - especially ones with gcc 4.9. So, disable optimization for the library for now. It is a behemoth of code that was handed over through generations of developers.. kinda a bit finicky to fix. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
This allows us to debug with native debug tools like gdb/valgrind for issues. While at it, add a default build optimization option - we want to save on space a bit. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Fix up build warnings popped up due to gcc 4.9 Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Fix up build warnings popped out due to gcc 4.9 Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Fix up build warnings we find with gcc 4.9 Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Fix a bunch of build warnings Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
build warnings thanks to gcc 4.9 -> squash them.. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Fix up build warnings in common directory Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Jun 25, 2015
-
-
Suman Anna authored
The cpuinfo option prints out the PMIC and AudioIC device information alongside the SoC information. This data is gathered by querying the devices using appropriate i2c commands. The I2C bus number being used currently matches the bus numbers from the legacy non-DT boots, and does not match the DT alias numbers from the current DT-based boots. The PMIC and AudioIC info is incorrect as a result, and it also causes additional delays due to i2c timeouts on every omapconf command (especially on OMAP5). Fix this I2C bus number so that the cpuinfo information is printed properly for OMAP4 and OMAP5 SoCs. The behavior on other SoCs is same as before this patch. Signed-off-by:
Suman Anna <s-anna@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- May 06, 2015
-
-
Vishal Mahaveer authored
Extend android product name to include KitKat and Lollipop. Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-