mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
Allow setting a clock called 'extclk' in the device of the ssp-dai device. If specified, this clock will be set to the mclk rate from the DAI's .set_sysclk() callback. The DAI will also configure itself to use that external clock. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Mark Brown <broonie@kernel.org>
37 lines
738 B
Plaintext
37 lines
738 B
Plaintext
Marvell PXA SSP CPU DAI bindings
|
|
|
|
Required properties:
|
|
|
|
compatible Must be "mrvl,pxa-ssp-dai"
|
|
port A phandle reference to a PXA ssp upstream device
|
|
|
|
Optional properties:
|
|
|
|
clock-names
|
|
clocks Through "clock-names" and "clocks", external clocks
|
|
can be configured. If a clock names "extclk" exists,
|
|
it will be set to the mclk rate of the audio stream
|
|
and be used as clock provider of the DAI.
|
|
|
|
Example:
|
|
|
|
/* upstream device */
|
|
|
|
ssp0: ssp@41000000 {
|
|
compatible = "mrvl,pxa3xx-ssp";
|
|
reg = <0x41000000 0x40>;
|
|
interrupts = <24>;
|
|
clock-names = "pxa27x-ssp.0";
|
|
dmas = <&dma 13
|
|
&dma 14>;
|
|
dma-names = "rx", "tx";
|
|
};
|
|
|
|
/* DAI as user */
|
|
|
|
ssp_dai0: ssp_dai@0 {
|
|
compatible = "mrvl,pxa-ssp-dai";
|
|
port = <&ssp0>;
|
|
};
|
|
|