forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: accel: Add driver support for ADXL355
ADXL355 is a 3-axis MEMS Accelerometer. It offers low noise density, low 0g offset drift, low power with selectable measurement ranges. It also features programmable high-pass and low-pass filters. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adxl354_adxl355.pdf Reviewed-by: Alexandru Ardelean <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Puranjay Mohan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information
1 parent
bf43a71
commit 12ed278
Showing
7 changed files
with
802 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -598,6 +598,16 @@ W: http://ez.analog.com/community/linux-device-drivers | |
F: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | ||
F: drivers/input/misc/adxl34x.c | ||
|
||
ADXL355 THREE-AXIS DIGITAL ACCELEROMETER DRIVER | ||
M: Puranjay Mohan <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: Documentation/devicetree/bindings/iio/accel/adi,adxl355.yaml | ||
F: drivers/iio/accel/adxl355.h | ||
F: drivers/iio/accel/adxl355_core.c | ||
F: drivers/iio/accel/adxl355_i2c.c | ||
F: drivers/iio/accel/adxl355_spi.c | ||
|
||
ADXL372 THREE-AXIS DIGITAL ACCELEROMETER DRIVER | ||
M: Michael Hennerich <[email protected]> | ||
S: Supported | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* | ||
* ADXL355 3-Axis Digital Accelerometer | ||
* | ||
* Copyright (c) 2021 Puranjay Mohan <[email protected]> | ||
*/ | ||
|
||
#ifndef _ADXL355_H_ | ||
#define _ADXL355_H_ | ||
|
||
#include <linux/regmap.h> | ||
|
||
struct device; | ||
|
||
extern const struct regmap_access_table adxl355_readable_regs_tbl; | ||
extern const struct regmap_access_table adxl355_writeable_regs_tbl; | ||
|
||
int adxl355_core_probe(struct device *dev, struct regmap *regmap, | ||
const char *name); | ||
|
||
#endif /* _ADXL355_H_ */ |
Oops, something went wrong.