forked from Minki/linux
7eab96f386
Since 517e7a1537
("ASoC: bcm2835: move to use the clock framework")
the bcm2835-i2s requires a clock as DT property. Unfortunately
the necessary DT change has never been applied. While we are at it
also fix the first PCM register range to cover the PCM_GRAY register.
This patch only fixes the affected dt-bindings.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
25 lines
738 B
Plaintext
25 lines
738 B
Plaintext
* Broadcom BCM2835 SoC I2S/PCM module
|
|
|
|
Required properties:
|
|
- compatible: "brcm,bcm2835-i2s"
|
|
- reg: Should contain PCM registers location and length.
|
|
- clocks: the (PCM) clock to use
|
|
- dmas: List of DMA controller phandle and DMA request line ordered pairs.
|
|
- dma-names: Identifier string for each DMA request line in the dmas property.
|
|
These strings correspond 1:1 with the ordered pairs in dmas.
|
|
|
|
One of the DMA channels will be responsible for transmission (should be
|
|
named "tx") and one for reception (should be named "rx").
|
|
|
|
Example:
|
|
|
|
bcm2835_i2s: i2s@7e203000 {
|
|
compatible = "brcm,bcm2835-i2s";
|
|
reg = <0x7e203000 0x24>;
|
|
clocks = <&clocks BCM2835_CLOCK_PCM>;
|
|
|
|
dmas = <&dma 2>,
|
|
<&dma 3>;
|
|
dma-names = "tx", "rx";
|
|
};
|