GitHub/LineageOS/android_hardware_samsung.git
11 years agoNFC refactoring cm-10.1.3-RC1 cm-10.1.3-RC2
Qaweck [Mon, 22 Jul 2013 18:31:23 +0000 (20:31 +0200)]
NFC refactoring

Change-Id: Id239eae364b7e1eddc512acb3516be1c62a726d1

11 years agosamsung: ril: fix inclusion of secril-client
Daniel Hillenbrand [Thu, 11 Jul 2013 14:26:34 +0000 (16:26 +0200)]
samsung: ril: fix inclusion of secril-client

Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398

11 years agosamsung: Remove multiple inclusion of RIL
Steve Kondik [Tue, 9 Jul 2013 21:32:02 +0000 (14:32 -0700)]
samsung: Remove multiple inclusion of RIL

Change-Id: I2fee28ca533b9c0923d6bc9d736cf2f2284190e0

11 years agoMerge "samsung: move ril client out of exynos4" into cm-10.1
Daniel Hillenbrand [Tue, 9 Jul 2013 16:50:57 +0000 (09:50 -0700)]
Merge "samsung: move ril client out of exynos4" into cm-10.1

11 years agosamsung: libril: some code cleanup
Daniel Hillenbrand [Tue, 9 Jul 2013 16:47:06 +0000 (18:47 +0200)]
samsung: libril: some code cleanup

Change-Id: Ie79369fce7d6c8832c3256c402a485090c177e61

11 years agosamsung: libril: cleanup debugging code
Daniel Hillenbrand [Mon, 8 Jul 2013 23:49:17 +0000 (01:49 +0200)]
samsung: libril: cleanup debugging code

Change-Id: I1429a892071dbd55d8ffa41b304b1612261f4edc

11 years agosamsung: move ril client out of exynos4
Daniel Hillenbrand [Mon, 8 Jul 2013 15:11:45 +0000 (17:11 +0200)]
samsung: move ril client out of exynos4

Change-Id: I8aa0470652c060a531d2cc7f2d8c68d3c40f5f95

11 years agosamsung: add libril for xmm626x modems cm-10.1.0.1
Daniel Hillenbrand [Sun, 7 Jul 2013 08:06:59 +0000 (10:06 +0200)]
samsung: add libril for xmm626x modems

Change-Id: I3064271ac8d563f63b13278944639ab5a29ae87f

11 years agoExynos4x12: liblights: ifdef exynos4x12 tabs
sbrissen [Fri, 21 Jun 2013 13:06:37 +0000 (09:06 -0400)]
Exynos4x12: liblights: ifdef exynos4x12 tabs

Change-Id: I3461a6569bf7d3c65e72cc911282bb3ee8e52bc5

11 years agoexynos4: SecBuffer: add missing c++ ifdefs
Daniel Hillenbrand [Sat, 15 Jun 2013 09:14:35 +0000 (11:14 +0200)]
exynos4: SecBuffer: add missing c++ ifdefs

Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71

11 years agoexynos4412: update fimg4x
Daniel Hillenbrand [Fri, 14 Jun 2013 14:18:47 +0000 (16:18 +0200)]
exynos4412: update fimg4x

http://git.insignal.co.kr/insignal/origen_quad-jb_mr1.1/android/hardware/samsung_slsi/exynos4/log/?h=origen_quad-jb_mr1.1

Change-Id: Idbcc372285b168fa171e195eed43e20c27182fab

11 years agoFix macloader buffer overflow
Javier Ferrer [Mon, 20 May 2013 23:09:24 +0000 (01:09 +0200)]
Fix macloader buffer overflow

Fixes this log entries.

I/macloader( 1915): Writing murata to /data/.cid.info
D/macloader( 1915): Setting permissions on /data/.cid.info
F/libc    ( 1915): *** vsprintf buffer overflow detected ***
F/libc    ( 1915): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1915 (macloader)

Change-Id: I1ccb257bada18030de76a2be40477172993ca2a0

11 years agoexynos4: hal: include: Exif.h: always keep two decimal places in macros
ghepeu [Fri, 10 May 2013 12:19:23 +0000 (14:19 +0200)]
exynos4: hal: include: Exif.h: always keep two decimal places in macros

The APEX macros always rounded to int, losing too much precision. Ensure
that we always keep at least two decimal digits.

