Repository navigation
Conversation
Add per-channel AGC configuration support via debugfs, following the shadow-struct + commit pattern. Each RX channel exposes ~35 AGC parameters as individual debugfs files (u8/u16/u32) plus a summary file (rxN_agc_config) that seeds the shadow on read and commits to hardware on write. The AGC shadow is stored per-channel in the phy struct (phy->rx_agc[]) to support multiple device instances. Clamp four fields before commit where firmware defaults fall outside the API's own documented valid ranges: - adcOvldLowThresh: max 8 - adcOvldLowerThreshPeakExceededCnt: min 2 - adcOvldUpperThreshPeakExceededCnt: min 2 - agcPeakWaitTime: max 3 Make adrv903x_debugfs.o and adrv903x_agc.o conditional on CONFIG_DEBUG_FS to avoid compiling dead code when debugfs is disabled. Signed-off-by: George Mois <george.mois@analog.com>
gastmaier
force-pushed
the
test/ci-sarif-adrv903x_agc
branch
from
October 12, 2026 13:57
734c28e to
2008cc0
Compare
gastmaier
force-pushed
the
test/ci-sarif-adrv903x_agc
branch
3 times, most recently
from
October 12, 2026 14:19
1dd4e3e to
768c73e
Compare
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
gastmaier
force-pushed
the
test/ci-sarif-adrv903x_agc
branch
2 times, most recently
from
October 12, 2026 14:25
3a97d05 to
6a99a25
Compare
Test analogdevicesinc/linux ci-sarif with SARIF upload on top of #3592. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
gastmaier
force-pushed
the
test/ci-sarif-adrv903x_agc
branch
from
October 12, 2026 14:27
6a99a25 to
ee94d84
Compare
| if (count > PAGE_SIZE) | ||
| agc = NULL; | ||
|
|
||
| agc->rxChannelMask = ADI_ADRV903X_RX0 << priv->idx; |
Test SARIF detection on touched lines. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
gastmaier
force-pushed
the
test/ci-sarif-adrv903x_agc
branch
from
October 13, 2026 07:06
0d7ecbe to
bba359c
Compare
| if (count > PAGE_SIZE) | ||
| agc = NULL; | ||
|
|
||
| agc->rxChannelMask = ADI_ADRV903X_RX0 << priv->idx; |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test PR for the
ci-sarifCI branch (GCC/Clang analyzer results uploaded as SARIF to code scanning).Content: #3592 (
staging/adrv903x_agc) plus one dummy commit pointingtop-level.ymlat@ci-sarifand grantingsecurity-events: writeto the checks jobs.