diff options
author | Maciej Machnikowski <maciej.machnikowski@intel.com> | 2021-08-17 13:09:17 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-10-14 07:37:30 -0700 |
commit | 885fe6932a1190cc0a949c3da52223c54f6fe7a8 (patch) | |
tree | d929872600d728dd281743ff962d2a270a82b25c /drivers/net/ethernet/intel/ice/ice_common.h | |
parent | 3bb6324b3dcbf30a99fea0bad9fe8941de4b75fb (diff) | |
download | linux-885fe6932a1190cc0a949c3da52223c54f6fe7a8.tar.gz linux-885fe6932a1190cc0a949c3da52223c54f6fe7a8.tar.bz2 linux-885fe6932a1190cc0a949c3da52223c54f6fe7a8.zip |
ice: Add support for SMA control multiplexer
E810-T adapters have two external bidirectional SMA connectors and two
internal unidirectional U.FL connectors. Multiplexing between U.FL and
SMA and SMA direction is controlled using the PCA9575 expander.
Add support for the PCA9575 detection and control of the respective pins
of the SMA/U.FL multiplexer using the GPIO AQ API.
Signed-off-by: Maciej Machnikowski <maciej.machnikowski@intel.com>
Tested-by: Sunitha Mekala <sunithax.d.mekala@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.h')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_common.h b/drivers/net/ethernet/intel/ice/ice_common.h index 4273f8921e53..65c1b3244264 100644 --- a/drivers/net/ethernet/intel/ice/ice_common.h +++ b/drivers/net/ethernet/intel/ice/ice_common.h @@ -183,6 +183,7 @@ ice_stat_update40(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, void ice_stat_update32(struct ice_hw *hw, u32 reg, bool prev_stat_loaded, u64 *prev_stat, u64 *cur_stat); +bool ice_is_e810t(struct ice_hw *hw); enum ice_status ice_sched_query_elem(struct ice_hw *hw, u32 node_teid, struct ice_aqc_txsched_elem_data *buf); |