Skip to content

Implement sample time consideration for Vybrid's ADC

Sanchayan Maity linux-arm-kernel linux-devicetree linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 11 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Use a default value of 1000ns for sample time in the driver if the property is not specified in the device tree.
- Specify the min-sample-time property in the board device tree file instead of the top level vfxxx.dtsi file for Vybrid

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: adc: vf610: Determine sampling frequencies by using minimum sample timeDocumentation/devicetree/bindings/iio/adc/vf610-adc.txt drivers/iio/adc/vf610_adc.c+80 -41 reply
2/2ARM: dts: vf-colibri: Add property for minimum sample timearch/arm/boot/dts/vf-colibri.dtsi+2 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Implement sample time consideration for Vybrid's ADC

Hello,

This patchset adds a dt binding for specifying sample time for the vybrid adc driver and takes this into account for sampling frequency calculation and related configuration in the driver.

The patchset is based on top of Stefan's patches here
http://lkml.iu.edu/hypermail/linux/kernel/1505.3/02043.html

which got recently applied.

Changes since v2:

- Use a default value of 1000ns for sample time in the driver if the property is not specified in the device tree.
- Specify the min-sample-time property in the board device tree file instead of the top level vfxxx.dtsi file for Vybrid

Changes since v1:

Change from a vendor specific fsl,min-sample-time to non vendor specific min-sample-time.

Version 2 of the patchset can be found here
https://lkml.org/lkml/2015/6/24/97

Version 1 of the patchset can be found here
http://lkml.iu.edu/hypermail/linux/kernel/1506.1/00026.html

- Sanchayan.

Sanchayan Maity (2):
iio: adc: vf610: Determine sampling frequencies by using minimum
sample time
ARM: dts: vf-colibri: Add property for minimum sample time

 .../devicetree/bindings/iio/adc/vf610-adc.txt      |  5 ++
 arch/arm/boot/dts/vf-colibri.dtsi                  |  2 +
 drivers/iio/adc/vf610_adc.c                        | 79 ++++++++++++++++++++--
 3 files changed, 82 insertions(+), 4 deletions(-)
Signature · 1 line
2.4.5