Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

PHYTC-3P-PHYCORE-AM57X: How to enable the mcasp2 in the Android Device Tree to connect an I2S audio device on AM57x board

$
0
0

Part Number:PHYTC-3P-PHYCORE-AM57X

Hello,

We have an Android OS installed on the AM57x.

The board has the mcasp1 enabled for I2S audio device.

We need to connect a second I2S audio device and guess we need to modify the Android device tree to do that.

Please find below an extract of the Android Device Tree with the mcasp1 and mcasp2 information.

What do we need to put in mcasp2 description to enable it? Do we need to do something else?

Thank you.

Best regards,

Jorge

Extract from ANDROID DEVICE TREE:

  mcasp@48460000 {
   compatible = "ti,dra7-mcasp1-audio";
   ti,hwmods = "mcasp1";
   reg = <0x48460000 0x2000 0x45800000 0x400000>;
   reg-names = "mpu", "dat";
   interrupts = <0x0 0x68 0x4 0x0 0x67 0x4>;
   interrupt-names = "tx", "rx";
   dmas = <0xb2 0x81 0x1 0xb2 0x80 0x1>;
   dma-names = "tx", "rx";
   clocks = <0x11b 0x11c 0x11d>;
   clock-names = "fck", "ahclkx", "ahclkr";
   status = "okay";
   #sound-dai-cells = <0x0>;
   pinctrl-names = "default", "sleep";
   pinctrl-0 = <0x11e>;
   pinctrl-1 = <0x11f>;
   op-mode = <0x0>;
   tdm-slots = <0x2>;
   serial-dir = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x2>;
   tx-num-evt = <0x20>;
   rx-num-evt = <0x20>;
   linux,phandle = <0x15f>;
   phandle = <0x15f>;
  };

  mcasp@48464000 {
   compatible = "ti,dra7-mcasp-audio";
   ti,hwmods = "mcasp2";
   reg = <0x48464000 0x2000 0x45c00000 0x1000>;
   reg-names = "mpu", "dat";
   interrupts = <0x0 0x95 0x4 0x0 0x94 0x4>;
   interrupt-names = "tx", "rx";
   dmas = <0xb2 0x83 0x1 0xb2 0x82 0x1>;
   dma-names = "tx", "rx";
   clocks = <0x120 0x121 0x122>;
   clock-names = "fck", "ahclkx", "ahclkr";
   status = "disabled";
  };


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>