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@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- 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