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

ASoC:SOF Topic/remove duplicated defines #614

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
405e42a
ASoC: Intel: Kconfig: disable SST and legacy drivers when SOF is sele…
plbossart May 31, 2018
f4610dc
ASoC: Intel: make bytcht_da7213 with SOF
plbossart Mar 9, 2018
c1ace86
ASoC: Intel: make cht_bsw_max98090 work with SOF
plbossart Mar 9, 2018
1a44448
ASoC: Intel: cht-bsw-rt5645: work with SOF
plbossart Nov 10, 2017
151cc1a
ASoC: Intel: cht-bsw-rt5672: work with SOF
plbossart Nov 30, 2017
146c957
ASoC: Intel: make bytcr_rt5640 work with SOF
plbossart Dec 21, 2017
3350847
ASoC: Intel: Make sure HSW/BDW based machine drivers build for SOF
lrgirdwo Dec 7, 2017
7d765b4
ASoC: Intel: Kconfig: expose common option between SST and SOF drivers
plbossart Jan 9, 2018
45ef824
ASoC: Intel: select relevant machine drivers for SOF
plbossart Dec 7, 2017
32806ab
[SQUASHME] ASoC: Intel: fix Kconfig typos
plbossart Jul 3, 2018
c246d82
ASoC: Intel: add machine driver for BXT/APL with pcm512x codec
plbossart Apr 23, 2018
e083c0e
ASoC: Intel: replace snd_soc_codec to snd_soc_component in bxt-pcm512x
xiulipan Jun 7, 2018
79d00ad
ASoC: Intel: fix dai link for bxt_pcm512x
xiulipan Jul 10, 2018
322c314
ASoC: Intel: Boards: Add CNL RT274 I2S machine driver
gune42 Nov 23, 2016
d724b0a
ASoC: Intel: board: Add support for dynamic FE dai link in cnl_rt274 …
gune42 Feb 27, 2017
88331a3
ASoC: Intel: board: Move cnl_rt274 clock setting to supply widget
gune42 Apr 4, 2017
5c1565b
ASoC: Intel: boards: Remove SSP1-codec dai link from cnl_rt274 machine
gune42 Jun 15, 2017
7518715
ASoC: Intel: Skylake: Fix codec_dai NULL pointer dereferening
bpankajl Sep 6, 2017
eb22dc7
ASoC: Intel: Boards: Replace codec to component in RT274 machine driver
shaiksx Apr 30, 2018
8ebf69c
ASoC: Intel: cnl-rt274: fix compilation warning
plbossart Jun 23, 2018
aeef8c7
ASoC: Intel: cnl-rt274: fix clock settings
plbossart Jun 23, 2018
df794aa
ASoC: Intel: make cnl_rt274 work with SOF
plbossart May 18, 2018
135409b
Asoc: Intel: refine rt274 machine driver for SOF
RanderWang Jun 29, 2018
d8c38b0
ASoC: tdf8532: NXP TDF8532 audio class-D amplifier driver
May 15, 2018
ad87762
ASoC: tdf8532: Fix compilation warnings
May 15, 2018
f6a48c6
ASoC: tdf8532: Add delay while reading a packet from I2C
May 15, 2018
07b6657
ASoC: tdf8532: fix memleak in tdf8532_wait_state
LiucIntel May 11, 2018
279ff35
ASoC: tdf8532: right free allocated space in case of error
LiucIntel May 11, 2018
2463c2d
ASoC: tdf8532: Fix the codec status error issue on APL-GPMRB
May 15, 2018
66fd51d
ASoC: codecs: tdf8532: move to component model
plbossart Jun 23, 2018
5fcfc39
ASoC: Intel: Boards: Add BXTP MRB machine driver for NXP TDF8532
keyonjie May 22, 2018
620f9a6
ASoC: Intel: Board: DAI links for probe in GPMRB machine driver
msinnha1 Jul 6, 2017
9f8f7dd
ASoC: Intel: Boards: Add FW logging DAI-links for GPMRB
msinnha1 Jul 6, 2017
481a683
ASoC: Intel: Board: Add pm_ops to fix suspend/resume issue
kareemshaik80 Aug 30, 2017
4e40639
ASoC: Intel: Board: Add fixup for 32 bit masking
msinnha1 Sep 4, 2017
765f264
ASoC: Intel: bxt-tdf8532: reuse machine driver for GP-MRB
keyonjie May 22, 2018
132f58c
ASoC: Intel: bxt-tdf8532: FIX: don't use add_dai_link() for SOF
keyonjie May 28, 2018
626ba3b
ASoC: Intel: bxt-tdf8532: change probe and trace buffer dai_links to …
keyonjie Jun 20, 2018
35ecce5
ASoC: codecs: TDF8532: use Linux style
plbossart Jul 2, 2018
40487fb
ASoC: Intel: bxt-tdf8532: use Linux style
plbossart Jul 2, 2018
c28b18b
ASoC: Intel: bytcr_rt5651: work with sof only with SSP2 AIF1
xiulipan Jun 6, 2018
0a73ab7
acpi: blacklist: remove quirk for Dell XPS13 when SOF is enabled
plbossart Jun 12, 2018
a43386b
ASoC: Intel: boards: bxt_da7219_max: remove dependency on dmic-codec
plbossart Jul 31, 2018
a9bb297
ALSA: HACK: Fix rmmod crash
lrgirdwo Nov 3, 2017
c465461
[NOT FOR UPSTREAM] ASoC: SOF: enable DEBUG by default
plbossart Apr 16, 2018
b73d79a
ASoC:codecs: rt5651: fix the compiling warning.
Aug 22, 2018
875f435
ASoC: wm8804: Add ACPI support
plbossart May 21, 2018
9ccf650
ASoC: Intel: boards: initial support for Hifiberry Digiplus w/ WM8804
plbossart May 21, 2018
39e9b76
Merge pull request #93 from plbossart/topic/wm8804
lgirdwood Aug 23, 2018
70c7b0c
ASoC:topology:fix the oops bug at topology free stage.
Aug 24, 2018
5baad2e
ASoC:topology:add the remove function to free route.
Aug 24, 2018
b7555dc
Merge pull request #80 from zhigang-wu/topic/byt-panic-2
lgirdwood Aug 24, 2018
4dbb2f8
ASoC: SOF: core: Use private data in ASoC RTD for SOF
lrgirdwo Aug 20, 2018
e534d9a
ASoC: SOF: pcm: Use private data in ASoC RTD for SOF
lrgirdwo Aug 20, 2018
a7dcfd0
ASoC: SOF: compressed: Use private data in ASoC RTD for SOF
lrgirdwo Aug 20, 2018
55762c8
ASoC: sof: core: update comment header to C++ style.
lrgirdwo Aug 22, 2018
a0838ac
ASoC: sof: ops: update comment header to C++ style.
lrgirdwo Aug 22, 2018
eb55e37
ASoC: sof: compressed: update comment header to C++ style.
lrgirdwo Aug 22, 2018
e87dbd3
ASoC: sof: control: update comment header to C++ style.
lrgirdwo Aug 22, 2018
e7fa833
ASoC: sof: debug: update comment header to C++ style.
lrgirdwo Aug 22, 2018
1cbab24
ASoC: sof: topology: update comment header to C++ style.
lrgirdwo Aug 22, 2018
2308262
ASoC: sof: trace: update comment header to C++ style.
lrgirdwo Aug 22, 2018
ca94346
ASoC: sof: utils: update comment header to C++ style.
lrgirdwo Aug 22, 2018
400156b
ASoC: sof: pm: update comment header to C++ style.
lrgirdwo Aug 22, 2018
90004ed
ASoC: sof: pcm: update comment header to C++ style.
lrgirdwo Aug 22, 2018
2cae655
ASoC: sof: loader: update comment header to C++ style.
lrgirdwo Aug 22, 2018
d61fa45
ASoC: sof: ipc: update comment header to C++ style.
lrgirdwo Aug 22, 2018
24bf99a
ASoC: sof: nocodec: update comment header to C++ style.
lrgirdwo Aug 22, 2018
283ba0c
ASoC: sof: spi: update comment header to C++ style.
lrgirdwo Aug 22, 2018
5d4007b
ASoC: sof: abi: update comment header to C++ style.
lrgirdwo Aug 22, 2018
13c0a0d
ASoC: sof: acpi-dev: update comment header to C++ style.
lrgirdwo Aug 22, 2018
245a556
ASoC: sof: spi-dev: update comment header to C++ style.
lrgirdwo Aug 22, 2018
abfbcb4
ASoC: sof: pci-dev: update comment header to C++ style.
lrgirdwo Aug 22, 2018
339d9ed
ASoC: sof: bdw: update comment header to C++ style.
lrgirdwo Aug 22, 2018
23528d2
ASoC: sof: byt: update comment header to C++ style.
lrgirdwo Aug 22, 2018
efe9ea3
ASoC: sof: hsw: update comment header to C++ style.
lrgirdwo Aug 22, 2018
8ada60c
ASoC: sof: intekl: apl/cnl: update comment header to C++ style.
lrgirdwo Aug 22, 2018
e66bc03
ASoC: sof: intekl: hda-ctrl: update comment header to C++ style.
lrgirdwo Aug 22, 2018
8f766b9
ASoC: sof: intel: hda-dsp.c: update comment header to C++ style.
lrgirdwo Aug 22, 2018
384e180
ASoC: sof: intel: pcm: update comment header to C++ style.
lrgirdwo Aug 22, 2018
19e2bd9
ASoC: sof: intel: stream: update comment header to C++ style.
lrgirdwo Aug 22, 2018
ffc1e25
ASoC: sof: intel: trace: update comment header to C++ style.
lrgirdwo Aug 22, 2018
11fec04
ASoC: sof: intel: ipc: update comment header to C++ style.
lrgirdwo Aug 22, 2018
e5c0f8d
ASoC: sof: intel: skl, cnl, apl dai: update comment header to C++ style.
lrgirdwo Aug 22, 2018
f3a1f5a
ASoC: sof: intel: loader: update comment header to C++ style.
lrgirdwo Aug 22, 2018
a7a2440
ASoC: sof: intel: skl, cnl, apl diff: update comment header to C++ st…
lrgirdwo Aug 22, 2018
c142507
ASoC: sof: core: Add comments for compressed page table.
lrgirdwo Aug 22, 2018
d58e046
ASoC: sof: pcm: check return value of PM calls.
lrgirdwo Aug 24, 2018
6e7b81d
ASoC: sof: debug: check return value of PM calls.
lrgirdwo Aug 24, 2018
22a564e
ASoC: sof: control: check return value of PM calls.
lrgirdwo Aug 24, 2018
3bdd378
ASoC: sof: compressed: check return value of PM calls.
lrgirdwo Aug 24, 2018
7481f7a
[SQUASHME] ASoC: SOF: pm: remove unused variable.
lrgirdwo Aug 24, 2018
4a2a987
ASoC: SOF: apl: clear BUSY bit after done with received ipc
xiulipan Aug 21, 2018
f40e581
ASoC:topology:regression fix: check pointer before allocation.
Aug 28, 2018
f9c923e
ASoC: core: Fix merge issue and remove codec,platform runtime pointers
lrgirdwo Aug 28, 2018
a31aa5f
ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_devic…
rakeshughreja Jun 2, 2018
cc6e80e
ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead
rakeshughreja Jun 2, 2018
e3a048e
ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver i…
rakeshughreja Jun 2, 2018
6850813
ALSA: hdac: ext: add wait for codec to respond after link reset
rakeshughreja Jun 2, 2018
677418f
ALSA: hda: split snd_hda_codec_new function
rakeshughreja Jun 2, 2018
841de56
ALSA: hdac: remove memory allocation from snd_hdac_ext_bus_device_init
rakeshughreja Jun 2, 2018
da1a2a3
ALSA: hdac: add extended ops in the hdac_bus
rakeshughreja Jun 2, 2018
12da3da
ALSA: hda: move hda_codec.h to include/sound
plbossart Aug 22, 2018
ef2a4bb
ASoC: Intel: common: add table for HDA-based platforms
plbossart Aug 22, 2018
8ca6d9c
ASoC: Intel: Boards: Machine driver for SKL+ w/ HDAudio codecs
rakeshughreja Aug 22, 2018
9dcd5d5
ASoC: Intel: Skylake: use HDAudio if ACPI enumeration fails
rakeshughreja Aug 22, 2018
1df31d7
ASoC: Intel: Skylake: add HDA BE DAIs
rakeshughreja Aug 22, 2018
2b8efe4
ASoC: Intel: Skylake: use hda_bus instead of hdac_bus
rakeshughreja Aug 22, 2018
38acdc5
ASoC: hdac_hda: add asoc extension for legacy HDA codec drivers
rakeshughreja Aug 22, 2018
bafb590
ASoC: SOF: debug: Use signed type for PM return value.
lrgirdwo Aug 29, 2018
50599f9
ALSA: HDA: Fix several mismatch for register mask and value
keyonjie Aug 23, 2018
481177e
ASoC: SOF: Define sof_create_platform_device for platform device crea…
mengdonglin Aug 27, 2018
a9b06dd
ASoC: SOF: refine and cleanup for request_firmware
keyonjie Aug 9, 2018
0a68844
ASoC: SOF: add hda_bus to struct sof_intel_hda_dev to handle hda with…
mengdonglin Jul 20, 2018
e66de01
ASoC: SOF: hda-stream: add CORB/RIRB ringbuffers init for HDA.
keyonjie Jul 20, 2018
4677968
ASoC: SOF: Add Kconfig item for SOF HDA.
keyonjie Jul 20, 2018
ad91b06
ALSA: HDA: export process_unsol_events() which can be used without
keyonjie Aug 31, 2018
744a59e
ASoC: SOF: HDA: add hda codec probing APIs
keyonjie Aug 29, 2018
be2a38a
ASoC: SOF: HDA: add hda bus initialization API
keyonjie Aug 31, 2018
cc34b22
ASoC: SOF: HDA: introduce hdac_bus for probing and stream management
mengdonglin Aug 29, 2018
f89c39d
ASoC: SOF: topology: continue parsing when num_hw_configs is not 1
keyonjie Aug 10, 2018
2d3478a
ASoC: SOF: PCM: do nothing for HDA dai_link fixup()
keyonjie Aug 17, 2018
7889a7a
ASoC: SOF: hda-dai: add ops for hda link dais.
keyonjie Aug 27, 2018
41b8f5d
sof: fix compilation on non X86 platforms
lyakh Sep 5, 2018
e04cc9c
sof: add support for SPI based configurations to the core
lyakh Sep 5, 2018
b647da2
sof: fix and enable compilation of SPI, add DT support
lyakh Sep 5, 2018
3c28960
rpi: add a sample DT node for SPI SOF
lyakh Sep 5, 2018
6f71197
rpi: include SOF DT nodes
lyakh Sep 5, 2018
128ff8c
ASoC: SOF: uapi: sof-ipc: add SOF_IPC_PANIC_WFI
xiulipan Sep 6, 2018
eeb4f6c
ASoC: SOF: add SOF_IPC_PANIC_WFI error info
xiulipan Sep 6, 2018
aa9b276
ASoC: dapm: fix kcontrols for effect widgets
singalsu Sep 6, 2018
fcb87ed
SOF: Increase DSP maximum IPC size to 384
singalsu Sep 6, 2018
f0cc5ea
SOF: Update EQ IPC header file
singalsu Sep 6, 2018
7cf3630
SOF Topology: Add ext bytes put and get feature
singalsu Sep 6, 2018
c9d77b1
SOF: fix compilation and a superfluous IRQ release
lyakh Sep 6, 2018
0f9af23
sof: add a check for the IRQ GPIO level
lyakh Sep 6, 2018
9f93a3a
rpi: temporarily disable SOF DT
lyakh Sep 6, 2018
2170a56
Revert "sof: fix compilation on non X86 platforms"
lyakh Sep 7, 2018
66dc735
sound: snd_sgbuf_aligned_pages() doesn't need CONFIG_SND_DMA_SGBUF
lyakh Sep 7, 2018
679b291
ASoC:core:bug fix: oops caused by pointer dereference.
Sep 4, 2018
64cf3e3
ASoC:topology:delete dynamic object during widget remove
Sep 10, 2018
ae5f868
ASoC: SOF: restore byte control data after resume
ranj063 Sep 9, 2018
b0266de
ASoC: SOF: Kconfig: add an item to force IPC position update for debug
keyonjie Sep 11, 2018
09bb006
ASoC: SOF: Intel: add no_ipc_position flag for position update
keyonjie Sep 13, 2018
d582fbe
ASoC: SOF: add pointer callback for dsp_ops
keyonjie Aug 10, 2018
5e64314
ASoC: SOF: HDA: add pcm_pointer callback
keyonjie Aug 9, 2018
60d3d04
ASoC: SOF: PCM: change IPC stream params in platform hw_params().
keyonjie Sep 4, 2018
1fb7cfa
ASoC: SOF: Intel: correct BDL settings for DPIB/posbuf mode
keyonjie Sep 10, 2018
3e80cfb
ASoC: SOF: Intel: correct period settings for hdac_stream
keyonjie Sep 11, 2018
540aea4
ASoC: SOF: apl: add pcm_pointer callback to dsp_ops
keyonjie Aug 9, 2018
a224ab2
ASoC: SOF: only elapse/inform ALSA for irq mode
keyonjie Sep 14, 2018
50792bc
ASoC: SOF: skl enable the skl/kbl ops, instead of using apl_ops v2
zhuyingjiang Sep 14, 2018
a84d54b
ASoC:SOF:skl:enable the core and get the ROM init
zhuyingjiang Sep 10, 2018
c3ba91f
ASoC: SOF: enable S2idle entry on SKL+ platforms
ranj063 Sep 17, 2018
71e321c
ASoC: SOF: debug: fix potential memory leak issue
Sep 18, 2018
0ec5600
ASoC: SOF: intel: use devm_kzalloc
Sep 18, 2018
801d176
ASoC: SOF: use devm_kzalloc
Sep 18, 2018
bc51a6f
ASoC:topology:bug fix:check return value avoid oops.
Aug 28, 2018
9544ae5
ASoC: SOF: intel: use devm_kfree
Sep 19, 2018
108d9cf
ASoC: SOF: use devm_kfree
Sep 19, 2018
7128681
ASoC: SOF: separate system sleep and runtime PM calls for SKL+ platforms
ranj063 Sep 20, 2018
556f44a
ASoC:SOF:skl enable the ioc
zhuyingjiang Sep 19, 2018
0064eda
ASoC: SOF: Intel: fix suspend/resume for non-HDA mode.
keyonjie Sep 19, 2018
1b07494
soc: fix a use after free case
lyakh Sep 20, 2018
53c732e
ASOC: SOF: topology: introduce effect type for widgets
Sep 9, 2018
9d17c65
ASOC: SOF: topology: change eq to use effect type
Sep 9, 2018
3d863db
ASoC: SOF: Separate out runtime suspend and system suspend routines
ranj063 Sep 24, 2018
aa838fd
ASoC: SOF: use suspend_late/resume_early instead of suspend/resume
ranj063 Sep 24, 2018
342b260
ASoC: SOF: reset scontrol readback control after resuming
ranj063 Sep 24, 2018
b5cde88
ASoC: SOF: Use header struct with ext bytes put/get data and add checks
singalsu Sep 11, 2018
ea4b035
ASoC: SOF: do not reset HDA controller during suspend
ranj063 Sep 25, 2018
8befd75
ASoC: SOF: use resume instead of resume_early
ranj063 Sep 25, 2018
160b45f
ASoC: SOF: skl add cl_stream_prepare_skl v3
zhuyingjiang Sep 25, 2018
e0097b0
Revert "ASoC: SOF: use devm_kfree"
bardliao Sep 25, 2018
3f22cc6
Revert "ASoC: SOF: use devm_kzalloc"
bardliao Sep 25, 2018
323c12c
ASoC: SOF: topology: free unused item before return.
bardliao Sep 25, 2018
51ebd5d
sound: fix build on Alpha
lyakh Sep 11, 2018
abc6888
ASoC: sof: ipc: add sof_ipc_panic_info
xiulipan Sep 26, 2018
1f6c9cf
ASoC: sof: add panic info into panic dump
xiulipan Sep 26, 2018
940fa1c
ASoC: SOF: Refine registeration of platform device
RanderWang Sep 27, 2018
4180d40
ASOC: SOF: add info for hda machine driver
RanderWang Sep 27, 2018
9fd4421
ASOC: Intel: refine the type of codec_mask from u32 to unsigned long
RanderWang Sep 27, 2018
32f5efe
ASOC: Intel: refine hda machine driver to make it work with SOF
RanderWang Sep 27, 2018
1a7503c
ASoC: SOF: hda: fix posbuf not updated issue
keyonjie Sep 28, 2018
c6e4dba
ASoC: SOF: dsp: initialize traces early
Oct 3, 2018
b0f8a2b
ASOC: SOF: fix kernel panic on BYT
RanderWang Sep 30, 2018
93853cb
ASoC: SOF: do not restore kcontrols before system suspend
ranj063 Oct 4, 2018
2a28aca
ASoC: Intel: Add HDMI support to bxt_pcm512x
xiulipan Sep 27, 2018
856bb51
ASoC: SOF: set up memory windows only at first boot
ranj063 Oct 11, 2018
3309529
ASoC:SOF:skl add cldma copy firmware
zhuyingjiang Oct 9, 2018
bf67a28
ASoC: SOF: stop trace dma during suspend and re-init upon resume
ranj063 Oct 12, 2018
5300a52
ASoC: SOF: switch to unset force_ipc_position by default
keyonjie Oct 12, 2018
c250eb3
ASOC: SOF: add a workaround to detect HDA HDMI codecs
RanderWang Sep 30, 2018
4a0e72f
ASoC: SOF: fix trace resume fails issue
keyonjie Oct 17, 2018
481973c
ASoC: SOF: add sof vBE and vFE support
libinyang Sep 17, 2018
e1f6cec
ASoC: SOF: fix trace doesn't work after suspend/resume issue
keyonjie Oct 18, 2018
89bef7a
ASoC: SOF: Intel HDA: continue probe if no HDMI devices found
lrgirdwo Oct 18, 2018
34f2d7d
[SQUASHME] ASoC: SOF: topology. make widget debug verbose
lrgirdwo Oct 18, 2018
f725efa
[SQUASHME] ASoC: SOF: core. make page table debug verbose
lrgirdwo Oct 18, 2018
f4b3c30
ASoC: sof: topology: add dai direction token header
xiulipan Oct 18, 2018
c3bec6f
ASoC: sof: topology: parse direction for dai widget
xiulipan Oct 18, 2018
7ef809d
ASoC: SOF: Intel HDA - cleanup CL on SKL
lrgirdwo Oct 19, 2018
60c282c
[SQUASHME] ASoC: SOF: fix a return type error.
keyonjie Oct 22, 2018
2996b7e
SOF: Update uapi/sof-abi.h header to conform to current SOF master
akloniex Oct 9, 2018
5b39904
Revert "sound: fix build on Alpha"
plbossart Oct 23, 2018
a979c31
Revert "sound: snd_sgbuf_aligned_pages() doesn't need CONFIG_SND_DMA_…
plbossart Oct 23, 2018
57cff61
ALSA: memalloc: declare snd_sgbuf_aligned_pages() unconditionally
plbossart Jul 25, 2018
c66eb49
ALSA: memalloc: Fix missing PAGE_SIZE definition
tiwai Jul 30, 2018
3d450b4
ASoC: SOF: sof.h: fix style issues
plbossart Oct 23, 2018
67a8373
ASoC: SOF: sof-abi.h: fix style issues
plbossart Oct 23, 2018
846b558
ASoC: SOF: sof-eq.h: fix style issues
plbossart Oct 23, 2018
6da76ce
ASoC: SOF: sof-fw.h: fix style issues
plbossart Oct 23, 2018
38bcbef
ASoC: SOF: sof-ipc.h: fix style issues
plbossart Oct 23, 2018
88deb90
ASoC: SOF: sof-tone.h: fix style issues
plbossart Oct 23, 2018
a5ef040
ASoC: SOF: sof-topology.h: fix style issues
plbossart Oct 23, 2018
a5a4955
ASoC: SOF: control.c: fix style issues
plbossart Oct 23, 2018
f4fbd11
ASoC: SOF: hw-spi.c: fix style issues
plbossart Oct 23, 2018
75132f3
ASoC: SOF: hda-bus.c: fix style issues
plbossart Oct 23, 2018
7aece16
ASoC: SOF: hda-codec.c: fix style issues
plbossart Oct 23, 2018
630df0f
ASoC: SOF: hda-loader-skl.c: fix style issues
plbossart Oct 23, 2018
0ca9ff0
ASoC: SOF: hda-loader.c: fix style issues
plbossart Oct 23, 2018
7459a12
ASoC: SOF: hda-stream.c: fix style issues
plbossart Oct 23, 2018
356dd5e
ASoC: SOF: hda.c: fix style issues
plbossart Oct 23, 2018
4193dd7
ASoC: SOF: hda.h: fix style issues
plbossart Oct 23, 2018
37eabe4
ASoC: SOF: ops.h: fix style issues
plbossart Oct 23, 2018
19fbfb0
ASoC: SOF: sof-priv.h: fix style issues
plbossart Oct 23, 2018
ccaa1bb
ASoC: SOF: sof-priv.h: fix style issues
plbossart Oct 23, 2018
f677a1a
ASoC: SOF: virtio-miscdev.h: fix style issues
plbossart Oct 23, 2018
51c855f
ASoC: SOF: ipc: align pm_core_config with firmware
plbossart Oct 23, 2018
6c3c420
ASoC: SOF: ipc: align ssp_config with firmware
plbossart Oct 23, 2018
e05df1f
ASoC: SOF: ipc: align eq_config with firmware
plbossart Oct 23, 2018
3ead65e
ASoC: SOF: ipc: align ipc_pipe config with firmware
plbossart Oct 23, 2018
1c56e46
ASoC: SOF: ipc: align fw_version with firmware
plbossart Oct 23, 2018
f7f73dd
Revert "ASoC: SOF: virtio-miscdev.h: fix style issues"
plbossart Oct 24, 2018
23f507e
Revert "ASoC: SOF: add sof vBE and vFE support"
plbossart Oct 24, 2018
a9f7fed
ASoC: Intel: Boards: Add GLK Realtek Maxim I2S machine driver
naveen-manohar Jul 11, 2018
cc28c37
ASoC: Intel: common: Add Geminilake Dialog+Maxim machine driver entry
naveen-manohar Jun 18, 2018
5d6bc7c
ASoC: Intel: boards: reorder Kconfig
plbossart Oct 24, 2018
ab0114e
ASoC: rt5682: add rt5682 codec driver
Jun 7, 2018
37b4102
ASoC: rt5682: use devm_snd_soc_register_component()
Jun 22, 2018
6a8f621
ASoC: rt5682: add button detection mode control
Jul 3, 2018
f341ebc
ASoC: rt5682: Update calibration function
shumingfan Aug 24, 2018
bad7ef5
ASoC: rt5682: Change DAC/ADC volume scale
shumingfan Aug 24, 2018
5121c8d
ASoC: rt5682: Improve HP performance
shumingfan Sep 18, 2018
3d3ba72
ASoC: rt5682: Remove HP volume control
shumingfan Sep 18, 2018
18ad685
ASoC: rt5682: Update calibration function
shumingfan Sep 18, 2018
a3a6553
ASoC: rt5682: Fix the boost volume at the begining of playback
shumingfan Sep 18, 2018
fe8404a
ASoC: rt5682: Minor code modification
shumingfan Sep 18, 2018
03cadf8
ASoC: Intel: common: add SOF information for APL RVP
bardliao Oct 26, 2018
7dab9e5
ASoC:SOF remove duplicated defines
zhuyingjiang Oct 28, 2018
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
50 changes: 50 additions & 0 deletions Documentation/devicetree/bindings/sound/rt5682.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
RT5682 audio CODEC

