Bard Liao
ce571b80e2
ASoC: rt5659: Separate adc 1/2 clock control
...
The control bits of ADC 1 and 2 clock are different. We have to
separate it.
Signed-off-by: Zhong An <zhongan@pinecone.net >
Signed-off-by: Bard Liao <bardliao@realtek.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2018-03-12 09:35:32 -07:00
Mark Brown
50b123087c
Merge branch 'fix/rt5659' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-rt5659
2018-03-12 09:35:26 -07:00
Bard Liao
9849ef555c
ASoC: rt5659: fix wrong bit define for ADC L2 power.
...
RT5659_PWR_ADC_L2_BIT should be 2.
Signed-off-by: Zhong An <zhongan@pinecone.net >
Signed-off-by: Bard Liao <bardliao@realtek.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2018-03-12 09:26:19 -07:00
Kuninori Morimoto
de86a33253
ASoC: rt5659: replace codec to component
...
Now we can replace Codec to Component. Let's do it.
Note:
xxx_codec_xxx() -> xxx_component_xxx()
.idle_bias_off = 1 -> .idle_bias_on = 0
.ignore_pmdown_time = 0 -> .use_pmdown_time = 1
- -> .endianness = 1
- -> .non_legacy_dai_naming = 1
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2018-02-12 09:46:15 +00:00
oder_chiou@realtek.com
041e74b714
ASoC: rt5659: Add the support of Intel HDA Header
...
The patch adds the support of Intel HDA Header.
Signed-off-by: Oder Chiou <oder_chiou@realtek.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2018-02-12 09:31:26 +00:00
Nicolin Chen
8cc123671a
ASoC: rt5659: Fix incorrect register addresses
...
According to the datasheets of Realtek ALC5658 (Rev. 0.9)
and ALC5659 (Rev. 0.13), the "IRQ Control 4" register is
located at MX-00BAh while the "IRQ control 5" register is
at MX-00BBh.
There is no "IRQ Control 6" register in the datasheets but
it is supposed to be behind the "IRQ Control 5" register.
So this patch corrects these addresses.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2016-09-14 17:54:29 +01:00
Nicolin Chen
c6f8769b03
ASoC: rt5659: Add mclk controls
...
The codec driver should control the mclk. So this patch adds this support.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Mark Brown <broonie@kernel.org >
2016-08-08 11:55:15 +01:00
Axel Lin
1ca2cf8c41
ASoC: rt5659: Fix irq leak
...
Use devm_request_threaded_irq to ensure the irq is freed when unload the
module. The rt5659->i2c is no longer used after this conversion, thus
remove it as well.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2016-01-13 12:40:56 +00:00
Bard Liao
d3cb2de247
ASoC: rt5659: add rt5659 codec driver
...
This is the initial codec driver for rt5659.
Signed-off-by: Bard Liao <bardliao@realtek.com >
Signed-off-by: Mark Brown <broonie@kernel.org >
2015-11-18 12:55:25 +00:00