Allow access to single netcp-tx channel for SA
authorJustin Sobota <jsobota@ti.com>
Fri, 20 Jun 2014 20:57:43 +0000 (16:57 -0400)
committerJustin Sobota <jsobota@ti.com>
Fri, 20 Jun 2014 20:57:43 +0000 (16:57 -0400)
device/k2e/policy_dsp_arm.c
device/k2e/policy_dsp_arm.dtb
device/k2e/policy_dsp_arm.dts
device/k2l/policy_dsp_arm.c
device/k2l/policy_dsp_arm.dtb
device/k2l/policy_dsp_arm.dts

index 34e10f9a2f80eb6a130911150a71333c2768001a..39013e69ee7392d08def0bc99fc6cacaa85e9f54 100644 (file)
@@ -8,7 +8,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x0f,
-0x2c,
+0x4c,
 0x00,
 0x00,
 0x00,
@@ -16,7 +16,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x0f,
-0x10,
+0x30,
 0x00,
 0x00,
 0x00,
@@ -40,7 +40,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x0e,
-0xd8,
+0xf8,
 0x00,
 0x00,
 0x00,
@@ -2860,7 +2860,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
-0x11,
+0x33,
 0x00,
 0x00,
 0x00,
@@ -2872,7 +2872,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
-0x15,
+0x13,
 0x20,
 0x20,
 0x20,
@@ -2885,6 +2885,38 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
+0x13,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x01,
+0x20,
+0x20,
+0x20,
+0x20,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
 0x00,
 0x00,
 0x00,
@@ -3937,36 +3969,4 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
-0x00,
 };
index 284f8c33856d2e9191ce30133e1eb95552874bad..628d8822ceae998a59c486ef3eb737e83b109d5b 100644 (file)
Binary files a/device/k2e/policy_dsp_arm.dtb and b/device/k2e/policy_dsp_arm.dtb differ
index 5053d2954f8baf46b5388200284152af8011fd08..f45d5cf864cd09ae867d185dc55238c78889626d 100644 (file)
             assignments = <0 91>, "     (*)"; /* initialized by kernel */
         };
         netcp-tx-ch {
-            assignments = <0 21>, "     (*)"; /* initialized by kernel */
+            assignments = <0  19>, "     (*)", /* initialized by kernel, can directly open queuse */
+                          <19  1>, "iu = (*)", /* SA channel.  Linux initializes, but some applications need to enable/disable on fly */
+                          <20  1>, "     (*)"; /* initialized by kernel, can directly open queuse */
         };
         netcp-rx-flow-id {
             assignments = <0  1>, "(*)",  /* Used by kernel - netrx0 */
index a99d2eddba840a7fe097870a936f970f3e3ec1e3..43150d194eee53057f81799e17220d85fc51cfe2 100644 (file)
@@ -8,7 +8,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x12,
-0x74,
+0x94,
 0x00,
 0x00,
 0x00,
@@ -16,7 +16,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x12,
-0x58,
+0x78,
 0x00,
 0x00,
 0x00,
@@ -40,7 +40,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x12,
-0x20,
+0x40,
 0x00,
 0x00,
 0x00,
@@ -3584,7 +3584,7 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
-0x11,
+0x33,
 0x00,
 0x00,
 0x00,
@@ -3596,11 +3596,28 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
-0x15,
+0x13,
+0x20,
+0x20,
 0x20,
 0x20,
 0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x13,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
 0x20,
+0x3d,
 0x20,
 0x28,
 0x2a,
@@ -3609,6 +3626,21 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x01,
+0x20,
+0x20,
+0x20,
+0x20,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
 0x00,
 0x00,
 0x00,
@@ -4737,4 +4769,100 @@ const char rmDspPlusArmPolicy[] = {
 0x00,
 0x00,
 0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
 };
index b352b6ac36a1c4e20d4ed62adfcb4e5e584d0577..e55e49792b6e6ffc9f829f452f30d43a78375c63 100644 (file)
Binary files a/device/k2l/policy_dsp_arm.dtb and b/device/k2l/policy_dsp_arm.dtb differ
index 1a3810f7a860d0c7afaf2b77f797911e272e45cf..fb0b54ff7fe0ea17bef2749f291990869ea07c08 100644 (file)
             assignments = <0 91>, "     (*)"; /* initialized by kernel */
         };
         netcp-tx-ch {
-            assignments = <0 21>, "     (*)"; /* initialized by kernel */
+            assignments = <0  19>, "     (*)", /* initialized by kernel, can directly open queuse */
+                          <19  1>, "iu = (*)", /* SA channel.  Linux initializes, but some applications need to enable/disable on fly */
+                          <20  1>, "     (*)"; /* initialized by kernel, can directly open queuse */
+
         };
         netcp-rx-flow-id {
             assignments = <0  1>, "(*)",  /* Used by kernel - netrx0 */