lkml.org 
[lkml]   [2018]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] iio: hx711: add data-ready-delay-ns property in DT
    On Sat, 23 Jun 2018 20:54:21 +0200
    Andreas Klinger <ak@it-klinger.de> wrote:

    > add data-ready-delay-ns property for hx711 ADC
    > this is the delay after rising PD_SCK until DOUT is read and assumed to be
    > ready
    >
    > Signed-off-by: Andreas Klinger <ak@it-klinger.de>

    One unconnected change. I'm not sure it's wrong as such but it should not
    be in this patch.

    > ---
    > Documentation/devicetree/bindings/iio/adc/avia-hx711.txt | 9 ++++++++-
    > 1 file changed, 8 insertions(+), 1 deletion(-)
    >
    > diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt
    > index b3629405f568..8c9bcaa4d750 100644
    > --- a/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt
    > +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.txt
    > @@ -8,11 +8,18 @@ Required properties:
    > See Documentation/devicetree/bindings/gpio/gpio.txt
    > - avdd-supply: Definition of the regulator used as analog supply
    >
    > +Optional properties:
    > + - data-ready-delay-ns: additional delay in nanoseconds between rising of
    > + PD_SCK until DOUT is ready
    > + should be less then maximum PD_SCK high time which
    > + is 50000 in the datasheet
    > +
    > Example:
    > -weight@0 {
    > +weight {

    Change has nothing to do with this patch...

    > compatible = "avia,hx711";
    > sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
    > dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
    > avdd-suppy = <&avdd>;
    > + data-ready-delay-ns = <1000>;
    > };
    >

    \
     
     \ /
      Last update: 2018-06-24 15:11    [W:5.703 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site