lkml.org 
[lkml]   [2014]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [alsa-devel][PATCH v2 1/2] ASoC: wm8960: Add device tree support
On 11/20/2014 09:41 AM, Zidan Wang wrote:
[...][
> +Optional properties:
> + - shared_lrclk: This is a boolean property. If present, the LRCM bit of
> + R24 (Additional control 2 ) gets set, indicating that ADCLRC and DACLRC
> + will be disabled only when ADC (Left and Right) and DAC (Left and Right)
> + are disabled.
> +
> + - capless: This is a boolean property. If present, OUT3 will be enabled
> + and disabled together with HP_L and HP_R in response to jack detect events.


Custom properties need a vendor prefix and properties should use '-' instead
of '_'. Also the devicetree describes the hardware and not the driver, so
the description should say for which hardware setups this flag should be
set, not what the behavior of the driver will be.

- Lars



\
 
 \ /
  Last update: 2014-11-20 10:21    [W:0.813 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site