soc/intel/apollolake: Allow USB2 eye pattern configuration in devicetree
This code allows people to override the usb2 eye pattern UPD settings for boards. BUG=chrome-os-partner:61031 BRANCH=None TEST=Usb2 function ok and make sure fsp upd is overridden Change-Id: I5fab620a29aba196edf1f24ffe6a1695de1e523e Signed-off-by: Kane Chen <kane.chen@intel.com> Reviewed-on: https://review.coreboot.org/18060 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <soc/intel/common/lpss_i2c.h>
|
||||
#include <device/i2c.h>
|
||||
#include <soc/pm.h>
|
||||
#include <soc/usb.h>
|
||||
|
||||
#define CLKREQ_DISABLED 0xf
|
||||
#define APOLLOLAKE_I2C_DEV_MAX 8
|
||||
@@ -115,6 +116,10 @@ struct soc_intel_apollolake_config {
|
||||
|
||||
/* GPIO pin for PERST_0 */
|
||||
uint16_t prt0_gpio;
|
||||
|
||||
/* USB2 eye diagram settings per port */
|
||||
struct usb2_eye_per_port usb2eye[APOLLOLAKE_USB2_PORT_MAX];
|
||||
|
||||
};
|
||||
|
||||
#endif /* _SOC_APOLLOLAKE_CHIP_H_ */
|
||||
|
Reference in New Issue
Block a user