From b31915e50fdaaea80052b5ea17e8c96ae9f40087 Mon Sep 17 00:00:00 2001 From: yanghongliang Date: Sun, 24 Oct 2021 00:47:01 +0800 Subject: [PATCH] update vendor_rockchip Signed-off-by: yanghongliang --- .../hdf_config/khdf/device_info/device_info.hcs | 4 ++-- rk3568/hdf_config/khdf/input/input_config.hcs | 2 +- rk3568/hdf_config/uhdf/device_info.hcs | 17 +++++++++++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/rk3568/hdf_config/khdf/device_info/device_info.hcs b/rk3568/hdf_config/khdf/device_info/device_info.hcs index c8e63c7b..44a792b7 100755 --- a/rk3568/hdf_config/khdf/device_info/device_info.hcs +++ b/rk3568/hdf_config/khdf/device_info/device_info.hcs @@ -247,7 +247,7 @@ device0 :: deviceNode { policy = 2; priority = 120; - preload = 2; + preload = 0; permission = 0660; moduleName = "HDF_TOUCH"; serviceName = "hdf_input_event1"; @@ -259,7 +259,7 @@ device0 :: deviceNode { policy = 0; priority = 130; - preload = 2; + preload = 0; permission = 0660; moduleName = "HDF_TOUCH_GT911"; serviceName = "hdf_touch_gt911_service"; diff --git a/rk3568/hdf_config/khdf/input/input_config.hcs b/rk3568/hdf_config/khdf/input/input_config.hcs index 55205423..8f7007a6 100755 --- a/rk3568/hdf_config/khdf/input/input_config.hcs +++ b/rk3568/hdf_config/khdf/input/input_config.hcs @@ -96,7 +96,7 @@ root { chipInfo = "AAAA11222"; // 4-ProjectName, 2-TP IC, 3-TP Module /* 0:i2c 1:spi*/ busType = 0; - deviceAddr = 0x14; + deviceAddr = 0x5D; /* 0:None 1:Rising 2:Failing 4:High-level 8:Low-level */ irqFlag = 2; maxSpeed = 400; diff --git a/rk3568/hdf_config/uhdf/device_info.hcs b/rk3568/hdf_config/uhdf/device_info.hcs index 884e4b5e..02fbee98 100755 --- a/rk3568/hdf_config/uhdf/device_info.hcs +++ b/rk3568/hdf_config/uhdf/device_info.hcs @@ -111,8 +111,8 @@ device0 :: deviceNode { policy = 2; priority = 120; - moduleName = "libhdi_display_layer_service.z.so"; - serviceName = "hdi_display_layer_service"; + moduleName = "libhdi_media_layer_service.z.so"; + serviceName = "hdi_media_layer_service"; } } } @@ -128,5 +128,18 @@ } } } + + display_gralloc :: host { + hostName = "disp_gralloc_host"; + priority = 40; + input_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 160; + moduleName = "libhdi_display_gralloc_stub.z.so"; + serviceName = "hdi_display_gralloc_service"; + } + } + } } } -- Gitee