Thread (17 messages) 17 messages, 3 authors, 2014-08-04

Re: [PATCH 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

From: Peter Ujfalusi <hidden>
Date: 2014-08-01 13:34:54
Also in: linux-arm-kernel, lkml

Hi,

On 08/01/2014 04:13 PM, Sergei Shtylyov wrote:
Hello.

On 08/01/2014 05:02 PM, Peter Ujfalusi wrote:
quoted
quoted
    I do. We should follow the standard consistently. Why not call the node
"sound-codec"?
quoted
Well, there is _zero_ cases when the audio codec node is named as
"sound-codec" in linux-next but we have wmXXXX, tlvXXXX, twlXXXX, maxXXXX etc.
   Which only means people don't read the standard (which is referred to on
http://www.devicetree.org/Device_Tree_Usage, that says the same).
quoted
Yeah, there are few DTS files which have codec as node name.
So, no, I'm not going to change the node name from tlv320aic3106.
   So you prefer following the bad examples to following the standard?
those bad examples are in the tree and they did went through the review
process (arch, DT and probably alsa). But it is interesting that we do not
have a single correct node name for audio codecs (probably for other types also).
Well, "the Moor has done his duty, the Moor can go"...
Let's ask the DT maintainers what should be the correct approach and someone
should go through all the existing DT files and clean them up? People usually
start reading the code for examples before the standard...

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