-
Notifications
You must be signed in to change notification settings - Fork 837
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: adc: ad9361: add hooks for init/uninit states of the system
Adds support for defining hooks to initialize the band control settings at driver init (presumably boot-up as well) and driver uninit (presumably power-down). This will make sure that the settings are in a known/safe state when the device is inited/uninited. To support this, the following device-tree nodes can be added to the ad9361 driver: * `adi_ext_band_ctl_init`: applied when driver initializes * `adi_ext_band_ctl_uninit`: applied when driver uninitializes Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
- Loading branch information
Showing
2 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters