platform/core/system/peripheral-bus.git
7 years agoChange argument name in i2c interface 09/126809/1
Hyeongsik Min [Tue, 25 Apr 2017 05:51:14 +0000 (14:51 +0900)]
Change argument name in i2c interface

- Change file_hndl to fd
- Remove commented out codes in i2c.c
- Change log message format in i2c.c

Change-Id: If64e0fdd54f91eda232095693056044fb82b7502
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoFix gdbus interface prefix and typo 23/126523/2
Hyeongsik Min [Mon, 24 Apr 2017 04:09:35 +0000 (13:09 +0900)]
Fix gdbus interface prefix and typo

Removed 'system.' from interface name.

Change-Id: I864efa355360709cb31a77390b4cad039e00ef16
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoChange gdbus interface with gdbus-codegen 36/126436/6
Sungguk Na [Fri, 21 Apr 2017 10:47:27 +0000 (19:47 +0900)]
Change gdbus interface with gdbus-codegen

Change-Id: I568508456be8326ff95385a2839691ebd791f86b
Signed-off-by: Sungguk Na <sungguk.na@samsung.com>
7 years agoRemove exception handling in gpio_open() 55/126155/3
jino.cho [Thu, 20 Apr 2017 08:50:03 +0000 (17:50 +0900)]
Remove exception handling in gpio_open()

Calling the gpio_close as a exception handling code in gpio_open()
was removed.

Change-Id: I9fb886d051aabd12b5222e37916c04ac5c464f36
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoFix wrong log message in gpio_close 48/126148/2
jino.cho [Thu, 20 Apr 2017 08:23:26 +0000 (17:23 +0900)]
Fix wrong log message in gpio_close

Change-Id: Iec45696b851495fe2e95060c63ae0f6441dc92ab
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoRename peripheral_i2c_context_h to peripheral_i2c_h 32/126032/2
Hyeongsik Min [Wed, 19 Apr 2017 10:55:22 +0000 (19:55 +0900)]
Rename peripheral_i2c_context_h to peripheral_i2c_h

Change-Id: Id304caf9e1de0a07d90a8279e7aa03ebaf746234
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoMove global variables to periheral_bus_s structure 71/125671/4
jino.cho [Tue, 18 Apr 2017 09:37:40 +0000 (18:37 +0900)]
Move global variables to periheral_bus_s structure

This patch adds periheral_bus_s structure type to gather global
variables into it.

Change-Id: If90c0f09deca9ca81438441d37e8024878bf715c
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoRemove i2c_set_frequency interface 50/125650/1
Hyeongsik Min [Tue, 18 Apr 2017 07:57:44 +0000 (16:57 +0900)]
Remove i2c_set_frequency interface

As ioctl for frequency setting is not defined in kernel, remove the
function and related enum type.

Change-Id: I3031b01e65995029251b6f33a1285ecffe66d58f
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoRearrange the order of gpio interface functions 30/125630/3
jino.cho [Tue, 18 Apr 2017 07:03:26 +0000 (16:03 +0900)]
Rearrange the order of gpio interface functions

Change-Id: I6259f6a387cab92d7fec91ff48b5db76e0441ff1
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoImport source codes from iotbus 47/125547/2
jino.cho [Tue, 18 Apr 2017 03:37:53 +0000 (12:37 +0900)]
Import source codes from iotbus

- Import server source codes from below
  https://github.com/tizen-artik/iotbus

- Fix coding style and Svace issues
- Fix build warnings and clean up codes
- Rename peripheral_server to peripheral_bus

Change-Id: Ic6918f28cc8055f6a4cacba4c94ec45247e9b959
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 17 Apr 2017 04:12:45 +0000 (21:12 -0700)]
Initial empty repository