summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-01-28usb: disable usb_gadget and usb_clientHEADsubmit/tizen/20210127.032903accepted/tizen/unified/20210129.002226tizenaccepted/tizen_unifiedINSUN PYO3-0/+6
This hal is not used in tizen 6.5 but is built. To remove build error, disable code. Change-Id: I49a9359721792899ac2c8a17c97120f51e9ee2aa
2020-04-07Remove unnecessary #ifdefsubmit/tizen/20201104.011652submit/tizen/20201103.015640accepted/tizen/unified/20201106.130145INSUN PYO1-4/+0
Change-Id: I6ac4aae99ad382278ac76d570690c40c60d4fb57
2020-02-05Add build option -Wall -WerrorYoungjae Cho1-0/+2
Change-Id: Ib6c6b61340caa7f059b8eb0febd3127adae7f888 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-11-20Fix logging locationYoungjae Cho1-1/+1
Change-Id: I0c9d1c7b19c02a2bd4cf8fb4fb74ebeca6c5cbcc Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-10-18Add dummy display HALYoungjae Cho1-2/+65
Change-Id: I6fa9b2f13594d8097a1d3051e8948e4daa9150bf Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-02-18Add thermal module for device_thermal_get_temperaturetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.0_hotfix/20201103.114801submit/tizen_6.0_hotfix/20201102.192501submit/tizen_6.0/20201029.205101submit/tizen_5.5_wearable_hotfix/20201026.184301submit/tizen_5.5_mobile_hotfix/20201026.185101submit/tizen_5.5/20191031.000002submit/tizen/20190220.073046submit/tizen/20190218.105211accepted/tizen/unified/20190221.165804accepted/tizen/unified/20190219.154142accepted/tizen/6.0/unified/hotfix/20201103.051529accepted/tizen/6.0/unified/20201030.123800accepted/tizen/5.5/unified/wearable/hotfix/20201027.123019accepted/tizen/5.5/unified/mobile/hotfix/20201027.081640accepted/tizen/5.5/unified/20191031.025652tizen_6.0_hotfixtizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_6.0_unified_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedlokilee736-0/+519
Change-Id: I4965e1e6127f1103673f98ada9487864c75392a8 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.125007lokilee734-0/+0
Change-Id: I1472ae8c9de7b9db785af35d129d3b1651f592f8 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-28usb_gadget: Move common code to hwcommonsubmit/tizen_5.0/20181101.000001submit/tizen/20180710.030326submit/tizen/20180628.074924accepted/tizen/unified/20180712.092557accepted/tizen/5.0/unified/20181102.012700Paweł Szewczyk1-421/+0
Change-Id: I92391b979a379c7c0e827721479b4ce9be8cb47d Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Add board HALPaweł Szewczyk3-0/+127
Change-Id: I83180a22b97805113ac8e43e6df536611a5de85c Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com> Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-28usb_client: Move common code to hwcommon libraryPaweł Szewczyk2-1574/+4
Change-Id: I0c08e9cb8d29ec5ccfa86fdc5dd0e0c20738fb87 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move shared files to hwcommon packagePaweł Szewczyk8-180/+6
Change-Id: I49b4ac260254416d4c5a6a00255e702f70fb4568 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move systemd-related code to common libraryPaweł Szewczyk5-181/+4
Change-Id: I51c470b0c058cb509c91358e8a207c86b988d66f Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-26Fix build warningsubmit/tizen/20180628.005528accepted/tizen/unified/20180628.130512lokilee731-0/+1
Change-Id: Ie5a5590291f92470e006052f82164cdda9347966 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-05-15usb_gadget: Retrieve device serial numbersubmit/tizen/20180516.042321accepted/tizen/unified/20180516.065547Paweł Szewczyk1-1/+45
The serial number is retrieved from /proc/cpuinfo and used as USB serial number string. Change-Id: Ibac051862011f697d7a63e8efeb5f50d0ea16c29 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-30Remove unused dependency to capi-system-infosubmit/tizen/20180403.011657submit/tizen/20180330.143105accepted/tizen/unified/20180403.060233Hyotaek Shim3-3/+1
Change-Id: Ib9afc9472a6a53747e3d6b07077b2c27649a311a Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-03-28Move usb configuration for TV profile to devicedsubmit/tizen/20180329.061644accepted/tizen/unified/20180330.060804lokilee731-23/+0
Change-Id: Ie23d0506aee1349131ff4827e4c50c17751d29c8 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-03-22ffs: Do not check for slp-gadget in ffs backendPaweł Szewczyk1-4/+0
Change-Id: I1d08c7b778d906f151cec3524754f513d7386898 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-22usb: Assign new functions to legacy gadgetPaweł Szewczyk1-0/+5
Change-Id: I86df0d0db29813781c8b49dc111f726b24b82041 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-21Revert "usb: workaround code for legacy usb client"Paweł Szewczyk1-19/+17
This reverts commit 35171555725ea09c7ef09df8747075e8976a7540. Change-Id: I732aa18d6e4d3d140a88947f47814a1a54442104 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-21Fix minor issuesPaweł Szewczyk1-5/+6
Change-Id: I78dd77f031b4cda871a758687d4518a5ac22dc43 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-15usb: mtp disable in tv profilesubmit/tizen/20180315.085746accepted/tizen/unified/20180315.150809INSUN PYO3-10/+53
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I0e1713d17cb32b344e340f92e14298eb8f8d9b47
2018-03-14usb: workaround code for legacy usb clientsubmit/tizen/20180314.081248accepted/tizen/unified/20180314.141510INSUN PYO1-17/+19
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ibbc64b534e2cf560b61c080299f6fc26b6009700
2018-03-14usb_client: fix bugINSUN PYO1-2/+5
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I70670d18ae5ae128ef0785ac79f220e3aa5c42b0
2018-03-14usb: 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-03-14Add 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-03-13Fix 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-03-13Start services for legacy functionsPaweł Szewczyk3-6/+122
Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-02-22display: add dummy HAL for unified devicedsubmit/tizen/20180223.015425accepted/tizen/unified/20180223.062113INSUN PYO3-0/+69
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I0822e7be4015f96429e04c06b78fcf23a45665f8
2018-02-05Add 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-01-24usb 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-09-08Fix build warningsubmit/tizen/20170908.055554accepted/tizen/unified/20170911.060230INSUN PYO1-1/+1
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I050b5a8d1543304c878f424c305959af86b65923
2016-10-11checking unsupported usb function combination.tizen_4.0.m1_releasesubmit/tizen_unified/20170308.100403submit/tizen_4.0/20170828.110001submit/tizen_4.0/20170811.094300submit/tizen_3.0_common/20161104.104000submit/tizen_3.0/20161028.082323submit/tizen_3.0/20161028.062323submit/tizen_3.0.m2/20170104.093748submit/tizen/20161011.055923accepted/tizen/unified/20170309.031041accepted/tizen/tv/20161011.234112accepted/tizen/ivi/20161011.234141accepted/tizen/common/20161011.154305accepted/tizen/4.0/unified/20170828.224215accepted/tizen/4.0/unified/20170816.011524accepted/tizen/3.0/tv/20161028.122602accepted/tizen/3.0/ivi/20161028.123013accepted/tizen/3.0/common/20161114.105118accepted/tizen/3.0.m2/tv/20170104.100353tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_tvaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_tvaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_tvtaeyoung1-2/+2
refer to : https://review.tizen.org/gerrit/#/c/91714/ Change-Id: Ie8e9a4cbf8e3e4c0d625f8b24df3d16aa7074682 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-09-29usb client: do not set serialsubmit/tizen_3.0_tv/20161015.000001submit/tizen_3.0_ivi/20161010.000001submit/tizen/20160929.111000submit/tizen/20160929.094731accepted/tizen/tv/20160930.000746accepted/tizen/ivi/20160930.000801accepted/tizen/common/20160929.163651accepted/tizen/3.0/tv/20161016.003946accepted/tizen/3.0/ivi/20161011.043807taeyoung1-7/+0
The serial is used to distinguish devices for testing. Thus the serial is not set. Change-Id: I7391ee80c101c6335faa31f0e27a7a184249fe9b Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-09-27common: remove OALsubmit/tizen/20160927.110043submit/common/20160929.040724taeyoung5-675/+0
Tizen 3.0 uses HAL. Thus all codes for the OAL are removed Change-Id: I228df379b1fb15100c28d8e522f67cb4dc08d020 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-09-27Add USB config HAL implementation for slp-gadgettaeyoung3-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: I5eeb0a8b9cc616e0e10263abc85893f250137d9f Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: taeyoung <ty317.kim@samsung.com>
2016-09-27Add USB gadget HAL implementationtaeyoung8-10/+610
USB gadget HAL is an abstraction layer which translates set of functions into full USB gadget description specific for this particular device. Change-Id: I9920a8e400aa3c16df9a650e7611d9eb920ae623 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: taeyoung <ty317.kim@samsung.com>
2015-03-13Fix build under 64-bit architectureJiyoung Yun2-6/+5
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com> Change-Id: Ice5bb4559b6c97e50b86753d5562f1f09bd79dad
2014-06-27Device manager plugin for Odroid development boardsubmit/tizen/20140627.104705Łukasz Stelmach9-0/+921
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2014-06-26Initial empty repositorySriram Ramkrishna0-0/+0