Thread (2 messages) flat view 2 messages, 2 authors, 2015-05-26

[PATCH 2/2] iio: adc: xilinx-xadc: Add xlnx,extend-name as an optional argument for aux channels

From: lars@metafoo.de (Lars-Peter Clausen)
Date: 2015-05-26 09:38:40
Also in: linux-devicetree, linux-iio

On 05/23/2015 01:23 PM, Jonathan Cameron wrote:
On 19/05/15 18:53, Lars-Peter Clausen wrote:
quoted
On 05/08/2015 12:44 AM, Xander Huff wrote:
quoted
To better facilitate user-mode access to optional aux channels, allow
device trees to specify a custom extended name for defined channels.
Hi,

'extend-name' is kind of a IIO specific term. I think a better name in the devicetree context would be 'label'. That's used everywhere else when giving a short description string to a node.
Hi Lars,

What do you think of the general idea?  I'm unconvinced we want to do this in channel naming.
Perhaps we want an additional attribute giving access to this sort of 'semantic' information?
I'm not convinced about it either. My gut feeling is that this is not the 
right approach, but I don't really have any better ideas at the moment.

Xander can you give a short description of how this information will be used 
by an application? Would having a label property for the channel also work 
for you (e.g. in_voltage0_label)?

- Lars
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help