The more precise F-number comes from the value recorded by the camera
closed source driver.

Added a new macro APEX_SHUTTER_TO_EXPOSURE(x) (credit to tryptophane).

Change-Id: Ief43c15c6517d8dc48d4d4bc9e93df9eb01e6b91

11 years agomacloader: add 5C:F8:A1 to murata cm-10.1.0 cm-10.1.0-RC1 cm-10.1.0-RC2 cm-10.1.0-RC3 cm-10.1.0-RC4 cm-10.1.0-RC5
Daniel Hillenbrand [Sun, 5 May 2013 10:41:55 +0000 (12:41 +0200)]
macloader: add 5C:F8:A1 to murata

Change-Id: Ic328f6265ce9e5b09b86843b5dea3f1594d09163

11 years agoexynos4210: lights: add missing brightness check cm-10.1-M2 cm-10.1-M3
codeworkx [Sat, 2 Mar 2013 18:23:50 +0000 (18:23 +0000)]
exynos4210: lights: add missing brightness check

Change-Id: I7d307fbfe7581bfa76e7f4f6ce50f759683bf9dc

11 years agoexynos4: Add open source libsecion.
angelsl [Mon, 18 Feb 2013 10:48:53 +0000 (18:48 +0800)]
exynos4: Add open source libsecion.

This libsecion is reverse engineered from the libsecion.so blob and then
written based on the Exynos 5 libion available in AOSP.

Change-Id: Ibe69047c78491e3c7f3173b18fcabdf327fcfbd0
Signed-off-by: angelsl <hidingfromhidden@gmail.com>
11 years agoexynos3: power: Tuning and cleanups
Steve Kondik [Sat, 9 Feb 2013 03:47:56 +0000 (21:47 -0600)]
exynos3: power: Tuning and cleanups

* Tune the governor for better power usage and interactivity
* Reset tuning parameters if governor changes
* Cleanup

Change-Id: Ibe60ece836a0e56ba58e109bbea26cbd54d75421

11 years agoexynos4: update media headers
codeworkx [Sun, 17 Feb 2013 15:05:49 +0000 (15:05 +0000)]
exynos4: update media headers

Change-Id: Ia6221554d290c46f11c68e276dda41c8ebe3a7ab

11 years agogralloc: Remove hacks cm-10.1-M1
Andrew Dodd [Sun, 13 Jan 2013 19:57:43 +0000 (14:57 -0500)]
gralloc: Remove hacks

Stock gralloc doesn't have these alignment hacks.  In fact
they currently do nothing and won't until we fix HWC.

Change-Id: I3427cf3fed84a023ba6ed69b0e0fe0b63ea00886

11 years agogralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic
Andrew Dodd [Tue, 18 Dec 2012 22:11:01 +0000 (17:11 -0500)]
gralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic

This caused the ION pointer to get clobbered with a UMP
pointer when FIMC1 memory was requested.

After a while, camera would be unable to allocate buffers
due to ION memory not being freed properly.

Change-Id: I1ba1d27da924a0bb81631548e83c7f3e5789f319

11 years agoinclude ril for exynos4210
R. Andrew Ohana [Mon, 17 Dec 2012 06:47:37 +0000 (22:47 -0800)]
include ril for exynos4210

Building libsecril-client from source works perfectly well
on the i815. It will probably work well with the gsm devices
as well.

Change-Id: I4f394555d82fb48a86ea52212d9fb56ca0e8acd3

11 years agomacloader: add new murata value
codeworkx [Thu, 13 Dec 2012 16:23:45 +0000 (17:23 +0100)]
macloader: add new murata value

Change-Id: I1bc1aa88ec58f406fcf46a7c118ef577d6b0fb78

11 years agoMerge "hwc: Pull in updates from exynos3 hwc" into mr1-staging mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 12:57:03 +0000 (04:57 -0800)]
Merge "hwc: Pull in updates from exynos3 hwc" into mr1-staging

11 years agohwc: Pull in updates from exynos3 hwc
Andrew Dodd [Mon, 3 Dec 2012 02:50:58 +0000 (21:50 -0500)]
hwc: Pull in updates from exynos3 hwc

Change-Id: I61e1556da3e2d1e9a8b9c22163f4f11982bda7dc

11 years agoMerge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 06:41:07 +0000 (22:41 -0800)]
Merge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging

