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 remote-tracking branches 'asoc/topic/cs53l30', 'asoc/topic/cygn…
…us', 'asoc/topic/da7219' and 'asoc/topic/davinci' into asoc-next
- Loading branch information
Showing
19 changed files
with
4,391 additions
and
77 deletions.
There are no files selected for viewing
67 changes: 67 additions & 0 deletions
67
Documentation/devicetree/bindings/sound/brcm,cygnus-audio.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 @@ | ||
BROADCOM Cygnus Audio I2S/TDM/SPDIF controller | ||
|
||
Required properties: | ||
- compatible : "brcm,cygnus-audio" | ||
- #address-cells: 32bit valued, 1 cell. | ||
- #size-cells: 32bit valued, 0 cell. | ||
- reg : Should contain audio registers location and length | ||
- reg-names: names of the registers listed in "reg" property | ||
Valid names are "aud" and "i2s_in". "aud" contains a | ||
set of DMA, I2S_OUT and SPDIF registers. "i2s_in" contains | ||
a set of I2S_IN registers. | ||
- clocks: PLL and leaf clocks used by audio ports | ||
- assigned-clocks: PLL and leaf clocks | ||
- assigned-clock-parents: parent clocks of the assigned clocks | ||
(usually the PLL) | ||
- assigned-clock-rates: List of clock frequencies of the | ||
assigned clocks | ||
- clock-names: names of 3 leaf clocks used by audio ports | ||
Valid names are "ch0_audio", "ch1_audio", "ch2_audio" | ||
- interrupts: audio DMA interrupt number | ||
|
||
SSP Subnode properties: | ||
- reg: The index of ssp port interface to use | ||
Valid value are 0, 1, 2, or 3 (for spdif) | ||
|
||
Example: | ||
cygnus_audio: audio@180ae000 { | ||
compatible = "brcm,cygnus-audio"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0x180ae000 0xafd>, <0x180aec00 0x1f8>; | ||
reg-names = "aud", "i2s_in"; | ||
clocks = <&audiopll BCM_CYGNUS_AUDIOPLL_CH0>, | ||
<&audiopll BCM_CYGNUS_AUDIOPLL_CH1>, | ||
<&audiopll BCM_CYGNUS_AUDIOPLL_CH2>; | ||
assigned-clocks = <&audiopll BCM_CYGNUS_AUDIOPLL>, | ||
<&audiopll BCM_CYGNUS_AUDIOPLL_CH0>, | ||
<&audiopll BCM_CYGNUS_AUDIOPLL_CH1>, | ||
<&audiopll BCM_CYGNUS_AUDIOPLL_CH2>; | ||
assigned-clock-parents = <&audiopll BCM_CYGNUS_AUDIOPLL>; | ||
assigned-clock-rates = <1769470191>, | ||
<0>, | ||
<0>, | ||
<0>; | ||
clock-names = "ch0_audio", "ch1_audio", "ch2_audio"; | ||
interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; | ||
|
||
ssp0: ssp_port@0 { | ||
reg = <0>; | ||
status = "okay"; | ||
}; | ||
|
||
ssp1: ssp_port@1 { | ||
reg = <1>; | ||
status = "disabled"; | ||
}; | ||
|
||
ssp2: ssp_port@2 { | ||
reg = <2>; | ||
status = "disabled"; | ||
}; | ||
|
||
spdif: spdif_port@3 { | ||
reg = <3>; | ||
status = "disabled"; | ||
}; | ||
}; |
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,44 @@ | ||
CS53L30 audio CODEC | ||
|
||
Required properties: | ||
|
||
- compatible : "cirrus,cs53l30" | ||
|
||
- reg : the I2C address of the device | ||
|
||
- VA-supply, VP-supply : power supplies for the device, | ||
as covered in Documentation/devicetree/bindings/regulator/regulator.txt. | ||
|
||
Optional properties: | ||
|
||
- reset-gpios : a GPIO spec for the reset pin. | ||
|
||
- mute-gpios : a GPIO spec for the MUTE pin. The active state can be either | ||
GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW, which would be handled | ||
by the driver automatically. | ||
|
||
- cirrus,micbias-lvl : Set the output voltage level on the MICBIAS Pin. | ||
0 = Hi-Z | ||
1 = 1.80 V | ||
2 = 2.75 V | ||
|
||
- cirrus,use-sdout2 : This is a boolean property. If present, it indicates | ||
the hardware design connects both SDOUT1 and SDOUT2 | ||
pins to output data. Otherwise, it indicates that | ||
only SDOUT1 is connected for data output. | ||
* CS53l30 supports 4-channel data output in the same | ||
* frame using two different ways: | ||
* 1) Normal I2S mode on two data pins -- each SDOUT | ||
* carries 2-channel data in the same time. | ||
* 2) TDM mode on one signle data pin -- SDOUT1 carries | ||
* 4-channel data per frame. | ||
|
||
Example: | ||
|
||
codec: cs53l30@48 { | ||
compatible = "cirrus,cs53l30"; | ||
reg = <0x48>; | ||
reset-gpios = <&gpio 54 0>; | ||
VA-supply = <&cs53l30_va>; | ||
VP-supply = <&cs53l30_vp>; | ||
}; |
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.