ice: add i2c write command
authorKarol Kolacinski <karol.kolacinski@intel.com>
Fri, 24 Jun 2022 15:22:02 +0000 (17:22 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 21 Jul 2022 18:22:45 +0000 (11:22 -0700)
commitfcf9b695a554dd8b74863ea59b639515f95b10ee
tree4069240dc37e1ebeaf5e097d357bcb6d19422d74
parent5588d628027092e66195097bdf6835ddf64418b3
ice: add i2c write command

Add the possibility to write to connected i2c devices using the AQ
command. FW may reject the write if the device is not on allowlist.

Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
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