summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/cezanne/chip.h
diff options
context:
space:
mode:
authorJulian Schroeder <julianmarcusschroeder@gmail.com>2021-05-11 10:44:13 -0500
committerFelix Held <felix-coreboot@felixheld.de>2021-05-26 15:15:53 +0000
commitd2f3308ad7efd01a2d23749aa4ccc6bc5efc8a56 (patch)
tree2200586bb2ba0a5dabf6acf60dcfedcdc40adbe0 /src/soc/amd/cezanne/chip.h
parente84a014ee6121424593ded21591c3e759847b784 (diff)
downloadcoreboot-d2f3308ad7efd01a2d23749aa4ccc6bc5efc8a56.tar.gz
coreboot-d2f3308ad7efd01a2d23749aa4ccc6bc5efc8a56.tar.bz2
coreboot-d2f3308ad7efd01a2d23749aa4ccc6bc5efc8a56.zip
soc/amd/cezanne: add support for the changed AMD FSP API for USB PHY
The AMD FSP is using a new structure for USB and USB C phy settings. This patch removes old, unused structures, adds the new one and enables the devicetree interface for it. Signed-off-by: Julian Schroeder <julianmarcusschroeder@gmail.com> Change-Id: I011ca40a334e4fd26778ca7f18b653298b14019b Reviewed-on: https://review.coreboot.org/c/coreboot/+/54065 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'src/soc/amd/cezanne/chip.h')
-rw-r--r--src/soc/amd/cezanne/chip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/chip.h b/src/soc/amd/cezanne/chip.h
index 6731a7133391..83aff05f18d2 100644
--- a/src/soc/amd/cezanne/chip.h
+++ b/src/soc/amd/cezanne/chip.h
@@ -8,6 +8,7 @@
#include <soc/southbridge.h>
#include <drivers/i2c/designware/dw_i2c.h>
#include <types.h>
+#include <vendorcode/amd/fsp/cezanne/FspUsb.h>
struct soc_amd_cezanne_config {
struct soc_amd_common_config common_config;
@@ -92,6 +93,9 @@ struct soc_amd_cezanne_config {
GPP_CLK_REQ, /* GPP clock controlled by corresponding #CLK_REQx pin */
GPP_CLK_OFF, /* GPP clk off */
} gpp_clk_config[GPP_CLK_OUTPUT_COUNT];
+
+ uint8_t usb_phy_custom;
+ struct usb_phy_config usb_phy;
};
#endif /* CEZANNE_CHIP_H */