-
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 'sound-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/tiwai/sound Pull sound updates from Takashi Iwai: "There have been major modernization with the standard bus: in ALSA sequencer core and HD-audio. Also, HD-audio receives the regmap support replacing the in-house cache register cache code. These changes shouldn't impact the existing behavior, but rather refactoring. In addition, HD-audio got the code split to a core library part and the "legacy" driver parts. This is a preliminary work for adapting the upcoming ASoC HD-audio driver, and the whole transition is still work in progress, likely finished in 4.1. Along with them, there are many updates in ASoC area as usual, too: lots of cleanups, Intel code shuffling, etc. Here are some highlights: ALSA core: - PCM: the audio timestamp / wallclock enhancement - PCM: fixes in DPCM management - Fixes / cleanups of user-space control element management - Sequencer: modernization using the standard bus HD-audio: - Modernization using the standard bus - Regmap support - Use standard runtime PM for codec power saving - Widget-path based power-saving for IDT, VIA and Realtek codecs - Reorganized sysfs entries for each codec object - More Dell headset support ASoC: - Move of jack registration to the card level - Lots of ASoC cleanups, mainly moving things from the CODEC level to the card level - Support for DAPM routes specified by both the machine driver and DT - Continuing improvements to rcar - pcm512x enhacements - Intel platforms updates - rt5670 updates / fixes - New platforms / devices: some non-DSP Qualcomm platforms, Google's Storm platform, Maxmim MAX98925 CODECs and the Ingenic JZ4780 SoC Misc: - ice1724: Improved ESI W192M support - emu10k1: Emu 1010 fixes/enhancement" * tag 'sound-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (411 commits) ALSA: hda - set GET bit when adding a vendor verb to the codec regmap ALSA: hda/realtek - Enable the ALC292 dock fixup on the Thinkpad T450 ALSA: hda - Fix another race in runtime PM refcounting ALSA: hda - Expose codec type sysfs ALSA: ctl: fix to handle several elements added by one operation for userspace element ASoC: Intel: fix array_size.cocci warnings ASoC: n810: Automatically disconnect non-connected pins ASoC: n810: Consistently pass the card DAPM context to n810_ext_control() ASoC: davinci-evm: Use card DAPM context to access widgets ASoC: mop500_ab8500: Use card DAPM context to access widgets ASoC: wm1133-ev1: Use card DAPM context to access widgets ASoC: atmel: Improve machine driver compile test coverage ASoC: atmel: Add dependency to SND_SOC_I2C_AND_SPI where necessary ALSA: control: Fix a typo of SNDRV_CTL_ELEM_ACCESS_TLV_* with SNDRV_CTL_TLV_OP_* ALSA: usb-audio: Don't attempt to get Microsoft Lifecam Cinema sample rate ASoC: rnsd: fix build regression without CONFIG_OF ALSA: emu10k1: add toggles for E-mu 1010 optical ports ALSA: ctl: fill identical information to return value when adding userspace elements ALSA: ctl: fix a bug to return no identical information in info operation for userspace controls ALSA: ctl: confirm to return all identical information in 'activate' event ...
- Loading branch information
Showing
315 changed files
with
15,191 additions
and
9,038 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
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,22 @@ | ||
max98925 audio CODEC | ||
|
||
This device supports I2C. | ||
|
||
Required properties: | ||
|
||
- compatible : "maxim,max98925" | ||
|
||
- vmon-slot-no : slot number used to send voltage information | ||
|
||
- imon-slot-no : slot number used to send current information | ||
|
||
- reg : the I2C address of the device for I2C | ||
|
||
Example: | ||
|
||
codec: max98925@1a { | ||
compatible = "maxim,max98925"; | ||
vmon-slot-no = <0>; | ||
imon-slot-no = <2>; | ||
reg = <0x1a>; | ||
}; |
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
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt
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,43 @@ | ||
* Qualcomm Technologies LPASS CPU DAI | ||
|
||
This node models the Qualcomm Technologies Low-Power Audio SubSystem (LPASS). | ||
|
||
Required properties: | ||
|
||
- compatible : "qcom,lpass-cpu" | ||
- clocks : Must contain an entry for each entry in clock-names. | ||
- clock-names : A list which must include the following entries: | ||
* "ahbix-clk" | ||
* "mi2s-osr-clk" | ||
* "mi2s-bit-clk" | ||
- interrupts : Must contain an entry for each entry in | ||
interrupt-names. | ||
- interrupt-names : A list which must include the following entries: | ||
* "lpass-irq-lpaif" | ||
- pinctrl-N : One property must exist for each entry in | ||
pinctrl-names. See ../pinctrl/pinctrl-bindings.txt | ||
for details of the property values. | ||
- pinctrl-names : Must contain a "default" entry. | ||
- reg : Must contain an address for each entry in reg-names. | ||
- reg-names : A list which must include the following entries: | ||
* "lpass-lpaif" | ||
|
||
Optional properties: | ||
|
||
- qcom,adsp : Phandle for the audio DSP node | ||
|
||
Example: | ||
|
||
lpass@28100000 { | ||
compatible = "qcom,lpass-cpu"; | ||
clocks = <&lcc AHBIX_CLK>, <&lcc MI2S_OSR_CLK>, <&lcc MI2S_BIT_CLK>; | ||
clock-names = "ahbix-clk", "mi2s-osr-clk", "mi2s-bit-clk"; | ||
interrupts = <0 85 1>; | ||
interrupt-names = "lpass-irq-lpaif"; | ||
pinctrl-names = "default", "idle"; | ||
pinctrl-0 = <&mi2s_default>; | ||
pinctrl-1 = <&mi2s_idle>; | ||
reg = <0x28100000 0x10000>; | ||
reg-names = "lpass-lpaif"; | ||
qcom,adsp = <&adsp>; | ||
}; |
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
67 changes: 67 additions & 0 deletions
67
Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt
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,67 @@ | ||
Renesas Sampling Rate Convert Sound Card: | ||
|
||
Renesas Sampling Rate Convert Sound Card specifies audio DAI connections of SoC <-> codec. | ||
|
||
Required properties: | ||
|
||
- compatible : "renesas,rsrc-card,<board>" | ||
Examples with soctypes are: | ||
- "renesas,rsrc-card,lager" | ||
- "renesas,rsrc-card,koelsch" | ||
Optional properties: | ||
|
||
- card_name : User specified audio sound card name, one string | ||
property. | ||
- cpu : CPU sub-node | ||
- codec : CODEC sub-node | ||
|
||
Optional subnode properties: | ||
|
||
- format : CPU/CODEC common audio format. | ||
"i2s", "right_j", "left_j" , "dsp_a" | ||
"dsp_b", "ac97", "pdm", "msb", "lsb" | ||
- frame-master : Indicates dai-link frame master. | ||
phandle to a cpu or codec subnode. | ||
- bitclock-master : Indicates dai-link bit clock master. | ||
phandle to a cpu or codec subnode. | ||
- bitclock-inversion : bool property. Add this if the | ||
dai-link uses bit clock inversion. | ||
- frame-inversion : bool property. Add this if the | ||
dai-link uses frame clock inversion. | ||
- convert-rate : platform specified sampling rate convert | ||
|
||
Required CPU/CODEC subnodes properties: | ||
|
||
- sound-dai : phandle and port of CPU/CODEC | ||
|
||
Optional CPU/CODEC subnodes properties: | ||
|
||
- clocks / system-clock-frequency : specify subnode's clock if needed. | ||
it can be specified via "clocks" if system has | ||
clock node (= common clock), or "system-clock-frequency" | ||
(if system doens't support common clock) | ||
If a clock is specified, it is | ||
enabled with clk_prepare_enable() | ||
in dai startup() and disabled with | ||
clk_disable_unprepare() in dai | ||
shutdown(). | ||
|
||
Example | ||
|
||
sound { | ||
compatible = "renesas,rsrc-card,lager"; | ||
|
||
card-name = "rsnd-ak4643"; | ||
format = "left_j"; | ||
bitclock-master = <&sndcodec>; | ||
frame-master = <&sndcodec>; | ||
|
||
sndcpu: cpu { | ||
sound-dai = <&rcar_sound>; | ||
}; | ||
|
||
sndcodec: codec { | ||
sound-dai = <&ak4643>; | ||
system-clock-frequency = <11289600>; | ||
}; | ||
}; |
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,23 @@ | ||
* Sound complex for Storm boards | ||
|
||
Models a soundcard for Storm boards with the Qualcomm Technologies IPQ806x SOC | ||
connected to a MAX98357A DAC via I2S. | ||
|
||
Required properties: | ||
|
||
- compatible : "google,storm-audio" | ||
- cpu : Phandle of the CPU DAI | ||
- codec : Phandle of the codec DAI | ||
|
||
Optional properties: | ||
|
||
- qcom,model : The user-visible name of this sound card. | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "google,storm-audio"; | ||
qcom,model = "ipq806x-storm"; | ||
cpu = <&lpass_cpu>; | ||
codec = <&max98357a>; | ||
}; |
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.