aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-03-08 07:52:09 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-08 08:06:09 -0500
commit4fa89346fbc34750f96ec0c1b2b59b15596ab333 (patch)
treec80ee94c50794cddb9baae41d482f8882aa0b118 /Documentation
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
ALSA: ASoC: add codec driver for TI TAS5086
This patch adds a driver for TI's TA5086 6-channel PWM processor. This chip has a very unusual register layout, specifically because the registers are of unequal size, and multi-byte registers require bulk writes to take effect. Regmap does not support these kind of mappings. Currently, the driver does not touch any of the registers >= 0x20, so it doesn't matter, because the register map is mapped to an 8-bit array. In case more features will be added in the future that require access to higher registers, the entire regmap H/W I/O routines have to be open-coded. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/ti,tas5086.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ti,tas5086.txt b/Documentation/devicetree/bindings/sound/ti,tas5086.txt
new file mode 100644
index 000000000000..8ea4f5b4818d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ti,tas5086.txt
@@ -0,0 +1,32 @@
1Texas Instruments TAS5086 6-channel PWM Processor
2
3Required properties:
4
5 - compatible: Should contain "ti,tas5086".
6 - reg: The i2c address. Should contain <0x1b>.
7
8Optional properties:
9
10 - reset-gpio: A GPIO spec to define which pin is connected to the
11 chip's !RESET pin. If specified, the driver will
12 assert a hardware reset at probe time.
13
14 - ti,charge-period: This property should contain the time in microseconds
15 that closely matches the external single-ended
16 split-capacitor charge period. The hardware chip
17 waits for this period of time before starting the
18 PWM signals. This helps reduce pops and clicks.
19
20 When not specified, the hardware default of 1300ms
21 is retained.
22
23Examples:
24
25 i2c_bus {
26 tas5086@1b {
27 compatible = "ti,tas5086";
28 reg = <0x1b>;
29 reset-gpio = <&gpio 23 0>;
30 ti,charge-period = <156000>;
31 };
32 };