From ac715ab11d898d1f92b17a914965ef81c390ff05 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Thu, 2 May 2024 10:58:06 -0600 Subject: [PATCH] init: zumapro: update thermal uclamp cooling device owner Update the thermal uclamp cooling device cur_state owner to system. This will allow thermal-HAL to update any mitigation. Bug: 338150183 Test: Validate the node permission Change-Id: I8cd35b12442ab6a314d8c9b9375877dc62cd19b6 Signed-off-by: Ram Chandrasekar --- conf/init.zumapro.board.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.zumapro.board.rc b/conf/init.zumapro.board.rc index 8f000a3..901f1d4 100644 --- a/conf/init.zumapro.board.rc +++ b/conf/init.zumapro.board.rc @@ -770,6 +770,9 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state chown system system /dev/thermal/cdev-by-name/chg_mdis/cur_state chown system system /dev/thermal/cdev-by-name/usbc-port/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-0/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-4/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-7/cur_state on charger # Use charger thermal config