[PATCH v3 0/2] iio: add unit converter

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

 



Hi!

I'm now following up with one more binding for the unit-converter.
This time with a real IC, namely LT6106 from Analog Devices. It's
a current sense amplifier. I was a but unsure if I should have
the Rin and Rout resistors in the binding or if I instead should
have used the "gain". In the end I went with the resistors since
while the normal case is an integer gain, that may not always be
the case. And when it's not, that could get tricky. But I'm open
for arguments on that.

Cheers,
Peter

Peter Rosin (2):
  dt-bindings: iio: afe: add binding for adi,lt6106
  iio: afe: unit-converter: add support for adi,lt6106

 .../devicetree/bindings/iio/afe/adi,lt6106.txt     | 50 ++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 drivers/iio/afe/Kconfig                            |  3 +-
 drivers/iio/afe/iio-unit-converter.c               | 54 ++++++++++++++++++++++
 4 files changed, 107 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/iio/afe/adi,lt6106.txt

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux