From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([212.227.126.130]:48757 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732266AbeGJSSl (ORCPT ); Tue, 10 Jul 2018 14:18:41 -0400 Date: Tue, 10 Jul 2018 20:17:54 +0200 From: Andreas Klinger To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, mchehab@kernel.org, davem@davemloft.net, gregkh@linuxfoundation.org, akpm@linux-foundation.org, linus.walleij@linaro.org, rdunlap@infradead.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/3] iio: hx711: add data-ready-delay Message-ID: <20180710181754.GA5360@arbeit> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org 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 capacitance on different systems. In the last patch there is a fix of dtc warning if someone is using the given example. Changes against v4: - Thanks to Rob for giving me explanations - make square wave with clock PD_SCK and change documentation for it 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: fix spurious unit-address in example .../devicetree/bindings/iio/adc/avia-hx711.txt | 8 ++++- drivers/iio/adc/hx711.c | 39 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) -- 2.1.4