# # Akita sensor device configuration registry script for the PVT stage. # # Source of truth: go/pixel-sensor-list # # # CDT Filter : # CDT format: <0xPPPPSJIV> (P:Product, S:Stage, J:Major, I:Minor, V:Variant) # go/pixel-cdt-zuma # ?+0x40000:0xFFFF0000 # Exclude ?-0x41000:0xFFFFF000 # Dev ?-0x42000:0xFFFFF000 # Proto ?-0x43000:0xFFFFF000 # EVT ?-0x44000:0xFFFFF000 # DVT # # Record reg_script. # +/ reg_script=akita_pvt.reg # # Sensors # # MAG (MMC5633NJ) +/dev/mmc56x3x/0 bus_name=i3c0 bus_freq_hz=400000 i3c_freq_hz=6250000 bus_addr=0x30 i3c_addr=0x14 +/dev/mmc56x3x/0/mag orientation_transform=2 1 -3 fac_cal_transform=0.9343 -0.0328 0.0061 -0.0008 0.9607 -0.0185 0.0740 0.0125 1.1522 0 0 0 # ALSP (TMD37193) +/dev/tmd3719/0/als lux_scale=1.934868 c_coef=1 r_coef=-0.674221 g_coef=1.615560 b_coef=-1.941339 itime_table_brightness=660 813 1004 1288 3176 4096 itime_table=1923290 1494680 1036240 504560 181750 181750 max_gain_table=11 10 10 9 8 7 # int{ } # max_gain[color] = MIN(hard_stop, max_gain_table[brightness] + # max_gain_chan_boost[color]) max_gain_chan_boost=11 0 1 1 2 fast_filter_size=10 slow_filter_size=100 aod_fast_filter_size=2 aod_slow_filter_size=2 max_lux=250000 high_IR_threshold=5.0 # 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.114538 red_gain11_ratio=0.113578 green_gain11_ratio=0.112715 blue_gain11_ratio=0.112578 clear_gain10_ratio=0.241402 red_gain10_ratio=0.240592 green_gain10_ratio=0.239849 blue_gain10_ratio=0.239748 clear_gain9_ratio=0.494349 red_gain9_ratio=0.493746 green_gain9_ratio=0.493260 blue_gain9_ratio=0.493168 clear_gain7_ratio=2.009510 red_gain7_ratio=2.011340 green_gain7_ratio=2.012440 blue_gain7_ratio=2.012773 clear_gain6_ratio=4.020600 red_gain6_ratio=4.028348 green_gain6_ratio=4.028735 blue_gain6_ratio=4.029882 # 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=420 histo_roi_top=300 histo_roi_right=560 histo_roi_bottom=430 # 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=428 histo_weight_g=408 histo_weight_b=188 # # 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 4096 0 0 3.9E-3 histo_dbv_eq0=0 3176 0 9.000003E-1 1.03805E-3 histo_dbv_eq1=3177 4096 0 -3.43217357e+01 1.88766788e-02 -5.72064152e-07 # 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=4096 # 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 # TMD3719 proximity sensor. +/dev/tmd3719/0/prox auto_baseline=1 burst_delay_30hz=200 burst_delay_60hz=160 burst_delay_120hz=160 burst_delay_aod=0 burst_delay_60hz_2=160 burst_delay_30hz_2=200 hxtalk=1 pulse_count=1 vcsel_ma=10 pd0_far_threshold=50 pd0_near_threshold=50 pd1_far_threshold=40 pd1_near_threshold=60 # "Low power" operating parameters. pulse_len_us=64 filter_len=4 skip_count=0 pdata0_scale=1.599905 pdata1_scale=1.389059 gain0=2 gain1=4 # "High power" operating parameters. hp_pulse_len_us=128 hp_filter_len=1 hp_skip_count=0 hp_pdata0_scale=1.598977 hp_pdata1_scale=1.379028 hp_pdata0_offset=2.245979 hp_pdata1_offset=7.747921 hp_gain0=1 hp_gain1=2 high_power_mode_only=1 # TOUCH (GTX) +/dev/gtx/0 bus_name=spi2 bus_freq_hz=10000000 spi_mode=0 spi_word_size=8 cs_gpio=67 gesture_type=3 intr_id=14 intr_type=3 panel_height_pixel=2400 panel_height_mm=142 single_tap_min_x=92 single_tap_max_x=987 single_tap_min_y=184 single_tap_max_y=2215 single_tap_min_frame_count=3 single_tap_max_frame_count=31 single_press_motion_tolerance=255 single_press_max_touch_size=50 long_press_min_x=438 long_press_max_x=642 long_press_min_y=1619 long_press_max_y=1823 long_press_min_frame_count=1 long_press_max_touch_size=50 long_press_marginal_min_x=396 long_press_marginal_max_x=684 long_press_marginal_min_y=1577 long_press_marginal_max_y=1865 long_press_monitor_channel_min_tx=6 long_press_monitor_channel_max_tx=9 long_press_monitor_channel_min_rx=22 long_press_monitor_channel_max_rx=25 long_press_min_node_count=8 long_press_motion_tolerance_inner=255 long_press_motion_tolerance_outer=535 send_lptw_to_kernel=1 # TBN +/tbn tbn_mode=2 # VSC. +/vsc single_tap_enable=1 long_press_enable=1