-
Notifications
You must be signed in to change notification settings - Fork 846
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: GPO support via debugfs
This adds support for dynamic GPO[0..3] control via a new debugfs attribute gpo_set. adi,gpo-manual-mode-enable must be enabled. Be aware that GPO manual mode can conflict with external LNA and automatic ENSM slave mode. GPOs can be addressed individual 0..3 or altogether using 0xF as address select. Example: # cd /sys/kernel/debug/iio/iio\:device1 # echo 1 > adi,gpo-manual-mode-enable # echo 0 1 > gpo_set # echo 0 0 > gpo_set # echo 0xF 0xF > gpo_set # echo 0xF 0 > gpo_set Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
edfceb2
commit 1c7dbe2
Showing
2 changed files
with
59 additions
and
2 deletions.
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