platform/adaptation/tm1/sensor-hal-tm1.git
7 years agoMerge branch 'devel/tizen_3.0' into tizen 84/70884/1 accepted/tizen/mobile/20160523.103238 submit/tizen_mobile/20160523.074427
kibak.yoon [Mon, 23 May 2016 07:00:26 +0000 (16:00 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-hal-tm1: sync with sensor-hal-tw1 HAL

Change-Id: I5589514e03d28f5cde7c397eb0978ec7c602ba53
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: sync with sensor-hal-tw1 HAL 78/69078/1
kibak.yoon [Wed, 11 May 2016 09:45:00 +0000 (18:45 +0900)]
sensor-hal-tm1: sync with sensor-hal-tw1 HAL

- clean up the code for maintenance.

Change-Id: Id0012c3341c31b4778a22bfa25cf6b44c07b2cf4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 30/67130/1 accepted/tizen/mobile/20160426.103717 submit/tizen_mobile/20160426.040614
kibak.yoon [Mon, 25 Apr 2016 08:55:07 +0000 (17:55 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-hal-tm1: version 1.0.2
  sensor-hal-tm1: open data nodes with the read-only permission

Change-Id: Idacd5f958fb4f9305b849692cbb07c0114d85e90
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: version 1.0.2 29/67129/1
kibak.yoon [Mon, 25 Apr 2016 08:54:33 +0000 (17:54 +0900)]
sensor-hal-tm1: version 1.0.2

Change-Id: If6e115c5f48386776b099f1930a5d19a1fa38265
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: open data nodes with the read-only permission 62/66462/1
kibak.yoon [Tue, 19 Apr 2016 05:04:40 +0000 (14:04 +0900)]
sensor-hal-tm1: open data nodes with the read-only permission

- because sensord doesn't write something to those nodes,
  WRITE permission is unnecessary.

Change-Id: I0de7f777e970fe451169f52ca61ad903cb141cdf
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 46/64746/1 accepted/tizen/mobile/20160405.084129 submit/tizen_mobile/20160405.021143
kibak.yoon [Tue, 5 Apr 2016 07:45:49 +0000 (16:45 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-hal-tm1: remove unused functions in accel/proxi

Change-Id: Ic95c4cd3656176f6e030bcd12a60da5b5c216440
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: remove unused functions in accel/proxi 41/64741/1
kibak.yoon [Tue, 5 Apr 2016 07:40:46 +0000 (16:40 +0900)]
sensor-hal-tm1: remove unused functions in accel/proxi

Change-Id: I9d764d493beef1ecd0fba81d2c175c0511e3d8e4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 31/64631/1
kibak.yoon [Mon, 4 Apr 2016 08:48:29 +0000 (17:48 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-hal-tm1: rename sensor_logs.h to sensor_log.h
  sensor-hal: change strerror to strerror_r
  Revert "sensor-hal: change strerror to strerror_r"
  Revert "sensor-hal-tm1: rename sensor_logs.h to sensor_log.h"
  sensor-hal: change readdir to readdir_r
  sensor-hal-tm1: rename sensor_logs.h to sensor_log.h
  sensor-hal: change strerror to strerror_r

Change-Id: I2fb40b060880a3e3f244912160f3a89ca5fbb695
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge "sensor-hal-tm1: rename sensor_logs.h to sensor_log.h" into devel/tizen_3.0
Mu-Woong Lee [Sun, 3 Apr 2016 04:57:20 +0000 (21:57 -0700)]
Merge "sensor-hal-tm1: rename sensor_logs.h to sensor_log.h" into devel/tizen_3.0

8 years agoMerge "sensor-hal: change strerror to strerror_r" into devel/tizen_3.0
Mu-Woong Lee [Sun, 3 Apr 2016 04:56:18 +0000 (21:56 -0700)]
Merge "sensor-hal: change strerror to strerror_r" into devel/tizen_3.0

8 years agoMerge "sensor-hal: change readdir to readdir_r" into devel/tizen_3.0
Mu-Woong Lee [Sun, 3 Apr 2016 04:54:47 +0000 (21:54 -0700)]
Merge "sensor-hal: change readdir to readdir_r" into devel/tizen_3.0

8 years agosensor-hal-tm1: rename sensor_logs.h to sensor_log.h 24/64524/1
kibak.yoon [Fri, 1 Apr 2016 12:48:54 +0000 (21:48 +0900)]
sensor-hal-tm1: rename sensor_logs.h to sensor_log.h

Change-Id: I058aead086b36f9af74203658920a598e4870a9a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: change strerror to strerror_r 23/64523/1
kibak.yoon [Fri, 1 Apr 2016 07:46:36 +0000 (16:46 +0900)]
sensor-hal: change strerror to strerror_r

* use thread-safe function(strerror_r)

Change-Id: Ife323d8c775d7c860c7a37c5b888cbc155a6477e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoRevert "sensor-hal: change strerror to strerror_r"
kibak.yoon [Fri, 1 Apr 2016 13:24:16 +0000 (22:24 +0900)]
Revert "sensor-hal: change strerror to strerror_r"

This reverts commit 61747df734a8ecbc294f6fbf4df00efb71fc8551.

8 years agoRevert "sensor-hal-tm1: rename sensor_logs.h to sensor_log.h"
kibak.yoon [Fri, 1 Apr 2016 13:24:06 +0000 (22:24 +0900)]
Revert "sensor-hal-tm1: rename sensor_logs.h to sensor_log.h"

This reverts commit 786950f13d277f06da7af4455ad8327955885f11.

8 years agosensor-hal: change readdir to readdir_r 75/64475/4
kibak.yoon [Fri, 1 Apr 2016 07:54:20 +0000 (16:54 +0900)]
sensor-hal: change readdir to readdir_r

* use thread-safe API(readdir_r)
* remove the assign statement in while condition

Change-Id: I6e052744eb06da2c50bf59541505f26ac043a3c4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: rename sensor_logs.h to sensor_log.h
kibak.yoon [Fri, 1 Apr 2016 12:48:54 +0000 (21:48 +0900)]
sensor-hal-tm1: rename sensor_logs.h to sensor_log.h

Change-Id: Ibfab695dec5c07dd7d4b01062ac8ea572dea21ad
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: change strerror to strerror_r 43/64443/3
kibak.yoon [Fri, 1 Apr 2016 07:46:36 +0000 (16:46 +0900)]
sensor-hal: change strerror to strerror_r

* use thread-safe function(strerror_r)

Change-Id: I89366cc60f758be78ef7c6e8a9d6ac4b38e62942
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 48/63948/1 accepted/tizen/mobile/20160329.043559 submit/tizen_mobile/20160329.031840
kibak.yoon [Tue, 29 Mar 2016 03:15:52 +0000 (12:15 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0:
  sensor-hal: proxi: fix the value of proximity

Change-Id: Ia7be8947ead7e271712a1d5b79c75d009c24a785
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: proxi: fix the value of proximity 47/63947/1
kibak.yoon [Tue, 29 Mar 2016 03:15:11 +0000 (12:15 +0900)]
sensor-hal: proxi: fix the value of proximity

Change-Id: I38070dedcf0c37c55eaf80adffb8d36a00a8f862
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoMerge branch 'devel/tizen_3.0' into tizen 23/59423/1 accepted/tizen/mobile/20160217.080647 submit/tizen_common/20160222.141210 submit/tizen_mobile/20160217.011241
kibak.yoon [Mon, 15 Feb 2016 10:44:48 +0000 (19:44 +0900)]
Merge branch 'devel/tizen_3.0' into tizen

* devel/tizen_3.0: (30 commits)
  sensor-hal-tm1: version 1.0.1
  sensor-hal: rename sensor_handle_t to sensor_info_t
  sensor-hal: move sensor_hal.h to sensor-hal-devel package
  sensor-hal: change the interface of set_attribute_*
  sensorhub-hal: set the id as the library number
  sensor-hal: change the type of id to uint32_t
  sensor-hal-sensorhub: fix the bug caused by static member variable
  sensor-hal: add interface of sensorhub
  sensor-hal-tm1: enable proximity sensor
  sensor-hal-tm1: modify Sensor HAL interface
  sensor-hal-tm1: rename package name to sensor-hal-tm1
  sensor-hal-tm1: remove unused sensors on TM1
  sensor-hal: unify code style for class brackets
  sensor-hal: add including stdbool.h
  sensor-hal: modify HAL interface for batching
  sensor-hal: remove vector in sensro HAL interface
  sensor-hal: refactoring sensor HAL interface
  sensor-hal: clean up the code and dependency
  sensor-hal: change sensor_device_base to util class
  sensor-hal: re-organize build procedure
  ...

Change-Id: I3cde5acacd5cd7f032b2210d57c159d2f2555f6b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: version 1.0.1 16/59416/1
kibak.yoon [Mon, 15 Feb 2016 10:30:41 +0000 (19:30 +0900)]
sensor-hal-tm1: version 1.0.1

Change-Id: Idaba7fcef331df058219a3807707139456451090
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: rename sensor_handle_t to sensor_info_t 03/59403/2
kibak.yoon [Mon, 15 Feb 2016 09:49:45 +0000 (18:49 +0900)]
sensor-hal: rename sensor_handle_t to sensor_info_t

Change-Id: I6df3bd8701794d5964d8330ac219d4abe7c47bc7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: move sensor_hal.h to sensor-hal-devel package 43/59343/1
kibak.yoon [Sat, 13 Feb 2016 04:13:05 +0000 (13:13 +0900)]
sensor-hal: move sensor_hal.h to sensor-hal-devel package

Change-Id: I8695389a17dfbfe2a9d7a9461a137a935ddcfc34
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: change the interface of set_attribute_* 85/59285/2
kibak.yoon [Fri, 12 Feb 2016 06:36:21 +0000 (15:36 +0900)]
sensor-hal: change the interface of set_attribute_*

Change-Id: I0cda7289e9251f4ce794b8df0ef18c07f67e0f2a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensorhub-hal: set the id as the library number 84/59284/7
kibak.yoon [Fri, 12 Feb 2016 06:25:28 +0000 (15:25 +0900)]
sensorhub-hal: set the id as the library number

Change-Id: Ic4f39f627e24e5da5d2f75eaaff6e6082062c71e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: change the type of id to uint32_t 81/59281/1
kibak.yoon [Fri, 12 Feb 2016 06:03:36 +0000 (15:03 +0900)]
sensor-hal: change the type of id to uint32_t

Change-Id: I27de063be69b3b253f244b61704fcaccc18aaf9e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-sensorhub: fix the bug caused by static member variable 34/59234/5
kibak.yoon [Thu, 11 Feb 2016 14:19:25 +0000 (23:19 +0900)]
sensor-hal-sensorhub: fix the bug caused by static member variable

- static member variable has to be declared for using it.
  strangely std::vector variable is always okay regardless of a compile
  order if it is declared once anywhere. but std::map is not okay.
  dlopen() invokes the segmentation error when std::map variable is used.
  but if compile file order is changed, it doesn't have problem....
- because the problem about initializing static member variable, it is
  issued. so this patch just changes manager/controller to singleton class
  for removing the code that use static variables.
- now it is fixed.

Change-Id: I84777861e5afc374a2ceecbd4d420a90c8f2c1ef
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: add interface of sensorhub 82/58982/1
kibak.yoon [Fri, 5 Feb 2016 12:43:08 +0000 (21:43 +0900)]
sensor-hal: add interface of sensorhub

* it doesn't have specific implementation of sensorhub

Change-Id: I232ecff56f1a3c18eea8622c7655199da72b8408
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: enable proximity sensor 79/58979/1
kibak.yoon [Fri, 5 Feb 2016 12:41:01 +0000 (21:41 +0900)]
sensor-hal-tm1: enable proximity sensor

Change-Id: I569f88db90a82f5837b1f5b3eb11bc811eefdaa3
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: modify Sensor HAL interface 77/58977/1
kibak.yoon [Fri, 5 Feb 2016 12:35:52 +0000 (21:35 +0900)]
sensor-hal-tm1: modify Sensor HAL interface

+ clean up boilerplate

Change-Id: I1c79151d4ee26d39ac6ea31ab8c37e506f250bd6
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: rename package name to sensor-hal-tm1 76/58976/1
kibak.yoon [Fri, 5 Feb 2016 12:31:39 +0000 (21:31 +0900)]
sensor-hal-tm1: rename package name to sensor-hal-tm1

Change-Id: I282e3f6512d23b1ab32949c0bdd23b2f927959f7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal-tm1: remove unused sensors on TM1 74/58974/6
kibak.yoon [Fri, 5 Feb 2016 12:19:36 +0000 (21:19 +0900)]
sensor-hal-tm1: remove unused sensors on TM1

Change-Id: I59637f65afd66231ac14bc6f0cb63ebdb2b12a8c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensor-hal: unify code style for class brackets 59/58759/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:49:47 +0000 (16:49 +0900)]
sensor-hal: unify code style for class brackets

Change-Id: I1f5deb4405d2a38ed2a4a5a6c3ea77a94f0f487b
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: add including stdbool.h 58/58758/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:49:35 +0000 (16:49 +0900)]
sensor-hal: add including stdbool.h

Change-Id: I981c78e96639b2f2066a6b6e8f6f8c307f2f6ec0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: modify HAL interface for batching 57/58757/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:49:21 +0000 (16:49 +0900)]
sensor-hal: modify HAL interface for batching

* int get_data(id, data, length)
  - return value: the remaining count of data

Change-Id: Ifa952443a115531b8ecd2c08b469a2ffe7dfb8cf
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: remove vector in sensro HAL interface 56/58756/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:49:10 +0000 (16:49 +0900)]
sensor-hal: remove vector in sensro HAL interface

* instead of using std::vector, use point array for interface

Change-Id: Ib9e156fef47315f8faeb741389f7c1b9d8ac9419
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: refactoring sensor HAL interface 55/58755/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:48:58 +0000 (16:48 +0900)]
sensor-hal: refactoring sensor HAL interface

* remove useless functions and consolidate functions to 1 function
* hal-id: int32_t -> int16_t
* common structures are defined in sensor_hal.h

Change-Id: Ie1d8f32a15ebf3a851e43b07972200647ce74dfa
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: clean up the code and dependency 54/58754/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:48:45 +0000 (16:48 +0900)]
sensor-hal: clean up the code and dependency

* disable proximity sensor HAL for refactoring
* add macro.h for common macro

Change-Id: I6fa699ca78492f2107484920d519935744d0c4db
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: change sensor_device_base to util class 53/58753/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:48:33 +0000 (16:48 +0900)]
sensor-hal: change sensor_device_base to util class

Change-Id: Ia4ac5e8dbae1764c1dd260ea748f24442f851f6c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: re-organize build procedure 52/58752/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:48:13 +0000 (16:48 +0900)]
sensor-hal: re-organize build procedure

Change-Id: I7e34d8f61cc69c2c8a021fcb9969f48882aa048e
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: rename interface of HAL for managing it easily 51/58751/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:47:57 +0000 (16:47 +0900)]
sensor-hal: rename interface of HAL for managing it easily

Change-Id: Icc2327a0c7a34e45560abb9b5ddf94eec9a2758c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: remove xml dependency and xml-related code 50/58750/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:47:36 +0000 (16:47 +0900)]
sensor-hal: remove xml dependency and xml-related code

- remove xml dependency and clean up code
- sensor-hal: add sensor_properties_s to sensor_handle_t

Change-Id: I7452c08bd3cf793dd08a6ee801722ff0ebc3c5b6
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugins-tm1: enable proximity sensor HAL 49/58749/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:47:24 +0000 (16:47 +0900)]
sensor-plugins-tm1: enable proximity sensor HAL

Change-Id: Ie0c62492dfe819e9f34e1c7e6328d4bd2f1cfeb4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: add HAL interface for sensor_event_t 48/58748/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:47:09 +0000 (16:47 +0900)]
sensor-hal: add HAL interface for sensor_event_t

* added sensor_get_sensor_event()
* implemented sensor_get_sensor_event() in accelerometer HAL

Change-Id: Id0555ced2da84b1916dea9fbea7074179e430dc8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-hal: reorderring sensor hal types for managing them easily 47/58747/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:46:56 +0000 (16:46 +0900)]
sensor-hal: reorderring sensor hal types for managing them easily

Change-Id: I66f9475e57a45086365562d98a5e2eb6442e1f3f
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: modify HAL interface for support sensorhub HAL 46/58746/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:46:38 +0000 (16:46 +0900)]
sensor-plugin-tm1: modify HAL interface for support sensorhub HAL

* HAL has to be based on 1 device(it means that it is looking at 1 node)
* If the device manufacturer make a HAL only, he can operate the device.

