Re: [PATCH v6 8/8] ASoC: sam9x5: get codec MCLK via device tree

From: Richard Genoud
Date: Tue Jul 30 2013 - 08:16:12 EST


2013/7/30 Mark Brown <broonie@xxxxxxxxxx>:
> On Tue, Jul 30, 2013 at 12:32:09PM +0200, Richard Genoud wrote:
>
>> --- a/Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt
>> +++ b/Documentation/devicetree/bindings/sound/atmel-sam9x5-wm8731-audio.txt
>> @@ -8,6 +8,8 @@ Required properties:
>> - atmel,audio-routing: A list of the connections between audio components.
>> Each entry is a pair of strings, the first being the connection's sink,
>> the second being the connection's source.
>> + - clocks: Must contain an entry for the codec master clock.
>> + - clock-names : Must be "mclk" (clock that feeds the codec master clock)
>
> This should be part of the CODEC binding, not part of the machine driver
> binding. The machine driver should currently have the code to fetch the
> clock but since the clock physically goes to the CODEC it should be part
> of the CODEC binding.
That makes sense.

Thanks !
--
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/