forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'asoc-v4.7' into asoc-linus
ASoC: Updates for v4.7 The updates this time around are almost all driver code: - Further slow progress on the topology code. - Substantial updates and improvements for the da7219, es8328, fsl-ssi Intel and rcar drivers. # gpg: Signature made Mon 16 May 2016 12:08:43 BST using RSA key ID 5D5487D0 # gpg: Good signature from "Mark Brown <[email protected]>" # gpg: aka "Mark Brown <[email protected]>" # gpg: aka "Mark Brown <[email protected]>" # gpg: aka "Mark Brown <[email protected]>" # gpg: aka "Mark Brown <[email protected]>" # gpg: aka "Mark Brown <[email protected]>" # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 3F25 68AA C269 98F9 E813 A1C5 C3F4 36CA 30F5 D8EB # Subkey fingerprint: ADE6 68AA 6757 18B5 9FE2 9FEA 24D6 8B72 5D54 87D0
- Loading branch information
Showing
82 changed files
with
3,298 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Texas Instruments DaVinci McBSP module | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
This binding describes the "Multi-channel Buffered Serial Port" (McBSP) | ||
audio interface found in some TI DaVinci processors like the OMAP-L138 or AM180x. | ||
|
||
|
||
Required properties: | ||
~~~~~~~~~~~~~~~~~~~~ | ||
- compatible : | ||
"ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms | ||
|
||
- reg : physical base address and length of the controller memory mapped | ||
region(s). | ||
- reg-names : Should contain: | ||
* "mpu" for the main registers (required). | ||
* "dat" for the data FIFO (optional). | ||
|
||
- dmas: three element list of DMA controller phandles, DMA request line and | ||
TC channel ordered triplets. | ||
- dma-names: identifier string for each DMA request line in the dmas property. | ||
These strings correspond 1:1 with the ordered pairs in dmas. The dma | ||
identifiers must be "rx" and "tx". | ||
|
||
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"; | ||
dmas = <&edma0 3 1 | ||
&edma0 2 1>; | ||
dma-names = "tx", "rx"; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PCM5102a audio CODECs | ||
|
||
These devices does not use I2C or SPI. | ||
|
||
Required properties: | ||
|
||
- compatible : set as "ti,pcm5102a" | ||
|
||
Examples: | ||
|
||
pcm5102a: pcm5102a { | ||
compatible = "ti,pcm5102a"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4661,6 +4661,7 @@ FREESCALE SOC SOUND DRIVERS | |
M: Timur Tabi <[email protected]> | ||
M: Nicolin Chen <[email protected]> | ||
M: Xiubo Li <[email protected]> | ||
R: Fabio Estevam <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
S: Maintained | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
/* | ||
* hdmi-codec.h - HDMI Codec driver API | ||
* | ||
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com | ||
* | ||
* Author: Jyri Sarha <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
*/ | ||
|
||
#ifndef __HDMI_CODEC_H__ | ||
#define __HDMI_CODEC_H__ | ||
|
||
#include <linux/hdmi.h> | ||
#include <drm/drm_edid.h> | ||
#include <sound/asoundef.h> | ||
#include <uapi/sound/asound.h> | ||
|
||
/* | ||
* Protocol between ASoC cpu-dai and HDMI-encoder | ||
*/ | ||
struct hdmi_codec_daifmt { | ||
enum { | ||
HDMI_I2S, | ||
HDMI_RIGHT_J, | ||
HDMI_LEFT_J, | ||
HDMI_DSP_A, | ||
HDMI_DSP_B, | ||
HDMI_AC97, | ||
HDMI_SPDIF, | ||
} fmt; | ||
int bit_clk_inv:1; | ||
int frame_clk_inv:1; | ||
int bit_clk_master:1; | ||
int frame_clk_master:1; | ||
}; | ||
|
||
/* | ||
* HDMI audio parameters | ||
*/ | ||
struct hdmi_codec_params { | ||
struct hdmi_audio_infoframe cea; | ||
struct snd_aes_iec958 iec; | ||
int sample_rate; | ||
int sample_width; | ||
int channels; | ||
}; | ||
|
||
struct hdmi_codec_ops { | ||
/* | ||
* Called when ASoC starts an audio stream setup. | ||
* Optional | ||
*/ | ||
int (*audio_startup)(struct device *dev); | ||
|
||
/* | ||
* Configures HDMI-encoder for audio stream. | ||
* Mandatory | ||
*/ | ||
int (*hw_params)(struct device *dev, | ||
struct hdmi_codec_daifmt *fmt, | ||
struct hdmi_codec_params *hparms); | ||
|
||
/* | ||
* Shuts down the audio stream. | ||
* Mandatory | ||
*/ | ||
void (*audio_shutdown)(struct device *dev); | ||
|
||
/* | ||
* Mute/unmute HDMI audio stream. | ||
* Optional | ||
*/ | ||
int (*digital_mute)(struct device *dev, bool enable); | ||
|
||
/* | ||
* Provides EDID-Like-Data from connected HDMI device. | ||
* Optional | ||
*/ | ||
int (*get_eld)(struct device *dev, uint8_t *buf, size_t len); | ||
}; | ||
|
||
/* HDMI codec initalization data */ | ||
struct hdmi_codec_pdata { | ||
const struct hdmi_codec_ops *ops; | ||
uint i2s:1; | ||
uint spdif:1; | ||
int max_i2s_channels; | ||
}; | ||
|
||
#define HDMI_CODEC_DRV_NAME "hdmi-audio-codec" | ||
|
||
#endif /* __HDMI_CODEC_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.