pass-hal-tm1: Add display/disk hal information 97/279797/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/7.0/unified/20221110.063600 accepted/tizen/7.0/unified/hotfix/20221116.104525 accepted/tizen/8.0/unified/20231005.092539 accepted/tizen/9.0/unified/20241031.000139 accepted/tizen/unified/20220818.210814 submit/tizen/20220818.050924 tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 18 Aug 2022 04:59:09 +0000 (13:59 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 18 Aug 2022 04:59:09 +0000 (13:59 +0900)
Change-Id: I0b6f0d886319788c6a61a5148e51947ecefdfb39
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
CMakeLists.txt
packaging/pass-hal-tm1.spec
scripts/pass-dummy.json [new file with mode: 0644]
scripts/pass.json

index e8dc32ea2fd8eb77b9c8ff7ff3da44e94e5f0b07..329da92b265597bfbc340a3de276e869ebdab813 100644 (file)
@@ -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})
index 48b08109261ca92a487dd8a46dde5eefe20e8994..7066e66327f2018e97df7fe3bc704fac01205657 100644 (file)
@@ -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 (file)
index 0000000..e2c17ca
--- /dev/null
@@ -0,0 +1,14 @@
+{
+       "support"               : false,
+       "init_level"                    : 0,
+       "level_list"                    :
+       [
+               {
+                       "level"         : 0
+               }
+       ],
+
+       "pmqos_support"         : false,
+       "thermal_support"       : false,
+       "cpuhp_support"         : false
+}
index 6d18069371076125864ae8bbf5570db311a62654..f9e05c6e767f38a9779296b2eba4d96d9035a9d0 100644 (file)
                        "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"
                }
        ]
 }