Re: [RFC 2/2] iio: ad5755: added support for switching between voltage and current output

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

 





On 2016-01-25 17:00, Lars-Peter Clausen wrote:
On 01/22/2016 01:54 PM, Sean Nyekjaer wrote:
DAC ad5755 have both support for voltage and current output, before the driver
only had support for switching modes at compile time. Not very smart...

This patch adds support for switching modes from userspace.

Signed-off-by: Sean Nyekjaer <sean.nyekjaer@xxxxxxxxx>
---

This patch is not done yet :-) I would like to get some feedback of my work.
I have tested this patch with an ad5755 and it works.

So if you have any ideas on how I should progress please give me some feedback.
Hi,

I'd like to better understand why this is necessary (or not). What is your
usecase where you need to support switching at runtime?

- Lars

Hi Lars

Our customer is building an IO board, where they are going to loop some -15-15V or 0-24mA signals thru their board and manipulate them. We are using an ti-ads8688 for input and an ad5755 for output :-) In our case it's necessary because our costumer does not know about the input signals therefore we have to give them the posibility to switch between the modes. Yes we could just provide them with 2 voltage modes and 2 current mode or two different boardfiles, but they have declined that proposal :-(

/Sean
--
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



[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