diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-10-06 10:33:52 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-10-06 10:33:52 -0400 |
| commit | 0fd0ba5f9e8ebae66afded580f5f34936f740ac7 (patch) | |
| tree | f232be1bf350b2aec4e860e7156f5292344b0c62 /Documentation | |
| parent | b7ef37d0e382298bcf7ba399ce67b044d9add23a (diff) | |
| parent | 9911f7f7562a25381eff93fdc660a4a3b4c0f6e0 (diff) | |
Merge tag 'asoc-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Additional updates for v3.7
A couple more updates for 3.7, enhancements to the ux500 and wm2000
drivers, a new driver for DA9055 and the support for regulator bypass
mode. With the exception of the DA9055 this has all had a chance to
soak in -next (the driver was added on Friday so should be in -next
today).
Diffstat (limited to 'Documentation')
4 files changed, 139 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-regulator b/Documentation/ABI/testing/sysfs-class-regulator index e091fa873792..bc578bc60628 100644 --- a/Documentation/ABI/testing/sysfs-class-regulator +++ b/Documentation/ABI/testing/sysfs-class-regulator | |||
| @@ -349,3 +349,24 @@ Description: | |||
| 349 | 349 | ||
| 350 | This will be one of the same strings reported by | 350 | This will be one of the same strings reported by |
| 351 | the "state" attribute. | 351 | the "state" attribute. |
| 352 | |||
| 353 | What: /sys/class/regulator/.../bypass | ||
| 354 | Date: September 2012 | ||
| 355 | KernelVersion: 3.7 | ||
| 356 | Contact: Mark Brown <broonie@opensource.wolfsonmicro.com> | ||
| 357 | Description: | ||
| 358 | Some regulator directories will contain a field called | ||
| 359 | bypass. This indicates if the device is in bypass mode. | ||
| 360 | |||
| 361 | This will be one of the following strings: | ||
| 362 | |||
| 363 | 'enabled' | ||
| 364 | 'disabled' | ||
| 365 | 'unknown' | ||
| 366 | |||
| 367 | 'enabled' means the regulator is in bypass mode. | ||
| 368 | |||
| 369 | 'disabled' means that the regulator is regulating. | ||
| 370 | |||
| 371 | 'unknown' means software cannot determine the state, or | ||
| 372 | the reported state is invalid. | ||
diff --git a/Documentation/devicetree/bindings/sound/cs4271.txt b/Documentation/devicetree/bindings/sound/cs4271.txt new file mode 100644 index 000000000000..c81b5fd5a5bc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cs4271.txt | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | Cirrus Logic CS4271 DT bindings | ||
| 2 | |||
| 3 | This driver supports both the I2C and the SPI bus. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible: "cirrus,cs4271" | ||
| 8 | |||
| 9 | For required properties on SPI, please consult | ||
| 10 | Documentation/devicetree/bindings/spi/spi-bus.txt | ||
| 11 | |||
| 12 | Required properties on I2C: | ||
| 13 | |||
| 14 | - reg: the i2c address | ||
| 15 | |||
| 16 | |||
| 17 | Optional properties: | ||
| 18 | |||
| 19 | - reset-gpio: a GPIO spec to define which pin is connected to the chip's | ||
| 20 | !RESET pin | ||
| 21 | |||
| 22 | Examples: | ||
| 23 | |||
| 24 | codec_i2c: cs4271@10 { | ||
| 25 | compatible = "cirrus,cs4271"; | ||
| 26 | reg = <0x10>; | ||
| 27 | reset-gpio = <&gpio 23 0>; | ||
| 28 | }; | ||
| 29 | |||
| 30 | codec_spi: cs4271@0 { | ||
| 31 | compatible = "cirrus,cs4271"; | ||
| 32 | reg = <0x0>; | ||
| 33 | reset-gpio = <&gpio 23 0>; | ||
| 34 | spi-max-frequency = <6000000>; | ||
| 35 | }; | ||
| 36 | |||
diff --git a/Documentation/devicetree/bindings/sound/ux500-mop500.txt b/Documentation/devicetree/bindings/sound/ux500-mop500.txt new file mode 100644 index 000000000000..48e071c96b46 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ux500-mop500.txt | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | * MOP500 Audio Machine Driver | ||
| 2 | |||
| 3 | This node is responsible for linking together all ux500 Audio Driver components. | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | - compatible : "stericsson,snd-soc-mop500" | ||
| 7 | |||
| 8 | Non-standard properties: | ||
| 9 | - stericsson,cpu-dai : Phandle to the CPU-side DAI | ||
| 10 | - stericsson,audio-codec : Phandle to the Audio CODEC | ||
| 11 | - stericsson,card-name : Over-ride default card name | ||
| 12 | |||
| 13 | Example: | ||
| 14 | |||
| 15 | sound { | ||
| 16 | compatible = "stericsson,snd-soc-mop500"; | ||
| 17 | |||
| 18 | stericsson,cpu-dai = <&msp1 &msp3>; | ||
| 19 | stericsson,audio-codec = <&codec>; | ||
| 20 | }; | ||
| 21 | |||
| 22 | msp1: msp@80124000 { | ||
| 23 | compatible = "stericsson,ux500-msp-i2s"; | ||
| 24 | reg = <0x80124000 0x1000>; | ||
| 25 | interrupts = <0 62 0x4>; | ||
| 26 | v-ape-supply = <&db8500_vape_reg>; | ||
| 27 | }; | ||
| 28 | |||
| 29 | msp3: msp@80125000 { | ||
| 30 | compatible = "stericsson,ux500-msp-i2s"; | ||
| 31 | reg = <0x80125000 0x1000>; | ||
| 32 | interrupts = <0 62 0x4>; | ||
| 33 | v-ape-supply = <&db8500_vape_reg>; | ||
| 34 | }; | ||
| 35 | |||
| 36 | codec: ab8500-codec { | ||
| 37 | compatible = "stericsson,ab8500-codec"; | ||
| 38 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ | ||
| 39 | }; | ||
diff --git a/Documentation/devicetree/bindings/sound/ux500-msp.txt b/Documentation/devicetree/bindings/sound/ux500-msp.txt new file mode 100644 index 000000000000..99acd9c774e1 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ux500-msp.txt | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | * ux500 MSP (CPU-side Digital Audio Interface) | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible :"stericsson,ux500-msp-i2s" | ||
| 5 | - reg : Physical base address and length of the device's registers. | ||
| 6 | |||
| 7 | Optional properties: | ||
| 8 | - interrupts : The interrupt output from the device. | ||
| 9 | - interrupt-parent : The parent interrupt controller. | ||
| 10 | - <name>-supply : Phandle to the regulator <name> supply | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | sound { | ||
| 15 | compatible = "stericsson,snd-soc-mop500"; | ||
| 16 | |||
| 17 | stericsson,platform-pcm-dma = <&pcm>; | ||
| 18 | stericsson,cpu-dai = <&msp1 &msp3>; | ||
| 19 | stericsson,audio-codec = <&codec>; | ||
| 20 | }; | ||
| 21 | |||
| 22 | pcm: ux500-pcm { | ||
| 23 | compatible = "stericsson,ux500-pcm"; | ||
| 24 | }; | ||
| 25 | |||
| 26 | msp1: msp@80124000 { | ||
| 27 | compatible = "stericsson,ux500-msp-i2s"; | ||
| 28 | reg = <0x80124000 0x1000>; | ||
| 29 | interrupts = <0 62 0x4>; | ||
| 30 | v-ape-supply = <&db8500_vape_reg>; | ||
| 31 | }; | ||
| 32 | |||
| 33 | msp3: msp@80125000 { | ||
| 34 | compatible = "stericsson,ux500-msp-i2s"; | ||
| 35 | reg = <0x80125000 0x1000>; | ||
| 36 | interrupts = <0 62 0x4>; | ||
| 37 | v-ape-supply = <&db8500_vape_reg>; | ||
| 38 | }; | ||
| 39 | |||
| 40 | codec: ab8500-codec { | ||
| 41 | compatible = "stericsson,ab8500-codec"; | ||
| 42 | stericsson,earpeice-cmv = <950>; /* Units in mV. */ | ||
| 43 | }; | ||
