aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/chip.h
diff options
context:
space:
mode:
authorJamie Chen <jamie.chen@intel.com>2021-07-20 18:33:57 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-07-28 11:40:27 +0000
commit1ebcb2ab62b9fa258b4fe614df70250efebec54a (patch)
tree904bc9431bfd8227a60145118f9240d2e3f1bc0c /src/soc/intel/jasperlake/chip.h
parent0f93a7b781b220b3bcddf1edabff7c8be52c9aeb (diff)
soc/intel/jasperlake: add pcie modphy settings
This patch adds device tree settings to control pcie modphy tuning FSP UPDs. With this patch, the pcie modphy can be tuned per board. BUG=b:192716633 BRANCH=NONE TEST=build dedede variant coreboot with fw_debug enable and check if these settings have been changed successfully on fsp debug log. Change-Id: I80a91d45f9dd8ef218846e1284fdad309313e831 Signed-off-by: Jamie Chen <jamie.chen@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56336 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/intel/jasperlake/chip.h')
-rw-r--r--src/soc/intel/jasperlake/chip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/jasperlake/chip.h b/src/soc/intel/jasperlake/chip.h
index 4a9d9a0cf1..001597e308 100644
--- a/src/soc/intel/jasperlake/chip.h
+++ b/src/soc/intel/jasperlake/chip.h
@@ -13,6 +13,7 @@
#include <soc/gpio.h>
#include <soc/pch.h>
#include <soc/pci_devs.h>
+#include <soc/pcie_modphy.h>
#include <soc/pmc.h>
#include <soc/serialio.h>
#include <soc/usb.h>
@@ -122,6 +123,9 @@ struct soc_intel_jasperlake_config {
/* PCIe RP L1 substate */
enum L1_substates_control PcieRpL1Substates[CONFIG_MAX_ROOT_PORTS];
+ /* PCIe ModPhy related */
+ struct pcie_modphy_config pcie_mp_cfg[CONFIG_MAX_ROOT_PORTS];
+
/* SMBus */
uint8_t SmbusEnable;