Re: [alsa-devel][PATCH v2 1/2] ASoC: wm8960: Add device tree support

From: Lars-Peter Clausen
Date: Thu Nov 20 2014 - 03:56:44 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/