This add the following three new properties documenting and usage
for simple card:
simple-audio-card,name,
simple-audio-card,widgets,
simple-audio-card,tdm-slot.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Documentation/devicetree/bindings/sound/simple-card.txt
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Since sometimes the 'config' parameter is no use, it should be NULL.
Signed-off-by: Xiubo Li
---
drivers/base/regmap/regmap.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index c2e0021..737b874
Signed-off-by: Xiubo Li
Cc: Nicolin Chen
---
sound/soc/fsl/fsl_sai.c | 243 +---
sound/soc/fsl/fsl_sai.h | 47 +-
2 files changed, 150 insertions(+), 140 deletions(-)
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Nicolin Chen guangyu.c...@freescale.com
---
sound/soc/fsl/fsl_sai.c | 243 +---
sound/soc/fsl/fsl_sai.h | 47 +-
2 files changed, 150 insertions(+), 140 deletions(-)
diff --git a/sound/soc/fsl
Since sometimes the 'config' parameter is no use, it should be NULL.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/base/regmap/regmap.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index
Make it easier for generic code to work with set_tdm_slot() by distinguishing
between the operation not being supported and an error as is done.
Signed-off-by: Xiubo Li
---
sound/soc/soc-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/soc-core.c b/sound/soc
New and Resend the old patches basing the newest code version.
And this patch series has been tested based the VF610 Tower board.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd.
Here do the check like set_fmt().
Signed-off-by: Xiubo Li
---
The VF610 Tower and VF610 LS1 platforms' ESAI and SPDIF will depend on this
patch too.
sound/soc/generic/simple-card.c | 17 +++--
1
before
_set_fmt().
And this will be more easy to add new functions, such as supporting
_set_tdm_slot(), etc.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sou
Signed-off-by: Xiubo Li
---
sound/soc/fsl/Kconfig | 24
1 file changed, 24 insertions(+)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 324988d..bc1fa9c 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -219,3 +219,27 @@ config
le-audio-widgets =
"Mic Jack", "Line In Jack",
"Hp Jack", "Spk Ext",
"Line Out Jack";
Signed-off-by: Xiubo Li
---
Add :
widgets[i].name = wname;
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 8
1 file changed, 8 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index d067e0a..4b7ef4d 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
For some CPU/CODEC DAI devices the tdm slot maybe needed. This patch
adds the tdm slot supporting for simple-card driver.
The style of the tdm slot in DT:
For instance:
simple-tdm-slot = <0xffc 0xffc 2 0>;
Signed-off-by: Xiubo Li
---
The VF610 Tower and VF610 LS1 pla
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li li.xi...@freescale.com
For some CPU/CODEC DAI devices the tdm slot maybe needed. This patch
adds the tdm slot supporting for simple-card driver.
The style of the tdm slot in DT:
For instance:
simple-tdm-slot = 0xffc 0xffc 2 0;
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
The VF610 Tower
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 8
1 file changed, 8 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index d067e0a..4b7ef4d 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc
Ext,
Line Out Jack;
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Add :
widgets[i].name = wname;
And this will use the widget name from DT node.
include/sound/soc.h | 2 ++
sound/soc/soc-core.c | 63
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 24
1 file changed, 24 insertions(+)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 324988d..bc1fa9c 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -219,3
New and Resend the old patches basing the newest code version.
And this patch series has been tested based the VF610 Tower board.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at
If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd.
Here do the check like set_fmt().
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
The VF610 Tower and VF610 LS1 platforms' ESAI and SPDIF will depend on this
patch too.
sound/soc/generic/simple-card.c | 17
().
And this will be more easy to add new functions, such as supporting
_set_tdm_slot(), etc.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/sound/soc/generic/simple
Make it easier for generic code to work with set_tdm_slot() by distinguishing
between the operation not being supported and an error as is done.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc
() and __of_add_property() instead and
move them into lock operations.
Signed-off-by: Xiubo Li
Cc: Pantelis Antoniou
---
drivers/of/base.c | 36 ++--
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index b86b77a..458072d
There two places will use the same code for adding one new property to
the DT node. Adding __of_add_property() and prepare for fixing
of_update_property()'s bug.
Signed-off-by: Xiubo Li
---
drivers/of/base.c | 38 --
1 file changed, 24 insertions(+), 14
() and __of_add_property() instead and
move them into lock operations.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Pantelis Antoniou pa...@antoniou-consulting.com
---
drivers/of/base.c | 36 ++--
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/drivers
There two places will use the same code for adding one new property to
the DT node. Adding __of_add_property() and prepare for fixing
of_update_property()'s bug.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/of/base.c | 38 --
1 file changed, 24
-by: Xiubo Li
---
drivers/of/base.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index f807d0e..d0c53bc 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1572,6 +1572,7 @@ int of_update_property(struct device_node *np, struct
Makes the code slightly shorter
Signed-off-by: Xiubo Li
---
sound/soc/soc-generic-dmaengine-pcm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/soc-generic-dmaengine-pcm.c
b/sound/soc/soc-generic-dmaengine-pcm.c
index 5bace12..bfb012f 100644
--- a/sound/soc
Since the soc generic dmaengine pcm driver allows using the defualt settings,
so the pcm->config maybe NULL.
Signed-off-by: Xiubo Li
---
sound/soc/soc-generic-dmaengine-pcm.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/sound/soc/soc-generic-dmaengine-pcm.c
Since the soc generic dmaengine pcm driver allows using the defualt settings,
so the pcm-config maybe NULL.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-generic-dmaengine-pcm.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/sound/soc/soc-generic
Makes the code slightly shorter
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-generic-dmaengine-pcm.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sound/soc/soc-generic-dmaengine-pcm.c
b/sound/soc/soc-generic-dmaengine-pcm.c
index 5bace12..bfb012f
-by: Xiubo Li li.xi...@freescale.com
---
drivers/of/base.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index f807d0e..d0c53bc 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1572,6 +1572,7 @@ int of_update_property(struct
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li
---
Resend
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li
---
sound/soc
before
set_fmt().
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index b6014fe..0e2fbdd 100644
--- a/sound/soc/generic/simple-card.c
If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd.
Here do the check like set_fmt().
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/sound/soc/generic/simple-card.c
If the CPU/CODEC DAI set_sysclk() is not support, the -ENOTSUPP will returnd.
Here do the check like set_fmt().
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/sound/soc
().
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index b6014fe..0e2fbdd 100644
--- a/sound/soc/generic
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li li.xi...@freescale.com
If the DT is used and the CPU DAI device has only one DAI, the card
name will be like :
ALSA device list:
0: 40031000.sai-sgtl5000
And this name maybe a little ugly to some customers, so here the
card name parsing from DT node is supported.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Since the devm_gen_pool_create() is used, so the gen_pool_destroy()
here is redundant.
Signed-off-by: Xiubo Li
---
drivers/misc/sram.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index afe66571..e3e421d 100644
--- a/drivers/misc/sram.c
+++ b
le-audio-widgets =
"Mic Jack", "Line In Jack",
"Hp Jack", "Spk Ext",
"Line Out Jack";
Signed-off-by: Xiubo Li
---
include/sound/soc.h | 2 ++
sound/soc/soc-core.c | 62 +++
Ext,
Line Out Jack;
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h | 2 ++
sound/soc/soc-core.c | 62
2 files changed, 64 insertions(+)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 03ce45b
Since the devm_gen_pool_create() is used, so the gen_pool_destroy()
here is redundant.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/misc/sram.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index afe66571..e3e421d 100644
.
And now only one DAI link is supported for simple card.
Suggested-by: Jean-Francois Moine
Signed-off-by: Xiubo Li
---
include/sound/simple_card.h | 4 --
sound/soc/generic/simple-card.c | 115 +---
2 files changed, 60 insertions(+), 59 deletions(-)
diff
It's a bug that writing to the platform data directly, for it should
be constant. So just copy it before writing.
Signed-off-by: Xiubo Li
---
Resend this patch.
sound/soc/generic/simple-card.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions
Remove asoc_simple_get_card_info macro and use snd_soc_card_set_drvdata
and snd_soc_card_get_drvdata instead.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc
Remove asoc_simple_get_card_info macro and use snd_soc_card_set_drvdata
and snd_soc_card_get_drvdata instead.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/generic/simple
It's a bug that writing to the platform data directly, for it should
be constant. So just copy it before writing.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Resend this patch.
sound/soc/generic/simple-card.c | 40 +---
1 file changed, 21 insertions
.
And now only one DAI link is supported for simple card.
Suggested-by: Jean-Francois Moine moin...@free.fr
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/simple_card.h | 4 --
sound/soc/generic/simple-card.c | 115 +---
2 files changed, 60
Signed-off-by: Xiubo Li
---
Documentation/devicetree/bindings/sound/simple-card.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt
b/Documentation/devicetree/bindings/sound/simple-card.txt
index e9e20ec..01eb2d0 100644
This patch adds and enables SGTL5000 codec support, and also specified
the corresponding SAI node.
Signed-off-by: Xiubo Li
---
arch/arm/boot/dts/vf610-twr.dts | 47 +
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch
This patch series is one use case of simple card driver based on dts.
For some audio cards they need to add some off-CODEC widgets. For the
audio card, if it needs off-CODEC widgets, some explict code for a
simple audio is needed, if not, just ignore of this.
This can make the audio card driver
This will be need for some audio card, which maybe using the simple
card and the off-CODEC widgets is needed.
Signed-off-by: Xiubo Li
---
include/sound/soc.h | 10 ++
sound/soc/soc-core.c | 39 +++
2 files changed, 49 insertions(+)
diff --git
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index b7dc63e..dbd93cc 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
This is the SGTL5000 codec based off-CODEC widgets supports.
Signed-off-by: Xiubo Li
---
sound/soc/fsl/Kconfig | 25 ++
sound/soc/fsl/Makefile| 3 +++
sound/soc/fsl/snd-soc-simple-card-vf610.c | 43 +++
3 files
Add widgets list getting.
Signed-off-by: Xiubo Li
---
include/sound/soc.h | 1 +
sound/soc/soc-core.c | 31 +++
2 files changed, 32 insertions(+)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 23f9572..f352333 100644
--- a/include/sound/soc.h
+++ b
t state of the 'status' property.
So this add the device node check before checking the 'status' property's
state, and if the device node is not exist, 0 will be returned.
Signed-off-by: Xiubo Li
---
drivers/of/base.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/of/base.c b/d
' property.
So this add the device node check before checking the 'status' property's
state, and if the device node is not exist, 0 will be returned.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/of/base.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/of/base.c b
Add widgets list getting.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h | 1 +
sound/soc/soc-core.c | 31 +++
2 files changed, 32 insertions(+)
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 23f9572..f352333 100644
This is the SGTL5000 codec based off-CODEC widgets supports.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 25 ++
sound/soc/fsl/Makefile| 3 +++
sound/soc/fsl/snd-soc-simple-card-vf610.c | 43
This will be need for some audio card, which maybe using the simple
card and the off-CODEC widgets is needed.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h | 10 ++
sound/soc/soc-core.c | 39 +++
2 files changed, 49 insertions
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index b7dc63e..dbd93cc 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Documentation/devicetree/bindings/sound/simple-card.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt
b/Documentation/devicetree/bindings/sound/simple-card.txt
index e9e20ec
This patch adds and enables SGTL5000 codec support, and also specified
the corresponding SAI node.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 47 +
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts
This patch series is one use case of simple card driver based on dts.
For some audio cards they need to add some off-CODEC widgets. For the
audio card, if it needs off-CODEC widgets, some explict code for a
simple audio is needed, if not, just ignore of this.
This can make the audio card driver
Fix the usage of simple card widgets routing property, and make it the
same with simple card routing property name.
Signed-off-by: Xiubo Li
---
Documentation/devicetree/bindings/sound/simple-card.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree
It's a bug that writing to the platform data directly, for it should
be constant. So just copy it before writing.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/sound/soc
SAIs that are not connected on the board should have a
status = "disabled" property in their device tree nodes.
Signed-off-by: Xiubo Li
---
sound/soc/fsl/fsl_sai.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index cdd3fa
If the dt is used and the cinfo is NULL, the -ENOMEM should be return.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 51a4784
If the dt is not used, the cinfo will be always NULL before using it.
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index c67d2db..51a4784 100644
If the dt is not used, the cinfo will be always NULL before using it.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index
If the dt is used and the cinfo is NULL, the -ENOMEM should be return.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple
It's a bug that writing to the platform data directly, for it should
be constant. So just copy it before writing.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions
SAIs that are not connected on the board should have a
status = disabled property in their device tree nodes.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/fsl_sai.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index
Fix the usage of simple card widgets routing property, and make it the
same with simple card routing property name.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Documentation/devicetree/bindings/sound/simple-card.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
For many audio cards there need to add some off-CODEC widgets, and this
is hard to be supported by dts only, because maybe some widgets need one
or more call backs, such as wevent.
Signed-off-by: Xiubo Li
---
.../devicetree/bindings/sound/simple-card.txt | 1 +
include/sound/simple_card.h
This is the SGTL5000 codec based off-CODEC widgets supports.
Signed-off-by: Xiubo Li
---
sound/soc/fsl/Kconfig | 25 ++
sound/soc/fsl/Makefile| 3 +++
sound/soc/fsl/snd-soc-simple-card-vf610.c | 44 +++
3 files
This patch adds and enables SGTL5000 codec support, and also specified
the corresponding SAI node.
Signed-off-by: Xiubo Li
---
arch/arm/boot/dts/vf610-twr.dts | 47 +
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch
Signed-off-by: Xiubo Li
---
sound/soc/generic/simple-card.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index e473dc9..e7cd9bb 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/generic/simple-card.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index e473dc9..e7cd9bb 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc
This patch adds and enables SGTL5000 codec support, and also specified
the corresponding SAI node.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 47 +
1 file changed, 47 insertions(+)
diff --git a/arch/arm/boot/dts
This is the SGTL5000 codec based off-CODEC widgets supports.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 25 ++
sound/soc/fsl/Makefile| 3 +++
sound/soc/fsl/snd-soc-simple-card-vf610.c | 44
For many audio cards there need to add some off-CODEC widgets, and this
is hard to be supported by dts only, because maybe some widgets need one
or more call backs, such as wevent.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
.../devicetree/bindings/sound/simple-card.txt | 1
This adds the binding documentation for Freescale FlexTimer Module
(FTM) PWM driver under Documentation/devicetree/bindings/pwm/.
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Acked-by: Kumar Gala
---
For this version I just removed the big-endian mode support, and will add it
in later
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
---
No changes since v7.
arch/arm/boot/dts/vf610-twr.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index c3a3237..d5c6a39 100644
--- a/arch/arm/boot/dts
This adds devicetree node for VF610, and there are 8 channels
supported.
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
---
No changes since v7.
arch/arm/boot/dts/vf610.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot
The FTM PWM device can be found on Vybrid VF610 Tower and
Layerscape LS-1 SoCs.
Signed-off-by: Xiubo Li
---
Hi Thierry,
For this version I just removed the big-endian mode support, and will add it
in later separate patches.
Changes in v9:
- Remove the big-endian mode support.
Changes
The FTM PWM device can be found on Vybrid VF610 Tower and
Layerscape LS-1 SoCs.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Hi Thierry,
For this version I just removed the big-endian mode support, and will add it
in later separate patches.
Changes in v9:
- Remove the big-endian mode
This adds devicetree node for VF610, and there are 8 channels
supported.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
No changes since v7.
arch/arm/boot/dts/vf610.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
No changes since v7.
arch/arm/boot/dts/vf610-twr.dts | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index c3a3237
This adds the binding documentation for Freescale FlexTimer Module
(FTM) PWM driver under Documentation/devicetree/bindings/pwm/.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
Acked-by: Kumar Gala ga...@codeaurora.org
---
For this version I just
Use devm_kcalloc instead of kzalloc to free automatically and make
the cleanup paths simpler and the code slightly shorter.
Signed-off-by: Xiubo Li
---
Changed in v2:
- Use devm_kcalloc instead of devm_kzalloc.
Changed in v1:
- Use devm_kzalloc instead of kzalloc.
drivers/pwm/core.c | 4
Use devm_kzalloc instead of kzalloc to free automatically and make
the cleanup paths simpler and the code slightly shorter.
Signed-off-by: Xiubo Li
---
drivers/pwm/core.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
index
-by: Xiubo Li
---
Documentation/devicetree/bindings/sound/simple-card.txt | 2 +-
sound/soc/generic/simple-card.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt
b/Documentation/devicetree
The simple-card's DAPM route maping is optional.
Signed-off-by: Xiubo Li
---
Resend this patch.
sound/soc/generic/simple-card.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index c0d92813
The simple-card's DAPM route maping is optional.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
Resend this patch.
sound/soc/generic/simple-card.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
-by: Xiubo Li li.xi...@freescale.com
---
Documentation/devicetree/bindings/sound/simple-card.txt | 2 +-
sound/soc/generic/simple-card.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt
b
701 - 800 of 1058 matches
Mail list logo