]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
ASoC: davinci-mcasp: Add location for data port registers to DT
[karo-tx-linux.git] / Documentation / devicetree / bindings / sound / davinci-mcasp-audio.txt
index 374e145c2ef170ceaa32055cf01836bfb3f8c3ef..c2ab8697e24af8d95367ed10ab86ea645215dceb 100644 (file)
@@ -6,7 +6,11 @@ Required properties:
        "ti,da830-mcasp-audio"  : for both DA830 & DA850 platforms
        "ti,omap2-mcasp-audio"  : for OMAP2 platforms (TI81xx, AM33xx)
 
-- reg : Should contain McASP registers offset and length
+- reg : Should contain reg specifiers for the entries in the reg-names property.
+- reg-names : Should contain:
+         * "mpu" for the main registers (required). For compatibility with
+           existing software, it is recommended this is the first entry.
+         * "dat" for separate data port register access (optional).
 - interrupts : Interrupt number for McASP
 - op-mode : I2S/DIT ops mode.
 - tdm-slots : Slots for TDM operation.
@@ -15,7 +19,6 @@ Required properties:
                to "num-serializer" parameter. Each entry is a number indication
                serializer pin direction. (0 - INACTIVE, 1 - TX, 2 - RX)
 
-
 Optional properties:
 
 - ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
@@ -31,6 +34,7 @@ mcasp0: mcasp0@1d00000 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0x100000 0x3000>;
+       reg-names "mpu";
        interrupts = <82 83>;
        op-mode = <0>;          /* MCASP_IIS_MODE */
        tdm-slots = <2>;