cheetah: Regenerate vendor tree

Signed-off-by: HeroBuxx <me@herobuxx.me>
This commit is contained in:
HeroBuxx committed 2026-10-12 04:31:05 +00:00
commit 95baae052f
2827 files changed
+115725

No files matched your search

+87
View File
@@ -0,0 +1,87 @@
#!/system/bin/sh
#
# Copyright 2021 Google LLC. All Rights Reserved.
#
# Cheetah/Panther Calibration Sub-Script.
#
# Contains C10/P10-specific sensor information for sensor_cal.
# Sensors supported for calibration.
SUPPORTED_SENSORS="accel als baro fusion_mag gyro imu_temp prox rls spectral"
#######################################
# Converts a sensor name to its path.
# Globals:
# CAL_PARAMS
# SENSOR
# SENSOR_NAME
# SENSOR_PATH
# Arguments:
# None
# Outputs:
# Saves the sensor path in SENSOR_PATH.
# Logging based on set VERBOSITY level.
#######################################
sensor_cal::sensor_to_path() {
if [[ "${SENSOR}" == "accel" ]]; then
SENSOR_PATH="/fac_cal/dev/lsm6dsv/0/accel"
SENSOR_NAME="lsm6dsv"
# Add "avg_odr_30" in addition to the original parameters.
CAL_PARAMS+=" avg_odr_30"
elif [[ "${SENSOR}" == "als" ]]; then
SENSOR_PATH="/fac_cal/dev/tmd3719/0/als"
SENSOR_NAME="tmd3719"
CAL_PARAMS=" \
clear_gain6_ratio clear_gain7_ratio clear_gain8_ratio clear_gain9_ratio \
clear_gain10_ratio clear_gain11_ratio \
red_gain6_ratio red_gain7_ratio red_gain8_ratio red_gain9_ratio \
red_gain10_ratio red_gain11_ratio red_clear_ratio \
green_gain6_ratio green_gain7_ratio green_gain8_ratio green_gain9_ratio \
green_gain10_ratio green_gain11_ratio green_clear_ratio \
blue_gain6_ratio blue_gain7_ratio blue_gain8_ratio blue_gain9_ratio \
blue_gain10_ratio blue_gain11_ratio blue_clear_ratio \
disp_leak lux_scale panel_serial panel_type \
sync_delay_ns sync_delay_2_ns"
elif [[ "${SENSOR}" == "baro" ]]; then
SENSOR_PATH="/fac_cal/dev/icp20100/0/baro"
SENSOR_NAME="icp20100"
# Add "temp_intercept" in addition to the original parameters.
CAL_PARAMS+=" temp_intercept"
elif [[ "${SENSOR}" == "fusion_mag" ]]; then
SENSOR_PATH="/fac_cal/dev/fusion_mag/0/mag"
SENSOR_NAME="fusion_mag"
SENSOR_TYPE="mag"
CAL_PARAMS="p1 p2 p3 mix"
elif [[ "${SENSOR}" == "gyro" ]]; then
SENSOR_PATH="/fac_cal/dev/lsm6dsv/0/gyro"
SENSOR_NAME="lsm6dsv"
# Add "avg_odr_30" in addition to the original parameters.
CAL_PARAMS+=" avg_odr_30"
elif [[ "${SENSOR}" == "imu_temp" ]]; then
SENSOR_PATH="/fac_cal/dev/lsm6dsv/0/temp"
SENSOR_NAME="lsm6dsv"
elif [[ "${SENSOR}" == "prox" ]]; then
SENSOR_PATH="/fac_cal/dev/tmd3719/0/prox"
SENSOR_NAME="tmd3719"
CAL_PARAMS=" \
hp_pdata0_baseline hp_pdata1_baseline hp_pdata0_offset hp_pdata1_offset \
hp_pdata0_scale hp_pdata1_scale \
pdata0_baseline pdata1_baseline pdata0_scale pdata1_scale vcsel_ma"
elif [[ "${SENSOR}" == "rls" ]]; then
SENSOR_PATH="/fac_cal/dev/vd6282/0/rls"
SENSOR_NAME="vd6282"
CAL_PARAMS="fac_cal_transform g_to_lux"
elif [[ "${SENSOR}" == "spectral" ]]; then
SENSOR_PATH="/fac_cal/dev/vd6282/0/spectral"
SENSOR_NAME="vd6282"
CAL_PARAMS=" \
dark_r dark_g dark_b dark_ir dark_clr1 dark_clr2 \
rals_r rals_g rals_b rals_ir rals_clr1 rals_clr2 rals_flk \
ll_r ll_g ll_b ll_clr1 ll_clr2"
else
sensor_cal::ERROR "Unknown or unimplemented sensor: ${SENSOR}"
sensor_cal::exit_badparam
fi
sensor_cal::DEBUG "Registry path: ${SENSOR_PATH}"
}
+2
View File
@@ -0,0 +1,2 @@
sensors.dynamic_sensor_hal.so
sensors.usf.so
@@ -0,0 +1,3 @@
# MOTIONSTATE
+/dev/motionstate/0
name=Motion State
@@ -0,0 +1,9 @@
#
# Common power configuration registry script.
#
+/power
mips_vote_per_sampling_rate=0.4
mips_max_vote=350
+/power/mips_voter
enable=1
+467
View File
@@ -0,0 +1,467 @@
#
# C10/G10 sensor device configuration registry script for EVT1.1 stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x30000:0xFFFF0000
# Exclude
?-0x32000:0xFFFFF000 # Proto
?-0x33000:0xFFFFF000 # EVT
#
# Record reg_script.
#
+/
reg_script=cheetah_dvt.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG 0 (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x30
priority=1
+/dev/mmc56x3x/0/mag
orientation_transform=1 2 3
fac_cal_transform=0.9584 -0.0544 0.0049 0.0062 0.9503 0.0021 -0.0170 -0.0180 1.0967 0.0 0.0 0.0
name=MMC56X3X Magnetometer 0
hidden=1
# MAG 1 (MMC5633NJ)
+/dev/mmc56x3x/1
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=2
+/dev/mmc56x3x/1/mag
orientation_transform=-2 1 3
fac_cal_transform=0.9391 0.1140 0.0380 0.0580 0.9500 -0.0327 0.0738 0.0174 1.1485 0.0 0.0 0.0
name=MMC56X3X Magnetometer 1
hidden=1
# Fusion mag.
+/dev/fusion_mag/0
mag_cal_matrix=0.9978 -0.0018 0.0000 0.0023 0.0018 0.0000 0.0225 1.0320 -0.0018 -0.0225 -0.0320 0.0018 -0.0026 -0.0038 0.9990 0.0026 0.0038 0.0010
rl_module_type=rear_tele
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1399745 599600 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=136 205 285 471 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=89
histo_weight_g=885
histo_weight_b=50
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 3584 0 0e0 1.319434980E-2 -6.450487011E-5 1.103577342E-7
histo_dbv_eq0=0 2 0 0e0
histo_dbv_eq1=3 136 0 4.17335902E+0 2.71171413E-2 -2.64030734E-4 9.27546493E-7
histo_dbv_eq2=137 285 0 -6.66697650E-1 6.68341436E-2 -3.13138010E-4 7.62966404E-7
histo_dbv_eq3=286 768 0 1.05285680E+1 -2.71382740E-2 9.32493353E-5 -6.25828624E-8
histo_dbv_eq4=769 3584 0 1.39522213E+1 4.08183884E-3 -1.41481671E-6 1.95702297E-10
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=3584
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=944
golden_rals_g=1096
golden_rals_b=253
golden_rals_clr1=4581
golden_rals_ir=2607
golden_rals_clr2=4950
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=112.1167883
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,420 @@
#
# C10/G10 sensor device configuration registry script for EVT1.0 stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x33100:0xFFFFFFF0
# Exclude
?-0x33101:0xFFFFFFFF # EVT 1.0 A0 modem
?-0x33102:0xFFFFFFFF # EVT 1.0 wingboard
#
# Record reg_script.
#
+/
reg_script=cheetah_evt_1_0.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG 0 (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x30
priority=1
+/dev/mmc56x3x/0/mag
orientation_transform=1 2 3
fac_cal_transform=0.9584 -0.0544 0.0049 0.0062 0.9503 0.0021 -0.0170 -0.0180 1.0967 0.0 0.0 0.0
name=MMC56X3X Magnetometer 0
hidden=1
# MAG 1 (MMC5633NJ)
+/dev/mmc56x3x/1
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=2
+/dev/mmc56x3x/1/mag
orientation_transform=-2 1 3
fac_cal_transform=0.9391 0.1140 0.0380 0.0580 0.9500 -0.0327 0.0738 0.0174 1.1485 0.0 0.0 0.0
name=MMC56X3X Magnetometer 1
hidden=1
# Fusion mag.
+/dev/fusion_mag/0
mag_cal_matrix=0.9982 -0.0011 0.0000 0.0018 0.0011 0.0000 0.0223 1.0305 -0.0017 -0.0223 -0.0305 0.0017 -0.0025 -0.0035 0.9990 0.0025 0.0035 0.0010
rl_module_type=rear_tele
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1757813 1098633 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=992
golden_rals_g=1175
golden_rals_b=276
golden_rals_clr1=4926
golden_rals_ir=2779
golden_rals_clr2=4943
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=104.5787234
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,399 @@
#
# C10/G10 sensor device configuration registry script for EVT1.0 wingboard stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x33102:0xFFFFFFFF
#
# Record reg_script.
#
+/
reg_script=cheetah_evt_1_0_win.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=0
+/dev/mmc56x3x/0/mag
orientation_transform=-1 2 -3
fac_cal_transform=0.9818 0.1341 -0.0360 0.1564 0.9102 -0.1061 0.0332 0.0317 1.0723 0.0 0.0 0.0
name=MMC56X3X Magnetometer
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1757813 1098633 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.796714
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122
red_gain11_ratio=0.113
green_gain11_ratio=0.114
blue_gain11_ratio=0.112
clear_gain10_ratio=0.242
red_gain10_ratio=0.240
green_gain10_ratio=0.241
blue_gain10_ratio=0.240
clear_gain9_ratio=0.495
red_gain9_ratio=0.494
green_gain9_ratio=0.494
blue_gain9_ratio=0.493
clear_gain7_ratio=2.008
red_gain7_ratio=2.012
green_gain7_ratio=2.011
blue_gain7_ratio=2.012
clear_gain6_ratio=4.020
red_gain6_ratio=4.033
green_gain6_ratio=4.030
blue_gain6_ratio=4.036
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=992
golden_rals_g=1175
golden_rals_b=276
golden_rals_clr1=4926
golden_rals_ir=2779
golden_rals_clr2=4943
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=104.5787234
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,465 @@
#
# C10/G10 sensor device configuration registry script for EVT1.1 stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x33110:0xFFFFFFF0
# Exclude
?-0x33111:0xFFFFFFFF # EVT 1.1 wingboard
#
# Record reg_script.
#
+/
reg_script=cheetah_evt_1_1.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG 0 (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x30
priority=1
+/dev/mmc56x3x/0/mag
orientation_transform=1 2 3
fac_cal_transform=0.9584 -0.0544 0.0049 0.0062 0.9503 0.0021 -0.0170 -0.0180 1.0967 0.0 0.0 0.0
name=MMC56X3X Magnetometer 0
hidden=1
# MAG 1 (MMC5633NJ)
+/dev/mmc56x3x/1
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=2
+/dev/mmc56x3x/1/mag
orientation_transform=-2 1 3
fac_cal_transform=0.9391 0.1140 0.0380 0.0580 0.9500 -0.0327 0.0738 0.0174 1.1485 0.0 0.0 0.0
name=MMC56X3X Magnetometer 1
hidden=1
# Fusion mag.
+/dev/fusion_mag/0
mag_cal_matrix=0.9982 -0.0011 0.0000 0.0018 0.0011 0.0000 0.0223 1.0305 -0.0017 -0.0223 -0.0305 0.0017 -0.0025 -0.0035 0.9990 0.0025 0.0035 0.0010
rl_module_type=rear_tele
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1399745 599600 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=89
histo_weight_g=885
histo_weight_b=50
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 3584 0 0e0 1.319434980E-2 -6.450487011E-5 1.103577342E-7
histo_dbv_eq0=0 2 0 0e0
histo_dbv_eq1=3 143 0 3.17878234E+0 3.22374155E-2 -3.16770112E-4 1.13873988E-6
histo_dbv_eq2=144 293 0 -1.74052642E+0 7.87847253E-2 -3.80096406E-4 7.95956812E-7
histo_dbv_eq3=294 3584 0 5.50563829E+0 1.10052391E-2 -4.88834910E-6 7.09802903E-10
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=3584
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=966
golden_rals_g=1151
golden_rals_b=271
golden_rals_clr1=4819
golden_rals_ir=2715
golden_rals_clr2=4836
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=106.7593397
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,445 @@
#
# C10/G10 sensor device configuration registry script for EVT1.1 wingboard stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x33111:0xFFFFFFFF
#
# Record reg_script.
#
+/
reg_script=cheetah_evt_1_1_win.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=0
+/dev/mmc56x3x/0/mag
orientation_transform=-1 2 -3
fac_cal_transform=0.9818 0.1341 -0.0360 0.1564 0.9102 -0.1061 0.0332 0.0317 1.0723 0.0 0.0 0.0
name=MMC56X3X Magnetometer
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1399745 599600 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=89
histo_weight_g=885
histo_weight_b=50
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 3584 0 0e0 1.319434980E-2 -6.450487011E-5 1.103577342E-7
histo_dbv_eq0=0 2 0 0e0
histo_dbv_eq1=3 143 0 3.17878234E+0 3.22374155E-2 -3.16770112E-4 1.13873988E-6
histo_dbv_eq2=144 293 0 -1.74052642E+0 7.87847253E-2 -3.80096406E-4 7.95956812E-7
histo_dbv_eq3=294 3584 0 5.50563829E+0 1.10052391E-2 -4.88834910E-6 7.09802903E-10
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=3584
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=966
golden_rals_g=1151
golden_rals_b=271
golden_rals_clr1=4819
golden_rals_ir=2715
golden_rals_clr2=4836
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=106.7593397
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,411 @@
#
# C10/G10 sensor device configuration registry script for EVT1.0 stage with A0
# modem. See b/206878306.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x33101:0xFFFFFFFF
#
# Record reg_script.
#
+/
reg_script=cheetah_evt_a0.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG 0 (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x30
priority=0
+/dev/mmc56x3x/0/mag
orientation_transform=1 2 3
fac_cal_transform=0.9818 -0.0329 0.0183 -0.0188 0.9514 -0.0039 0.0111 -0.0236 1.0826 0.0 0.0 0.0
name=MMC56X3X Magnetometer 0
# MAG 1 (MMC5633NJ)
+/dev/mmc56x3x/1
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=1
+/dev/mmc56x3x/1/mag
orientation_transform=-1 2 -3
fac_cal_transform=0.9818 0.1341 -0.0360 0.1564 0.9102 -0.1061 0.0332 0.0317 1.0723 0.0 0.0 0.0
name=MMC56X3X Magnetometer 1
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
intr_id=37
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1757813 1098633 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# Golden values for calibration.
golden_rals_r=966
golden_rals_g=1151
golden_rals_b=271
golden_rals_clr1=4819
golden_rals_ir=2715
golden_rals_clr2=4836
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=106.7593397
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0
@@ -0,0 +1,402 @@
#
# C10/G10 sensor device configuration registry script for Proto stage.
#
# Source of truth: go/pixel-sensor-list
#
#
# CDT Filter <CDT>:<mask>
# CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant)
# go/pixel-cdt-whi-pro
#
?+0x32000:0xFFFFF000
#
# Record reg_script.
#
+/
reg_script=cheetah_proto.reg
#
# Buses
#
# I2C
+/dev/i2c/0
bus_name=i2c0
bus_index=0
# I3C
+/dev/i3c/2
bus_name=i3c2
bus_index=2
# SPI
+/dev/spi/0
bus_name=spi0
bus_index=0
# PDM
+/dev/pdm
base_clk_hz=24576000
#
# Sensors
#
# IMU (LSM6DSV)
+/dev/lsm6dsv/0
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x6a
i3c_addr=0xa
intr_id=47
trigger_type=2
fifo_enabled=1
md_threshold_m_per_s_sq=1.2264
md_window_ms=20
sd_window_ms=5000
fifo_max_odr=4000
fifo_max_wm=245
fifo_min_wm=1
+/dev/lsm6dsv/0/accel
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/gyro
orientation_transform=-1 -2 3
+/dev/lsm6dsv/0/temp
+/dev/lsm6dsv/0/motion_detect
+/dev/lsm6dsv/0/stationary_detect
+/dev/lsm6dsv/0/free_fall_detect
name=LSM6DSV FreeFall Detect
# MAG 0 (MMC5633NJ)
+/dev/mmc56x3x/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x30
priority=0
+/dev/mmc56x3x/0/mag
orientation_transform=1 2 3
fac_cal_transform=0.9818 -0.0329 0.0183 -0.0188 0.9514 -0.0039 0.0111 -0.0236 1.0826 0.0 0.0 0.0
name=MMC56X3X Magnetometer 0
# MAG 1 (MMC5633NJ)
+/dev/mmc56x3x/1
bus_name=i3c2
bus_freq_hz=400000
i3c_freq_hz=1230000
bus_addr=0x30
i3c_addr=0x14
priority=1
+/dev/mmc56x3x/1/mag
orientation_transform=-1 2 -3
fac_cal_transform=0.9818 0.1341 -0.0360 0.1564 0.9102 -0.1061 0.0332 0.0317 1.0723 0.0 0.0 0.0
name=MMC56X3X Magnetometer 1
# BARO (ICP20100)
+/dev/icp20100/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x63
min_period_us=25000
+/dev/icp20100/0/baro
+/dev/icp20100/0/temp
# ALSP1 (TMD37193)
+/dev/tmd3719/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x39
intr_id=15
sync_delay_ns=4434851
# falling edge = 0, rising edge = 1
te2_alignment=1
anti_aliasing=1
+/dev/tmd3719/0/als
lux_scale=4.306021
c_coef=1
r_coef=-0.765091
g_coef=0.986515
b_coef=-1.221424
itime_table_brightness=100 200 300 400 2048
itime_table=2398004 1757813 1098633 181750 181750
max_gain_table=11 10 10 9 9
fast_filter_size=10
slow_filter_size=100
aod_fast_filter_size=2
aod_slow_filter_size=2
max_lux=250000
# Number of EM cycles in a 60Hz frame.
EM_cycle_count_60Hz=4
# Step-size (in EM slots) for each rotation.
rotation_step_size=1
new_gain_ratio=1
clear_gain11_ratio=0.11587520907570359
red_gain11_ratio=0.11367177612973169
green_gain11_ratio=0.11373533389507672
blue_gain11_ratio=0.11379697951097906
clear_gain10_ratio=0.24229450044714415
red_gain10_ratio=0.240732949197022
green_gain10_ratio=0.24076550697884685
blue_gain10_ratio=0.2409091628046755
clear_gain9_ratio=0.49489623124483123
red_gain9_ratio=0.4938930981658593
green_gain9_ratio=0.49389121338912134
blue_gain9_ratio=0.4939696854457543
clear_gain7_ratio=2.008293329203875
red_gain7_ratio=2.011111780293905
green_gain7_ratio=2.011080171713656
blue_gain7_ratio=2.010957792207792
clear_gain6_ratio=4.02128991859737
red_gain6_ratio=4.031043403276803
green_gain6_ratio=4.030728996404054
blue_gain6_ratio=4.030616224648987
# Histogram Configuration.
# Flag that controls whether the histogram is enabled.
histo_enable=1
# Display coordinates go from top left to bottom right.
histo_roi_left=1050
histo_roi_top=120
histo_roi_right=1160
histo_roi_bottom=260
# Weights applied to the RBG color samples to calculate luma.
# luma values:
# luma = W_R * R + W_G * G + WB * B
# with W_R + W_G + W_B = 1024
histo_weight_r=356
histo_weight_g=596
histo_weight_b=72
#
# Leakage calculator configuration. The general format is:
# leakage = luma_term(luma, dbv) * dbv_term(dbv)
# The luma_term maps luma into a value and different equations may be used
# depending on the current DBV value.
# Similar, the dbv_term maps DBV into a value and may also use different
# equations.
# Each line represents one equation, and is of the format:
# start-dbv end-dbv equation-type {coefficients}
# This means the equation applies to the DBV range [start-dbv .. end-dbv].
# There are two equation types currently:
# 0: Polynominal: c0 + c1*L + c2*L^2 + .. + ci*L^i
# 1: Natural Log: c0 + c1*ln(L + c2)
histo_luma_eq0=0 2047 0 0e0 7.19267663E-3 -1.25503244E-5 0e0
histo_dbv_eq0=0 3 0 0e0
histo_dbv_eq1=4 100 0 6.32494466E-1 1.03570892E-2 -3.41730372E-5 1.06341454E-7
histo_dbv_eq2=101 200 0 2.74791321E+0 -3.29033282E-2 2.38041539E-4 -4.61638068E-7
histo_dbv_eq3=201 300 0 9.34650350E-1 2.23928094E-2 -1.56638453E-4 3.50178551E-7
histo_dbv_eq4=301 2047 0 -3.11117091E-1 9.75229061E-3 -5.40022421E-6 1.19637142E-9
# The maximum brightness (DBV) value up to which histogram is active.
# This value should match one of the itime_table_brightness values.
histo_max_brightness=2047
# Minimum change needed for a leakage value to be reported, i.e.,
# min_change = MAX(min_change_value, current_leakage_val * min_change_rate)
histo_min_change_value=0.01
histo_min_change_rate=0.01
# Histogram polling interval in ms.
histo_polling_interval=50
# Fallback luma value to use when histogram returns error (e.g., due to DRM).
histo_fallback_luma=128.0
+/dev/tmd3719/0/prox
auto_baseline=1
burst_delay_30hz=155
burst_delay_60hz=100
burst_delay_120hz=240
burst_delay_aod=0
hxtalk=1
pulse_count=1
vcsel_ma=10
pd0_far_threshold=30
pd0_near_threshold=50
pd1_far_threshold=40
pd1_near_threshold=60
min_fps=30
# "Low power" operating parameters.
pulse_len_us=512
filter_len=4
skip_count=0
pdata0_scale=2.038043478260869
pdata1_scale=1.5739768902312137
gain0=1
gain1=2
# "High power" operating parameters.
hp_pulse_len_us=512
hp_filter_len=1
hp_skip_count=0
hp_pdata0_scale=2.038043478260869
hp_pdata1_scale=1.5739768902312137
hp_pdata0_offset=0
hp_pdata1_offset=0
hp_gain0=1
hp_gain1=2
+/dev/tmd3719/0/panel-b
sync_delay_ns=4430952
+/dev/tmd3719/0/panel-b/als
lux_scale=3.860531
itime_table_brightness=143 215 293 473 3584
itime_table=1079650 615780 615780 453020 453020
max_gain_table=11 10 10 9 9
clear_gain11_ratio=0.122869
red_gain11_ratio=0.112597
green_gain11_ratio=0.111575
blue_gain11_ratio=0.111898
clear_gain10_ratio=0.241201
red_gain10_ratio=0.239889
green_gain10_ratio=0.239031
blue_gain10_ratio=0.239211
clear_gain9_ratio=0.494234
red_gain9_ratio=0.493354
green_gain9_ratio=0.492762
blue_gain9_ratio=0.492867
clear_gain7_ratio=2.009464
red_gain7_ratio=2.011806
green_gain7_ratio=2.013381
blue_gain7_ratio=2.012821
clear_gain6_ratio=4.024640
red_gain6_ratio=4.033231
green_gain6_ratio=4.038116
blue_gain6_ratio=4.037348
+/dev/tmd3719/0/panel-b/prox
burst_delay_30hz=120
burst_delay_60hz=40
burst_delay_120hz=130
pdata0_scale=1.788908
pdata1_scale=1.376462
hp_pdata0_scale=1.788908
hp_pdata1_scale=1.376462
# Display Info
+/dev/display_info/0
# Maximum panel refresh rate.
panel_max_rr=120
# Link to ALS attached to this display.
attached_alsp=/dev/tmd3719/0
# RAINBOW (VD6282)
+/dev/vd6282/0
bus_name=i2c0
bus_freq_hz=400000
bus_addr=0x20
pdm_id=4
pcm_rate_hz=24000
+/dev/vd6282/0/spectral
auto_gain=1
# On-change thresholds for each color channel c: min_delta[c] ratio[c].
# A value of -1 disables a threshold.
# Change events are determined as follows:
# last_count[c]: the last sample count for each channel c
# count[c]: the current sample count for each channel c
# => delta[c] = abs(last_count[c] - count[c])
# thresh[c] = max(min_delta[c], last_count[c] * ratio[c])
# if delta[c] > thresh[c] for any channel c:
# Send a new sample with all current channel counts
r_change_thresh=-1 -1
g_change_thresh=100 0.1
b_change_thresh=-1 -1
c1_change_thresh=100 0.1
c2_change_thresh=-1 -1
ir_change_thresh=-1 -1
+/dev/vd6282/0/rls
lux_scale=58.823529
fix_fac_cal=1
+/dev/vd6282/0/flicker
auto_gain=1
# Camera VSYNC
+/dev/camera_vsync/0 # rear telephoto
intr_id=56
intr_trigger_type=2
+/dev/camera_vsync/1 # rear ultra-wide-angle
intr_id=57
intr_trigger_type=2
+/dev/camera_vsync/2 # front
intr_id=58
intr_trigger_type=2
+/dev/camera_vsync/3 # rear
intr_id=59
intr_trigger_type=2
# TOUCH (S3908)
+/dev/s3908/0
bus_name=spi0
bus_freq_hz=10000000
spi_mode=0
spi_word_size=8
cs_gpio=52
cs_clock_delay_us=1
gesture_type=4
intr_id=17
intr_type=1
single_tap_min_x=161
single_tap_max_x=1278
single_tap_min_y=202
single_tap_max_y=2917
single_tap_min_frame_count=3
single_tap_max_frame_count=31
single_press_motion_tolerance=255
single_press_max_touch_size=40
long_press_min_x=590
long_press_max_x=850
long_press_min_y=2230
long_press_max_y=2490
long_press_min_frame_count=1
long_press_motion_tolerance_inner=250
long_press_max_touch_size=40
long_press_marginal_min_x=540
long_press_marginal_max_x=900
long_press_marginal_min_y=2180
long_press_marginal_max_y=2540
long_press_monitor_channel_min_tx=8
long_press_monitor_channel_max_tx=9
long_press_monitor_channel_min_rx=28
long_press_monitor_channel_max_rx=30
long_press_min_node_count=4
long_press_motion_tolerance_outer=410
pixels_per_mm=20
lptw_no_sleep=1
# TBN
+/tbn
tbn_mode=1
ap2aoc_intr_id=44
ap2aoc_intr_type=4
ap2aoc_gpio_id=gpio87
aoc2ap_gpio_id=gpio74
# VSC.
+/vsc
quick_pick_up_enable=1
single_tap_enable=1
long_press_enable=1
+/vsc/auto_brightness
# float[3]={LuxToEnter, LuxToExit, RemappedLux}
lux_remap=-1.0 -1.0 -1.0
# float[3]={MinDelta, MaxDelta, LuxRatio}
lux_debounce_up=1 5000 0.15
lux_debounce_down=0.1 5000 0.1
# ALS[2], RLS[2], Fusion[2], each containing <maxSampleAgeMsec> and <maxNumOfSamples>
filter_configs=500 60 500 30 500 90
# float[3]={MaxNumOfSamplesToFilter, minLuxThresh, luxRatio}, set to 0 to disable
als_startup_filter=0 0 0
# float[3]={zeroPoint, onePoint, endPoint}, set to 0 to disable
rear_lux_downscaling=0 0 0