platform/hal/backend/rpi/device-rpi.git
3 years agousb-gadget: remove usb-gadget and add configuration file 01/274601/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20220602.131945 submit/tizen_6.5/20220504.075813 submit/tizen_6.5/20220531.085836
Youngjae Cho [Mon, 2 May 2022 07:16:13 +0000 (16:16 +0900)]
usb-gadget: remove usb-gadget and add configuration file

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>
3 years agodisplay: return -ENOTSUP if there is no brightness node 51/270751/1 accepted/tizen/6.5/unified/20220212.065124 submit/tizen_6.5/20220208.052648
Youngjae Cho [Mon, 7 Feb 2022 04:11:34 +0000 (13:11 +0900)]
display: return -ENOTSUP if there is no brightness node

Change-Id: Ic42e6ca43297dc8a7e7c9ad8547b0397039e7dd5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit e86b9bb79d0e49fde21ffb3a27882334900aacfa)

3 years agospec: add "ExclusiveArch: %{arm} aarch64" 12/268312/1 accepted/tizen/6.5/unified/20211220.133413 submit/tizen_6.5/20211220.071659
INSUN PYO [Mon, 20 Dec 2021 04:41:16 +0000 (13:41 +0900)]
spec: add "ExclusiveArch: %{arm} aarch64"

Change-Id: I02c8ae54c35a4f39b21f40659c314ef2f347bd29

3 years agotouchscreen: disable get/set state by kerenl version 98/264598/1 accepted/tizen/6.5/unified/20211028.115524 accepted/tizen/unified/20210927.120907 submit/tizen/20210927.071602 submit/tizen_6.5/20211028.163201 tizen_6.5.m2_release
Youngjae Cho [Mon, 27 Sep 2021 05:51:49 +0000 (14:51 +0900)]
touchscreen: disable get/set state by kerenl version

Change-Id: I5fc2df8336470fb9e24efbebe819706ae9020031
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agoIntroduce separate package and config for RPi3/RPi4 50/261850/10 accepted/tizen/unified/20210810.065637 submit/tizen/20210810.054703
Mateusz Majewski [Tue, 27 Jul 2021 07:45:02 +0000 (09:45 +0200)]
Introduce separate package and config for RPi3/RPi4

Change-Id: Ibc6a1574ad4d872e21bd87ca4c4aa2fe92e10f46

3 years agothermal: rename device_thermal_e to hal_device_thermal_e 50/262050/1 accepted/tizen/unified/20210804.085740 submit/tizen/20210802.064402
Youngjae Cho [Mon, 2 Aug 2021 05:34:20 +0000 (14:34 +0900)]
thermal: rename device_thermal_e to hal_device_thermal_e

Change-Id: I57433638117491dfe64d4a2078ccc486697ebec8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agoperipheral-io: add spaces to uart config 55/261755/1
Adrian Szyndela [Fri, 23 Jul 2021 12:01:35 +0000 (14:01 +0200)]
peripheral-io: add spaces to uart config

For better readability and aesthetics.

Change-Id: I3899f5449eba0f3d8d5bb03e20af1fb0409c1504

3 years agoperipheral-io: add config file for GPIO 81/261581/1
Adrian Szyndela [Wed, 21 Jul 2021 12:18:04 +0000 (14:18 +0200)]
peripheral-io: add config file for GPIO

Change-Id: I970d4c3488f57379e489e63954502a35dda390cf
Signed-off-by: Adrian Szyndela <adrian.s@samsung.com>
3 years agoperipheral-io: add uart port-devpath mapping file 45/260745/3 accepted/tizen/unified/20210705.125141 submit/tizen/20210705.023617
Youngjae Cho [Fri, 2 Jul 2021 05:01:58 +0000 (14:01 +0900)]
peripheral-io: add uart port-devpath mapping file

Change-Id: If115206aaa3d5ea46c0c02d2469cb298f68cbb92
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agoboard: fix parameter of get_device_serial_number() 48/260048/1 accepted/tizen/unified/20210621.123310 submit/tizen/20210618.075427
Youngjae Cho [Fri, 18 Jun 2021 02:52:45 +0000 (11:52 +0900)]
board: fix parameter of get_device_serial_number()

Change-Id: I33b2e37cc1b7b48c6cac7145d87e3077d46e7009
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
3 years agoAdd libsyscommon to required package to provide linker flag 75/259975/1
Youngjae Cho [Thu, 17 Jun 2021 05:22:25 +0000 (14:22 +0900)]
Add libsyscommon to required package to provide linker flag

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>
4 years agoMerge "board: renaming get_device_serial_number" into tizen accepted/tizen/unified/20210615.120433 submit/tizen/20210614.021455
Hyotaek Shim [Mon, 14 Jun 2021 02:10:44 +0000 (02:10 +0000)]
Merge "board: renaming get_device_serial_number" into tizen

4 years agoboard: renaming get_device_serial_number 67/259767/1
Youngjae Cho [Mon, 14 Jun 2021 01:53:57 +0000 (10:53 +0900)]
board: renaming get_device_serial_number

