[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190627133932.GL3692@piout.net>
Date: Thu, 27 Jun 2019 15:39:32 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Wolfram Sang <wsa@...-dreams.de>
Cc: Eugen.Hristev@...rochip.com, peda@...ntia.se, robh+dt@...nel.org,
mark.rutland@....com, Nicolas.Ferre@...rochip.com,
Ludovic.Desroches@...rochip.com, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
pierre-yves.mordret@...com
Subject: Re: I2C filtering (was Re: [PATCH v2 6/9] dt-bindings: i2c: at91:
add binding for enable-ana-filt)
On 27/06/2019 15:34:40+0200, Wolfram Sang wrote:
>
> > > Apart from enabling the filter there is indeed one configuration
> > > setting, the maximum pulse width of spikes to be suppressed by the input
> > > filter.
>
> Yup, this is what I anticipated.
>
> > This is a number 0 to 7 (3 bits) that represents the width of the spike
> > in periph clock cycles.
>
> For a generic binding, we would need some time-value as a parameter and
> convert it to clock cycles in the driver then, I'd think.
>
Yes, that is what I was going to suggest.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists