summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-11-01Map bootmode ramdisk to normal for cloning partitionsaccepted/tizen/7.0/unified/20231102.181242tizen_7.0accepted/tizen_7.0_unifiedSangYoun Kwak1-0/+4
The service "clone_partitions" performs cloning partitions only when the bootmode is "normal". "ramdisk" was mapped to "normal" because cloning partitions should be performed on both modes. Change-Id: Idc265bc1c6b96683bd619372ba0d327971ddc616 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2023-02-07input: add information for touchcreen input typeaccepted/tizen/7.0/unified/20230209.070242Yunhee Seo1-1/+7
Add available input device type for touchscreen. Change-Id: I9c604f001162e68338c5a04c5add0c163690074f Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2023-01-17input: add input.conf fileaccepted/tizen/7.0/unified/20230118.093746Yunhee Seo1-0/+37
Add input.conf example file to control input device event Input device event can be handled by device id number. With this config file, user can set the input devices to use Detailed descriptions are exist in this example file. [InputDeivce] format which is in input.conf InputDeviceType -> input device type InputDeviceId -> id number which exist under the /sys/class/input/input(id) path InputDeviceName -> device name InputDeviceDefault -> yes/no Change-Id: I06330bde9b4044cde96a6a0d5eac651af306950b Signed-off-by: Yunhee Seo <yuni.seo@samsung.com> (cherry picked from commit 9e35572af471ce04ef2c70cc1b9598ba50910f00)
2022-09-20Use strtok_r instead of strtok for thread safetytizen_7.0_m2_releaseaccepted/tizen/unified/20220922.114010accepted/tizen/7.0/unified/hotfix/20221116.110413accepted/tizen/7.0/unified/20221110.063505tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfixDongwoo Lee1-1/+2
Change-Id: I07104009925a0501872ba1ade389704fda1cc305 Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
2022-09-02Fix typo (partition status path)accepted/tizen/unified/20220916.022138accepted/tizen/unified/20220916.022100accepted/tizen/unified/20220915.173211SangYoun Kwak1-1/+1
Change-Id: I7de7e713c6a448a833baaaee7d90f6e0e801dcc4 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-09-02Fix hal APIs according to documentationsSangYoun Kwak1-84/+116
Documents of hal APIs can be found here: hal-api-device/include/hal-board.h Change-Id: I3c0dff62ba8ca8360c417b8c032bbdd880c80f48 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-09-01add API functions get_upgrade_status(), set_partition_status(),Marek Szulc1-2/+83
get_partition_status(), clear_boot_mode() Change-Id: Ifc9c32d3c7c27d42cb907aabf769daa95fa2cefe Signed-off-by: Marek Szulc <m.szulc3@samsung.com>
2022-08-17Add hal api (get_boot_mode)SangYoun Kwak1-0/+17
Change-Id: I7b4e338cd86e339dccc26319711b5be09c5d8a09 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-07-14Add hal board functions to manipulate partition/upgrade parameterssubmit/tizen/20220714.055817accepted/tizen/unified/20220715.141308SangYoun Kwak1-7/+67
Change-Id: Ie3946532dbb0c93026fe94156b32504bf3b45fe0 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-07-14Add list of PARTLABEL and LABEL of a/b partitionsSangYoun Kwak3-0/+15
Change-Id: I50226ee8a39fef130201c1ea42b32897e13bce98 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-07-13Add hal board function to get/switch partition_abSangYoun Kwak2-3/+52
Change-Id: Ic217a5077414e9f51c79c6394cff2429cc806e55 Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
2022-05-02usb-gadget: remove usb-gadget and add configuration filesubmit/tizen/20220525.001052accepted/tizen/unified/20220526.144121Youngjae Cho5-101/+23
The actual operation of usb-gadget is no more hal dependent. Instead, the deviced is now in charge of running usb-gadget. The hal backend has changed to provide only target specific usb-gadget configurations. If there is no target specific configurations, deviced runs usb-gadget with default configurations. Change-Id: Idb2ccbb9e4b19651fd2674ec932baac1f82f63e8 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2022-03-04display: separate rpi3/rpi4 nodepathsubmit/tizen/20220308.032646accepted/tizen/unified/20220310.120950Youngjae Cho3-5/+33
It creates two libraries that are exactly same except for brightness nodepath. Each library is packaged into corresponding rpi3/rpi4 rpm. Change-Id: I3c6498211d3e75eb7541ee1595aa25df070ab051 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2022-02-15Update ABI versionsubmit/tizen/20220222.024249Youngjae Cho8-8/+8
Change-Id: If12534d556b067b2869085fe96c989bfad74e2b2 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2022-02-11memory: consider changed rpi4 dri node for gem_infosubmit/tizen/20220211.102515submit/tizen/20220211.080709submit/tizen/20220210.111655accepted/tizen/unified/20220212.064808Seung-Woo Kim1-5/+9
From rpi4 new vendor kernel release, dri nodes are changed between v3d and vc4, so gem_info can be in card 1. Consider also the changed sysfs node. Change-Id: I33cf4f3a0fc515a04f7fb180309610b3db49b7b7 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2022-02-08display: return -ENOTSUP if there is no brightness nodesubmit/tizen/20220208.075544Youngjae Cho1-3/+3
Change-Id: Ic42e6ca43297dc8a7e7c9ad8547b0397039e7dd5 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-12-20spec: add "ExclusiveArch: %{arm} aarch64"submit/tizen/20211220.071509accepted/tizen/unified/20211220.133626INSUN PYO1-0/+1
Change-Id: I02c8ae54c35a4f39b21f40659c314ef2f347bd29
2021-09-27touchscreen: disable get/set state by kerenl versiontizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210927.071602accepted/tizen/unified/20210927.120907accepted/tizen/6.5/unified/20211028.115524Youngjae Cho1-0/+9
Change-Id: I5fc2df8336470fb9e24efbebe819706ae9020031 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-08-03Introduce separate package and config for RPi3/RPi4submit/tizen/20210810.054703accepted/tizen/unified/20210810.065637Mateusz Majewski3-0/+49
Change-Id: Ibc6a1574ad4d872e21bd87ca4c4aa2fe92e10f46
2021-08-02thermal: rename device_thermal_e to hal_device_thermal_esubmit/tizen/20210802.064402accepted/tizen/unified/20210804.085740Youngjae Cho1-2/+2
Change-Id: I57433638117491dfe64d4a2078ccc486697ebec8 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-07-23peripheral-io: add spaces to uart configAdrian Szyndela1-1/+1
For better readability and aesthetics. Change-Id: I3899f5449eba0f3d8d5bb03e20af1fb0409c1504
2021-07-21peripheral-io: add config file for GPIOAdrian Szyndela1-0/+7
Change-Id: I970d4c3488f57379e489e63954502a35dda390cf Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
2021-07-05peripheral-io: add uart port-devpath mapping filesubmit/tizen/20210705.023617accepted/tizen/unified/20210705.125141Youngjae Cho2-0/+7
Change-Id: If115206aaa3d5ea46c0c02d2469cb298f68cbb92 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-18board: fix parameter of get_device_serial_number()submit/tizen/20210618.075427accepted/tizen/unified/20210621.123310Youngjae Cho1-10/+9
Change-Id: I33b2e37cc1b7b48c6cac7145d87e3077d46e7009 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-17Add libsyscommon to required package to provide linker flagYoungjae Cho2-2/+2
For haltest, it cannot run by itself because it is not able to resolve sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to locate libsyscommon.so Change-Id: Ic9b4cedce88c888a9925264cfd22ff3504ee5193 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-14Merge "board: renaming get_device_serial_number" into tizensubmit/tizen/20210614.021455accepted/tizen/unified/20210615.120433Hyotaek Shim1-2/+2
2021-06-14board: renaming get_device_serial_numberYoungjae Cho1-2/+2
Change-Id: I79a94dc5418c83994bd39fedf1504c6c59f32325 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-09reboot: support storage partition for delivering reboot parameterssubmit/tizen/20210609.021843accepted/tizen/unified/20210609.082341INSUN PYO2-0/+4
In rpi, there is no way for the kernel and bootloader to pass the boot reason. So, platform provides /mnt/inform (/dev/disk/by-label/inform) storage to kernel. The kernel passes the reboot reason to the bootloader throught this. Change-Id: I5f33b54ef653aff08d8e79d71b05f916f695fba7 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-06-04Initialization for platform/hal/backend/rpi/device-rpisubmit/tizen/20210604.091051accepted/tizen/unified/20210604.120629Hyotaek Shim4-7/+7
Change-Id: I293ccef227500f1da22558e16670d37002e60cdf Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-03-12memory: change return value when node is not supportedYunmi Ha1-1/+1
Change-Id: Ifb5ed73626186e5d250fc5141217c44423100edd Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-22Fix svace issuesYunmi Ha1-2/+5
- memory: DIVISION_BY_ZERO Change-Id: I17ff0853a48ff6c6c517e6bf97257fd8c02c7650 Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-18memory: add new halapi backendYunmi Ha3-0/+130
Change-Id: Ib72bb4098024c5024e3c2bbeb3363ba9ea8282ff Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-15Move common macro to device-commonlokilee7316-68/+16
Change-Id: I22c4cfda003ef78936cc179da4549b12b3532038 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-02-10Apply new hal-backend-common-usb_gadget.h headerINSUN PYO2-5/+2
Change-Id: I9e5fc51c5ffbd07e6f3fae269d26de50c7b46943
2021-02-03spec: remove unused pkgconfig(libudev) build dependencyINSUN PYO4-346/+3
Change-Id: I0f054ccd8b2d2fad46605c5aac361be5a1a77528
2021-01-26Board : apply rpm macro of hal install pathlokilee731-1/+1
Change-Id: Id7c08ce11073be919ce4efa58d812b2635669708 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-26Apply rpm macro of hal install pathlokilee738-9/+13
Change-Id: I852d4997ba918fd02205764825ef1af8c08fb585 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-26usb_gadget: apply next HAL architecture (hal api + backend)INSUN PYO6-67/+72
Change-Id: Ibb580c5b4a59db583dd2986616eb7c79b5070dfa
2021-01-19Use file library of libsyscommonYunmi Ha3-110/+5
Change-Id: Ie718cb852a6a6583a6fbcde1cf30f63ef4b73c87 Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-18Rework led hallokilee731-10/+31
Change-Id: I83e2d93e589ef491cabdc6fef356269df0b2f9f2 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-14Add FEATURE_DLOG and change LOG_TAGlokilee733-3/+7
Change-Id: Ib0e7dd2668afead137a6b60a7353e79e5bf5c540 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-13haptic: apply next HAL architecture (hal api + backend)Yunmi Ha4-0/+379
Change-Id: I2fdf1c8a5c244d40836df1962c82cf467dd7dc83 Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-13Change vender namelokilee735-5/+5
Change-Id: I211f45b164f1dde5a4c29fd0138d9e6c316a7482
2021-01-13Apply next HAL architecture (hal api + backend)lokilee7313-178/+293
Change-Id: Ifec0a7e4acf0b296ca7b18814a94deaaf25e4b7a Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2020-02-25Add board moduleHyotaek Shim3-0/+111
Change-Id: I32465c971caf578d11e6de94a12c8d5601d839f9 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2020-02-21Enable USB gadget for RPI4INSUN PYO5-0/+98
You can use this usb hal with both RPI3 and RPI4. //////////////////////////////////////////////////////////////////////////////////////////////////// RPI3 does not have /sys/kernel/config and usb initialization faiied. So, usb is not enabled in RPI3. Therefore, a single usb hal can be used in both RPI3 and RPI4. Deviced internal design for extcon providing incomplete functionality //////////////////////////////////////////////////////////////////////////////////////////////////// Excon does not work perfectly in RPI4 So I asked the kernel team to fix the extcon value to 1. If extcon is always 1, deviecd will not recognize when usb is disconnected, but it will work normally. Conclusion: For targets where extcon does not work perfectly, deviced do not support usb connect/disconnect. Change-Id: Iea3ae481b3120432197a849956fc5332748957ad Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
2020-02-07Revert "Workaround for RPi4 bring-up"Hyotaek Shim1-1/+0
This reverts commit 81c57d47fda09f53336023696fbd71098afa1d13. Change-Id: If4e25f864efda2925d4c46b1d03369fdadcaef72
2020-02-05Add build option -Wall -WerrorYoungjae Cho1-1/+3
Change-Id: Ic4cfc6347d38e0e7a59c8eb5f7fc2f12fecdc7a4 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-02-03Workaround for RPi4 bring-upHyotaek Shim1-0/+1
Change-Id: Id772a00e3dee566643b2323143d2eb40e59a3488 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2019-11-20Fix logging locationYoungjae Cho1-1/+1
Change-Id: I4646d7e6dd0706e90f68bfc6108a2159cf9ff36c Signed-off-by: Youngjae Cho <y0.cho@samsung.com>