aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sit Wei Hong <[email protected]>2021-01-08 11:12:47 +0800
committerMark Brown <[email protected]>2021-01-08 18:23:42 +0000
commit9ddaa1e6181b3d33080f2ed7c27cb0bba819e562 (patch)
treef863acff06082587dd6b46423dcba74d6f38855c
parent11b943c06a1c1baafb0325896e666d77f5ac78b8 (diff)
ASoC: intel, keembay-i2s: Add info for device to use DMA
Add descriptions for entries needed for audio device to use DMA channels for audio playback and capture. Signed-off-by: Michael Sit Wei Hong <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml b/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
index d346e61ab708..e0658f122cbb 100644
--- a/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
+++ b/Documentation/devicetree/bindings/sound/intel,keembay-i2s.yaml
@@ -45,6 +45,18 @@ properties:
- const: osc
- const: apb_clk
+ dmas:
+ items:
+ - description: DMA controller phandle and DMA channel
+ for TX and RX
+
+ dma-names:
+ items:
+ - description: "tx" for the transmit channel
+ "rx" for the receive channel
+ - const: tx
+ - const: rx
+
required:
- compatible
- "#sound-dai-cells"
@@ -70,4 +82,6 @@ examples:
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "osc", "apb_clk";
clocks = <&scmi_clk KEEM_BAY_PSS_AUX_I2S3>, <&scmi_clk KEEM_BAY_PSS_I2S3>;
+ dmas = <&axi_dma0 29 &axi_dma0 33>;
+ dma-names = "tx", "rx";
};