11 years agoexynos4: libhwcomposer: disable debugging
codeworkx [Sun, 9 Dec 2012 08:51:22 +0000 (09:51 +0100)]
exynos4: libhwcomposer: disable debugging

Change-Id: Iead8beee1c2c40b3c7ce1277c84dc180fb96ecb8

11 years agogralloc: Back out hacks now that Mali-derping is fixed
Andrew Dodd [Sat, 8 Dec 2012 17:27:01 +0000 (12:27 -0500)]
gralloc: Back out hacks now that Mali-derping is fixed

Two reverts squashed, due to Mali-derping being fixed
in frameworks/native:

Revert "gralloc: avoid using framebuffer"

This reverts commit 5125ccc5b6d9a4bf1256a4a57f6d5f7d0ebe26c9.

Revert "gralloc:  Send first 2 FB buffers to carveout and next to UMP"

This reverts commit d288deb284f205c6b0eae04b27377c902afaf24e.

Change-Id: I530dc255b7543e03d0e8277d3ad12ed11d6649ab

11 years agoexynos4: gralloc: fix fimc1/ion logic
codeworkx [Fri, 7 Dec 2012 19:51:05 +0000 (20:51 +0100)]
exynos4: gralloc: fix fimc1/ion logic

Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d

11 years agoexynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1
Andrew Dodd [Thu, 6 Dec 2012 06:12:38 +0000 (01:12 -0500)]
exynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1

Mobile's blobs behave this way, except they don't do the
4k alignment done by the FIMC1 allocs.

The 4k alignment should fix issues such as NHK World Live TV,
but fails to do so.

Change-Id: I1ee4cd13e23f9f2f6c6616ee9eed1096b571a82c

12 years agogralloc_priv: Remove unused yaddr member
Andrew Dodd [Thu, 6 Dec 2012 05:16:18 +0000 (00:16 -0500)]
gralloc_priv: Remove unused yaddr member

Mobile's blobs don't appear to have been compiled with this
present in their headers, and none of the Insignal sources
actually use this.

Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4

12 years agogralloc: Let } rejoin its people
Andrew Dodd [Wed, 5 Dec 2012 05:47:48 +0000 (00:47 -0500)]
gralloc: Let } rejoin its people

This is the story of poor }.  It is a painful saga.

Samsung left } floating inside the galaxy of framebuffer_alloc,
unable to join its brethren on the planet of STANDARD_LINUX_SCREEN
when they were shifted out of the #ifdef dimension.

codeworkx brutally eliminated poor } from the galaxy, it was
nowhere to be seen.  codeworkx then took pity on the } and
placed it back on the planet of STANDARD_LINUX_SCREEN, but
placed it on a continent where it was all alone, unable to
ever see its mate {

Take pity on poor }, let it rejoin its people on the correct
continent of the planet STANDARD_LINUX_SCREEN, so they may
all shift out of the #ifdef dimension together.

Change-Id: I7a700b73ccd2c91f91d9af3704930759f46978c7

12 years agogralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video
codeworkx [Mon, 3 Dec 2012 21:21:46 +0000 (22:21 +0100)]
gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video

Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff

12 years agogralloc: avoid using framebuffer
codeworkx [Mon, 3 Dec 2012 20:22:06 +0000 (21:22 +0100)]
gralloc: avoid using framebuffer

Change-Id: I216b4b67f09729d00d337512ab17ff378f218a33

12 years agogralloc: do it the android way
codeworkx [Mon, 3 Dec 2012 17:15:06 +0000 (18:15 +0100)]
gralloc: do it the android way

Change-Id: I54d7cfcbf39a97a340cf5b807537c39584c0e50a

12 years agogralloc: hello }, welcome back at your new home
codeworkx [Mon, 3 Dec 2012 17:11:28 +0000 (18:11 +0100)]
gralloc: hello }, welcome back at your new home

Change-Id: I86f80b78325f37f2d46b0c3b08818ab1274242e9

12 years agogralloc: hello }, what are you doing there?
codeworkx [Mon, 3 Dec 2012 17:05:53 +0000 (18:05 +0100)]
gralloc: hello }, what are you doing there?

Change-Id: Idf59890cb41e97004039a71e4b32f3d263b89482

