summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-12memory: change return value when node is not supportedsubmit/tizen/20210315.042850accepted/tizen/unified/20210316.151454accepted/tizen_unifiedYunmi Ha1-2/+2
Change-Id: I4f4c4acc1b19c9b74f211c96205b24c1ddda129e Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-18memory: add new halapi backendsubmit/tizen/20210222.042310accepted/tizen/unified/20210223.065540Yunmi Ha3-0/+83
Change-Id: I56283c733ed215637fc64416f0de03f6e269d92b Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-15Move common macro to device-commonsubmit/tizen/20210215.055935accepted/tizen/unified/20210215.130923lokilee7316-68/+16
Change-Id: I43143884efe740b42e9b04e0f9f682c17de2f6f6 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-02-10Apply new hal-backend-common-usb_gadget.h headerINSUN PYO2-5/+2
Change-Id: I522e916033c9bb7865ece58641d199a53fe48827
2021-02-03spec: remove unused pkgconfig(libudev) build dependencysubmit/tizen/20210205.060133accepted/tizen/unified/20210207.235318INSUN PYO4-345/+2
Change-Id: I5059b296de19ba403b16bf46541da1cc35f631ea
2021-01-26Apply rpm macro of hal install pathsubmit/tizen/20210127.032903submit/tizen/20210126.081759submit/tizen/20210126.064541submit/tizen/20210126.055732accepted/tizen/unified/20210129.002332Yunmi Ha9-10/+14
Change-Id: I8f3b380e545446751d43074e53a3f02ef7d797ce Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-25usb_gadget: apply next HAL architecture (hal api + backend)INSUN PYO8-116/+72
Change-Id: I839eb4fd883facb066ab5730fda063f6032b3c0a
2021-01-19Use file library of libsyscommonYunmi Ha3-110/+5
Change-Id: I48c998553b56c8ee70886b40c88afa7c26850aeb Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-18Rework led hallokilee731-10/+31
Change-Id: Iacc7d4aeb99039c47b05a5fee1d37d1eeab392e8 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-14Add FEATURE_DLOG and change LOG_TAGlokilee733-2/+6
Change-Id: Ia9dbb0510d59d0c96bf66bbc9970d7a1040daa9e Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-14haptic: apply next HAL architecture (hal api + backend)Yunmi Ha3-0/+378
Change-Id: Ideaad92b19eec1b417f3c2a73146b0cfb1dbd2dc Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-13Apply next HAL architecture (hal api + backend)lokilee7313-180/+295
Change-Id: Ib2a0884986e20d4ef5a65651e5bd0a872c666f13 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2020-04-07Remove unnecessary #ifdefsubmit/tizen/20201104.011652submit/tizen/20201103.015640accepted/tizen/unified/20201106.130159INSUN PYO1-4/+0
Change-Id: I7cdb2d29af1080623a3f9af4aa5df0fdd82951f3
2020-02-17Revert "Fix coverity issue"Hyotaek Shim1-1/+0
This reverts commit 74fcdd2aa28ea28cd6c91a26673d859fcbad7ebf. Change-Id: I1f0d89cedddb2f67be79b63117a972bb04fd9c77
2020-02-13Fix coverity issueYoungjae Cho1-0/+1
CID 1095159 (#1 of 1): Resource leak (RESOURCE_LEAK) Change-Id: I185433f9079dbffa69f8b2673fdbe380f1a60804 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-02-07Remove unused moduletizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.114801submit/tizen_6.0_hotfix/20201102.192501submit/tizen_6.0/20201029.205101submit/tizen/20200207.071948accepted/tizen/unified/20200207.122330accepted/tizen/6.0/unified/hotfix/20201103.052500accepted/tizen/6.0/unified/20201030.123743tizen_6.0_hotfixaccepted/tizen_6.0_unified_hotfixINSUN PYO5-560/+0
Change-Id: Ibdb713172b157e8063de24484a8b276522e40a7d
2020-02-05Add build option -Wall -WerrorYoungjae Cho1-1/+3
Change-Id: I40035cde88b5549f0300ed61661982718cf9c047 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-02-18Add thermal module for device_thermal_get_temperaturetizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185101submit/tizen_5.5/20191031.000001submit/tizen/20190220.073046submit/tizen/20190218.105211accepted/tizen/unified/20190221.165812accepted/tizen/unified/20190219.154158accepted/tizen/5.5/unified/mobile/hotfix/20201027.082345accepted/tizen/5.5/unified/20191031.014833tizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixlokilee733-0/+176
Change-Id: Idaec06e25703d32f773a6f0f7a984ccea8731d61 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-12-27Remove executable flag from non-executable filessubmit/tizen/20181231.070821submit/tizen/20181231.010834submit/tizen/20181227.070601accepted/tizen/unified/20181231.125026lokilee7315-0/+0
Change-Id: Idee810863ae5750b64617b091dcb9d8e2964ddfa Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-28usb_client: Move common code to hwcommon librarysubmit/tizen_5.0/20181101.000001submit/tizen/20180710.030326accepted/tizen/unified/20180712.092602accepted/tizen/5.0/unified/20181102.012640Paweł Szewczyk2-1621/+4
Change-Id: I42d5f0f48f1fc0a2600c3532464e8b1f792b3c26 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move shared files to hwcommon packagePaweł Szewczyk18-190/+16
Change-Id: Ieafe89155a1a4b54bb5368fae9b8aef24f96a248 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move systemd-related code to common libraryPaweł Szewczyk5-182/+4
Change-Id: I3de92bdc9ec5308cff875f30c22d70d307e00002 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Add board HALPaweł Szewczyk3-0/+111
Change-Id: Ifcc9256bb722b32f8c3db3bdb873a4e6c88c8ef8 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28usb_gadget: Move common code to hwcommonPaweł Szewczyk1-394/+0
Change-Id: Icc1e965e889d9d73667198120667bd55fbea0df7 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-27Modify blinkm_led_stop_scriptsubmit/tizen/20180628.005923accepted/tizen/unified/20180628.130518lokilee731-1/+4
peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write(). Change-Id: I4fa3388489e23fdedc7e2c95c23272e65c6a949a Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-19Add display_get_state to remove dependency with enlightenmentsubmit/tizen/20180619.082644accepted/tizen/unified/20180619.142112lokilee731-0/+55
Change-Id: I826e14589707f1a2e58c6105b7658ddbb4d8a108 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-05-15usb_gadget: Retrieve device serial numbersubmit/tizen/20180516.045726accepted/tizen/unified/20180516.065542Paweł Szewczyk1-1/+29
Serial number is retrieved from /sys/firmware/devicetree/base/serial-number file. Change-Id: I3e8251bd1ce916b72d45102017b3533420ef9f54 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-19Change sdb+acm configuration's idProductsubmit/tizen/20180420.035134accepted/tizen/unified/20180420.081924Paweł Szewczyk1-1/+1
Change-Id: I8b8381c910da9d7ce4641515389ca2b1c0b8fb3b Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-19Add .gitignoresubmit/tizen/20180419.065300accepted/tizen/unified/20180419.134322Hyotaek Shim1-0/+3
Change-Id: Ic21080f08ae17cc5983c3b79708d72067d7ad136 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-18Add sdb+acm configurationPaweł Szewczyk1-0/+7
Change-Id: I59e70efcf7c6126dce60efeadbb7b75940332fdb Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-10usb_cfs_client: Enable gadget at reconfigurationsubmit/tizen/20180411.015824accepted/tizen/unified/20180412.073814Paweł Szewczyk1-0/+7
Extcon support for artik is bound to the gadget, so we need to need to enable it to start monitoring usb connection. This does not do much harm, but can cause some functionfs daemons to run long before they are actually needed. Change-Id: I7a5eaacaa476539a7cf1c237f811163be4d9b7d5 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-09Add error logsPaweł Szewczyk1-13/+49
Change-Id: Ibadac25cdec2972a172e8bb893e3a010c4659eb6 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-09usb: Assign new functions to legacy gadgetPaweł Szewczyk1-0/+5
Change-Id: I86df0d0db29813781c8b49dc111f726b24b82041 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-09usb: patches to selectively support both slp and functionfsINSUN PYO5-1/+32
If /sys/class/usb_mode/usb0/enable exists, it is slp usb_hal. Otherwise it is configfs usb_hal. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I8e6b74ffbc6287fe7b5f0a7ab475edff16b2fd88
2018-04-09Fix minor issuesPaweł Szewczyk1-5/+6
Change-Id: I78dd77f031b4cda871a758687d4518a5ac22dc43 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06usb_client: fix bugINSUN PYO1-2/+5
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I70670d18ae5ae128ef0785ac79f220e3aa5c42b0 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06Add support for FunctionFS-based functionKrzysztof Opasiak1-21/+287
Both mtp-responder and sdbd have FunctionFS backend now what allows to use them in ConfigFS implementation of HAL. We use systemd socke activation with special socket type which starts the service when needed. There is an assumption that each of those services provides a suitable .socket file. Change-Id: Ib073ac10f6d12bb75f20e4b9f3961bcdbd21520c Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2018-04-06Fix getting ints from sysfsPaweł Szewczyk1-10/+10
Some integers are represented in hex, without leading 0x. Change-Id: If6b950a24496eae52a34623b2fa9735390e26795 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06Start services for legacy functionsPaweł Szewczyk3-5/+122
Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-23Add implementation of usb_client HAL using libusbgxKrzysztof Opasiak1-0/+771
Currently this implementation doesn't support FFS based functions so it is disabled by default to not casue sdb connection failures. Change-Id: Ie7e9a3c1a8e3e430d625ffb24df3d16aa7074682 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2018-03-23usb gadget: Fix default value of bcdDeviceKrzysztof Opasiak1-1/+1
0xffff is not a correct BCD value thus let's replace it with 0x0100. Change-Id: I6312575da80a2670fcbb62db79d2ed4d040ae367 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2017-10-19Remove unnecessary HAL modulesubmit/tizen/20171024.012423accepted/tizen/unified/20171024.071502INSUN PYO1-2/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I469cf83da514c2f55916f41506bba7787853ba9d
2017-09-27udev: Increase udev monitor buffer sizesubmit/tizen/20170928.054844submit/tizen/20170927.232137submit/tizen/20170927.065426accepted/tizen/unified/20170928.150159INSUN PYO1-1/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I0388c075d8a22639100b3b0a41b9bf1d9581ecba
2017-09-26Merge "Common: initialize and modify exception for n_configs" into tizenlokilee731-2/+2
2017-09-26Common: initialize and modify exception for n_configssubmit/tizen/20170926.040557lokilee731-2/+2
Change-Id: I230d273c5ca65874f67164a7063964577b53e498 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2017-09-12Modification of coding rule violationsubmit/tizen/20170912.020543accepted/tizen/unified/20170912.191908INSUN PYO2-4/+4
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I21e21fb7444722f7559b3dc8de7b2540e00e7ef8 (cherry picked from commit b688a4a641f3d0582cd9a9ffd0bf66254fbf3294)
2017-09-11remove build warningsubmit/tizen/20170911.223142INSUN PYO1-2/+1
Touchscreen_init calls the open function of hal at the beginning of the boot with the call stack below. So the open function of hal is never called at the same time in multi-thread. Therefore, we can use safely readdir in deviced. 0 touchscreen_init 1 0x2a00b02c in devices_init (data=0x0) at /usr/src/debug/deviced-2.0.0/src/core/devices.c:102 2 0x2a00e424 in deviced_main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/deviced-2.0.0/src/core/main.c:93 3 0x2a0078f4 in main (argc=1, argv=0xbefffe64) at /usr/src/debug/deviced-2.0.0/src/core/main.c:123 Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ieb4ded94379c01592cabd85a5ed6eb525042bc97 (cherry picked from commit 4a8b1ec8da47eb05d58d1b67fcb678cc7755d27e)
2017-08-02led: Add LED HAL interface for ARTIK blinkm led devicescott park4-0/+396
This is the initial implementation of LED HAL using PIO interface. The implemeted API is set_state. Change-Id: I7d9fbaf6b990ea886fe736046686e070d761adcd Signed-off-by: scott park <scott.park@dignsys.com> Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
2016-09-29usb client: do not set serialtizen_4.0.m1_releasesubmit/tizen_unified/20170310.010401submit/tizen_4.0/20170828.110001submit/tizen_4.0/20170811.094300submit/tizen_3.0_common/20161104.104000submit/tizen/20160929.102549accepted/tizen/unified/20170310.075604accepted/tizen/common/20160930.174631accepted/tizen/4.0/unified/20170828.224357accepted/tizen/4.0/unified/20170816.013722accepted/tizen/3.0/common/20161114.105113tizen_3.0.m2accepted/tizen_commontaeyoung1-7/+0
The serial is used to distinguish devices for testing. Thus the serial is not set. Change-Id: I49b139878c68ac8769eb7d7f5d1424145eb78dd7 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-09-23Add USB config HAL implementation for slp-gadgetsubmit/tizen/20160927.110043taeyoung3-0/+666
This implementation of USB config HAL allows to apply abstract gadget description received from USB gadget HAL to USB gadget subsystem in Kernel via slp-gadget sysfs interface. Change-Id: I3a621c9af78339b582bb46a5c3939bd52ab3e6d2 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>