diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2020-04-23 19:54:43 +0200 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2020-06-06 08:56:11 +0530 |
commit | 914ac2864cb7566daa26b322b897ef0af2b50ac0 (patch) | |
tree | e390c0653c609fba48d639f1c5fa51b8e855d29b /platforms/astbmc | |
parent | 36ebdd0843675412ac4f5c3c5ea524000e10ace0 (diff) | |
download | skiboot-914ac2864cb7566daa26b322b897ef0af2b50ac0.zip skiboot-914ac2864cb7566daa26b322b897ef0af2b50ac0.tar.gz skiboot-914ac2864cb7566daa26b322b897ef0af2b50ac0.tar.bz2 |
platform/mihawk: Tune equalization settings for opencapi
[ Upstream commit afe6bc9051907d25082309895f8cfe44f59e2f25 ]
The Bittware 250SOC adapter on Mihawk was showing a high count of CRC
errors on one of the opencapi slots. The PHY team suggested new
equalization settings to correct the errors.
All existing adapters have been tested on mihawk to make sure the
settings are compatible. However, the new settings should not be used
on platforms other than mihawk.
The changes specific to mihawk are:
- Update the tx_ffe_pre_coeff and tx_ffe_post_coeff input parameters
used during zcal
- turn off the tx_ffe_boost parameter through scom
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Cc: skiboot-stable@lists.ozlabs.org # skiboot-op940.x
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/astbmc')
-rw-r--r-- | platforms/astbmc/mihawk.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/platforms/astbmc/mihawk.c b/platforms/astbmc/mihawk.c index 8971b40..f3669ff 100644 --- a/platforms/astbmc/mihawk.c +++ b/platforms/astbmc/mihawk.c @@ -142,6 +142,12 @@ static const char *mihawk_ocapi_slot_label(uint32_t chip_id, return name; } +static const struct ocapi_phy_setup mihawk_phy = { + .tx_ffe_pre_coeff = 0x3, + .tx_ffe_post_coeff = 0x14, + .tx_ffe_boost_en = 0, +}; + static const struct platform_ocapi mihawk_ocapi = { .i2c_engine = 1, .i2c_port = 4, @@ -157,6 +163,7 @@ static const struct platform_ocapi mihawk_ocapi = { .i2c_presence_brick5 = 0, /* unused */ .odl_phy_swap = true, .ocapi_slot_label = mihawk_ocapi_slot_label, + .phy_setup = &mihawk_phy, }; static const struct slot_table_entry P1E1A_x8_PLX8748_RiserA_down[] = { |