* Interface of HAL has to be more considered.

* Implementation of accelerometer HAL has to be cleaned
  - sensorhub-related code is unnecessary on the reference target(TM1)
  - managing of sensor config should be refactored

Change-Id: I05bb4fbc837e2e6836026b95da6fdd9c4b9e6363
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: clean up the code 45/58745/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:46:24 +0000 (16:46 +0900)]
sensor-plugin-tm1: clean up the code

clean up & remove the useless code

Change-Id: I148041ba2d798aeb9022ac9b8f36dd58f3c00810
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: remove useless code 44/58744/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:46:11 +0000 (16:46 +0900)]
sensor-plugin-tm1: remove useless code

Change-Id: I3ea44e720be1cbd77de8e71f915f110dc7d98fb7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: modify wrong raw_data_unit of accelerometer 43/58743/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:45:57 +0000 (16:45 +0900)]
sensor-plugin-tm1: modify wrong raw_data_unit of accelerometer

because accelerometer is set to 4G from kernel driver,
raw_data_unit has to be changed.

* IMHO, sensor fw should received this setting information from kernel.
  I will check whether it is available or not. (from IIO interface)

Change-Id: I7fa98b51e892be8839a5246816ab29ad9e1ec66e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: remove useless lock 42/58742/1
Mu-Woong Lee [Wed, 3 Feb 2016 07:45:42 +0000 (16:45 +0900)]
sensor-plugin-tm1: remove useless lock

