platform/hal/backend/rpi/device-rpi.git
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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

3 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>
3 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>
3 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

3 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>
3 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>
3 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>
3 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>
3 years agoChange vender name
lokilee73 [Wed, 13 Jan 2021 04:43:17 +0000 (13:43 +0900)]
Change vender name

Change-Id: I211f45b164f1dde5a4c29fd0138d9e6c316a7482

3 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
5 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>
5 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

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