aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager/eiscat.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/eiscat.py')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/eiscat.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/eiscat.py b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
index c0a5e2fb1..78dae0c1f 100644
--- a/mpm/python/usrp_mpm/dboard_manager/eiscat.py
+++ b/mpm/python/usrp_mpm/dboard_manager/eiscat.py
@@ -366,7 +366,20 @@ class EISCAT(DboardManagerBase):
"adc1": create_spidev_iface_sane,
"phase_dac": create_spidev_iface_phasedac,
}
- dt_overlays = ['eiscat-{sfp}']
+
+ @staticmethod
+ def list_required_dt_overlays(eeprom_md, sfp_config, device_args):
+ """
+ Lists device tree overlays that need to be applied before this class can
+ be used. List of strings.
+ Are applied in order.
+
+ eeprom_md -- Dictionary of info read out from the dboard EEPROM
+ sfp_config -- A string identifying the configuration of the SFP ports.
+ Example: "XG", "HG", "XA", ...
+ device_args -- Arbitrary dictionary of info, typically user-defined
+ """
+ return ['eiscat-{sfp}'.format(sfp=sfp_config)]
def __init__(self, slot_idx, **kwargs):
super(EISCAT, self).__init__(slot_idx, **kwargs)