SM8750: add SSC accel+gyro support (sns_iio + ssc-sensors package) - #30
Open
aamir0701 wants to merge 1 commit into
Open
SM8750: add SSC accel+gyro support (sns_iio + ssc-sensors package)#30aamir0701 wants to merge 1 commit into
aamir0701 wants to merge 1 commit into
Conversation
Add Snapdragon Sensor Core (SSC) IMU bring-up for SM8750 handhelds: - ssc-sensors package: builds adsprpcd (ADSP RPC daemon) and snsfeed (QRTR sensor reader) from qualcomm/fastrpc source with glibc shims. - kernel patch 0614: sns_iio module exposes a userspace-fed IIO device (bmi323-imu) that InputPlumber consumes for gyro-to-gamepad routing. - CONFIG_SNS_IIO=m added to kernel config overrides. The IMU (ICM4x6xx) sits on the ADSP sensor island bus, unreachable from the AP directly. adsprpcd spawns the sensorspd static PD and serves the Hexagon sensor registry via reverse-RPC; snsfeed streams accel+gyro over QRTR into /dev/sns_iio_feed at 400 Hz. Tested on KONKR Pocket FIT Elite (SM8750P, SoC ID 639). Credit: ROCKNIX PR #3005 (author: aanze) for the sns_iio bridge design, snsfeed implementation, and the approach of using a userspace-fed IIO device consumed by stock InputPlumber.
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.
Add Snapdragon Sensor Core (SSC) IMU bring-up for SM8750 handhelds:
The IMU (ICM4x6xx) sits on the ADSP sensor island bus, unreachable from the AP directly. adsprpcd spawns the sensorspd static PD and serves the Hexagon sensor registry via reverse-RPC; snsfeed streams accel+gyro over QRTR into /dev/sns_iio_feed at 400 Hz.
Tested on KONKR Pocket FIT Elite (SM8750P, SoC ID 639).
Credit: ROCKNIX PR #3005 (author: aanze) for the sns_iio bridge design, snsfeed implementation, and the approach of using a userspace-fed IIO device consumed by stock InputPlumber.