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-2' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/broonie/sound into for-linus ASoC: Updates for v4.7 part 2 Really sorry about this late pull request. It looks like at the time I sent my pull request for v4.7 there was some conflict or other issue which caused my script to stop merging the ASoC branches at some point after the HDMI changes. It's all specific driver updates, including: - New drivers for MAX98371 and TAS5720. - SPI support for TLV320AIC32x4. - TDM support for STI Uniperf IPs. This code should all have been in -next prior to the merge window apart from some fixes, it dropped out on the 18th.
- Loading branch information
Showing
237 changed files
with
4,366 additions
and
1,052 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 |
---|---|---|
@@ -1,50 +1,29 @@ | ||
Device-Tree binding for regmap | ||
|
||
The endianness mode of CPU & Device scenarios: | ||
Index Device Endianness properties | ||
--------------------------------------------------- | ||
1 BE 'big-endian' | ||
2 LE 'little-endian' | ||
3 Native 'native-endian' | ||
|
||
For one device driver, which will run in different scenarios above | ||
on different SoCs using the devicetree, we need one way to simplify | ||
this. | ||
Devicetree binding for regmap | ||
|
||
Optional properties: | ||
- {big,little,native}-endian: these are boolean properties, if absent | ||
then the implementation will choose a default based on the device | ||
being controlled. These properties are for register values and all | ||
the buffers only. Native endian means that the CPU and device have | ||
the same endianness. | ||
|
||
Examples: | ||
Scenario 1 : CPU in LE mode & device in LE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
}; | ||
little-endian, | ||
big-endian, | ||
native-endian: See common-properties.txt for a definition | ||
|
||
Scenario 2 : CPU in LE mode & device in BE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
big-endian; | ||
}; | ||
Note: | ||
Regmap defaults to little-endian register access on MMIO based | ||
devices, this is by far the most common setting. On CPU | ||
architectures that typically run big-endian operating systems | ||
(e.g. PowerPC), registers can be defined as big-endian and must | ||
be marked that way in the devicetree. | ||
|
||
Scenario 3 : CPU in BE mode & device in BE mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
reg = <0x40031000 0x1000>; | ||
... | ||
}; | ||
On SoCs that can be operated in both big-endian and little-endian | ||
modes, with a single hardware switch controlling both the endianess | ||
of the CPU and a byteswap for MMIO registers (e.g. many Broadcom MIPS | ||
chips), "native-endian" is used to allow using the same device tree | ||
blob in both cases. | ||
|
||
Scenario 4 : CPU in BE mode & device in LE mode. | ||
Examples: | ||
Scenario 1 : a register set in big-endian mode. | ||
dev: dev@40031000 { | ||
compatible = "name"; | ||
compatible = "syscon"; | ||
reg = <0x40031000 0x1000>; | ||
big-endian; | ||
... | ||
little-endian; | ||
}; |
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,17 @@ | ||
max98371 codec | ||
|
||
This device supports I2C mode only. | ||
|
||
Required properties: | ||
|
||
- compatible : "maxim,max98371" | ||
- reg : The chip select number on the I2C bus | ||
|
||
Example: | ||
|
||
&i2c { | ||
max98371: max98371@0x31 { | ||
compatible = "maxim,max98371"; | ||
reg = <0x31>; | ||
}; | ||
}; |
5 changes: 3 additions & 2 deletions
5
Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5676.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 |
---|---|---|
@@ -1,15 +1,16 @@ | ||
MT8173 with RT5650 RT5676 CODECS | ||
MT8173 with RT5650 RT5676 CODECS and HDMI via I2S | ||
|
||
Required properties: | ||
- compatible : "mediatek,mt8173-rt5650-rt5676" | ||
- mediatek,audio-codec: the phandles of rt5650 and rt5676 codecs | ||
and of the hdmi encoder node | ||
- mediatek,platform: the phandle of MT8173 ASoC platform | ||
|
||
Example: | ||
|
||
sound { | ||
compatible = "mediatek,mt8173-rt5650-rt5676"; | ||
mediatek,audio-codec = <&rt5650 &rt5676>; | ||
mediatek,audio-codec = <&rt5650 &rt5676 &hdmi0>; | ||
mediatek,platform = <&afe>; | ||
}; | ||
|
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,25 @@ | ||
Texas Instruments TAS5720 Mono Audio amplifier | ||
|
||
The TAS5720 serial control bus communicates through the I2C protocol only. The | ||
serial bus is also used for periodic codec fault checking/reporting during | ||
audio playback. For more product information please see the links below: | ||
|
||
http://www.ti.com/product/TAS5720L | ||
http://www.ti.com/product/TAS5720M | ||
|
||
Required properties: | ||
|
||
- compatible : "ti,tas5720" | ||
- reg : I2C slave address | ||
- dvdd-supply : phandle to a 3.3-V supply for the digital circuitry | ||
- pvdd-supply : phandle to a supply used for the Class-D amp and the analog | ||
|
||
Example: | ||
|
||
tas5720: tas5720@6c { | ||
status = "okay"; | ||
compatible = "ti,tas5720"; | ||
reg = <0x6c>; | ||
dvdd-supply = <&vdd_3v3_reg>; | ||
pvdd-supply = <&_supply_reg>; | ||
}; |
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 |
---|---|---|
|
@@ -11319,6 +11319,20 @@ F: include/trace/ | |
F: kernel/trace/ | ||
F: tools/testing/selftests/ftrace/ | ||
|
||
TRACING MMIO ACCESSES (MMIOTRACE) | ||
M: Steven Rostedt <[email protected]> | ||
M: Ingo Molnar <[email protected]> | ||
R: Karol Herbst <[email protected]> | ||
R: Pekka Paalanen <[email protected]> | ||
S: Maintained | ||
L: [email protected] | ||
L: [email protected] | ||
F: kernel/trace/trace_mmiotrace.c | ||
F: include/linux/mmiotrace.h | ||
F: arch/x86/mm/kmmio.c | ||
F: arch/x86/mm/mmio-mod.c | ||
F: arch/x86/mm/testmmiotrace.c | ||
|
||
TRIVIAL PATCHES | ||
M: Jiri Kosina <[email protected]> | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial.git | ||
|
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
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.