Skip to contentSkip to conversation

iio: hx711: add data-ready-delay

PATCH Superseded Andreas Klinger 1 participant 1 message Jul 4, 2018 IIO

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover iio: hx711: add data-ready-delay

This patch adds an additional property in the device tree for adjusting the delay between a rising edge on PD_SCK until data is ready on DOUT.

This is necessary because of parasitic capacities on different systems.

In the last patch there is a fix of dtc warning if someone is using the given example

Changes against v3:
- added suggestion of Rob to rename the new attribute to clock-frequency

Changes against v2:
- added suggestion of Jonathan to add vendor prefix in device tree setting

Andreas Klinger (3):
iio: hx711: add clock-frequency property in DT
iio: hx711: add delay until DOUT is ready
iio: hx711: warning in dt binding example doc

 .../devicetree/bindings/iio/adc/avia-hx711.txt     | 12 +++++++-
 drivers/iio/adc/hx711.c                            | 33 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.4