Skip to content

Commit

Permalink
soc: intel_adsp: Avoid duplicate header
Browse files Browse the repository at this point in the history
adsp_memory.h is pretty much the same for all ace platforms.

Generalize it getting register address from devicetree and
and move it to a common place.

Signed-off-by: Flavio Ceolin <[email protected]>
  • Loading branch information
Flavio Ceolin authored and aescolar committed Jun 7, 2024
1 parent 87fc25a commit 6069f94
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 356 deletions.
15 changes: 15 additions & 0 deletions dts/xtensa/intel/intel_adsp_ace15_mtpm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,21 @@

soc {

l1ccap: l1ccap@1fe80080 {
compatible = "intel,adsp-l1ccap";
reg = <0x1fe80080 0x4>;
};

l1ccfg: l1ccfg@1fe80084 {
compatible = "intel,adsp-l1ccfg";
reg = <0x1fe80084 0x4>;
};

l1pcfg: l1pcfg@1fe80088 {
compatible = "intel,adsp-l1pcfg";
reg = <0x1fe80088 0x4>;
};

lsbpm: lsbpm@71d80 {
compatible = "intel,adsp-lsbpm";
reg = <0x71d80 0x0008>;
Expand Down
15 changes: 15 additions & 0 deletions dts/xtensa/intel/intel_adsp_ace20_lnl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,21 @@

soc {

l1ccap: l1ccap@1fe80080 {
compatible = "intel,adsp-l1ccap";
reg = <0x1fe80080 0x4>;
};

l1ccfg: l1ccfg@1fe80084 {
compatible = "intel,adsp-l1ccfg";
reg = <0x1fe80084 0x4>;
};

l1pcfg: l1pcfg@1fe80088 {
compatible = "intel,adsp-l1pcfg";
reg = <0x1fe80088 0x4>;
};

lsbpm: lsbpm@71d80 {
compatible = "intel,adsp-lsbpm";
reg = <0x71d80 0x0008>;
Expand Down
15 changes: 15 additions & 0 deletions dts/xtensa/intel/intel_adsp_ace30_ptl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,21 @@
};

soc {
l1ccap: l1ccap@3fe80080 {
compatible = "intel,adsp-l1ccap";
reg = <0x3fe80080 0x4>;
};

l1ccfg: l1ccfg@3fe80084 {
compatible = "intel,adsp-l1ccfg";
reg = <0x3fe80084 0x4>;
};

l1pcfg: l1pcfg@3fe80088 {
compatible = "intel,adsp-l1pcfg";
reg = <0x3fe80088 0x4>;
};

lsbpm: lsbpm@71d80 {
compatible = "intel,adsp-lsbpm";
reg = <0x71d80 0x0008>;
Expand Down
177 changes: 0 additions & 177 deletions soc/intel/intel_adsp/ace/include/ace15_mtpm/adsp_memory.h

This file was deleted.

Loading

0 comments on commit 6069f94

Please sign in to comment.