Re: [RFC] dynamic iio consumer channel mapping

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

 




On 19 May 2016 04:38:09 BST, Matt Ranostay <mranostay@xxxxxxxxx> wrote:
>Jonathan et al,
>
>Shortly going to be doing a project that requires an iio_map mapping
>for using an iio  channel input from an ADC. I've notice all seem to
>be platform_data or hardcoded due to it being a SoC or statically
>known MFD mapping.
>
>For my application it isn't correct to create an hardcoded iio_map
>mapping with the ADC driver (ti-ads1015) since nobody else would care
>about it, and wouldn't help in the case of multiple instances of the
>same ADC.
>
>But I would rather avoid the technical debt and uglyness of using a
>board file.
>
>What would be the best way via ACPI and DT to define channel mappings
>between name, consumers, and consumer channel names? Thought I request
>input here before I make any core iio subsystem changes.
>
>Thanks,
>
>Matt

Whilst we have gotten a fair bit of grief over the Linux specific nature of the
 binding, iio-hwmon does have bindings for this sort of case.

Mid term I have been wondering about taking it as far as having a configfs
 interface to create such soft hardware mappings at runtime....

J

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
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