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


Groups > linux.kernel > #1548641

Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches
Date 2016-12-30 16:10 +0100
Message-ID <sU6YG-5Yf-19@gated-at.bofh.it> (permalink)
References (2 earlier) <sO0VX-55N-7@gated-at.bofh.it> <sOl4w-mI-25@gated-at.bofh.it> <sOFPs-7kP-35@gated-at.bofh.it> <sRu1r-4VR-25@gated-at.bofh.it> <sRwwh-6lS-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 23/12/16 11:40, Lars-Peter Clausen wrote:
> On 12/23/2016 10:07 AM, Geert Uytterhoeven wrote:
>> BTW, I'm not an IIO expert, but from my limited knowledge, it looks like "O"
>> support in IIO is limited to DACs?
> 
> Depends on what you categorize as DACs. There are also
> potentiometer/rheostat drivers. They are kind of like DACs but the unit you
> control are ohm, rather than current or voltage.
Though they are still in staging there are also things like function generators.

I've been mulling doing a driver for the st-powerstep01 parts as well which
is a smart stepper motor controller.  At that level we'd need to start describing
the connected stepper motors in DT :) Whole chunk of API to define to do that
though - might well take longer than writing the driver.

So in practice yeah - dac like things, but then on the input side they are almost
all really ADCs with some funny analog stuff on the front end ;)

Arguably switches are 1 bit DACs ;)

The distinction here is whether 'what is passing through' the device is knowable.
So regulators and your power switch are well described.  A relay less so unless
we know what load it is switching...

+ it's IIO.  We are open to almost anything as long as we aren't stepping on
any toes!

Jonathan

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

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


Thread

[PATCH 0/2] iio: GPIO power switch support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-11 23:30 +0100
  [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-11 23:30 +0100
    Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven  power switches Rob Herring <robh@kernel.org> - 2016-12-13 20:30 +0100
      Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-14 18:00 +0100
        Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-12-15 12:00 +0100
        Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Rob Herring <robh@kernel.org> - 2016-12-15 16:10 +0100
          Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-23 10:10 +0100
            Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power  switches Lars-Peter Clausen <lars@metafoo.de> - 2016-12-23 12:50 +0100
              Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power  switches Jonathan Cameron <jic23@kernel.org> - 2016-12-30 16:10 +0100
    Re: [PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches Linus Walleij <linus.walleij@linaro.org> - 2016-12-28 14:00 +0100

csiph-web