linux icon indicating copy to clipboard operation
linux copied to clipboard

Addition of support for ADLX312 and ADXL314 for the ADXL313 driver.

Open danmois opened this issue 3 years ago • 4 comments

ADXL312 and ADXL314 are small, thin, low power, 3-axis accelerometers with high resolution (13-bit) measurement up to +/-12 g and +/- 200 g, respectively. They are based on the same ASIC as ADXL313 and support for their operation is added to the already existing ADXL313 driver.

danmois avatar Aug 11 '22 08:08 danmois

V1

  • added the scale_factor member for driver data
  • added an array for regmaps associated to every device
  • replaced the condition for future proofing

danmois avatar Aug 11 '22 09:08 danmois

V2

  • implemented Checkpatch Script suggested fixes

danmois avatar Aug 11 '22 10:08 danmois

V3

  • implemented review comments (removed unrelated change, extra lines, unnecessary brackets)

danmois avatar Aug 11 '22 12:08 danmois

I think these patches can be sent upstream for further review.

Surely the way to go in here. Please send these upstream before merging them in our tree.

nunojsa avatar Aug 15 '22 14:08 nunojsa

V4

  • variant accepted upstream

danmois avatar Sep 19 '22 08:09 danmois