1 # SPDX
-License
-Identifier
: GPL
-2.0-or-later
4 # Start
: OPN Performance Configuration
5 # See devhub #
55593 Chapter
3.2 for documentation
6 #
For the below fields
, 0 indicates use SOC default
9 register
"system_config" = "2"
11 #
Set STAPM confiuration. All of these fields must be
set >0 to take affect
12 register
"slow_ppt_limit_mW" = "20000"
13 register
"fast_ppt_limit_mW" = "24000"
14 register
"slow_ppt_time_constant_s" = "5"
15 register
"stapm_time_constant_s" = "200"
16 register
"sustained_power_limit_mW" = "12000"
18 register
"telemetry_vddcr_vdd_slope_mA" = "62413"
19 register
"telemetry_vddcr_vdd_offset" = "0"
20 register
"telemetry_vddcr_soc_slope_mA" = "28977"
21 register
"telemetry_vddcr_soc_offset" = "0"
23 #
End : OPN Performance Configuration
25 register
"usb3_port_force_gen1" = "{
26 .ports.xhci0_port0 = 1,
27 .ports.xhci0_port1 = 1,
28 .ports.xhci0_port2 = 1,
29 .ports.xhci0_port3 = 1,
33 register
"usb_2_port_tune_params[2]" = "{
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,
57 # Enable I2C2
for trackpad
, touchscreen
, pen at
400kHz
58 register
"i2c[2]" = "{
59 .speed = I2C_SPEED_FAST,
64 # Enable I2C3
for H1
400kHz
65 register
"i2c[3]" = "{
66 .speed = I2C_SPEED_FAST,
72 register
"emmc_config" = "{
73 .timing = SD_EMMC_EMMC_HS400,
74 .sdr104_hs400_driver_strength = SD_EMMC_DRIVE_STRENGTH_A,
75 .init_khz_preset = 400,
78 # See AMD
55570-B1 Table
13: PCI Device ID Assignments.
80 subsystemid
0x1022 0x1510 inherit
84 chip drivers
/i2c
/generic
85 register
"hid" = ""ELAN0000
""
86 register
"desc" = ""ELAN Touchpad
""
87 register
"irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
88 register
"wake" = "GEVENT_22"
89 register
"detect" = "1"
93 register
"generic.hid" = ""SYNA0000
""
94 register
"generic.cid" = ""ACPI0C50
""
95 register
"generic.desc" = ""Synaptics Touchpad
""
96 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
97 register
"generic.wake" = "GEVENT_22"
98 register
"generic.detect" = "1"
99 register
"hid_desc_reg_offset" = "0x20"
102 chip drivers
/i2c
/generic
103 register
"hid" = ""RAYD0001
""
104 register
"desc" = ""Raydium Touchscreen
""
105 register
"detect" = "1"
106 register
"irq_gpio" = "ACPI_GPIO_IRQ_EDGE_LOW(GPIO_12)"
107 register
"enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
108 register
"enable_delay_ms" = "1"
109 register
"reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
110 #
32ms
: Rise time of the reset line
111 #
20ms
: Firmware ready time
112 register
"reset_delay_ms" = "32 + 20"
113 register
"has_power_resource" = "1"
117 register
"generic.hid" = ""ELAN9004
""
118 register
"generic.desc" = ""ELAN Touchscreen
""
119 register
"generic.detect" = "1"
120 register
"generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_12)"
121 register
"generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_90)"
122 register
"generic.enable_delay_ms" = "1"
123 register
"generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_140)"
124 register
"generic.reset_delay_ms" = "20"
125 register
"generic.reset_off_delay_ms" = "5"
126 register
"generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_144)"
127 register
"generic.stop_off_delay_ms" = "10"
128 register
"generic.stop_delay_ms" = "300"
129 register
"generic.has_power_resource" = "1"
130 register
"hid_desc_reg_offset" = "0x01"
134 end # chip soc
/amd
/picasso