Board tree for Google Tensor G1 devices
Find a file
George Lee 9cf36fcccb bcl: Updated BCL metrics per sysfs change.
Update BCL triggered stats reporting.

Bug: 180620276
Test: adb bugreport
dumpstate_board.txt shows:
------ Mitigation Stats (/vendor/bin/sh -c echo "Source\t\tCount\tSOC\tTime\tVoltage"; for f in `ls /sys/devices/virtual/pmic/mitigation/last_triggered_count/*` ; do count=`cat $f`; a=${f/\/sys\/devices\/virtual\/pmic\/mitigation\/last_triggered_count\//}; b=${f/last_triggered_count/last_triggered_capacity}; c=${f/last_triggered_count/last_triggered_timestamp/}; d=${f/last_triggered_count/last_triggered_voltage/}; cnt=`cat $f`; cap=`cat ${b/count/cap}`; ti=`cat ${c/count/time}`; volt=`cat ${d/count/volt}`; echo "${a/_count/} \t$cnt\t$cap\t$ti\t$volt" ; done) ------
Source		Count	SOC	Time	Voltage
batoilo 	0	0	0	0
ocp_cpu1 	0	0	0	0
ocp_cpu2 	0	0	0	0
ocp_gpu 	0	0	0	0
ocp_tpu 	0	0	0	0
smpl_warn 	0	0	0	0
soft_ocp_cpu1 	0	0	0	0
soft_ocp_cpu2 	0	0	0	0
soft_ocp_gpu 	0	0	0	0
soft_ocp_tpu 	0	0	0	0
vdroop1 	0	0	0	0
vdroop2 	0	0	0	0
------ Clock Divider Ratio (/vendor/bin/sh -c echo "Source\t\tRatio"; for f in `ls /sys/devices/virtual/pmic/mitigation/clock_ratio/*` ; do ratio=`cat $f`; a=${f/\/sys\/devices\/virtual\/pmic\/mitigation\/clock_ratio\//}; echo "${a/_ratio/} \t$ratio" ; done) ------
Source		Ratio
cpu0_clk 	0xf041c3
cpu1_heavy_clk 	0xf041c3
cpu1_light_clk 	0xf041c5
cpu2_heavy_clk 	0xf041c3
cpu2_light_clk 	0xf041c5
gpu_heavy_clk 	off
gpu_light_clk 	off
tpu_heavy_clk 	off
tpu_light_clk 	off
------ Clock Stats (/vendor/bin/sh -c echo "Source\t\tStats"; for f in `ls /sys/devices/virtual/pmic/mitigation/clock_stats/*` ; do stats=`cat $f`; a=${f/\/sys\/devices\/virtual\/pmic\/mitigation\/clock_stats\//}; echo "${a/_stats/} \t$stats" ; done) ------
Source		Stats
cpu0_clk 	0x101
cpu1_clk 	0x101
cpu2_clk 	0x101
gpu_clk 	off
tpu_clk 	off
------ Triggered Level (/vendor/bin/sh -c echo "Source\t\tLevel"; for f in `ls /sys/devices/virtual/pmic/mitigation/triggered_lvl/*` ; do lvl=`cat $f`; a=${f/\/sys\/devices\/virtual\/pmic\/mitigation\/triggered_lvl\//}; echo "${a/_lvl/} \t$lvl" ; done) ------
Source		Level
ocp_cpu1 	7000mA
ocp_cpu2 	12000mA
ocp_gpu 	12000mA
ocp_tpu 	10500mA
smpl 	2900mV
soft_ocp_cpu1 	7000mA
soft_ocp_cpu2 	12000mA
soft_ocp_gpu 	12000mA
soft_ocp_tpu 	10500mA

Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4ea25ebc86eb772c69e8047b2d5466ca52ec2d2c
2021-05-20 15:12:44 +00:00
conf camera power hint: add prefer high cap in all modes 2021-05-20 03:24:07 +00:00
display display: update vendor color file 2021-05-18 00:03:56 +00:00
dumpstate bcl: Updated BCL metrics per sysfs change. 2021-05-20 15:12:44 +00:00
factory Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
fingerprint Remove sysprop assignment left over from a WIP change 2021-05-20 07:36:17 +00:00
firmware Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
gnss gps: update gps driver 127.20.23.498766 2021-05-04 06:33:24 +00:00
health Enable Battery Defender on gs101 2021-05-18 18:48:49 +00:00
interfaces/boot bootctrl: Add support for A/B data in devinfo 2021-03-11 16:46:15 -08:00
keymaster Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
nfc Temporary disable eSE2 terminal 2021-05-19 05:30:36 +00:00
overlay gs101: remove fingerprint HIDL HAL config 2021-05-19 04:28:41 +00:00
overlay-factory Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
overlay-vendor/vendor/google/apps Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
pixelstats gs101: add audio uevent to report mic status for pixelstats 2021-05-07 08:48:18 +00:00
powerstats powerstats: Add TPU EnergyConsumer power attribution 2021-04-29 15:51:11 +00:00
radio Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
rro_overlays Add connectivity overlay to gs101 2021-04-23 08:22:42 +00:00
sensorhal Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
sensors Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
thermal Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
usb Modify file path for i2c devices 2021-05-14 05:05:26 +00:00
uwb device: uwb make 2021-04-28 19:08:51 +00:00
vibrator Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
wifi Add default lookup table for wifi coex 2021-04-14 21:46:03 +00:00
.clang-format Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
Android.bp Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
Android.mk Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
aosp_common.mk Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
BoardConfig-common.mk gs101: enable page_pinner 2021-05-17 18:22:16 +00:00
CleanSpec.mk Remove power stats HAL 1.0 service 2021-03-09 10:27:55 -08:00
compatibility_matrix.xml use vintf_fragments instead of adding it to device-specific manifests 2021-04-06 14:51:14 +08:00
component-overrides.xml Enable Tips icon on P21/P22 devices 2021-04-29 01:36:17 +00:00
default-permissions.xml Remove Gnss Outage System Apk 2021-05-03 21:11:43 +00:00
device-common.mk device-common: set testing_battery_profile default 2 2021-05-18 09:00:06 +08:00
device-shipping-common.mk Temporary disable eSE2 terminal 2021-05-19 05:30:36 +00:00
device.mk Add Device ID attestation support gs101 2021-05-19 13:06:50 +00:00
device_framework_matrix_product.xml device: google: gs101: IAudioMetricExt hidl manifest settings 2021-05-18 17:21:45 +00:00
factory_common.mk Camera: Enable LTM for factory builds 2021-05-13 02:56:44 +00:00
init.hardware.wlc.rc.userdebug battery: disable wireless for pts battery test 2021-04-16 10:23:18 +00:00
init.insmod.gs101.cfg haptic: add haptic ampilifer codec 2021-05-07 03:10:19 +00:00
init.insmod.sh init.insmod.sh: Find modules in different directories 2021-05-04 00:02:41 +00:00
manifest-gralloc3.xml device: google: gs101: IAudioMetricExt hidl manifest settings 2021-05-18 17:21:45 +00:00
manifest.xml GPU nnhal: update service name. 2021-05-20 00:06:57 +00:00
manifest_64-gralloc3.xml device: google: gs101: IAudioMetricExt hidl manifest settings 2021-05-18 17:21:45 +00:00
manifest_64.xml GPU nnhal: update service name. 2021-05-20 00:06:57 +00:00
manifest_media.xml Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
manifest_media_aosp.xml Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
media_codecs.xml Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
media_codecs_aosp_c2.xml Align video codec max resolution capabilities with block size 2021-04-28 03:23:00 +00:00
media_codecs_bo_c2.xml Enable adaptive playback feature for AV1 2021-05-19 20:05:04 +00:00
media_codecs_performance.xml Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
media_codecs_performance_c2.xml Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
media_profiles.xml Cap VideoEncoderCap maxFrameRate to 30 2021-05-12 01:33:30 +00:00
NOTICE Move slider into gs101 and <device> 2021-03-06 16:31:12 +08:00
powerhint.json camera power hint: add prefer high cap in all modes 2021-05-20 03:24:07 +00:00
powerhint_a0.json powerhint: Use 'hint' node for GPU 2021-05-18 00:50:53 +00:00
powerhint_a1.json powerhint: Use 'hint' node for GPU 2021-05-18 00:50:53 +00:00
task_profiles.json vendor_hook: separate uclamp configuration 2021-05-12 18:28:50 +00:00