HAL developer doesn't need to consider lock mechanism

* It is started to refactoring sensor HAL for supporting sensorhub
from this patch.

Change-Id: Ib594af73a741d1805f2a35e995ccebd110e89ddc
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoExclude from all builds except 32bit arm mobile build
Mu-Woong Lee [Wed, 3 Feb 2016 07:39:07 +0000 (16:39 +0900)]
Exclude from all builds except 32bit arm mobile build

Change-Id: Iad9cfe461b1b616483ac86245766711e2331edd6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: change sprintf to snprintf
Mu-Woong Lee [Wed, 3 Feb 2016 07:38:52 +0000 (16:38 +0900)]
sensor-plugin-tm1: change sprintf to snprintf

Change-Id: Ifcaa1c010fbd7bef51246e1bec30450f7e19390a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoRe-package sensor-hal to sensor-plugins-tm1
Mu-Woong Lee [Wed, 3 Feb 2016 07:38:38 +0000 (16:38 +0900)]
Re-package sensor-hal to sensor-plugins-tm1

Change-Id: I0f0e95eaf7c908b98cbe77b0863f8c86f22004ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensor-plugin-tm1: plugins for tm1
Mu-Woong Lee [Wed, 3 Feb 2016 07:38:15 +0000 (16:38 +0900)]
sensor-plugin-tm1: plugins for tm1

supported sensors on TM1:
  accelerometer
  proximity

code is copied from /platform/adaptation/samsung_exynos/sensor-plugins

Change-Id: I13f945bdd5eef5dc559268e5f543ba24323fb751
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoInitial empty repository master
seonil kim [Wed, 3 Feb 2016 02:24:58 +0000 (18:24 -0800)]
Initial empty repository