ASoC: TSCS42xx: Add CCF support to get sysclk
Subsystems (4)
Steven Eckhoff
maintainerPATCH v3 3/3 ASoC: TSCS42xx: Add CCF support to get sysclk
The TSCS42xx relies on set_sysclk to get a unique clock id and rate, which
prevents it from being used with the simple-card.
Remove set_sysclk callback
Add CCF support to get clock id and rate
Add clocks and clock-names to device tree binding
--- .../devicetree/bindings/sound/tscs42xx.txt | 6 ++ sound/soc/codecs/tscs42xx.c | 104 ++++++++++++++------- sound/soc/codecs/tscs42xx.h | 2 +- 3 files changed, 75 insertions(+), 37 deletions(-)
Documentation/devicetree/bindings/sound/tscs42xx.txt +6 -0
@@ -8,9 +8,15 @@ Required Properties: - reg : <0x71> for analog mic <0x69> for digital mic + - clock-names: Must one of the following "mclk1", "xtal", "mclk2" + + - clocks: phandle of the clock that provides the codec sysclk + Example: wookie: codec@69 { compatible = "tempo,tscs42A2"; reg = <0x69>; + clock-names = "xtal"; + clocks = <&audio_xtal>; };
sound/soc/codecs/tscs42xx.c +68 -36
157 lines not on this page · raw message
sound/soc/codecs/tscs42xx.h +1 -1
@@ -7,10 +7,10 @@#define __WOOKIE_H__enum { -TSCS42XX_PLL_SRC_NONE ,TSCS42XX_PLL_SRC_XTAL ,TSCS42XX_PLL_SRC_MCLK1 ,TSCS42XX_PLL_SRC_MCLK2 , +TSCS42XX_PLL_SRC_CNT , };#define R_HPVOLL 0x0
Signature · 1 line
2.15.1
Mark Brown
maintainerQuoted 3 lines · Steven Eckhoff
The TSCS42xx relies on
set_sysclkto get a unique clock id and rate, which
prevents it from being used with the simple-card.
I'm missing patches 1 and 2 of this resend.
Steven Eckhoff
maintainerQuoted 1 line · Mark Brown
I'm missing patches 1 and 2 of this resend.
I apologize I just sent them.
Mark Brown
maintainerApplied "ASoC: TSCS42xx: Add CCF support to get sysclk" to the asoc tree
In reply to Steven EckhoffThe patch
ASoC: TSCS42xx: Add CCF support to get sysclk
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
8dc0e2a1f5c587f1afa227ec46012b92cea6d7a7Mon Sep 17 00:00:00 2001
From: Steven Eckhoff <[email protected]>
Date: Wed, 4 Apr 2018 16:49:52 -0500
Subject: [PATCH] ASoC: TSCS42xx: Add CCF support to get sysclk
The TSCS42xx relies on set_sysclk to get a unique clock id and rate, which prevents it from being used with the simple-card.
Remove set_sysclk callback
Add CCF support to get clock id and rate
Add clocks and clock-names to device tree binding
--- .../devicetree/bindings/sound/tscs42xx.txt | 6 + sound/soc/codecs/tscs42xx.c | 104 ++++++++++++------ sound/soc/codecs/tscs42xx.h | 2 +- 3 files changed, 75 insertions(+), 37 deletions(-)
Documentation/devicetree/bindings/sound/tscs42xx.txt +6 -0
@@ -8,9 +8,15 @@ Required Properties: - reg : <0x71> for analog mic <0x69> for digital mic + - clock-names: Must one of the following "mclk1", "xtal", "mclk2" + + - clocks: phandle of the clock that provides the codec sysclk + Example: wookie: codec@69 { compatible = "tempo,tscs42A2"; reg = <0x69>; + clock-names = "xtal"; + clocks = <&audio_xtal>; };
sound/soc/codecs/tscs42xx.c +68 -36
157 lines not on this page · raw message
sound/soc/codecs/tscs42xx.h +1 -1
@@ -7,10 +7,10 @@#define __WOOKIE_H__enum { -TSCS42XX_PLL_SRC_NONE ,TSCS42XX_PLL_SRC_XTAL ,TSCS42XX_PLL_SRC_MCLK1 ,TSCS42XX_PLL_SRC_MCLK2 , +TSCS42XX_PLL_SRC_CNT , };#define R_HPVOLL 0x0
Signature · 1 line
2.17.0
Mark Brown
maintainerApplied "ASoC: TSCS42xx: Add CCF support to get sysclk" to the asoc tree
In reply to Steven EckhoffThe patch
ASoC: TSCS42xx: Add CCF support to get sysclk
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
8dc0e2a1f5c587f1afa227ec46012b92cea6d7a7Mon Sep 17 00:00:00 2001
From: Steven Eckhoff <[email protected]>
Date: Wed, 4 Apr 2018 16:49:52 -0500
Subject: [PATCH] ASoC: TSCS42xx: Add CCF support to get sysclk
The TSCS42xx relies on set_sysclk to get a unique clock id and rate, which prevents it from being used with the simple-card.
Remove set_sysclk callback
Add CCF support to get clock id and rate
Add clocks and clock-names to device tree binding
--- .../devicetree/bindings/sound/tscs42xx.txt | 6 + sound/soc/codecs/tscs42xx.c | 104 ++++++++++++------ sound/soc/codecs/tscs42xx.h | 2 +- 3 files changed, 75 insertions(+), 37 deletions(-)
Documentation/devicetree/bindings/sound/tscs42xx.txt +6 -0
@@ -8,9 +8,15 @@ Required Properties: - reg : <0x71> for analog mic <0x69> for digital mic + - clock-names: Must one of the following "mclk1", "xtal", "mclk2" + + - clocks: phandle of the clock that provides the codec sysclk + Example: wookie: codec@69 { compatible = "tempo,tscs42A2"; reg = <0x69>; + clock-names = "xtal"; + clocks = <&audio_xtal>; };
sound/soc/codecs/tscs42xx.c +68 -36
157 lines not on this page · raw message
sound/soc/codecs/tscs42xx.h +1 -1
@@ -7,10 +7,10 @@#define __WOOKIE_H__enum { -TSCS42XX_PLL_SRC_NONE ,TSCS42XX_PLL_SRC_XTAL ,TSCS42XX_PLL_SRC_MCLK1 ,TSCS42XX_PLL_SRC_MCLK2 , +TSCS42XX_PLL_SRC_CNT , };#define R_HPVOLL 0x0
Signature · 1 line
2.17.0