Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270754
b: refs/heads/master
c: 5d224e8
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Oct 4, 2011
1 parent f0174b6 commit 7cac562
Show file tree
Hide file tree
Showing 205 changed files with 20,040 additions and 2,816 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c527e6aadc8f142ad388b6aa59a1ce6a4bfb1966
refs/heads/master: 5d224e8f184ee2af6de6a7204e198f3a7d36e8a2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* Freescale SGTL5000 Stereo Codec

Required properties:
- compatible : "fsl,sgtl5000".

Example:

codec: sgtl5000@0a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8510.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8510 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8510"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8510@1a {
compatible = "wlf,wm8510";
reg = <0x1a>;
};
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8523.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
WM8523 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "wlf,wm8523"

- reg : the I2C address of the device.

Example:

codec: wm8523@1a {
compatible = "wlf,wm8523";
reg = <0x1a>;
};
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8580.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
WM8580 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "wlf,wm8580"

- reg : the I2C address of the device.

Example:

codec: wm8580@1a {
compatible = "wlf,wm8580";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8711.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8711 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8711"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8711@1a {
compatible = "wlf,wm8711";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8728.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8728 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8728"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8728@1a {
compatible = "wlf,wm8728";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8731.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8731 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8731"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8731@1a {
compatible = "wlf,wm8731";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8737.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8737 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8737"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8737@1a {
compatible = "wlf,wm8737";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8741.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8741 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8741"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8741@1a {
compatible = "wlf,wm8741";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8750.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8750 and WM8987 audio CODECs

These devices support both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8750" or "wlf,wm8987"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8750@1a {
compatible = "wlf,wm8750";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8753.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8753 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8753"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8737@1a {
compatible = "wlf,wm8753";
reg = <0x1a>;
};
16 changes: 16 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8770.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
WM8770 audio CODEC

This device supports SPI.

Required properties:

- compatible : "wlf,wm8770"

- reg : the chip select number.

Example:

codec: wm8770@1 {
compatible = "wlf,wm8770";
reg = <1>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8776.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8776 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8776"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8776@1a {
compatible = "wlf,wm8776";
reg = <0x1a>;
};
18 changes: 18 additions & 0 deletions trunk/Documentation/devicetree/bindings/sound/wm8804.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
WM8804 audio CODEC

This device supports both I2C and SPI (configured with pin strapping
on the board).

Required properties:

- compatible : "wlf,wm8804"

- reg : the I2C address of the device for I2C, the chip select
number for SPI.

Example:

codec: wm8804@1a {
compatible = "wlf,wm8804";
reg = <0x1a>;
};
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-ep93xx/edb93xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,11 @@ static void __init edb93xx_register_spi(void)
/*************************************************************************
* EDB93xx I2S
*************************************************************************/
static struct platform_device edb93xx_audio_device = {
.name = "edb93xx-audio",
.id = -1,
};

static int __init edb93xx_has_audio(void)
{
return (machine_is_edb9301() || machine_is_edb9302() ||
Expand All @@ -170,6 +175,7 @@ static void __init edb93xx_register_i2s(void)
{
if (edb93xx_has_audio()) {
ep93xx_register_i2s();
platform_device_register(&edb93xx_audio_device);
}
}

Expand Down
13 changes: 12 additions & 1 deletion trunk/arch/arm/mach-ep93xx/simone.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ static struct i2c_board_info __initdata simone_i2c_board_info[] = {
},
};

static struct platform_device simone_audio_device = {
.name = "simone-audio",
.id = -1,
};

static void __init simone_register_audio(void)
{
ep93xx_register_ac97();
platform_device_register(&simone_audio_device);
}

static void __init simone_init_machine(void)
{
ep93xx_init_devices();
Expand All @@ -61,7 +72,7 @@ static void __init simone_init_machine(void)
ep93xx_register_fb(&simone_fb_info);
ep93xx_register_i2c(&simone_i2c_gpio_data, simone_i2c_board_info,
ARRAY_SIZE(simone_i2c_board_info));
ep93xx_register_ac97();
simone_register_audio();
}

MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board")
Expand Down
13 changes: 12 additions & 1 deletion trunk/arch/arm/mach-ep93xx/snappercl15.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,25 @@ static struct ep93xxfb_mach_info __initdata snappercl15_fb_info = {
.bpp = 16,
};

static struct platform_device snappercl15_audio_device = {
.name = "snappercl15-audio",
.id = -1,
};

static void __init snappercl15_register_audio(void)
{
ep93xx_register_i2s();
platform_device_register(&snappercl15_audio_device);
}

static void __init snappercl15_init_machine(void)
{
ep93xx_init_devices();
ep93xx_register_eth(&snappercl15_eth_data, 1);
ep93xx_register_i2c(&snappercl15_i2c_gpio_data, snappercl15_i2c_data,
ARRAY_SIZE(snappercl15_i2c_data));
ep93xx_register_fb(&snappercl15_fb_info);
ep93xx_register_i2s();
snappercl15_register_audio();
platform_device_register(&snappercl15_nand_device);
}

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-omap2/board-rx51-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ static struct twl4030_platform_data rx51_twldata __initdata = {
};

static struct tpa6130a2_platform_data rx51_tpa6130a2_data __initdata_or_module = {
.id = TPA6130A2,
.power_gpio = 98,
};

Expand Down
33 changes: 33 additions & 0 deletions trunk/arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,38 @@ static void omap_init_audio(void)
static inline void omap_init_audio(void) {}
#endif

#if defined(CONFIG_SND_OMAP_SOC_MCPDM) || \
defined(CONFIG_SND_OMAP_SOC_MCPDM_MODULE)

static struct omap_device_pm_latency omap_mcpdm_latency[] = {
{
.deactivate_func = omap_device_idle_hwmods,
.activate_func = omap_device_enable_hwmods,
.flags = OMAP_DEVICE_LATENCY_AUTO_ADJUST,
},
};

static void omap_init_mcpdm(void)
{
struct omap_hwmod *oh;
struct omap_device *od;

oh = omap_hwmod_lookup("mcpdm");
if (!oh) {
printk(KERN_ERR "Could not look up mcpdm hw_mod\n");
return;
}

od = omap_device_build("omap-mcpdm", -1, oh, NULL, 0,
omap_mcpdm_latency,
ARRAY_SIZE(omap_mcpdm_latency), 0);
if (IS_ERR(od))
printk(KERN_ERR "Could not build omap_device for omap-mcpdm-dai\n");
}
#else
static inline void omap_init_mcpdm(void) {}
#endif

#if defined(CONFIG_SPI_OMAP24XX) || defined(CONFIG_SPI_OMAP24XX_MODULE)

#include <plat/mcspi.h>
Expand Down Expand Up @@ -683,6 +715,7 @@ static int __init omap2_init_devices(void)
* in alphabetical order so they're easier to sort through.
*/
omap_init_audio();
omap_init_mcpdm();
omap_init_camera();
omap_init_mbox();
omap_init_mcspi();
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -5430,7 +5430,7 @@ static __initdata struct omap_hwmod *omap44xx_hwmods[] = {
&omap44xx_mcbsp4_hwmod,

/* mcpdm class */
/* &omap44xx_mcpdm_hwmod, */
&omap44xx_mcpdm_hwmod,

/* mcspi class */
&omap44xx_mcspi1_hwmod,
Expand Down
Loading

0 comments on commit 7cac562

Please sign in to comment.