dma: Intel HDA buffer alignment property

Bindings for Intel HDA now require the buffer alignment property to be
set.

Sets the property to 128 bytes for the common Intel cAVS device tree as
was implied by the tests cases.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
Tom Burdick 2022-06-22 12:50:50 -05:00 committed by Carles Cufí
parent 6d7fc39fad
commit 34a76f1da4
3 changed files with 11 additions and 0 deletions

View file

@ -14,3 +14,6 @@ properties:
"#dma-cells":
const: 1
"dma-buf-alignment":
required: true

View file

@ -37,6 +37,7 @@
#dma-cells = <1>;
reg = <0x00072400 0x40>;
dma-channels = <9>;
dma-buf-alignment = <128>;
label = "HDA_LINK_OUT";
status = "okay";
@ -47,6 +48,7 @@
#dma-cells = <1>;
reg = <0x00072600 0x40>;
dma-channels = <7>;
dma-buf-alignment = <128>;
label = "HDA_LINK_IN";
status = "okay";
@ -57,6 +59,7 @@
#dma-cells = <1>;
reg = <0x00072800 0x40>;
dma-channels = <9>;
dma-buf-alignment = <128>;
label = "HDA_HOST_OUT";
status = "okay";
@ -67,6 +70,7 @@
#dma-cells = <1>;
reg = <0x00072c00 0x40>;
dma-channels = <7>;
dma-buf-alignment = <128>;
label = "HDA_HOST_IN";
status = "okay";

View file

@ -164,6 +164,7 @@
#dma-cells = <1>;
reg = <0x00002400 0x40>;
dma-channels = <6>;
dma-buf-alignment = <128>;
label = "HDA_LINK_OUT";
status = "okay";
@ -174,6 +175,7 @@
#dma-cells = <1>;
reg = <0x00002600 0x40>;
dma-channels = <7>;
dma-buf-alignment = <128>;
label = "HDA_LINK_IN";
status = "okay";
@ -184,6 +186,7 @@
#dma-cells = <1>;
reg = <0x00002800 0x40>;
dma-channels = <6>;
dma-buf-alignment = <128>;
label = "HDA_HOST_OUT";
status = "okay";
@ -194,6 +197,7 @@
#dma-cells = <1>;
reg = <0x00002c00 0x40>;
dma-channels = <7>;
dma-buf-alignment = <128>;
label = "HDA_HOST_IN";
status = "okay";