Skip to content

iio: imu: add support for FXOS8700

Robert Jones linux-devicetree linux-iio 4 versions – Applied

Status from this message: Applied,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesApplied
  2. v32 patches 5 repliesSuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Updated interrupts property and example of devicetree binding
- Removed unnecessary header definitions and reorganized others to source files
- Changed data buffer to __be16 to properly reflect data type
- Changed included file to one more appropriate

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: iio: imu: add fxos8700 imu bindingDocumentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml+76 -02 replies
2/2iio: imu: Add support for the FXOS8700 IMUdrivers/iio/imu/Kconfig drivers/iio/imu/Makefile drivers/iio/imu/fxos8700.h +3 more+820 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] iio: imu: add support for FXOS8700

- Document the FXOS8700 device tree binding.
- Implement basic iio driver support for FXOS8700

Changes in v2:
- Reorganized files to base imu directory
- Converted devicetree bindings doc to schema
- Moved single use function definitions out of header
- Added bit definitions and #define usages
- Moved buffer for regmap_bulk_read to private data struct
- Clarified get_data operations
- Remove unreachable code
- Remove log noise
- Remove of_match_ptr() macro usage
- Various style and whitespace changes

Changes in v3:
- Refactored Freescale mentions to NXP, including compatible string
- Removed missed files from reorganization to base imu directory
- Removed Kconfig source command to now nonexistent directory
- Fixed devicetree binding properties definitions
- Added SPI example to devicetree documentation

Changes in v4:
- Updated interrupts property and example of devicetree binding
- Removed unnecessary header definitions and reorganized others to source files
- Changed data buffer to __be16 to properly reflect data type
- Changed included file to one more appropriate

Robert Jones (2):
dt-bindings: iio: imu: add fxos8700 imu binding
iio: imu: Add support for the FXOS8700 IMU

 .../devicetree/bindings/iio/imu/nxp,fxos8700.yaml  |  76 +++
 drivers/iio/imu/Kconfig                            |  27 +
 drivers/iio/imu/Makefile                           |   5 +
 drivers/iio/imu/fxos8700.h                         |  10 +
 drivers/iio/imu/fxos8700_core.c                    | 649 +++++++++++++++++++++
 drivers/iio/imu/fxos8700_i2c.c                     |  71 +++
 drivers/iio/imu/fxos8700_spi.c                     |  58 ++
 7 files changed, 896 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/imu/nxp,fxos8700.yaml
 create mode 100644 drivers/iio/imu/fxos8700.h
 create mode 100644 drivers/iio/imu/fxos8700_core.c
 create mode 100644 drivers/iio/imu/fxos8700_i2c.c
 create mode 100644 drivers/iio/imu/fxos8700_spi.c
Signature · 1 line
2.9.2