OSDN Git Service

ice: Add support for SMA control multiplexer
authorMaciej Machnikowski <maciej.machnikowski@intel.com>
Tue, 17 Aug 2021 11:09:17 +0000 (13:09 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 14 Oct 2021 14:37:30 +0000 (07:37 -0700)
commit885fe6932a1190cc0a949c3da52223c54f6fe7a8
treed929872600d728dd281743ff962d2a270a82b25c
parent3bb6324b3dcbf30a99fea0bad9fe8941de4b75fb
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>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_devids.h
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
drivers/net/ethernet/intel/ice/ice_ptp_hw.h
drivers/net/ethernet/intel/ice/ice_type.h