platform/adaptation/tw3/pass-hal-tw3.git
20 months agopass-hal-tw3: Add display/disk hal information 98/279798/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.061116 accepted/tizen/7.0/unified/hotfix/20221116.104527 accepted/tizen/8.0/unified/20231005.092541 accepted/tizen/unified/20220818.210823 submit/tizen/20220818.050943 tizen_7.0_m2_release tizen_8.0_m2_release
Dongwoo Lee [Thu, 18 Aug 2022 05:00:16 +0000 (14:00 +0900)]
pass-hal-tw3: Add display/disk hal information

Change-Id: Icd45ada800084d5af44f3da1574955ea94b5d66d
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
2 years agopass-hal: tw3: Update temperature property 44/264244/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093844 accepted/tizen/unified/20210926.235754 submit/tizen/20210924.100744 submit/tizen_6.5/20211028.161601 tizen_6.5.m2_release
Dongwoo Lee [Wed, 15 Sep 2021 03:14:24 +0000 (12:14 +0900)]
pass-hal: tw3: Update temperature property

Since pass core is changed to handle temperature property with range
value, it should be updated as using object which has start and end
values. Optionally, temperature object can have threshold  used for
preserving upper level policies until temperature is down enoughly.

Change-Id: I8fbac92b4472d55094ea3cbb81ab1dc42de93419
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
2 years agopass-hal: tw3: Add missing target_level for thermal section 17/263117/1 accepted/tizen/unified/20210827.045723 submit/tizen/20210827.012401
Chanwoo Choi [Thu, 26 Aug 2021 08:39:56 +0000 (17:39 +0900)]
pass-hal: tw3: Add missing target_level for thermal section

Change-Id: I5dc17895c27890f05d7f8f2379966d6ea5167f40
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2 years agopass-hal: tw3: Convert script format to json to improve readability 58/261958/3 accepted/tizen/unified/20210809.061355 submit/tizen/20210809.032652
Chanwoo Choi [Thu, 29 Jul 2021 13:11:40 +0000 (22:11 +0900)]
pass-hal: tw3: Convert script format to json to improve readability

The legacy .conf file format is not better on side of readability.
So that change the configuration file format to json style to improve
readability.

And remove unneeded pass-resource2.conf.

Change-Id: Icf38292a3de92bb6c1a175ab327f0b7f8ec9ec15
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Fix svace warnings 81/253781/1 accepted/tizen/unified/20210218.082019 submit/tizen/20210218.030331
Chanwoo Choi [Thu, 18 Feb 2021 03:10:02 +0000 (12:10 +0900)]
pass-hal: tw3: Fix svace warnings

Change-Id: I096f9bbd330f70e79f41b82f490f77469668a24e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: v1.2.0 and Remove unused dlog dependency 52/252252/1 accepted/tizen/unified/20210204.134521 submit/tizen/20210201.020414 submit/tizen/20210204.032624
Chanwoo Choi [Tue, 26 Jan 2021 04:49:40 +0000 (13:49 +0900)]
pass-hal: tw3: v1.2.0 and Remove unused dlog dependency

Change the version due to following changes and remove unused dlog dependency.

Changes from v1.1.0
- Remake the pass-hal-tw3 according to hal-api-power
(/platform/hal/api/power).

Change-Id: Ic7d36401e38ae51d7272644064d56521dc70a852
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Update pass-hal-tw3 by using hal-api-power interface 80/251380/4
Chanwoo Choi [Wed, 13 Jan 2021 05:40:16 +0000 (14:40 +0900)]
pass-hal: tw3: Update pass-hal-tw3 by using hal-api-power interface

Prior pass-hal-tw3 depends on PASS HAL interface (hal.h) provided by
pass-hal-devel pkg. In order to keep the new HAL API package on Tizen 6.5,
change the pass-hal-tw3 package.

[Mandatory implementation for HAL backend]
- Power HAL backend must define 'hal_backend_power_data' symbol
including the implementation of Power HAL interface.
- Include /hal/lib64/libhal-backend-power.so

Change-Id: I516dc8e8c1064ef0cfb9bb1a0101783059ed27fc
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: v1.1.0 33/240933/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.124023 accepted/tizen/6.0/unified/hotfix/20201103.051516 accepted/tizen/unified/20200831.122521 submit/tizen/20200828.025140 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_6.0.m2_release
Chanwoo Choi [Thu, 13 Aug 2020 02:43:23 +0000 (11:43 +0900)]
pass-hal: tw3: v1.1.0

Change dependency version of PASS daemon because the format of configuration
file was changed like 'scenario pass_level' and then verison-up.

Change-Id: I25e433f55a74ac4c4193a1b49c246f565dfedf16
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Add read permission to allow others to read 25/240925/1 accepted/tizen/unified/20200813.122612 submit/tizen/20200813.021229
Chanwoo Choi [Thu, 13 Aug 2020 02:05:30 +0000 (11:05 +0900)]
pass-hal: tw3: Add read permission to allow others to read

Add read permission to allow others to access the sysfs node for CPU h/w
resource.

Change-Id: Ia8db5bee64363f2d2ea12a0950b96d0def0755ca
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Change sysfs node to control min/max frequency of CPU 01/240201/1 accepted/tizen/unified/20200810.123007 submit/tizen/20200810.073747
Chanwoo Choi [Tue, 4 Aug 2020 09:46:31 +0000 (18:46 +0900)]
pass-hal: tw3: Change sysfs node to control min/max frequency of CPU

When change the maximum cpu frequency with node[1], it doesnt' change
the value of /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq.
[1] /sys/devices/system/cpu/cpufreq/pmqos/cpufreq_max

So, change the sysfs node to control min/max cpu frequency with following
nodes:
- /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
- /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

Change-Id: I3ec88b554e2450ef475cfbb6b910679041b5fb47
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Add new Doze scenario to control maximum CPU frequency 02/239802/4
Chanwoo Choi [Thu, 30 Jul 2020 03:54:24 +0000 (12:54 +0900)]
pass-hal: tw3: Add new Doze scenario to control maximum CPU frequency

Add new Doze scenario which handles h/w resources like CPU frequency
when right after LCD off and before entering the suspend-to-RAM
for reducing the idle power-consumption.

In case of Doze mode, it control the maximum CPU frequency to reduce
the idle power-consumption.

And just add Doze scenario to memory h/w resource
but when Doze scenario is requied, it doesn't change any h/w resource.

Change-Id: I92fb748221f77213fa505e77ae2e09842b1b6ac2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
3 years agopass-hal: tw3: Change smack label to give read permission everyone 10/234310/1 accepted/tizen/unified/20200528.133014 submit/tizen/20200526.021149
Chanwoo Choi [Mon, 25 May 2020 10:10:19 +0000 (19:10 +0900)]
pass-hal: tw3: Change smack label to give read permission everyone

Change smack label to give read permission everyone as following:
- System -> System:Shared

Change-Id: Ib38090348974694fdad426cbb6d97edf4988c82c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: tw3: Update configuration using scenario pass_level for CPU0/Memory 02/225802/2 accepted/tizen/unified/20200227.121034 submit/tizen/20200227.020232
Chanwoo Choi [Mon, 24 Feb 2020 11:38:07 +0000 (20:38 +0900)]
pass-hal: tw3: Update configuration using scenario pass_level for CPU0/Memory

Change-Id: I4dce49a469ea53c62d030e47fc8689cbb0289305
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
4 years agopass-hal: tw3: Send exact size of pmqos data 72/213772/2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.004217 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081631 accepted/tizen/5.5/unified/wearable/hotfix/20201027.123011 accepted/tizen/unified/20190916.111614 submit/tizen/20190916.022543 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 tizen_5.5.m2_release
Dongwoo Lee [Wed, 11 Sep 2019 06:39:17 +0000 (15:39 +0900)]
pass-hal: tw3: Send exact size of pmqos data

To prevent buffer overflow, sends exact size of pmqos data.

Change-Id: Ia4d1a91e15464e747e8874d30f99d0d1a8087972
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
5 years agopass-hal: tw3: Change name of thermal actions 77/203377/1 accepted/tizen/unified/20190530.043113 submit/tizen/20190528.074510
Dongwoo Lee [Thu, 11 Apr 2019 08:19:38 +0000 (17:19 +0900)]
pass-hal: tw3: Change name of thermal actions

This changes name of thermal actions as following thermal interface
standard.

Change-Id: I9f15182643146ba46ebfc49db9fb7a4fcaf66100
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
5 years agopass-hal: tw3: Adjust configuration for tw3 board 33/202833/4 accepted/tizen/unified/20190410.002153 submit/tizen/20190409.000611
Dongwoo Lee [Wed, 3 Apr 2019 01:05:45 +0000 (10:05 +0900)]
pass-hal: tw3: Adjust configuration for tw3 board

This patch adjusts HAL configuration for tw3 board.

Change-Id: I00b1bf1d8fbe962493816cb693fa7d88232123c9
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
5 years agopass-hal: tw3: Rename files and functions 35/202835/1 accepted/tizen/unified/20190407.223135 submit/tizen/20190405.073541
Dongwoo Lee [Mon, 25 Mar 2019 05:59:40 +0000 (14:59 +0900)]
pass-hal: tw3: Rename files and functions

This patch renames files and functions which including tw2 to
those of tw3.

Change-Id: Ic7f74877ed7cbbc89d7e970443a977c1be0cd71f
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
5 years agopass-hal: tw3: Add base code 34/202834/1
Dongwoo Lee [Mon, 25 Mar 2019 02:12:06 +0000 (11:12 +0900)]
pass-hal: tw3: Add base code

tw3 has almost same sysfs node with tw2 board, so this patch adds
tw2 pass hal code as a base for tw3.

Change-Id: I101cefdcef74f97df02bed52fc88a19aa6d1effa
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Thu, 21 Mar 2019 01:44:06 +0000 (01:44 +0000)]
Initial empty repository