Re: [PATCH v3 1/7] ASoC: davinci-mcbsp: add binding for McBSP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On 20.04.2016 08:49, Geert Uytterhoeven wrote:
On Mon, Apr 18, 2016 at 2:32 PM, Petr Kulhavy <petr@xxxxxxxxx> wrote:
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/davinci-mcbsp.txt
@@ -0,0 +1,51 @@
+Optional properties:
+~~~~~~~~~~~~~~~~~~~~
+- interrupts : Interrupt numbers for McBSP
+- interrupt-names : Known interrupt names are "rx" and "tx"
+
+- pinctrl-0: Should specify pin control group used for this controller.
+- pinctrl-names: Should contain only one value - "default", for more details
+        please refer to pinctrl-bindings.txt
+
+Example (AM1808):
+~~~~~~~~~~~~~~~~~
+
+mcbsp0: mcbsp@1d10000 {
+       compatible = "ti,da850-mcbsp";
+       pinctrl-names = "default";
+       pinctrl-0 = <&mcbsp0_pins>;
+
+       reg =   <0x00110000 0x1000>,
+               <0x00310000 0x1000>;
+       reg-names = "mpu", "dat";
+       interrupts = <97 98>;
+       interrupts-names = "rx", "tx";
interrupt-names
Good catch, thanks!

Petr
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux