forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: accel: sca3300: modified to support multi chips
The driver supports sca3300 only, there are some other similar chips, for instance, SCL3300. This commit prepares the way for multiple chips and additional channels. Modify the driver to read the device ID and load the corresponding sensor information from the table to support multiple chips. add prepares for the addition of extra channels. Add prepares for handling the operation modes for multiple chips. Signed-off-by: LI Qingwu <Qing-wu.Li@leica-geosystems.com.cn>
- Loading branch information
1 parent
b192e8c
commit 1557926
Showing
1 changed file
with
145 additions
and
41 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