diff options
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager')
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/base.py | 13 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/eiscat.py | 13 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/dboard_manager/magnesium.py | 14 |
3 files changed, 0 insertions, 40 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/base.py b/mpm/python/usrp_mpm/dboard_manager/base.py index 82263bddc..3f5f3adb8 100644 --- a/mpm/python/usrp_mpm/dboard_manager/base.py +++ b/mpm/python/usrp_mpm/dboard_manager/base.py @@ -43,19 +43,6 @@ class DboardManagerBase(object): # maps these keys to actual spidev paths. Also throws a warning/error if # the SPI configuration is invalid. spi_chipselect = {} - @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 [] ### End of overridables ################################################# def __init__(self, slot_idx, **kwargs): diff --git a/mpm/python/usrp_mpm/dboard_manager/eiscat.py b/mpm/python/usrp_mpm/dboard_manager/eiscat.py index 06b647eec..15037086f 100644 --- a/mpm/python/usrp_mpm/dboard_manager/eiscat.py +++ b/mpm/python/usrp_mpm/dboard_manager/eiscat.py @@ -407,19 +407,6 @@ class EISCAT(DboardManagerBase): "phase_dac": create_spidev_iface_phasedac, } - @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)] # Daughterboard Control Register address constants ADC_CONTROL = 0x0600 diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py index ae854ec81..2c418859b 100644 --- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py +++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py @@ -284,20 +284,6 @@ class Magnesium(DboardManagerBase): } # Maps the chipselects to the corresponding devices: spi_chipselect = {"cpld": 0, "lmk": 1, "mykonos": 2, "phase_dac": 3} - @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 ['magnesium-{sfp}'.format(sfp=sfp_config)] - ### End of overridables ################################################# # Class-specific, but constant settings: spi_factories = { |