12 years agogralloc: Send first 2 FB buffers to carveout and next to UMP
Espen Fjellvær Olsen [Sun, 2 Dec 2012 20:05:31 +0000 (21:05 +0100)]
gralloc:  Send first 2 FB buffers to carveout and next to UMP

Taken from QCOM gralloc:

commit d80a52cbf961d737f6f3beef47b868a581b98591
Author: Saurabh Shah <saurshah@codeaurora.org>
Date:   Tue Oct 2 14:32:40 2012 -0700

gralloc:  Send first 2 FB buffers to carveout and next to IOMMU

Gralloc uses the GRALLOC_USAGE_HW_FB flag to allocate memory from carveout.
This is fine for primary framebuffer, but for external framebuffer we need IOMMU
heap buffers, since the ioctls for external work with those.

Ideally, the primary buffers also need to come from IOMMU heap, which is ongoing
work. This patch allocates the first 2 FB buffer requests (assuming they are for
    primary) from carveout and allocates all subsequent buffers from IOMMU heap.

Bug: 7124159
Change-Id: Ie53b2e1e7fcac136acd2d251f39cefe367fc7125
Signed-off-by: Iliyan Malchev <malchev@google.com>
12 years agoRevert "exynos4: gralloc: higher number of buffers for page flipping"
codeworkx [Mon, 3 Dec 2012 16:43:43 +0000 (17:43 +0100)]
Revert "exynos4: gralloc: higher number of buffers for page flipping"

This reverts commit 8b9deaf74eba92bac8725666c2f99e51412a5b6f.

12 years agolibhwcomposer: keep window 2 open
codeworkx [Sun, 2 Dec 2012 18:39:25 +0000 (19:39 +0100)]
libhwcomposer: keep window 2 open

Window 2 is used to query global info about the LCD.

Kanged from patch for aries by Greg Hackmann <ghackmann@google.com>

Change-Id: Idf754d4536337d6c06652c1d0c744dc7c0936b15

12 years agoexynos4: gralloc: higher number of buffers for page flipping
codeworkx [Sat, 1 Dec 2012 22:54:58 +0000 (23:54 +0100)]
exynos4: gralloc: higher number of buffers for page flipping

12 years agoexynos4: hwcomposer: add uevent vsync handling
codeworkx [Sat, 1 Dec 2012 18:37:39 +0000 (19:37 +0100)]
exynos4: hwcomposer: add uevent vsync handling

12 years agoexynos4: libhwcomposer: update for new api version
espenfjo [Sat, 1 Dec 2012 17:52:36 +0000 (18:52 +0100)]
exynos4: libhwcomposer: update for new api version

12 years agoexynos4: update gralloc from insignal, modify it to work with libsecion
codeworkx [Sat, 1 Dec 2012 17:45:44 +0000 (18:45 +0100)]
exynos4: update gralloc from insignal, modify it to work with libsecion

12 years agoexynos4: add missing pixel format definitions
codeworkx [Tue, 27 Nov 2012 11:34:52 +0000 (12:34 +0100)]
exynos4: add missing pixel format definitions

Change-Id: I0386e8a9209d4f6633f67aa028c512e749c2c857

12 years agoMerge "s5pc110: hwcomposer: update to hwcomposer HAL v1 api" into mr1-staging
Daniel Hillenbrand [Fri, 23 Nov 2012 12:49:15 +0000 (04:49 -0800)]
Merge "s5pc110: hwcomposer: update to hwcomposer HAL v1 api" into mr1-staging

12 years agoexynos5: remove sources
Chirayu Desai [Fri, 16 Nov 2012 09:02:19 +0000 (14:32 +0530)]
exynos5: remove sources

- upstream has them at hardware/samsung_slsi

Change-Id: I6721098016ea7d760b553d533613ffc450eefd86

12 years agos5pc110: hwcomposer: update to hwcomposer HAL v1 api
Pawit Pornkitprasan [Fri, 23 Nov 2012 07:24:32 +0000 (14:24 +0700)]
s5pc110: hwcomposer: update to hwcomposer HAL v1 api

Change-Id: I2dc71cca002a1c36898831c54e2bea281ac98744

12 years agoexynos3: libhdmi: initial commit
Petr Havlena [Thu, 15 Nov 2012 08:37:10 +0000 (14:07 +0530)]
exynos3: libhdmi: initial commit

