diff options
author | Dongwoo Lee <dwoo08.lee@samsung.com> | 2022-08-18 13:59:09 +0900 |
---|---|---|
committer | Dongwoo Lee <dwoo08.lee@samsung.com> | 2022-08-18 13:59:09 +0900 |
commit | 9ba88db327ea82fec942da4187a2a14acf1f191a (patch) | |
tree | 9cf0c85adcfc50482a6b9f0951fc59942b3d4cc0 | |
parent | 356cc616bde7ba7da27edf2974c4416eeff50df1 (diff) | |
download | pass-hal-tm1-tizen_7.0_hotfix.tar.gz pass-hal-tm1-tizen_7.0_hotfix.tar.bz2 pass-hal-tm1-tizen_7.0_hotfix.zip |
pass-hal-tm1: Add display/disk hal informationtizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20220818.050924accepted/tizen/unified/20220818.210814accepted/tizen/8.0/unified/20231005.092539accepted/tizen/7.0/unified/hotfix/20221116.104525accepted/tizen/7.0/unified/20221110.063600tizen_8.0tizen_7.0_hotfixtizen_7.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unified
Change-Id: I0b6f0d886319788c6a61a5148e51947ecefdfb39
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | packaging/pass-hal-tm1.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 e8dc32e..329da92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,8 @@ TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${pkgs_LDFLAGS} -ldl) SET(CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass.json - ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-resource0.json) + ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-resource0.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/pass-hal-tm1.spec b/packaging/pass-hal-tm1.spec index 48b0810..7066e66 100644 --- a/packaging/pass-hal-tm1.spec +++ b/packaging/pass-hal-tm1.spec @@ -59,3 +59,4 @@ fi /hal/lib/tmpfiles.d/pass-hal.conf %config %{_hal_sysconfdir}/pass/pass.json %config %{_hal_sysconfdir}/pass/pass-resource0.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 6d18069..f9e05c6 100644 --- a/scripts/pass.json +++ b/scripts/pass.json @@ -11,6 +11,18 @@ "cpu,number_of_cpus" : 4, "cpu,first_cpu" : 0, "cpu,cpu_load_path" : null + }, { + "device_type" : "display", + "device_name" : "lcd", + "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" } ] } |