Change-Id: I79a94dc5418c83994bd39fedf1504c6c59f32325
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoreboot: support storage partition for delivering reboot parameters 09/259409/6 accepted/tizen/unified/20210609.082341 submit/tizen/20210609.021843
INSUN PYO [Mon, 7 Jun 2021 09:20:22 +0000 (18:20 +0900)]
reboot: support storage partition for delivering reboot parameters

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>
4 years agoInitialization for platform/hal/backend/rpi/device-rpi 21/259321/3 accepted/tizen/unified/20210604.120629 submit/tizen/20210604.091051
Hyotaek Shim [Fri, 4 Jun 2021 08:55:57 +0000 (17:55 +0900)]
Initialization for platform/hal/backend/rpi/device-rpi

Change-Id: I293ccef227500f1da22558e16670d37002e60cdf
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agomemory: change return value when node is not supported
Yunmi Ha [Fri, 12 Mar 2021 02:36:06 +0000 (11:36 +0900)]
memory: change return value when node is not supported

Change-Id: Ifb5ed73626186e5d250fc5141217c44423100edd
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoFix svace issues
Yunmi Ha [Mon, 22 Feb 2021 02:37:15 +0000 (11:37 +0900)]
Fix svace issues

 - memory: DIVISION_BY_ZERO

Change-Id: I17ff0853a48ff6c6c517e6bf97257fd8c02c7650
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agomemory: add new halapi backend
Yunmi Ha [Thu, 18 Feb 2021 06:07:18 +0000 (15:07 +0900)]
memory: add new halapi backend

Change-Id: Ib72bb4098024c5024e3c2bbeb3363ba9ea8282ff
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoMove common macro to device-common
lokilee73 [Mon, 15 Feb 2021 01:37:01 +0000 (10:37 +0900)]
Move common macro to device-common

Change-Id: I22c4cfda003ef78936cc179da4549b12b3532038
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoApply new hal-backend-common-usb_gadget.h header
INSUN PYO [Wed, 10 Feb 2021 03:24:01 +0000 (12:24 +0900)]
Apply new hal-backend-common-usb_gadget.h header

Change-Id: I9e5fc51c5ffbd07e6f3fae269d26de50c7b46943

4 years agospec: remove unused pkgconfig(libudev) build dependency
INSUN PYO [Wed, 3 Feb 2021 06:31:45 +0000 (15:31 +0900)]
spec: remove unused pkgconfig(libudev) build dependency

Change-Id: I0f054ccd8b2d2fad46605c5aac361be5a1a77528

4 years agoBoard : apply rpm macro of hal install path
lokilee73 [Tue, 26 Jan 2021 06:21:19 +0000 (15:21 +0900)]
Board : apply rpm macro of hal install path

Change-Id: Id7c08ce11073be919ce4efa58d812b2635669708
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoApply rpm macro of hal install path
lokilee73 [Tue, 26 Jan 2021 05:43:38 +0000 (14:43 +0900)]
Apply rpm macro of hal install path

Change-Id: I852d4997ba918fd02205764825ef1af8c08fb585
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agousb_gadget: apply next HAL architecture (hal api + backend)
INSUN PYO [Fri, 15 Jan 2021 11:34:17 +0000 (20:34 +0900)]
usb_gadget: apply next HAL architecture (hal api + backend)

Change-Id: Ibb580c5b4a59db583dd2986616eb7c79b5070dfa

4 years agoUse file library of libsyscommon
Yunmi Ha [Tue, 19 Jan 2021 06:31:19 +0000 (15:31 +0900)]
Use file library of libsyscommon

Change-Id: Ie718cb852a6a6583a6fbcde1cf30f63ef4b73c87
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoRework led hal
lokilee73 [Mon, 18 Jan 2021 03:22:23 +0000 (12:22 +0900)]
Rework led hal

Change-Id: I83e2d93e589ef491cabdc6fef356269df0b2f9f2
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoAdd FEATURE_DLOG and change LOG_TAG
lokilee73 [Thu, 14 Jan 2021 07:43:03 +0000 (16:43 +0900)]
Add FEATURE_DLOG and change LOG_TAG

Change-Id: Ib0e7dd2668afead137a6b60a7353e79e5bf5c540
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agohaptic: apply next HAL architecture (hal api + backend)
Yunmi Ha [Wed, 13 Jan 2021 12:14:04 +0000 (21:14 +0900)]
haptic: apply next HAL architecture (hal api + backend)

Change-Id: I2fdf1c8a5c244d40836df1962c82cf467dd7dc83
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoChange vender name
lokilee73 [Wed, 13 Jan 2021 04:43:17 +0000 (13:43 +0900)]
Change vender name

Change-Id: I211f45b164f1dde5a4c29fd0138d9e6c316a7482

4 years agoApply next HAL architecture (hal api + backend)
lokilee73 [Tue, 12 Jan 2021 08:26:22 +0000 (17:26 +0900)]
Apply next HAL architecture (hal api + backend)