Change-Id: Iee23cf3b6e746c3a20adf7b90ab930a3cba50d5c

12 years agoexynos3: hwc: add hdmi support
Petr Havlena [Fri, 26 Oct 2012 12:22:00 +0000 (17:52 +0530)]
exynos3: hwc: add hdmi support

Change-Id: I9def46f17fc2b3042af776b253ac3441fd6d3405

12 years agoexynos3: fimc: fix
Petr Havlena [Thu, 15 Nov 2012 08:53:02 +0000 (14:23 +0530)]
exynos3: fimc: fix

- remove conflicting prototypes from s5p_fimc.h,
  libhdmi needs another version of fimc.

Change-Id: I22a6b016c7a9a701bf9b70d63db84b0c8258495b

12 years agoexynos4x12: add nfc package
codeworkx [Sun, 11 Nov 2012 10:38:03 +0000 (11:38 +0100)]
exynos4x12: add nfc package

Change-Id: Ife5522ad65d68d5ed0ca3a79a50ca86fedfb88e6

12 years agoexynos3: omx: moar love for p1 jellybean-stable
Chirayu Desai [Tue, 16 Oct 2012 10:20:18 +0000 (15:50 +0530)]
exynos3: omx: moar love for p1

- bump up mfc memsize
- use H/W decoding for TV-Out

Change-Id: I9425a371c29671e4ba9f82207f79d236ff6731e1

12 years agoexynos3: power HAL: add support for interactive governor
jt1134 [Sat, 20 Oct 2012 04:17:48 +0000 (23:17 -0500)]
exynos3: power HAL: add support for interactive governor

completely kanged from d2 power HAL

Change-Id: I4f6c32165251ae76c97afb715dde1fee9544430b

12 years agoMove macloader to hardware/samsung
R. Andrew Ohana [Thu, 4 Oct 2012 02:52:52 +0000 (19:52 -0700)]
Move macloader to hardware/samsung

There are quite a few different Samsung devices which require
macloader (many of which are just using binary blobs), so we
should move it out of the device trees.

Change-Id: I9e23fca0ba4c17da328cace801a92fa57df9a862

12 years agoPower HAL: Remove sampling rate change
Pawit Pornkitprasan [Sun, 30 Sep 2012 11:24:57 +0000 (18:24 +0700)]
Power HAL: Remove sampling rate change

Sampling rate change causes stutter while playing music.
Stutter appears randomly, but has a higher chance of appearing
when the screen goes from off to on.

Change-Id: I9b23212165203c7ff7ef65021be09fd366e55770

12 years agos5pc110: Add Power HAL (userspace CPU boosting)
Pawit Pornkitprasan [Tue, 25 Sep 2012 14:17:58 +0000 (21:17 +0700)]
s5pc110: Add Power HAL (userspace CPU boosting)

The majority of this commit is by Steve Kondik for the D2, modified
by Daniel Bateman and me.

Change-Id: Id6c1a1f0c6b39d5d20a765545526c07ad0fc64f6

12 years agoexynos3: Implement custom VSYNC IOCTL
Michael Brehm [Sat, 15 Sep 2012 07:03:39 +0000 (02:03 -0500)]
exynos3: Implement custom VSYNC IOCTL

