aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/chips
Commit message (Collapse)AuthorAgeFilesLines
* mpm: lmk04832: Clean up driverMartin Braun2021-05-101-12/+23
| | | | Mostly cosmetic and Pylint fixes.
* ic_reg_maps: Add SPCC reg mapToni Jones2021-03-011-0/+4
| | | | Add SPCC reg map for reference and testing.
* cmake: Add RegMaps build component to MPMToni Jones2021-03-014-0/+64
| | | | | | | | | | Add RegMaps build component to MPM. The PYTHON_CHECK_MODULE is included from UHDPython in order to look up the presence of Mako. Mako is required for generating the regmaps and RegMap will be disabled without it. The RegMaps component creates custom commands for generating all regmaps, creates a Python submodule "ic_reg_maps" with a custom __init__.py file, and creates a target "ic_reg_maps" which gets installed with usrp_mpm.
* mpm: Add an LMK03328 base chip driverToni Jones2021-02-223-0/+86
| | | | | | | | | Added an LMK03328 base chip driver which does basic register access, ID validation, and PLL lock validation. This will act as the base class for device specific drivers which control the chip. The code it similar to the LMK04828 and LMK04832 base driver classes but has a different register map structure. Register bitfield definitions were omitted and will be added on an as needed basis.
* mpm: Add an LMK04832 base chip driverToni Jones2021-02-223-0/+165
| | | | | | | | Added an LMK04832 base chip driver which does basic register access, ID validation, and PLL lock validation. This will act as the base class for device specific drivers which control the chip. The code is similar to the LMK04828 base driver class, but has a different register map structure.
* uhd: mpm: update all license header w/ "-or-later"Brent Stapleton2019-03-081-1/+1
| | | | Updating all SPDX license identifiers to include "-or-later"
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-4/+4
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* mpm: Add basic driver for QSFP board's retimerAlex Williams2018-11-072-0/+108
|
* adf400x: Fix adf400x driver for ref counter and charge pump modeSugandha Gupta2018-08-021-11/+19
| | | | | | | - For different ref clock frequencies, the ref_counter should change and not the n_counter. - The charge pump should be set to normal mode and tristate as that would prevent the PLL to lock.
* mpm: adding adf400x support to chipsBrent Stapleton2018-06-273-2/+216
| | | | | Adding ADF400X driver to MPM. This uses the Boost.Python bound spidev, and is largely a translation from the C++ driver in UHD.
* mpm: Fix some Pylint warningsMartin Braun2018-03-061-7/+10
| | | | No functional changes.
* mpm: Demote some log messagesMartin Braun2018-03-061-2/+2
| | | | | | The log output at level 'INFO' was pretty cluttered. This cleans up the log messages at the higher levels. In some cases, log message typos or capitalizations were also fixed.
* mpm: Update all license headersMartin Braun2018-02-192-4/+4
| | | | | - Fix typo in company name (missing 'a') - Updated SPDX license identifier to version 3.0
* mpm: Harmonize all license headerMartin Braun2017-12-223-39/+6
| | | | Now uses SPDX headers everywhere.
* mpm: Harmonize imports, tidy + sort modulesMartin Braun2017-12-221-1/+1
| | | | | | | | - Moved nijesdcore to cores/ - Moved udev, net, dtoverlay, uio to sys_utils/ - Made all imports non-relative (except in __init__.py files) - Removed some unnecessary imports - Reordered some imports for Python conventions
* mpm: lmk04828: Fix docstringMartin Braun2017-12-221-2/+2
| | | | Says check_plls_locked() would throw an exception. That's not true.
* mpm: mg: Move some class attributes to local scopesMartin Braun2017-12-221-1/+3
| | | | | | The clock_synchronizer, jesdcore, and dboard_clk_control objects don't need to exist for the full lifetime of the Magnesium class. Having them around complicates management of UIO file descriptors.
* n3xx: add support for 122.88 and 153.6 MHz sample clock ratesMartin Braun2017-12-221-3/+42
| | | | | | - re-wrote portions of the LMK driver for flexible rates and configuration - tweaked TDC driver for compatibility and ease of debugging - updated comments and log statements throughout for uniformity
* mpm: Fix minor logging issues with LMK04828 codeMartin Braun2017-12-221-3/+2
| | | | Log prefixes weren't properly being set.
* lmk: change holdover settings to reduce lock timedjepson12017-12-221-3/+1
| | | | | - Register 0x150 bit [1] to '0' - Change lock detect to poll operation
* mpm: Minor logging improvement for LMK04828 classesMartin Braun2017-12-221-1/+1
|
* mpm: Made code Python3-compatibleMartin Braun2017-12-221-0/+1
|
* mpm/eiscat: Updates to LMK04828 driverDaniel Jepson2017-12-221-3/+25
|
* mpm: Factored out common LMK04828 codeMartin Braun2017-12-223-0/+109