1 # SPDX
-License
-Identifier
: GPL
-2.0-or-later
4 field USB_DAUGHTERBOARD
5 option WOOMAX_DB_PICASSO
0
6 option WOOMAX_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" = "25000"
21 register
"fast_ppt_limit_mW" = "30000"
22 register
"slow_ppt_time_constant_s" = "5"
23 register
"stapm_time_constant_s" = "200"
24 register
"sustained_power_limit_mW" = "15000"
26 register
"telemetry_vddcr_vdd_slope_mA" = "102586"
27 register
"telemetry_vddcr_vdd_offset" = "0"
28 register
"telemetry_vddcr_soc_slope_mA" = "24674"
29 register
"telemetry_vddcr_soc_offset" = "0"
31 #
End : OPN Performance Configuration
33 register
"usb_2_port_tune_params[0]" = "{
37 .tx_pre_emp_amp_tune = 0x03,
38 .tx_pre_emp_pulse_tune = 0x0,
45 register
"usb_2_port_tune_params[3]" = "{
49 .tx_pre_emp_amp_tune = 0x03,
50 .tx_pre_emp_pulse_tune = 0x0,
58 register
"usb_port_overcurrent_pin[2]" = "USB_OC_NONE" # NC
60 # Enable I2C2
for trackpad
, touchscreen
, pen at
400kHz
61 register
"i2c[2]" = "{
62 .speed = I2C_SPEED_FAST,
63 .rise_time_ns = 21, /* 0 to 2.31 (3.3 * .7) */
64 .fall_time_ns = 76, /* 2.31 to 0 */
67 # Enable I2C3
for H1
400kHz
68 register
"i2c[3]" = "{
69 .speed = I2C_SPEED_FAST,
70 .rise_time_ns = 110, /* 0 to 1.26v (1.8 * .7) */
71 .fall_time_ns = 34, /* 1.26v to 0 */
75 register
"emmc_config" = "{
76 .timing = SD_EMMC_EMMC_HS400,
77 .sdr104_hs400_driver_strength = SD_EMMC_DRIVE_STRENGTH_A,
78 .init_khz_preset = 400,
81 # See AMD
55570-B1 Table
13: PCI Device ID Assignments.
83 subsystemid
0x1022 0x1510 inherit
85 device usb
2.2 off
end
88 device usb
3.2 off
end
91 device ref lpc_bridge on
92 chip ec
/google
/chromeec
94 chip ec
/google
/chromeec
/i2c_tunnel
95 device ref cros_ec_i2c_9 on
96 chip drivers
/i2c
/generic
98 probe USB_DAUGHTERBOARD WOOMAX_DB_DALI
109 chip drivers
/i2c
/generic
110 register
"hid" = ""ELAN0000
""
111 register
"desc" = ""ELAN Touchpad
""
112 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
113 register
"wake" = "GEVENT_22"
114 register
"detect" = "1"
118 register
"generic.hid" = ""ELAN9008
""
119 register
"generic.desc" = ""ELAN Touchscreen
""
120 register
"generic.detect" = "1"
121 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
122 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
123 register
"generic.enable_delay_ms" = "1"
124 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
125 register
"generic.reset_delay_ms" = "50"
126 register
"generic.reset_off_delay_ms" = "1"
127 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_144)"
128 register
"generic.stop_off_delay_ms" = "1"
129 register
"generic.has_power_resource" = "1"
130 register
"hid_desc_reg_offset" = "0x01"
135 end # chip soc
/amd
/picasso