* Replace crespo-based VSYNC uevent mechanism in hwcomposer
  with a custom IOCTL mechanism instead (required kernel
  modifications.

* The VSYNC uevents were spamming the Android UEventObserver
  and causing about 7% of constant CPU load

  c86856efabfa0b2981ceb47898dc5873a4998707

Improve custom VSYNC handler in hwcomposer

* only poll when necessary
* solves suspend/resume instability?

  45bf1dae7fa9057a3415151f7559e7bd2a162ead

Change-Id: Icdb5c60059e71688479d390b7b3a1f09a0315a5f

12 years agoexynos3: Add V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD to camera header
Pawit Pornkitprasan [Sat, 18 Aug 2012 15:02:03 +0000 (22:02 +0700)]
exynos3: Add V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD to camera header

Used by aries

Change-Id: I9cb4bb8c03a257468addb88ea18f7ff3473230ef

12 years agoexynos3: initial commit
Chirayu Desai [Thu, 12 Jul 2012 09:07:05 +0000 (14:37 +0530)]
exynos3: initial commit

Patch Set 2: removed unused files,
as audio, camera and sensors are device specific

Patch Set 3: aries OMX

Patch Set 5: liblight patch for epic

Patch Set 9: liblight(s) is device specific, rmed it from here.

Change-Id: I57a3d5714037836bab441ee5a3e772c260fb21d4

12 years agoexynos4: added secril-client and secril-client-sap sources
codeworkx [Fri, 3 Aug 2012 21:32:29 +0000 (23:32 +0200)]
exynos4: added secril-client and secril-client-sap sources

taken from i9100 update7 and i9300 update4

Change-Id: I1188c8c43c07ff179bc592a22345e4db9d8a56bf

12 years agolights: use a hardcoded value for led brightness
Daniel Hillenbrand [Thu, 2 Aug 2012 20:49:27 +0000 (22:49 +0200)]
lights: use a hardcoded value for led brightness

Change-Id: I2badc13aeb1871898ba001940ccabbb5ddfa53cb

12 years agofix libcamera and fimc conflict
Daniel Hillenbrand [Sun, 22 Jul 2012 15:32:42 +0000 (17:32 +0200)]
fix libcamera and fimc conflict

12 years agounderp logging
Daniel Hillenbrand [Sun, 22 Jul 2012 14:14:08 +0000 (16:14 +0200)]
underp logging

12 years agoexynos hal: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:45:33 +0000 (15:45 +0200)]
exynos hal: jellybean compat

12 years agoexynos4210 lights: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:34:24 +0000 (15:34 +0200)]
exynos4210 lights: jellybean compat

12 years agoexynos4x12 lights: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:32:08 +0000 (15:32 +0200)]
exynos4x12 lights: jellybean compat

12 years agoexynos4x12: calibrate led colors, lights cleanup, disable debugging cm-9.1.0 ics ics-release
codeworkx [Sat, 7 Jul 2012 15:34:03 +0000 (17:34 +0200)]
exynos4x12: calibrate led colors, lights cleanup, disable debugging

blue and green leds are much stronger than the red one,
dim them down to get true colors (especially yellow).

Change-Id: I61c5f39e90e6392752a0e80a96e5e317427ea4a2

12 years agoexynos4210: moved libsensors to galaxys2 device tree
codeworkx [Wed, 11 Jul 2012 14:14:28 +0000 (16:14 +0200)]
exynos4210: moved libsensors to galaxys2 device tree

Change-Id: Ie479fbbf1a4d2fd879dc4fe63d97f9efac1ebfc0

12 years agosensors: Fix conversion values
Andrew Dodd [Wed, 11 Jul 2012 02:44:59 +0000 (22:44 -0400)]
sensors: Fix conversion values

Our kernel sets the gyro to 500 DPS and not 2000 DPS.
In addition, X and Y are swapped and Y is not inverted.

Also change the orientation sensor conversion factors to
match that found in aries-common since the orientation
sensor seemed overly sensitive.  However, the orientation
sensor might not actually do anything...  Android may
be performing sensor fusion of other data to determine
orientation.

Change-Id: I03df5d7bac9d58881e360546af4cf77878802807

12 years agoexynos4212 liblights: remove unused BUTTON_POWER define
Sam Mortimer [Mon, 2 Jul 2012 06:33:50 +0000 (23:33 -0700)]
exynos4212 liblights: remove unused BUTTON_POWER define

Change-Id: I1e911e234ed45924c263d85741f395ecf54414f1

12 years agoMerge "exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjust...
Daniel Hillenbrand [Mon, 9 Jul 2012 10:14:28 +0000 (14:14 +0400)]
Merge "exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts" into ics

12 years agoliblights: Fix reading of previous brightness value
XpLoDWilD [Sat, 7 Jul 2012 20:58:23 +0000 (22:58 +0200)]
liblights: Fix reading of previous brightness value

Change-Id: Ie175521033b3a8d96197794cff1a2dce89e516c3

12 years agoexynos4: added missing gralloc defines for hdmi
codeworkx [Tue, 3 Jul 2012 17:22:20 +0000 (19:22 +0200)]
exynos4: added missing gralloc defines for hdmi

Change-Id: Ie489452003c30e05f3fdf36a0643963ce4ae0c2e

12 years agoexynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts
Sam Mortimer [Mon, 2 Jul 2012 05:46:59 +0000 (22:46 -0700)]
exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts

