Re: [PATCH 1/3] dt-bindings: iio: accel: bma255: Fix interrupt type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 16, 2021 at 2:31 PM Jonathan Cameron <jic23@xxxxxxxxxx> wrote:

> Be a little bit careful.  There is always the possibility
> someone has a board doing cheap level conversion via an inverter
> (I have one of those, though not with this device).
> We could in theory represent that explicitly, but I think this
> is still mostly done by just flipping the sense in DT and pretending
> the inverter doesn't exist.

This is what we do, the DT is not a 100% map of the actual
system, and we have no inverter driver, so that flag is used to
indicate "some electronics" that flip the polarity.

We should document that better though.

> So whilst it might superficially make sense to change it for
> all cases, make sure we get someone familiar with the board to
> sanity check them.

Was just thinking of those that I can test :)

Yours,
Linus Walleij



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux