common: NN API implementation [1/3]

PD#SWPL-86

Problem:
Android tensorflow lite ,NN API implementation

Solution:
NN API implementation

Verify:
Local on galilei

Change-Id: I699a53b3fa2fd199cea7ef4db2f439ef49536a9c
Signed-off-by: deng.liu <deng.liu@amlogic.com>
This commit is contained in:
deng.liu
2019-03-14 19:42:45 +08:00
committed by Luan Yuan
parent 5ca19dc886
commit 42b6b8e053
4 changed files with 26 additions and 2 deletions

View File

@@ -147,6 +147,18 @@
size = <0x04000000>;
alignment = <0x400000>;
};
galcore_reserved:linux,galcore {
compatible = "shared-dma-pool";
reusable;
size = <0x1000000>;
alignment = <0x400000>;
linux,contiguous-region;
};
};
galcore {
status = "okay";
memory-region = <&galcore_reserved>;
};
gpioleds {

View File

@@ -147,6 +147,18 @@
size = <0x04000000>;
alignment = <0x400000>;
};
galcore_reserved:linux,galcore {
compatible = "shared-dma-pool";
reusable;
size = <0x1000000>;
alignment = <0x400000>;
linux,contiguous-region;
};
};
galcore {
status = "okay";
memory-region = <&galcore_reserved>;
};
gpioleds {

View File

@@ -1130,7 +1130,7 @@
<&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
clock-names = "cts_vipnanoq_axi_clk_composite",
"cts_vipnanoq_core_clk_composite";
interrupts = <0 147 1>;
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0xff100000 0x800
0xff000000 0x400000>;

View File

@@ -1139,7 +1139,7 @@
<&clkc CLKID_VNANOQ_CORE_CLK_COMP>;
clock-names = "cts_vipnanoq_axi_clk_composite",
"cts_vipnanoq_core_clk_composite";
interrupts = <0 147 1>;
interrupts = <0 147 4>;
interrupt-names = "galcore";
reg = <0xff100000 0x800
0xff000000 0x400000>;