clone of http://review.cyanogenmod.com/#/c/18372/

becomes relevant when these are applied:
smdk4210 kernel: cypress touchkey led_timeout functionality (1/2)
http://review.cyanogenmod.com/#/c/18357/
galaxys2/i777: configurable touchkey backlight timeout (2/2)
http://review.cyanogenmod.com/#/c/18431/

Change-Id: I3d4df6574cdd3c6317199a884ef7ac72cb4c71a3

12 years agofix for fix keypad lighting up when screen backlight auto-adjusts
codeworkx [Sun, 1 Jul 2012 14:15:52 +0000 (16:15 +0200)]
fix for fix keypad lighting up when screen backlight auto-adjusts

Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238

12 years agofix keypad lighting up when screen backlight auto-adjusts
Gary D [Thu, 28 Jun 2012 09:05:36 +0000 (05:05 -0400)]
fix keypad lighting up when screen backlight auto-adjusts

If the screen backlight was already lit and is just changing brightness,
don't blindly illuminate the keypad

Change-Id: If7473eb57aa4d48bc98a4bb42b9becc80764b1f8
Signed-off-by: Gary D <garyd9@gmail.com>
12 years agoliblights: Store LED battery status and restore it after a notification LED blinking
XpLoDWilD [Tue, 26 Jun 2012 11:23:55 +0000 (13:23 +0200)]
liblights: Store LED battery status and restore it after a notification LED blinking

Change-Id: Ifd01e3dea28ecc0dac94f2ff44b94e81493ba2a4

12 years agolights: lower battery led brightness
codeworkx [Sun, 24 Jun 2012 17:21:40 +0000 (19:21 +0200)]
lights: lower battery led brightness

Change-Id: I9cd680a760f81d0b131dc3e9d37e5f8f19171c00

12 years agoexynos4x12: lower brightness on battery light
codeworkx [Fri, 22 Jun 2012 15:13:18 +0000 (17:13 +0200)]
exynos4x12: lower brightness on battery light

Change-Id: Ic3cd8f9bac985e09d7f7df0521cbaadfc9640f11

12 years agosmdk4x12: lights: battery led support
codeworkx [Thu, 21 Jun 2012 03:40:51 +0000 (05:40 +0200)]
smdk4x12: lights: battery led support

Change-Id: Ida4e7bd998251ec07a9874f695d1fef9f97a1b0c

12 years agoMerge "omx: build shared instead of static libs for exynos4x12" into ics
codeworkx [Sat, 16 Jun 2012 13:00:32 +0000 (17:00 +0400)]
Merge "omx: build shared instead of static libs for exynos4x12" into ics

12 years agoFix blue light sticking and fixed delays
XpLoDWilD [Thu, 14 Jun 2012 17:48:19 +0000 (19:48 +0200)]
Fix blue light sticking and fixed delays

Change-Id: I1a9a92eaaf09f6a5524e0d08b4fdefa2b7ba000d

12 years agoexynos4x12: add lights module
codeworkx [Mon, 11 Jun 2012 15:47:21 +0000 (17:47 +0200)]
exynos4x12: add lights module

Change-Id: Ib37f0b7cc94a5b9607817e3b3bee4814074517a4

12 years agoomx: build shared instead of static libs for exynos4x12
codeworkx [Sun, 10 Jun 2012 14:38:12 +0000 (16:38 +0200)]
omx: build shared instead of static libs for exynos4x12

Change-Id: Idac85baf743ea26a5953538f8f931908c15ad754

12 years agoexynos4: hdmi: fix invalid conversion from void* to unsigned int
codeworkx [Fri, 8 Jun 2012 09:01:47 +0000 (11:01 +0200)]
exynos4: hdmi: fix invalid conversion from void* to unsigned int

Change-Id: Ib81076f7f85719cd7bc318d45a0b176211b0ee89

12 years agocodecs: build shared mfcapi lib on exynos4x12
codeworkx [Mon, 4 Jun 2012 23:54:17 +0000 (01:54 +0200)]
codecs: build shared mfcapi lib on exynos4x12

Change-Id: I8a09f8e6e86191197f0382e5c40e6acd16f33cda

12 years agocodecs: mfcapi compatibility patch for exynos4x12
codeworkx [Mon, 4 Jun 2012 23:39:35 +0000 (01:39 +0200)]
codecs: mfcapi compatibility patch for exynos4x12

