1 # SPDX
-License
-Identifier
: GPL
-2.0-or-later
4 field USB_DAUGHTERBOARD
5 option BERKNIP_DB_PICASSO
0
6 option BERKNIP_DB_DALI
1
12 # Start
: OPN Performance Configuration
13 # See devhub #
55593 Chapter
3.2 for documentation
14 #
For the below fields
, 0 indicates use SOC default
17 register
"system_config" = "2"
19 #
Set STAPM confiuration. All of these fields must be
set >0 to take affect
20 register
"slow_ppt_limit_mW" = "20000"
21 register
"fast_ppt_limit_mW" = "24000"
22 register
"slow_ppt_time_constant_s" = "5"
23 register
"stapm_time_constant_s" = "200"
24 register
"sustained_power_limit_mW" = "12000"
25 register
"thermctl_limit_degreeC" = "90"
27 register
"telemetry_vddcr_vdd_slope_mA" = "65599"
28 register
"telemetry_vddcr_vdd_offset" = "0"
29 register
"telemetry_vddcr_soc_slope_mA" = "29788"
30 register
"telemetry_vddcr_soc_offset" = "0"
32 #
End : OPN Performance Configuration
34 register
"usb_2_port_tune_params[0]" = "{
38 .tx_pre_emp_amp_tune = 0x03,
39 .tx_pre_emp_pulse_tune = 0x0,
46 register
"usb_2_port_tune_params[1]" = "{
50 .tx_pre_emp_amp_tune = 0x03,
51 .tx_pre_emp_pulse_tune = 0x0,
58 register
"usb_2_port_tune_params[2]" = "{
62 .tx_pre_emp_amp_tune = 0x03,
63 .tx_pre_emp_pulse_tune = 0x0,
70 register
"usb_2_port_tune_params[3]" = "{
74 .tx_pre_emp_amp_tune = 0x03,
75 .tx_pre_emp_pulse_tune = 0x0,
82 # Enable I2C2
for trackpad
, touchscreen
, pen at
400kHz
83 register
"i2c[2]" = "{
84 .speed = I2C_SPEED_FAST,
87 .data_hold_time_ns = 400,
90 # Enable I2C3
for H1
400kHz
91 register
"i2c[3]" = "{
92 .speed = I2C_SPEED_FAST,
98 register
"emmc_config" = "{
99 .timing = SD_EMMC_EMMC_HS400,
100 .sdr104_hs400_driver_strength = SD_EMMC_DRIVE_STRENGTH_A,
101 .init_khz_preset = 400,
104 # See AMD
55570-B1 Table
13: PCI Device ID Assignments.
106 subsystemid
0x1022 0x1510 inherit
108 device ref lpc_bridge on
109 chip ec
/google
/chromeec
110 device ref cros_ec on
111 chip ec
/google
/chromeec
/i2c_tunnel
112 device ref cros_ec_i2c_9 on
113 chip drivers
/i2c
/generic
115 probe USB_DAUGHTERBOARD BERKNIP_DB_DALI
126 chip drivers
/i2c
/generic
127 register
"hid" = ""ELAN0000
""
128 register
"desc" = ""ELAN Touchpad
""
129 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
130 register
"wake" = "GEVENT_22"
131 register
"detect" = "1"
135 register
"generic.hid" = ""SYNA0000
""
136 register
"generic.cid" = ""ACPI0C50
""
137 register
"generic.desc" = ""Synaptics Touchpad
""
138 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
139 register
"generic.wake" = "GEVENT_22"
140 register
"generic.detect" = "1"
141 register
"hid_desc_reg_offset" = "0x20"
144 chip drivers
/i2c
/generic
145 register
"hid" = ""RAYD0001
""
146 register
"desc" = ""Raydium Touchscreen
""
147 register
"detect" = "1"
148 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
149 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
150 register
"enable_delay_ms" = "1"
151 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
152 #
32ms
: Rise time of the reset line
153 #
20ms
: Firmware ready time
154 register
"reset_delay_ms" = "32 + 20"
155 register
"has_power_resource" = "1"
158 chip drivers
/i2c
/generic
159 register
"hid" = ""ELAN0001
""
160 register
"desc" = ""ELAN Touchscreen
""
161 register
"detect" = "1"
162 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
163 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
164 register
"enable_delay_ms" = "1"
165 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
166 register
"reset_delay_ms" = "20"
167 register
"has_power_resource" = "1"
171 register
"generic.hid" = ""GTCH7503
""
172 register
"generic.desc" = ""G2TOUCH Touchscreen
""
173 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
174 register
"generic.detect" = "1"
175 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
176 register
"generic.enable_delay_ms" = "1"
177 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
178 register
"generic.reset_delay_ms" = "50"
179 register
"generic.has_power_resource" = "1"
180 register
"hid_desc_reg_offset" = "0x01"
186 chip drivers
/uart
/acpi
187 register
"name" = ""CRFP
""
188 register
"desc" = ""Fingerprint Reader
""
189 register
"hid" = "ACPI_DT_NAMESPACE_HID"
190 register
"compat_string" = ""google
,cros
-ec
-uart
""
191 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_6)"
192 register
"wake" = "GEVENT_10"
193 register
"uart" = "ACPI_UART_RAW_DEVICE(3000000, 64)"
194 device generic
0 on
end
198 end # chip soc
/amd
/picasso