This device supports I2C only.

Required properties:

- compatible : "realtek,rt5682" or "realtek,rt5682i"

- reg : The I2C address of the device.

Optional properties:

- interrupts : The CODEC's interrupt output.

- realtek,dmic1-data-pin
0: dmic1 is not used
1: using GPIO2 pin as dmic1 data pin
2: using GPIO5 pin as dmic1 data pin

- realtek,dmic1-clk-pin
0: using GPIO1 pin as dmic1 clock pin
1: using GPIO3 pin as dmic1 clock pin

- realtek,jd-src
0: No JD is used
1: using JD1 as JD source

- realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.

Pins on the device (for linking into audio routes) for RT5682:

* DMIC L1
* DMIC R1
* IN1P
* HPOL
* HPOR

Example:

rt5682 {
compatible = "realtek,rt5682i";
reg = <0x1a>;
interrupt-parent = <&gpio>;
interrupts = <TEGRA_GPIO(U, 6) GPIO_ACTIVE_HIGH>;
realtek,ldo1-en-gpios =
<&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
realtek,dmic1-data-pin = <1>;
realtek,dmic1-clk-pin = <1>;
realtek,jd-src = <1>;
};
1 change: 1 addition & 0 deletions arch/arm/boot/dts/bcm2836-rpi-2-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "bcm2835-rpi.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-usb-host.dtsi"
//#include "bcm283x-rpi-sof.dtsi"

/ {
compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
Expand Down
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/bcm283x-rpi-sof.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// FIXME: which SPI bus is the card connected to?
@spi {
status = "okay";

sue-creek: sof-sue-creek@0 {
reg = <0>;
compatible = "sof,spi-sue-creek";
// FIXME: frequency value
spi-max-frequency = <54000000>;
fw_filename = "intel/sof-spi.ri";
tplg_filename = "intel/sof-spi.tplg";
// FIXME: GPIO controller and IRQ number and sense
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
irq-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
};
};
2 changes: 2 additions & 0 deletions drivers/acpi/blacklist.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static int __init dmi_enable_rev_override(const struct dmi_system_id *d)

static const struct dmi_system_id acpi_rev_dmi_table[] __initconst = {
#ifdef CONFIG_ACPI_REV_OVERRIDE_POSSIBLE
#if !IS_ENABLED(CONFIG_SND_SOC_SOF_INTEL)
/*
* DELL XPS 13 (2015) switches sound between HDA and I2S
* depending on the ACPI _REV callback. If userspace supports
Expand All @@ -105,6 +106,7 @@ static const struct dmi_system_id acpi_rev_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"),
},
},
#endif
{
.callback = dmi_enable_rev_override,
.ident = "DELL Precision 5520",
Expand Down
2 changes: 2 additions & 0 deletions sound/pci/hda/hda_codec.h → include/sound/hda_codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ struct hda_codec {
*/
int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card,
unsigned int codec_addr, struct hda_codec **codecp);
int snd_hda_codec_device_new(struct hda_bus *bus, struct snd_card *card,
unsigned int codec_addr, struct hda_codec *codec);
int snd_hda_codec_configure(struct hda_codec *codec);
int snd_hda_codec_update_widgets(struct hda_codec *codec);

Expand Down
30 changes: 30 additions & 0 deletions include/sound/hdaudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@ struct hdac_driver {
const struct hda_device_id *id_table;
int (*match)(struct hdac_device *dev, struct hdac_driver *drv);
void (*unsol_event)(struct hdac_device *dev, unsigned int event);

/* fields used by ext bus APIs */
int (*probe)(struct hdac_device *dev);
int (*remove)(struct hdac_device *dev);
void (*shutdown)(struct hdac_device *dev);
};

#define drv_to_hdac_driver(_drv) container_of(_drv, struct hdac_driver, driver)
Expand All @@ -208,6 +213,14 @@ struct hdac_bus_ops {
int (*link_power)(struct hdac_bus *bus, bool enable);
};

/*
* ops used for ASoC HDA codec drivers
*/
struct hdac_ext_bus_ops {
int (*hdev_attach)(struct hdac_device *hdev);
int (*hdev_detach)(struct hdac_device *hdev);
};

/*
* Lowlevel I/O operators
*/
Expand Down Expand Up @@ -250,11 +263,17 @@ struct hdac_rb {
* @mlcap: MultiLink capabilities pointer
* @gtscap: gts capabilities pointer
* @drsmcap: dma resume capabilities pointer
* @num_streams: streams supported
* @idx: HDA link index
* @hlink_list: link list of HDA links
* @lock: lock for link mgmt
* @cmd_dma_state: state of cmd DMAs: CORB and RIRB
*/
struct hdac_bus {
struct device *dev;
const struct hdac_bus_ops *ops;
const struct hdac_io_ops *io_ops;
const struct hdac_ext_bus_ops *ext_ops;

/* h/w resources */
unsigned long addr;
Expand Down Expand Up @@ -317,6 +336,16 @@ struct hdac_bus {
/* i915 component interface */
struct i915_audio_component *audio_component;
int i915_power_refcount;

/* parameters required for enhanced capabilities */
int num_streams;
int idx;

struct list_head hlink_list;

struct mutex lock;
bool cmd_dma_state;

};

int snd_hdac_bus_init(struct hdac_bus *bus, struct device *dev,
Expand All @@ -332,6 +361,7 @@ void snd_hdac_bus_queue_event(struct hdac_bus *bus, u32 res, u32 res_ex);
int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
void snd_hdac_bus_remove_device(struct hdac_bus *bus,
struct hdac_device *codec);
void snd_hdac_bus_process_unsol_events(struct work_struct *work);

static inline void snd_hdac_codec_link_up(struct hdac_device *codec)
{
Expand Down
123 changes: 29 additions & 94 deletions include/sound/hdaudio_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,16 @@

#include <sound/hdaudio.h>

/**
* hdac_ext_bus: HDAC extended bus for extended HDA caps
*
* @bus: hdac bus
* @num_streams: streams supported
* @hlink_list: link list of HDA links
* @lock: lock for link mgmt
* @cmd_dma_state: state of cmd DMAs: CORB and RIRB
*/
struct hdac_ext_bus {
struct hdac_bus bus;
int num_streams;
int idx;

struct list_head hlink_list;

struct mutex lock;
bool cmd_dma_state;
};

int snd_hdac_ext_bus_init(struct hdac_ext_bus *sbus, struct device *dev,
int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
const struct hdac_bus_ops *ops,
const struct hdac_io_ops *io_ops);
const struct hdac_io_ops *io_ops,
const struct hdac_ext_bus_ops *ext_ops);

void snd_hdac_ext_bus_exit(struct hdac_ext_bus *sbus);
int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *sbus, int addr);
void snd_hdac_ext_bus_exit(struct hdac_bus *bus);
int snd_hdac_ext_bus_device_init(struct hdac_bus *bus, int addr,
struct hdac_device *hdev);
void snd_hdac_ext_bus_device_exit(struct hdac_device *hdev);
void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus);

#define ebus_to_hbus(ebus) (&(ebus)->bus)
#define hbus_to_ebus(_bus) \
container_of(_bus, struct hdac_ext_bus, bus)
void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus);

#define HDA_CODEC_REV_EXT_ENTRY(_vid, _rev, _name, drv_data) \
{ .vendor_id = (_vid), .rev_id = (_rev), .name = (_name), \
Expand All @@ -44,14 +22,14 @@ void snd_hdac_ext_bus_device_remove(struct hdac_ext_bus *ebus);
#define HDA_CODEC_EXT_ENTRY(_vid, _revid, _name, _drv_data) \
HDA_CODEC_REV_EXT_ENTRY(_vid, _revid, _name, _drv_data)

void snd_hdac_ext_bus_ppcap_enable(struct hdac_ext_bus *chip, bool enable);
void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_ext_bus *chip, bool enable);
void snd_hdac_ext_bus_ppcap_enable(struct hdac_bus *chip, bool enable);
void snd_hdac_ext_bus_ppcap_int_enable(struct hdac_bus *chip, bool enable);

void snd_hdac_ext_stream_spbcap_enable(struct hdac_ext_bus *chip,
void snd_hdac_ext_stream_spbcap_enable(struct hdac_bus *chip,
bool enable, int index);

int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_ext_bus *bus);
struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_ext_bus *bus,
int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus);
struct hdac_ext_link *snd_hdac_ext_bus_get_link(struct hdac_bus *bus,
const char *codec_name);

enum hdac_ext_stream_type {
Expand Down Expand Up @@ -100,28 +78,28 @@ struct hdac_ext_stream {
#define stream_to_hdac_ext_stream(s) \
container_of(s, struct hdac_ext_stream, hstream)

void snd_hdac_ext_stream_init(struct hdac_ext_bus *bus,
void snd_hdac_ext_stream_init(struct hdac_bus *bus,
struct hdac_ext_stream *stream, int idx,
int direction, int tag);
int snd_hdac_ext_stream_init_all(struct hdac_ext_bus *ebus, int start_idx,
int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx,
int num_stream, int dir);
void snd_hdac_stream_free_all(struct hdac_ext_bus *ebus);
void snd_hdac_link_free_all(struct hdac_ext_bus *ebus);
struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_ext_bus *bus,
void snd_hdac_stream_free_all(struct hdac_bus *bus);
void snd_hdac_link_free_all(struct hdac_bus *bus);
struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus,
struct snd_pcm_substream *substream,
int type);
void snd_hdac_ext_stream_release(struct hdac_ext_stream *azx_dev, int type);
void snd_hdac_ext_stream_decouple(struct hdac_ext_bus *bus,
void snd_hdac_ext_stream_decouple(struct hdac_bus *bus,
struct hdac_ext_stream *azx_dev, bool decouple);
void snd_hdac_ext_stop_streams(struct hdac_ext_bus *sbus);
void snd_hdac_ext_stop_streams(struct hdac_bus *bus);

int snd_hdac_ext_stream_set_spib(struct hdac_ext_bus *ebus,
int snd_hdac_ext_stream_set_spib(struct hdac_bus *bus,
struct hdac_ext_stream *stream, u32 value);
int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_ext_bus *ebus,
int snd_hdac_ext_stream_get_spbmaxfifo(struct hdac_bus *bus,
struct hdac_ext_stream *stream);
void snd_hdac_ext_stream_drsm_enable(struct hdac_ext_bus *ebus,
void snd_hdac_ext_stream_drsm_enable(struct hdac_bus *bus,
bool enable, int index);
int snd_hdac_ext_stream_set_dpibr(struct hdac_ext_bus *ebus,
int snd_hdac_ext_stream_set_dpibr(struct hdac_bus *bus,
struct hdac_ext_stream *stream, u32 value);
int snd_hdac_ext_stream_set_lpib(struct hdac_ext_stream *stream, u32 value);

Expand All @@ -144,17 +122,15 @@ struct hdac_ext_link {

int snd_hdac_ext_bus_link_power_up(struct hdac_ext_link *link);
int snd_hdac_ext_bus_link_power_down(struct hdac_ext_link *link);
int snd_hdac_ext_bus_link_power_up_all(struct hdac_ext_bus *ebus);
int snd_hdac_ext_bus_link_power_down_all(struct hdac_ext_bus *ebus);
int snd_hdac_ext_bus_link_power_up_all(struct hdac_bus *bus);
int snd_hdac_ext_bus_link_power_down_all(struct hdac_bus *bus);
void snd_hdac_ext_link_set_stream_id(struct hdac_ext_link *link,
int stream);
void snd_hdac_ext_link_clear_stream_id(struct hdac_ext_link *link,
int stream);

int snd_hdac_ext_bus_link_get(struct hdac_ext_bus *ebus,
struct hdac_ext_link *link);
int snd_hdac_ext_bus_link_put(struct hdac_ext_bus *ebus,
struct hdac_ext_link *link);
int snd_hdac_ext_bus_link_get(struct hdac_bus *bus, struct hdac_ext_link *link);
int snd_hdac_ext_bus_link_put(struct hdac_bus *bus, struct hdac_ext_link *link);

/* update register macro */
#define snd_hdac_updatel(addr, reg, mask, val) \
Expand All @@ -181,53 +157,12 @@ struct hda_dai_map {
u32 maxbps;
};

#define HDA_MAX_NIDS 16

/**
* struct hdac_ext_device - HDAC Ext device
*
* @hdac: hdac core device
* @nid_list - the dai map which matches the dai-name with the nid
* @map_cur_idx - the idx in use in dai_map
* @ops - the hda codec ops common to all codec drivers
* @pvt_data - private data, for asoc contains asoc codec object
*/
struct hdac_ext_device {
struct hdac_device hdev;
struct hdac_ext_bus *ebus;

/* soc-dai to nid map */
struct hda_dai_map nid_list[HDA_MAX_NIDS];
unsigned int map_cur_idx;

/* codec ops */
struct hdac_ext_codec_ops ops;

struct snd_card *card;
void *scodec;
void *private_data;
};

struct hdac_ext_dma_params {
u32 format;
u8 stream_tag;
};
#define to_ehdac_device(dev) (container_of((dev), \
struct hdac_ext_device, hdev))
/*
* HD-audio codec base driver
*/
struct hdac_ext_driver {
struct hdac_driver hdac;

int (*probe)(struct hdac_ext_device *dev);
int (*remove)(struct hdac_ext_device *dev);
void (*shutdown)(struct hdac_ext_device *dev);
};

int snd_hda_ext_driver_register(struct hdac_ext_driver *drv);
void snd_hda_ext_driver_unregister(struct hdac_ext_driver *drv);

#define to_ehdac_driver(_drv) container_of(_drv, struct hdac_ext_driver, hdac)
int snd_hda_ext_driver_register(struct hdac_driver *drv);
void snd_hda_ext_driver_unregister(struct hdac_driver *drv);

#endif /* __SOUND_HDAUDIO_EXT_H */
18 changes: 10 additions & 8 deletions include/sound/memalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#ifndef __SOUND_MEMALLOC_H
#define __SOUND_MEMALLOC_H

#include <asm/page.h>

struct device;

/*
Expand Down Expand Up @@ -67,6 +69,14 @@ struct snd_dma_buffer {
void *private_data; /* private for allocator; don't touch */
};

/*
* return the pages matching with the given byte size
*/
static inline unsigned int snd_sgbuf_aligned_pages(size_t size)
{
return (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
}

#ifdef CONFIG_SND_DMA_SGBUF
/*
* Scatter-Gather generic device pages
Expand All @@ -90,14 +100,6 @@ struct snd_sg_buf {
struct device *dev;
};

/*
* return the pages matching with the given byte size
*/
static inline unsigned int snd_sgbuf_aligned_pages(size_t size)
{
return (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
}

/*
* return the physical address at the corresponding offset
*/
Expand Down
Loading