Change-Id: I2fe0d481506d374e8fa6a71b56d4dddee3f132b1

12 years agoAdd Red/Blue LED notification support
sbrissen [Fri, 25 May 2012 13:40:54 +0000 (09:40 -0400)]
Add Red/Blue LED notification support

This will allow the use of the red/blue led's on the sph-d710
Uses BOARD_HAS_LED_NOTIF in boardconfig.

Change-Id: Ic217ed5b0ec673d03bb596fbde0ac725a5ca0887

12 years agoliblights: adjust file location for smdk4210 kernel
codeworkx [Wed, 23 May 2012 18:22:25 +0000 (20:22 +0200)]
liblights: adjust file location for smdk4210 kernel

Change-Id: Ib66a360729d25619b4270f081659b18e18437be3

12 years agoexynos: Improve H264 encode quality
athurh [Mon, 21 May 2012 19:55:40 +0000 (21:55 +0200)]
exynos: Improve H264 encode quality

Change-Id: I0c184daecffe644445c759deeeb8895f69c1755b

12 years agoAndroid.mk: only include directory for exynos devices
R. Andrew Ohana [Mon, 21 May 2012 08:47:01 +0000 (01:47 -0700)]
Android.mk: only include directory for exynos devices

we should play nice with other devices that have there own libraries with the same name

Change-Id: Icf208e38094e4317d3546578176ab149a4e4b5b9

12 years agoexynos: reorganized and updated from insignal
codeworkx [Sun, 20 May 2012 10:00:36 +0000 (12:00 +0200)]
exynos: reorganized and updated from insignal

Changes needed on exynos4210 devices:

libcsc -> libseccscapi
libswconverter -> remove

TARGET_HAL_PATH := hardware/samsung/exynos4/hal
TARGET_OMX_PATH := hardware/samsung/exynos/multimedia/openmax
$(call inherit-product, hardware/samsung/exynos4210.mk)

Change-Id: Ic59ef95b85ef37b3f38fb36cf6a364a5414685ee

12 years agoliblights: Fix touch key lights coming on when screen brightness is adjusted
Phil Tunstall [Thu, 17 May 2012 15:25:38 +0000 (16:25 +0100)]
liblights: Fix touch key lights coming on when screen brightness is adjusted

Only tested on GT-I9100

Change-Id: I2be3c5ce74799bea310a65bc75dd90985b9d17d6

12 years agoOMX: Improve H264 encode quality
athurh [Sun, 6 May 2012 03:18:28 +0000 (05:18 +0200)]
OMX: Improve H264 encode quality

Change-Id: I874d393e9f1f357b3125cad4a04526aa7336c6ca

12 years agoUpdate AkmSensor to manually set poll interval
Espen Fjellvær Olsen [Thu, 19 Apr 2012 08:05:35 +0000 (10:05 +0200)]
Update AkmSensor to manually set poll interval

Change-Id: I84fc5c3fc1cb552874129512ea6dfc19b1f9a60a

12 years agoadded tablet support to liblights
R. Andrew Ohana [Sun, 1 Apr 2012 07:30:55 +0000 (00:30 -0700)]
added tablet support to liblights

Change-Id: I778167e6fc10a8162a20771b9b4953af28fc1a97

12 years agoRemove in_output_mode missing from the kernel part. Thanks to Zlodo from XDA
Espen Fjellvær Olsen [Thu, 29 Mar 2012 20:02:35 +0000 (22:02 +0200)]
Remove in_output_mode missing from the kernel part. Thanks to Zlodo from XDA

Change-Id: I07106e2af67a1565827bd71954868b7132473a5d

12 years agolibump: include fixes
codeworkx [Sat, 24 Mar 2012 18:21:30 +0000 (19:21 +0100)]
libump: include fixes

Change-Id: Ib1a815d443c9efa9ef25579a470b6df1fdf023b2

12 years agoremoved unneeded filters on makefiles
codeworkx [Sat, 24 Mar 2012 16:55:51 +0000 (17:55 +0100)]
removed unneeded filters on makefiles

12 years agoinitial commit, taken and modified from linaro/insignal
codeworkx [Sat, 24 Mar 2012 16:38:29 +0000 (17:38 +0100)]
initial commit, taken and modified from linaro/insignal