summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorMichael Sit Wei Hong <michael.wei.hong.sit@intel.com>2021-01-08 04:12:47 +0100
committerMark Brown <broonie@kernel.org>2021-01-08 19:23:42 +0100
commit9ddaa1e6181b3d33080f2ed7c27cb0bba819e562 (patch)
treef863acff06082587dd6b46423dcba74d6f38855c /Documentation/devicetree/bindings
parentASoC: Intel: KMB: Enable DMA transfer mode (diff)
downloadlinux-9ddaa1e6181b3d33080f2ed7c27cb0bba819e562.tar.xz
linux-9ddaa1e6181b3d33080f2ed7c27cb0bba819e562.zip
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 <michael.wei.hong.sit@intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210108031248.20520-5-michael.wei.hong.sit@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-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";
};