platform/core/api/peripheral-io.git
7 years agofix validation check of edge mode 23/126023/2
jino.cho [Thu, 20 Apr 2017 08:19:05 +0000 (17:19 +0900)]
fix validation check of edge mode

This patch fixed a value of validation check to the max value of
enum type.
PERIPHERAL_GPIO_EDGE_FALLING -> PERIPHERAL_GPIO_EDGE_BOTH

Change-Id: I6199f51f007b972a44f079f5d13cfd929963df00
Signed-off-by: jino.cho <jino.cho@samsung.com>
7 years agoRename peripheral_i2c_context_h to peripheral_i2c_h 35/126035/2
Hyeongsik Min [Wed, 19 Apr 2017 10:53:20 +0000 (19:53 +0900)]
Rename peripheral_i2c_context_h to peripheral_i2c_h

Change-Id: I533ee1772cdd9b055deac139226bdac3d04d5889
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoRearrange the order of gpio API functions 34/126034/2
Hyeongsik Min [Wed, 19 Apr 2017 10:36:34 +0000 (19:36 +0900)]
Rearrange the order of gpio API functions

Change-Id: I3cfbc14654c35e47d141bc43e41507906a36242d
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoRemove i2c_set_frequency API 08/125808/1
Hyeongsik Min [Tue, 18 Apr 2017 06:55:45 +0000 (15:55 +0900)]
Remove i2c_set_frequency API

Remove the API and related enum type because ioctl for i2c frequency setting
is not defiend in kernel.

Change-Id: Ib151fdcfbcb5978ef4d88350e05ac9f09252b959
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoImport source codes from iotbus 16/125416/2
Hyeongsik Min [Mon, 17 Apr 2017 07:41:13 +0000 (16:41 +0900)]
Import source codes from iotbus

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

- Rename the pacakge to peripheral-io
- Use 'system' bus as dbus bus type
- Fix coding style
- Fix Svace issues

Change-Id: If1e90777d57f05411bb995fbd0ba3b4d09ff5c7f
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 10 Apr 2017 23:38:11 +0000 (16:38 -0700)]
Initial empty repository