Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1505032

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

From Lars-Peter Clausen <lars@metafoo.de>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector
Date 2016-10-20 17:30 +0200
Message-ID <suns5-Ws-1@gated-at.bofh.it> (permalink)
References <sujHP-6Ry-7@gated-at.bofh.it> <sul6V-7G3-1@gated-at.bofh.it> <suns5-Ws-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/20/2016 04:53 PM, Peter Rosin wrote:
[...]
> Good idea! Then the "envelope-detector,inverted" bool can go, and be
> implied by the compatible string. If some way to rebind the irq trigger
> is later discovered that can be added as a channel attr without
> deprecating any dt bindings stuff. While at it, the other properties
> ("envelope-detector,dac-max" and "envelope-detector,comp-interval-ms")
> could also be implied from the compatible string. Would that be better?
> I think so.
> 
> But, the compatible string is one thing and the driver name is another.
> "axentia,tse850-envelope-detector" doesn't seem like the best of driver
> names...

The driver name is not that important we can still change that later if we
have to, the DT compatible string on the other hand is fixed.

> 
> Are there any existing examples of drivers for (generic) things built
> with discrete components like this that could perhaps provide guidance?

Not that I'm aware of.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Lars-Peter Clausen <lars@metafoo.de> - 2016-10-20 15:00 +0200
  Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Lars-Peter Clausen <lars@metafoo.de> - 2016-10-20 17:30 +0200
    Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Jonathan Cameron <jic23@kernel.org> - 2016-10-22 16:30 +0200
  Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2016-10-20 19:40 +0200
    Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector jic23@kernel.org - 2016-10-21 09:20 +0200
      Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Jonathan Cameron <jic23@kernel.org> - 2016-10-22 16:30 +0200
  Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Jonathan Cameron <jic23@jic23.retrosnub.co.uk> - 2016-10-20 19:40 +0200
  Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector Jonathan Cameron <jic23@kernel.org> - 2016-10-22 16:40 +0200

csiph-web