diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2022-08-08 11:33:59 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2022-08-08 11:33:59 +0900 |
commit | 87962b8ddff7c4aa4fc6671fedf9d097042b78c8 (patch) | |
tree | b19cbcfd27154ddf9e831bcef0c14edc38a6401a | |
parent | 60441327fc260914b9d6ffc76ae158b8d8c828fc (diff) | |
download | power-vim3-87962b8ddff7c4aa4fc6671fedf9d097042b78c8.tar.gz power-vim3-87962b8ddff7c4aa4fc6671fedf9d097042b78c8.tar.bz2 power-vim3-87962b8ddff7c4aa4fc6671fedf9d097042b78c8.zip |
power-vim3: Add display/disk hal informationsubmit/tizen/20220808.023721accepted/tizen/unified/20220808.135239
Change-Id: I0214e0bb80e20d1ad948fdb83a5714c936151f09
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | packaging/hal-backend-power-vim3.spec | 1 | ||||
-rw-r--r-- | scripts/pass-dummy.json | 14 | ||||
-rw-r--r-- | scripts/pass.json | 12 |
4 files changed, 29 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d99a943..f7b4e86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,8 @@ SET(CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-cpu2.json ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-bus.json ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-gpu.json - ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-memory.json) + ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-memory.json + ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-dummy.json) INSTALL(FILES ${CONF_FILES} DESTINATION /hal/etc/pass) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-hal.conf DESTINATION /hal/lib/tmpfiles.d) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION ${HAL_LICENSEDIR}/${PROJECT_NAME}) diff --git a/packaging/hal-backend-power-vim3.spec b/packaging/hal-backend-power-vim3.spec index 3643dca..5b3a2ed 100644 --- a/packaging/hal-backend-power-vim3.spec +++ b/packaging/hal-backend-power-vim3.spec @@ -62,3 +62,4 @@ fi %config %{_hal_sysconfdir}/pass/pass-bus.json %config %{_hal_sysconfdir}/pass/pass-gpu.json %config %{_hal_sysconfdir}/pass/pass-memory.json +%config %{_hal_sysconfdir}/pass/pass-dummy.json diff --git a/scripts/pass-dummy.json b/scripts/pass-dummy.json new file mode 100644 index 0000000..e2c17ca --- /dev/null +++ b/scripts/pass-dummy.json @@ -0,0 +1,14 @@ +{ + "support" : false, + "init_level" : 0, + "level_list" : + [ + { + "level" : 0 + } + ], + + "pmqos_support" : false, + "thermal_support" : false, + "cpuhp_support" : false +} diff --git a/scripts/pass.json b/scripts/pass.json index 79c9216..8f702c6 100644 --- a/scripts/pass.json +++ b/scripts/pass.json @@ -31,6 +31,18 @@ "device_type" : "memory", "device_name" : "memory", "device_config_path" : "/hal/etc/pass/pass-memory.json" + }, { + "device_type" : "display", + "device_name" : "hdmi0", + "device_config_path" : "/hal/etc/pass/pass-dummy.json" + }, { + "device_type" : "disk", + "device_name" : "zram0", + "device_config_path" : "/hal/etc/pass/pass-dummy.json" + }, { + "device_type" : "disk", + "device_name" : "mmcblk0", + "device_config_path" : "/hal/etc/pass/pass-dummy.json" } ] } |