Change-Id: Ifec0a7e4acf0b296ca7b18814a94deaaf25e4b7a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agoAdd board module
Hyotaek Shim [Tue, 25 Feb 2020 02:45:35 +0000 (11:45 +0900)]
Add board module

Change-Id: I32465c971caf578d11e6de94a12c8d5601d839f9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoEnable USB gadget for RPI4
INSUN PYO [Thu, 6 Feb 2020 07:38:03 +0000 (16:38 +0900)]
Enable USB gadget for RPI4

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>
5 years agoRevert "Workaround for RPi4 bring-up"
Hyotaek Shim [Fri, 7 Feb 2020 10:25:18 +0000 (10:25 +0000)]
Revert "Workaround for RPi4 bring-up"

This reverts commit 81c57d47fda09f53336023696fbd71098afa1d13.

Change-Id: If4e25f864efda2925d4c46b1d03369fdadcaef72

5 years agoAdd build option -Wall -Werror
Youngjae Cho [Wed, 5 Feb 2020 08:00:27 +0000 (17:00 +0900)]
Add build option -Wall -Werror

Change-Id: Ic4cfc6347d38e0e7a59c8eb5f7fc2f12fecdc7a4
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
5 years agoWorkaround for RPi4 bring-up
Hyotaek Shim [Mon, 3 Feb 2020 05:29:58 +0000 (14:29 +0900)]
Workaround for RPi4 bring-up

Change-Id: Id772a00e3dee566643b2323143d2eb40e59a3488
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
5 years agoFix logging location
Youngjae Cho [Wed, 20 Nov 2019 05:51:27 +0000 (14:51 +0900)]
Fix logging location

Change-Id: I4646d7e6dd0706e90f68bfc6108a2159cf9ff36c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
6 years agoAdd thermal module for device_thermal_get_temperature
lokilee73 [Fri, 11 Jan 2019 12:21:48 +0000 (21:21 +0900)]
Add thermal module for device_thermal_get_temperature

Change-Id: I575d6402d823ea1e53f738772b1ff3457603d54b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoRemove executable flag from non-executable files
lokilee73 [Thu, 27 Dec 2018 02:25:28 +0000 (11:25 +0900)]
Remove executable flag from non-executable files

Change-Id: I1001d32a54715d05d4189d3c407c20aa2482454b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoMove shared files to hwcommon package
lokilee73 [Tue, 10 Jul 2018 06:28:18 +0000 (15:28 +0900)]
Move shared files to hwcommon package

Change-Id: I6e14eb3b3b765ba7e66bd433a575a24df1f004e7
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoModify blinkm_led_stop_script
lokilee73 [Wed, 27 Jun 2018 02:30:36 +0000 (11:30 +0900)]
Modify blinkm_led_stop_script

peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write().

Change-Id: If67f2b0fc03effbfd4e87d8c5a0737a581e1dfa6
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoMerge "udev: Increase udev monitor buffer size" into tizen
INSUN PYO [Wed, 27 Sep 2017 06:45:02 +0000 (06:45 +0000)]
Merge "udev: Increase udev monitor buffer size" into tizen

7 years agoudev: Increase udev monitor buffer size
INSUN PYO [Wed, 27 Sep 2017 05:13:06 +0000 (14:13 +0900)]
udev: Increase udev monitor buffer size

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I370ef29250c1b640af15fd2ef094eeef4a47fba3

7 years agotouchscreen: control interface change to sysfs
KwangCheol Lee [Wed, 13 Sep 2017 10:53:04 +0000 (19:53 +0900)]
touchscreen: control interface change to sysfs

The control interface of touchscreen is changed from
the kernel module loading/unloading to sysfs enable interface.

Version changed to 0.0.2

Change-Id: Ifab000c27b17638ba1cf69583ab2fe79f49a1f4e
Signed-off-by: KwangCheol Lee <kclee@dignsys.com>
(cherry picked from commit 8d690c714b2544c11410ab7b41c10fe150a28821)

7 years agoled: Add LED HAL interface for RPI3 blinkm led device
scott park [Wed, 19 Jul 2017 11:07:44 +0000 (20:07 +0900)]
led: Add LED HAL interface for RPI3 blinkm led device

This is the initial implementation of LED HAL using PIO interface.
The implemeted API is set_state.

Change-Id: Ie8438a3133498b9726130363c6491930dbefdf92
Signed-off-by: scott park <scott.park@dignsys.com>
7 years agoAdd Display HAL and Touchscreen HAL
KwangCheol Lee [Tue, 27 Jun 2017 03:20:55 +0000 (12:20 +0900)]
Add Display HAL and Touchscreen HAL

 - Removed unused files:
     battery, external_connection, usb_client and usb_gadget
 - Removed unnecessary lines.
 - Removed whitespaces.
 - Remove redundant lines in CMakeLists.txt file.
 - Remove unnecessary line in spec file.

Change-Id: I2074a4b1916110480b3d0ae272077b2380053d74

8 years agoInitial empty repository
Tizen Infrastructure [Mon, 29 May 2017 23:12:58 +0000 (23:12 +0000)]
Initial empty repository