Skip to content

Sensors: add DT-free dynamic runner, helpers, LAVA YAML, and overlay-only docs#292

Merged
abbajaj806 merged 4 commits intoqualcomm-linux:mainfrom
smuppand:sensors
Mar 17, 2026
Merged

Sensors: add DT-free dynamic runner, helpers, LAVA YAML, and overlay-only docs#292
abbajaj806 merged 4 commits intoqualcomm-linux:mainfrom
smuppand:sensors

Conversation

@smuppand
Copy link
Contributor

Adds a DT-free Sensors suite that discovers available sensor TYPEs via ssc_sensor_info, gates on ADSP remoteproc/firmware, and validates selected sensors using see_workhorse/ssc_drva_test with log-based PASS/FAIL parsing. Includes repo-standard LAVA test definition and README documenting overlay-only app requirement, profiles, CLI usage, and examples for core/vision kits.

- add lib_sensors.sh helpers to:
  - gate on ADSP remoteproc state and firmware presence
  - dump ssc_sensor_info inventory to file (avoid huge stdout)
  - parse AVAILABLE=true sensor TYPE list
  - run see_workhorse / ssc_drva_test with progress + log-based PASS/FAIL parsing
- keep ShellCheck clean and deterministic argv handling

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
…controls

- add Runner/suites/Multimedia/Sensors/run.sh in standard testkit format
- DT-free discovery via ssc_sensor_info; skip early if inventory not parsable
- ADSP remoteproc gating using functestlib remoteproc helpers
- supports --list, --profile, --sensors csv, durations/heartbeat, strict mode
- writes logs to OUT_DIR and emits Sensors.res for LAVA

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
- add LAVA test definition for Sensors suite
- invoke Sensors/run.sh with repo-standard steps
- always send Sensors.res using send-to-lava.sh

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
- add README for Sensors suite: discovery, profiles, custom sensor lists
- document overlay-only requirement for sensor apps and expected logs/results
- include examples for core/vision kits and LAVA invocation

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
@github-actions
Copy link

@ualcomm/qualcomm-linux-testing.triage This pull request has been marked as stale due to 30 days of inactivity.

@github-actions github-actions bot added the Stale label Mar 17, 2026
Copy link
Contributor

@abbajaj806 abbajaj806 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abbajaj806 abbajaj806 merged commit 91d881b into qualcomm-linux:main Mar 17, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants