diff options
author | Alexander Stein <alexanders83@web.de> | 2014-12-29 13:08:40 +0100 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2015-01-26 16:58:18 +0100 |
commit | f32063c517b4e2773ba2df53934172dab60485a8 (patch) | |
tree | 4501ca4c22318ebb89c4217df844b152e8eaa941 /Documentation | |
parent | 4bd377942b5de0ae14a9e6db4301cd4c6466f1fc (diff) | |
download | linux-stable-f32063c517b4e2773ba2df53934172dab60485a8.tar.gz linux-stable-f32063c517b4e2773ba2df53934172dab60485a8.tar.bz2 linux-stable-f32063c517b4e2773ba2df53934172dab60485a8.zip |
dt: atmel_ac97c: Add device tree documentation
This adds the bindings for AC97 controller device tree support.
Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-By Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/atmel_ac97c.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/atmel_ac97c.txt b/Documentation/devicetree/bindings/sound/atmel_ac97c.txt new file mode 100644 index 000000000000..b151bd902ce3 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/atmel_ac97c.txt @@ -0,0 +1,20 @@ +* Atmel AC97 controller + +Required properties: + - compatible: "atmel,at91sam9263-ac97c" + - reg: Address and length of the register set for the device + - interrupts: Should contain AC97 interrupt + - ac97-gpios: Please refer to soc-ac97link.txt, only ac97-reset is used +Optional properties: + - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt + +Example: +sound@fffa0000 { + compatible = "atmel,at91sam9263-ac97c"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ac97>; + reg = <0xfffa0000 0x4000>; + interrupts = <18 IRQ_TYPE_LEVEL_HIGH 5>; + + ac97-gpios = <&pioB 0 0 &pioB 2 0 &pioC 29 GPIO_ACTIVE_LOW>; +}; |