Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream/rt5677 #3

Closed
wants to merge 94 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
542694d
ASoC: soc-core: rename soc_post_component_init() to soc_rtd_init()
morimoto Aug 23, 2019
b9a4805
ASoC: SOF: imx8: Make some functions static
Aug 23, 2019
9573820
ASoC: imx-audmix: register the card on a proper dev
TE-N-ShengjiuWang Aug 27, 2019
455b1d4
ASoC: sunxi: Revert initial A83t support
mripard Aug 27, 2019
3cdc3c9
ASoC: mediatek: mt8183: remove unused DAPM-related variables
Aug 26, 2019
393151c
ASoC: SOF: imx8: Fix return value check in imx8_probe()
Aug 26, 2019
9ec05d4
ASoC: sun4i: Revert A83t description
mripard Aug 27, 2019
a325c7b
ASoC: SOF: imx8: Fix an is IS_ERR() vs NULL check
Aug 26, 2019
0cc33ce
ASoC: Intel: Skylake: Print module type instead of id
amadeuszslawinski-intel Aug 27, 2019
6f43791
ASoC: Intel: Skylake: Release topology when we are done with it
Aug 27, 2019
b429ca4
ASoC: cs42xx8: Force suspend/resume during system suspend/resume
TE-N-ShengjiuWang Aug 27, 2019
1829141
ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig
osctobe Aug 24, 2019
db8e3e2
ASoC: atmel_ssc_dai: rework DAI format configuration
osctobe Aug 24, 2019
376142b
ASoC: atmel_ssc_dai: implement left-justified data mode
osctobe Aug 24, 2019
8e58c52
ASoC: mediatek: mt8183: tdm hw support tdm out and 8ch i2s out
yujiaxinff Aug 24, 2019
2c650fd
ASoC: mediatek: mt8183: fix tdm out data is valid on rising edge
yujiaxinff Aug 24, 2019
4cc4531
ALSA: pcm: add support for 352.8KHz and 384KHz sample rate
vkathota Aug 22, 2019
a8a652b
ASoC: wcd9335: Fix primary interpolator max rate
Srinivas-Kandagatla Aug 22, 2019
2231b2c
ASoC: ti: davinci-i2s: Add S32_LE as support format
Aug 30, 2019
27b7def
ASoC: ti: edma-pcm: Fix for legacy dma_slave_map based channel lookup
Aug 30, 2019
69f3405
ASoC: ti: davinci-evm: Do not fail if the dai_set_sysclk returns -ENO…
Aug 30, 2019
ca964ed
ASoC: Intel: Haswell: Adjust machine device private context
crojewsk-intel Aug 22, 2019
1fc3e6b
ASoC: Intel: haswell: Simplify device probe
crojewsk-intel Aug 22, 2019
c25e93b
ASoC: Intel: bdw-rt5677: Simplify device probe
crojewsk-intel Aug 22, 2019
54d037d
ASoC: Intel: broadwell: Simplify device probe
crojewsk-intel Aug 22, 2019
37638af
ASoC: SOF/Intel: fix selection of SND_INTEL_NHTL
plbossart Aug 29, 2019
96ed769
ASoC: mediatek: mt8183: move private structure
Aug 30, 2019
95d779b
ASoC: mediatek: mt8183: move headset jack to card-specific storage
Aug 30, 2019
fc34748
ASoC: mediatek: mt8183: remove forward declaration of headset_init
Aug 30, 2019
e5b3ae3
ASoC: mediatek: mt8183: fix space issues
Aug 30, 2019
1a8e7cd
ASoC: dt-bindings: sun4i-spdif: Fix dma-names warning
mripard Aug 28, 2019
8a99f76
ASoC: dt-bindings: Convert Allwinner A33 codec to a schema
mripard Aug 28, 2019
497144a
ASoC: dt-bindings: Convert Allwinner A64 analog codec to a schema
mripard Aug 28, 2019
9a7c9fe
ASoC: soc-core: add soc_rtd_free()
morimoto Aug 23, 2019
ffd60fb
ASoC: soc-core: move soc_probe_component() position
morimoto Aug 23, 2019
b614bea
ASoC: soc-core: dapm related setup at one place
morimoto Aug 23, 2019
95c267d
ASoC: soc-core: add snd_soc_dapm_init()
morimoto Aug 23, 2019
6fb0355
ASoC: soc-core: move soc_probe_link_components() position
morimoto Aug 23, 2019
39c66b6
ASoC: simple-card: indicate rebind issue
morimoto Sep 3, 2019
157ab71
ASoC: audio-graph: indicate rebind issue
morimoto Sep 3, 2019
3a3edd6
ASoC: es8316: add DT-bindings
katsuster Sep 3, 2019
6dd567d
ASoC: es8316: add clock control of MCLK
katsuster Sep 3, 2019
dfafc18
ASoC: amd: use devm_platform_ioremap_resource() to simplify code
Sep 4, 2019
f295495
ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code
Sep 4, 2019
2f302d4
ASoC: sirf-audio: use devm_platform_ioremap_resource() to simplify code
Sep 4, 2019
a813d0e
ASoC: tegra: use devm_platform_ioremap_resource() to simplify code
Sep 4, 2019
04f770d
ASoC: soc-core: add comment to jack at soc_remove_component()
morimoto Sep 4, 2019
1ab1b34
ASoC: qcom: common: Include link-name in error messages
andersson Sep 5, 2019
f466309
ASoC: meson: add sm1 compatibles
jbrun3t Sep 5, 2019
6b59b8f
ASoC: meson: add reset binding
jbrun3t Sep 5, 2019
8fcd2d9
ASoC: meson: axg-frddr: expose all 8 outputs
jbrun3t Sep 5, 2019
6beced2
ASoC: meson: axg-toddr: expose all 8 inputs
jbrun3t Sep 5, 2019
cde9f12
ASoC: meson: tdmin: expose all 16 inputs
jbrun3t Sep 5, 2019
52dd80d
ASoC: meson: axg-frddr: add sm1 support
jbrun3t Sep 5, 2019
5ac825c
ASoC: meson: axg-toddr: add sm1 support
jbrun3t Sep 5, 2019
329299d
ASoC: meson: tdmout: add sm1 support
jbrun3t Sep 5, 2019
f4df4e4
ASoC: SOF: imx8: Fix COMPILE_TEST error
Sep 5, 2019
0db0c62
ASoC: es8316: fix redundant codes of clock
katsuster Sep 7, 2019
ebe02a5
ASoC: es8316: support fixed and variable both clock rates
katsuster Sep 7, 2019
78b93b0
ASoC: codecs: ad193x: make two arrays static const, makes object smaller
Sep 6, 2019
f1879d7
ASoC: rockchip: ignore 0Hz sysclk
katsuster Sep 7, 2019
2458adb
SoC: simple-card-utils: set 0Hz to sysclk when shutdown
katsuster Sep 7, 2019
2b70d57
ASoC: rt1011: make array pd static const, makes object smaller
Sep 7, 2019
b61b1e3
ASoC: rt1305: make array pd static const, makes object smaller
Sep 7, 2019
13ab0d1
ASoC: rt1308: make array pd static const, makes object smaller
Sep 7, 2019
62f07a6
ASoC: soc-core: self contained soc_probe_link_components()
morimoto Sep 4, 2019
b006c0c
ASoC: soc-core: self contained soc_remove_link_components()
morimoto Sep 4, 2019
4ca47d2
ASoC: soc-core: self contained soc_remove_link_dais()
morimoto Sep 4, 2019
a7d44f7
ASoC: soc-core: move soc_probe_dai() next to soc_remove_dai()
morimoto Sep 4, 2019
c4b4698
ASoC: soc-core: add new soc_link_init()
morimoto Sep 4, 2019
c7e7377
ASoC: soc-core: self contained soc_probe_link_dais()
morimoto Sep 4, 2019
bc7c16c
ASoC: soc-core: move soc_probe_link_dais() next to soc_remove_link_da…
morimoto Sep 4, 2019
bee886f
ASoC: soc-core: self contained soc_bind_aux_dev()
morimoto Sep 4, 2019
4893a2e
ASoC: soc-core: add soc_unbind_aux_dev()
morimoto Sep 4, 2019
e8fbd25
ASoC: soc-core: self contained soc_unbind_aux_dev()
morimoto Sep 4, 2019
33b773d
ASoC: rt5677: Remove magic number register writes
cujomalainey Sep 6, 2019
dfe58f2
ASoC: rt5677: keep analog power register at SND_SOC_BIAS_OFF
bzhg Sep 6, 2019
6fa5963
ASoC: hdmi-codec: Add an op to set callback function for plug event
chiang831 Jul 17, 2019
12ab139
[NOT FOR UPSTREAM] Revert "x86/mm: Identify the end of the kernel are…
cujomalainey Aug 13, 2019
c9bbfa7
ACPI / LPSS: Save/restore LPSS private registers also on Lynxpoint
jhnikula Aug 22, 2019
993a300
ASoC: rt5677: Add a PCM device for streaming hotword via SPI
bzhg Feb 5, 2015
7f2e9e8
ASoC: rt5677: Load firmware via SPI
bzhg Jan 12, 2015
38ea649
ASoC: rt5677: Auto enable/disable DSP for hotwording
bzhg Feb 5, 2015
44c9728
ASoC: bdw-rt5677: Add a DAI link for rt5677 SPI PCM device
bzhg Feb 5, 2015
66f6bf1
ASoC: rt5677: Enable jack detect while DSP is running
bzhg Feb 20, 2015
a16e1cc
ASoC: rt5677: Use delayed work for DSP firmware load
bzhg Feb 27, 2015
42d70bd
ASoC: rt5677: Add DAPM audio path for hotword stream
bzhg Mar 2, 2015
39717cc
ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile
bzhg Mar 2, 2015
39c5552
ASoC: rt5677: Stop and restart DSP over suspend/resume
bzhg Mar 10, 2015
9ada68f
ASoC: rt5677: Transfer one period at a time over SPI
bzhg Mar 14, 2015
cd4dfac
ASoC: rt5677: Disable irq at suspend
bzhg May 16, 2015
9f6383e
ASoC: rt5677: Allow VAD to be shut on/off at all times
cujomalainey Aug 21, 2019
b749401
ASoC: rt5677: Turn on MCLK1 for DSP via DAPM
cujomalainey Aug 19, 2019
b9414fa
ASoC: rt5677: Set VAD clock to use PLL
cujomalainey Sep 4, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ allOf:
properties:
compatible:
contains:
const: allwinner,sun8i-h3-spdif
enum:
- allwinner,sun8i-h3-spdif
- allwinner,sun50i-h6-spdif

then:
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/allwinner,sun50i-a64-codec-analog.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner A64 Analog Codec Device Tree Bindings

maintainers:
- Chen-Yu Tsai <wens@csie.org>
- Maxime Ripard <maxime.ripard@bootlin.com>

properties:
compatible:
const: allwinner,sun50i-a64-codec-analog

reg:
maxItems: 1

cpvdd-supply:
description:
Regulator for the headphone amplifier

required:
- compatible
- reg
- cpvdd-supply

additionalProperties: false

examples:
- |
codec_analog: codec-analog@1f015c0 {
compatible = "allwinner,sun50i-a64-codec-analog";
reg = <0x01f015c0 0x4>;
cpvdd-supply = <&reg_eldo1>;
};

...
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner A33 Codec Device Tree Bindings

maintainers:
- Chen-Yu Tsai <wens@csie.org>
- Maxime Ripard <maxime.ripard@bootlin.com>

properties:
"#sound-dai-cells":
const: 0

compatible:
const: allwinner,sun8i-a33-codec

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
items:
- description: Bus Clock
- description: Module Clock

clock-names:
items:
- const: bus
- const: mod

required:
- "#sound-dai-cells"
- compatible
- reg
- interrupts
- clocks
- clock-names

additionalProperties: false

examples:
- |
audio-codec@1c22e00 {
#sound-dai-cells = <0>;
compatible = "allwinner,sun8i-a33-codec";
reg = <0x01c22e00 0x400>;
interrupts = <0 29 4>;
clocks = <&ccu 47>, <&ccu 92>;
clock-names = "bus", "mod";
};

...
9 changes: 7 additions & 2 deletions Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ Required properties:
- compatible: 'amlogic,axg-toddr' or
'amlogic,axg-toddr' or
'amlogic,g12a-frddr' or
'amlogic,g12a-toddr'
'amlogic,g12a-toddr' or
'amlogic,sm1-frddr' or
'amlogic,sm1-toddr'
- reg: physical base address of the controller and length of memory
mapped region.
- interrupts: interrupt specifier for the fifo.
- clocks: phandle to the fifo peripheral clock provided by the audio
clock controller.
- resets: phandle to memory ARB line provided by the arb reset controller.
- resets: list of reset phandle, one for each entry reset-names.
- reset-names: should contain the following:
* "arb" : memory ARB line (required)
* "rst" : dedicated device reset line (optional)
- #sound-dai-cells: must be 0.

Example of FRDDR A on the A113 SoC:
Expand Down
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Required properties:
- compatible: 'amlogic,axg-pdm' or
'amlogic,g12a-pdm'
'amlogic,g12a-pdm' or
'amlogic,sm1-pdm'
- reg: physical base address of the controller and length of memory
mapped region.
- clocks: list of clock phandle, one for each entry clock-names.
Expand All @@ -12,6 +13,9 @@ Required properties:
* "sysclk" : dsp system clock
- #sound-dai-cells: must be 0.

Optional property:
- resets: phandle to the dedicated reset line of the pdm input.

Example of PDM on the A113 SoC:

pdm: audio-controller@ff632000 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

Required properties:
- compatible: 'amlogic,axg-spdifin' or
'amlogic,g12a-spdifin'
'amlogic,g12a-spdifin' or
'amlogic,sm1-spdifin'
- interrupts: interrupt specifier for the spdif input.
- clocks: list of clock phandle, one for each entry clock-names.
- clock-names: should contain the following:
* "pclk" : peripheral clock.
* "refclk" : spdif input reference clock
- #sound-dai-cells: must be 0.

Optional property:
- resets: phandle to the dedicated reset line of the spdif input.

Example on the A113 SoC:

spdifin: audio-controller@400 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

Required properties:
- compatible: 'amlogic,axg-spdifout' or
'amlogic,g12a-spdifout'
'amlogic,g12a-spdifout' or
'amlogic,sm1-spdifout'
- clocks: list of clock phandle, one for each entry clock-names.
- clock-names: should contain the following:
* "pclk" : peripheral clock.
* "mclk" : master clock
- #sound-dai-cells: must be 0.

Optional property:
- resets: phandle to the dedicated reset line of the spdif output.

Example on the A113 SoC:

spdifout: audio-controller@480 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Required properties:
- compatible: 'amlogic,axg-tdmin' or
'amlogic,axg-tdmout' or
'amlogic,g12a-tdmin' or
'amlogic,g12a-tdmout'
'amlogic,g12a-tdmout' or
'amlogic,sm1-tdmin' or
'amlogic,sm1-tdmout
- reg: physical base address of the controller and length of memory
mapped region.
- clocks: list of clock phandle, one for each entry clock-names.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
* Amlogic HDMI Tx control glue

Required properties:
- compatible: "amlogic,g12a-tohdmitx"
- compatible: "amlogic,g12a-tohdmitx" or
"amlogic,sm1-tohdmitx"
- reg: physical base address of the controller and length of memory
mapped region.
- #sound-dai-cells: should be 1.
- resets: phandle to the dedicated reset line of the hdmitx glue.

Example on the S905X2 SoC:

tohdmitx: audio-controller@744 {
compatible = "amlogic,g12a-tohdmitx";
reg = <0x0 0x744 0x0 0x4>;
#sound-dai-cells = <1>;
resets = <&clkc_audio AUD_RESET_TOHDMITX>;
};

Example of an 'amlogic,axg-sound-card':
Expand Down
23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/sound/everest,es8316.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Everest ES8316 audio CODEC

This device supports both I2C and SPI.

Required properties:

- compatible : should be "everest,es8316"
- reg : the I2C address of the device for I2C

Optional properties:

- clocks : a list of phandle, should contain entries for clock-names
- clock-names : should include as follows:
"mclk" : master clock (MCLK) of the device

Example:

es8316: codec@11 {
compatible = "everest,es8316";
reg = <0x11>;
clocks = <&clks 10>;
clock-names = "mclk";
};
14 changes: 0 additions & 14 deletions Documentation/devicetree/bindings/sound/sun50i-codec-analog.txt

This file was deleted.

63 changes: 0 additions & 63 deletions Documentation/devicetree/bindings/sound/sun8i-a33-codec.txt

This file was deleted.

2 changes: 0 additions & 2 deletions arch/x86/include/asm/sections.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ extern char __end_rodata_aligned[];
extern char __end_rodata_hpage_align[];
#endif

extern char __end_of_kernel_reserve[];

#endif /* _ASM_X86_SECTIONS_H */
8 changes: 1 addition & 7 deletions arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,14 +836,8 @@ dump_kernel_offset(struct notifier_block *self, unsigned long v, void *p)

void __init setup_arch(char **cmdline_p)
{
/*
* Reserve the memory occupied by the kernel between _text and
* __end_of_kernel_reserve symbols. Any kernel sections after the
* __end_of_kernel_reserve symbol must be explicitly reserved with a
* separate memblock_reserve() or they will be discarded.
*/
memblock_reserve(__pa_symbol(_text),
(unsigned long)__end_of_kernel_reserve - (unsigned long)_text);
(unsigned long)__bss_stop - (unsigned long)_text);

/*
* Make sure page 0 is always reserved because on systems with
Expand Down
9 changes: 1 addition & 8 deletions arch/x86/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,6 @@ SECTIONS
__bss_stop = .;
}

/*
* The memory occupied from _text to here, __end_of_kernel_reserve, is
* automatically reserved in setup_arch(). Anything after here must be
* explicitly reserved using memblock_reserve() or it will be discarded
* and treated as available memory.
*/
__end_of_kernel_reserve = .;

. = ALIGN(PAGE_SIZE);
.brk : AT(ADDR(.brk) - LOAD_OFFSET) {
__brk_base = .;
Expand Down Expand Up @@ -415,6 +407,7 @@ SECTIONS
STABS_DEBUG
DWARF_DEBUG

/* Sections to be discarded */
DISCARDS
/DISCARD/ : {
*(.eh_frame)
Expand Down
8 changes: 5 additions & 3 deletions drivers/acpi/acpi_lpss.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,13 @@ static void bsw_pwm_setup(struct lpss_private_data *pdata)
}

static const struct lpss_device_desc lpt_dev_desc = {
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_CLK_DIVIDER | LPSS_LTR,
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_CLK_DIVIDER | LPSS_LTR
| LPSS_SAVE_CTX,
.prv_offset = 0x800,
};

static const struct lpss_device_desc lpt_i2c_dev_desc = {
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR,
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR | LPSS_SAVE_CTX,
.prv_offset = 0x800,
};

Expand All @@ -236,7 +237,8 @@ static struct property_entry uart_properties[] = {
};

static const struct lpss_device_desc lpt_uart_dev_desc = {
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_CLK_DIVIDER | LPSS_LTR,
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_CLK_DIVIDER | LPSS_LTR
| LPSS_SAVE_CTX,
.clk_con_id = "baudclk",
.prv_offset = 0x800,
.setup = lpss_uart_setup,
Expand Down
Loading