1 # SPDX
-License
-Identifier
: GPL
-2.0-or-later
5 # Start
: OPN Performance Configuration
6 # See devhub #
55593 Chapter
3.2 for documentation
7 #
For the below fields
, 0 indicates use SOC default
10 register
"system_config" = "2"
12 #
Set STAPM confiuration. All of these fields must be
set >0 to take affect
13 register
"slow_ppt_limit_mW" = "25000"
14 register
"fast_ppt_limit_mW" = "30000"
15 register
"slow_ppt_time_constant_s" = "5"
16 register
"stapm_time_constant_s" = "200"
17 register
"sustained_power_limit_mW" = "15000"
19 register
"telemetry_vddcr_vdd_slope_mA" = "71222"
20 register
"telemetry_vddcr_vdd_offset" = "0"
21 register
"telemetry_vddcr_soc_slope_mA" = "28977"
22 register
"telemetry_vddcr_soc_offset" = "0"
24 #
End : OPN Performance Configuration
26 # Enable I2C2
for trackpad
, touchscreen
, pen at
400kHz
27 register
"i2c[2]" = "{
28 .speed = I2C_SPEED_FAST,
31 # Enable I2C3
for H1
400kHz
32 register
"i2c[3]" = "{
33 .speed = I2C_SPEED_FAST,
37 # See AMD
55570-B1 Table
13: PCI Device ID Assignments.
39 subsystemid
0x1022 0x1510 inherit
40 device ref gpp_bridge_6 on
end # NVME
43 device mmio
0xfedc4000 on
end
45 end # chip soc
/amd
/picasso