to comment the dt bindinds.
This patch series is based on linux-next and has been tested on Vybrid VF610TWR
board using device tree.
Best Regards,
Xiubo Li
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..6f93d8d 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
.../devicetree/bindings/pwm/fsl-ftm-pwm.txt| 52 ++
1 file changed, 52 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/fsl-ftm-pwm.txt
diff --git a/Documentation/devicetree/bindings/pwm/fsl-ftm
Add freescale ftm pwm driver support. The ftm pwm device
can be found on Vybrid VF610 and Layerscape LS-1 SoCs.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Signed-off-by: Jingchang Lu b35...@freescale.com
---
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 83 +++-
1 file changed, 82 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 67d929c..b3a0b6e 100644
--- a/arch/arm
This adds the Document for Freescale FTM PWM driver under
Documentation/devicetree/bindings/pwm/.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
.../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 36 ++
1 file changed, 36 insertions(+)
create mode 100644 Documentation
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
Signed-off-by: Jingchang Lu b35...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1
Selecting system clock as the counter source clock by default.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index
Hello,
This patch series is the Freescale FTM PWM implementation. And there are 8
channels most supported by the FTM PWM. This implementation is only compatible
with device tree definition.
This patch series is based on linux-next and has been tested on Vybrid VF610
Tower board using device
This adds devicetree node for VF610, and there are 8 channels supported
by default.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 83 +++-
1 file changed, 82 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
This patch series is mostly Freescale's SAI SoC Digital Audio Interface driver
implementation. And the implementation is only compatible with device tree
definition.
This patch series is based on linux-next and has been tested on Vybrid VF610
Tower board using device tree.
Added in v1:
- Add
-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 19 ++
sound/soc/fsl/Makefile | 7 +
sound/soc/fsl/fsl-pcm-dma.c | 51 +
sound/soc/fsl/fsl-sai.c | 515
sound/soc/fsl/fsl-sai.h | 127 +++
5 files changed
When the CONFIG_REGULATOR is disabled there will be some warnings
printed out.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/sgtl5000.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000
This patch add the SAI's edma mux Tx and Rx support.
Signed-off-by: Jingchang Lu b35...@freescale.com
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm
This adds the Document for Freescale SAI driver under
Documentation/devicetree/bindings/sound/.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
.../devicetree/bindings/sound/fsl-sai.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644 Documentation
This is the SGTl5000 codec based audio driver supported with both
playback and capture dai link implemention.
This implementation is only compatible with device tree definition.
Signed-off-by: Alison Wang b18...@freescale.com
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl
This adds the Document for Freescale VF610 sound driver under
Documentation/devicetree/bindings/sound/.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
.../devicetree/bindings/sound/fsl-sgtl5000.txt | 52 ++
1 file changed, 52 insertions(+)
create mode 100644
This patch add and enable SGT15000 codec support, and also specified
the corresponding SAI node.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Signed-off-by: Alison Wang b18...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 19 +++
1 file changed, 19 insertions(+)
diff
This patch add and enable SAI device.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
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 1a58678..e4106dd 100644
--- a/arch/arm/boot
-000a: Failed to get supply 'VDDD': -19
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/sgtl5000.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index 1f4093f..1a2d35a 100644
device.
sgtl5000 0-000a: Failed to get supply 'VDDD': -19
Here use regulator_get_optional() trying to look at the fact that whether the
external VDDD supply is used or not.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/sgtl5000.c | 25 ++---
1 file changed
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
Signed-off-by: Alison Wang b18...@freescale.com
Signed-off-by: Jingchang Lu b35...@freescale.com
---
I'm sending the RFC patch about the FTM IP block registers read
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
Signed-off-by: Alison Wang b18...@freescale.com
Signed-off-by: Jingchang Lu b35...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
drivers/pwm/Kconfig
This adds devicetree node for VF610, and there are 8 channels supported
by default.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
arch/arm/boot/dts/vf610.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts
This adds the Document for Freescale 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
---
.../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 29
Hello Therry,
The series of patches for this version has been reviewed and acked already.
To see each patch for detail.
--
--
This patch series is the Freescale FTM PWM implementation. And there are 8
channels most supported by the FTM PWM. This implementation
Selecting system clock as the counter source clock by default.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
---
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
The parameters of rx_mask and tx_mask has no use for
snd_soc_dai_set_tdm_slot(), because they could be generated by
{XXX_ .}of_xlate_tdm_slot_mask().
This patch add snd_soc_dai_set_tdm_slot_xlate() which will replace
the snd_soc_dai_set_tdm_slot() eventually.
Signed-off-by: Xiubo Li li.xi
o Fix some bugs of fsl_sai_set_dai_fmt_tr().
o Add SND_SOC_DAIFMT_LEFT_J support.
o Add SND_SOC_DAIFMT_CBS_CFM support.
o Add SND_SOC_DAIFMT_CBM_CFS support.
o And SND_SOC_DAIFMT_RIGHT_J need to be done in the future.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/fsl_sai.c
Xiubo Li (10):
ASoC: core: Add snd_soc_dai_set_tdm_slot_xlate().
ASoC: fsl-utils: Add fsl_asoc_of_xlate_tdm_slot_mask() support.
ASoC: fsl-esai: Add .of_xlate_tdm_slot_mask() support.
ASoC: fsl-ssi: Add .of_xlate_tdm_slot_mask() support.
ASoC: imx-ssi: Add .of_xlate_tdm_slot_mask
This patch add .of_xlate_tdm_slot_mask support for ESAI, and this will
generate the TDM slot TX and RX masks.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig| 1 +
sound/soc/fsl/fsl_esai.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/sound/soc/fsl/Kconfig b
-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/fsl_utils.c | 27 +++
sound/soc/fsl/fsl_utils.h | 4 +++-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_utils.c b/sound/soc/fsl/fsl_utils.c
index b9e42b5..b536eb1 100644
--- a/sound/soc/fsl
. And for some CODECs or CPU DAI devices there needed much more
work to support the .of_xlate_tdm_slot_mask feature.
This patch can be applied to most use case of the current DAI drivers.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc-dai.h | 3 +++
sound/soc/soc-core.c
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot.
This will use the default snd_soc_of_xlate_tdm_slot_mask to generate
the TDM slot TX/RX mask using the slot parameter.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/blackfin/bf5xx-ad193x.c | 4 ++--
1 file
This patch add .of_xlate_tdm_slot_mask support for IMX SSI, and this
will generate the TDM slot TX and RX masks.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 1 +
sound/soc/fsl/imx-ssi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/sound/soc/fsl/Kconfig
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot.
This will use the DAI driver specified .of_xlate_tdm_slot_mask to generate
the TDM slot TX/RX mask, or the default snd_soc_of_xlate_tdm_slot_mask will
be used instead if it's absent.
Signed-off-by: Xiubo Li li.xi
This patch add .of_xlate_tdm_slot_mask support for SSI, and this will
generate the TDM slot TX and RX masks.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/Kconfig | 1 +
sound/soc/fsl/fsl_ssi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/sound/soc/fsl/Kconfig b
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot.
This will use the default snd_soc_of_xlate_tdm_slot_mask to generate
the TDM slot TX/RX mask using the slot parameter.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/wm1133-ev1.c | 11 +--
1 file
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot.
This will use the default snd_soc_of_xlate_tdm_slot_mask to generate
the TDM slot TX/RX mask using the slot parameter.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/eukrea-tlv320.c | 2 +-
1 file changed
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot.
This will use the default snd_soc_of_xlate_tdm_slot_mask to generate
the TDM slot TX/RX mask using the slot parameter.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/blackfin/bf5xx-ad1836.c | 2 +-
1 file
o Add SND_SOC_DAIFMT_DSP_A support.
o Add SND_SOC_DAIFMT_DSP_B support.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/fsl/fsl_sai.c | 45 ++---
sound/soc/fsl/fsl_sai.h | 1 +
2 files changed, 43 insertions(+), 3 deletions(-)
diff --git
Now that all users have been converted to regmap and the config.reg_bits
and config.val_bits can be setted by each user through regmap core API.
So these two params are redundant here.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
@Mark and All
I'm also thinking could we just discard
Signed-off-by: Xiubo Li li.xi...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
Reviewed-by: Yuan Yao yao.y...@freescale.com
---
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
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
Reviewed-by: Yuan Yao yao.y...@freescale.com
Acked-by: Kumar Gala ga
Changed in V10:
Fix some bugs and adjust the code from Thierry's comments.
Xiubo Li (4):
pwm: Add Freescale FTM PWM driver support
ARM: dts: vf610: Add Freescale FTM PWM node.
ARM: dts: vf610-twr: Enables FTM PWM device.
Documentation: Add device tree bindings for Freescale FTM PWM
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
Reviewed-by: Yuan Yao yao.y...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 13 +
1 file changed, 13 insertions
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
Signed-off-by: Alison Wang b18...@freescale.com
Signed-off-by: Jingchang Lu b35...@freescale.com
Reviewed-by: Sascha Hauer s.ha...@pengutronix.de
Reviewed-by: Yuan Yao
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/sgtl5000.c | 8
1 file changed, 8 deletions(-)
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index ab4754a..d3ed1be 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
Now that all users have been converted to regmap and the config.reg_bits
and config.val_bits can be setted by each user through regmap core API.
So these two params are redundant here.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-io.c | 5 -
1 file changed, 5 deletions
of snd_soc_codec_set_cache_io() will be redundant, while if one
CODEC driver needed to set it's own I/O, then it can rewrite the default ones.
Then could we just discard the snd_soc_codec_set_cache_io() from the CODEC
drivers' ASoC probe to simplify the code.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Xiubo Li (3):
ASoC: io: Clean up snd_soc_codec_set_cache_io()
ASoC: core: Set the default I/O up try regmap.
ASoC: SGTL5000: Simplify ASoC probe code.
sound/soc/codecs/sgtl5000.c | 8
sound/soc/soc-core.c| 8
sound/soc/soc-io.c | 5 -
3 files changed
doing the zero pionter check of it.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-cache.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/sound/soc/soc-cache.c b/sound/soc/soc-cache.c
index 375dc6d..bfed3e4 100644
--- a/sound/soc/soc-cache.c
Most of the CODECs' ASoC probe code could be simplified directly, while
for wm5110 and wm8997 CODEC drivers need much more research and examination.
Xiubo Li (2):
ASoC: codec: Simplify ASoC probe code.
ASoC: io: Remove reduntant params of snd_soc_codec_set_cache_io()
include/sound/soc.h
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/ad193x.c| 7 ---
sound/soc/codecs/adau1373.c | 6 --
sound/soc/codecs/adav80x.c | 6 --
sound/soc/codecs/ak4535.c| 6 --
sound/soc/codecs/ak4641.c| 6 --
sound/soc
Now that all users have been converted to regmap and the config.reg_bits
and config.val_bits can be setted by each user through regmap core API.
So these two params are redundant here.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h | 1 -
sound/soc/codecs/wm5110.c
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h| 7 +--
sound/soc/codecs/cq93vc.c | 3 +--
sound/soc/codecs/mc13783.c | 4 ++--
sound/soc/codecs/tlv320dac33.c | 1 -
sound/soc/codecs/wm5102.c | 4
things get confused by the attempt to default.)
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-core.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 6880fad..a14155b 100644
--- a/sound/soc/soc-core.c
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
@Mark, @Lars, @All,
I have checked for each driver about the following issue from Lars:
Just removing the set_cache_io() call will not work for all
drivers. There are some MFD child devices which use regmap from the parent
device. So
Xiubo Li (3):
ASoC: codec: Simplify ASoC probe code.
ASoC: io: New signature for snd_soc_codec_set_cache_io()
ASoC: core: Fix check before setting default I/O up try regmap
include/sound/soc.h | 7 +-
sound/soc/codecs/ad193x.c| 7 --
sound/soc/codecs/adau1373
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h| 7 +--
sound/soc/codecs/cq93vc.c | 3 +--
sound/soc/codecs/mc13783.c | 4 ++--
sound/soc/codecs/tlv320dac33.c | 1 -
sound/soc/codecs/wm5102.c | 4
Since the CODEC driver could specify its own I/O(read and write)
while registering the CODEC for some reason, maybe the MFDs is
used, etc.
So just do check it, if they are not specified by CODEC driver
then try to set up the default regmap I/O if regmap is used.
Signed-off-by: Xiubo Li li.xi
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs/adav80x.c | 7 ---
sound/soc/codecs
Mainly fix the warnings about unused variables caused by the first
patch.
Xiubo Li (3):
ASoC: codec: Simplify ASoC probe code.
ASoC: io: New signature for snd_soc_codec_set_cache_io()
ASoC: core: Fix check before setting default I/O up try regmap
include/sound/soc.h | 7
Since the CODEC driver could specify its own I/O(read and write)
while registering the CODEC for some reason, maybe the MFDs is
used, etc.
So just do check it, if they are not specified by CODEC driver
then try to set up the default regmap I/O if regmap is used.
Signed-off-by: Xiubo Li li.xi
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound/soc.h| 7 +--
sound/soc/codecs/cq93vc.c | 3 +--
sound/soc/codecs/mc13783.c | 4 ++--
sound/soc/codecs/tlv320dac33.c | 1 -
sound/soc/codecs/wm5102.c | 4
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs/adav80x.c | 7 ---
sound/soc/codecs
Mainly fix the warnings about unused variables caused by the first
patch.
Xiubo Li (3):
ASoC: codec: Simplify ASoC probe code.
ASoC: io: New signature for snd_soc_codec_set_cache_io()
ASoC: core: Fix check before setting default I/O up try regmap
include/sound/soc.h | 7
Xiubo Li (3):
ASoC: core: Move the default regmap I/O setting to
snd_soc_register_codec()
ASoc: codec: remove the set_cache_io() entirely from CODEC ASoC probe.
ASoC: core: remove the default regmap I/O setting up from
soc_probe_codec()
include/sound/soc.h| 3 +++
sound
As we can set the CODEC I/O while snd_soc_register_codec(), so the
calling of set_cache_io() from CODEC ASoC probe could be removed
entirely.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/codecs/cq93vc.c | 6 --
sound/soc/codecs/mc13783.c | 10 ++
sound/soc/codecs
Since all the CODEC drivers has using the snd_soc_register_codec()
to set up the CODEC I/O while the CODEC probing, so this could be
removed entirely.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
sound/soc/soc-core.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/sound/soc
Add the default regmap I/O setting to snd_soc_register_codec() while
the CODEC is initialising, which will be called by CODEC driver device
probe(), and then we can make set_cache_io() go away entirely from each
CODEC ASoC probe.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
include/sound
Since we cannot make sure the 'max_conn_count' will always be none
zero from the users, and then if max_conn_count equals to zero, the
kcalloc() will return ZERO_SIZE_PTR, which equals to ((void *)16).
So this patch fix this via doing the zero pionter check of it.
Signed-off-by: Xiubo Li li.xi
of drm_fb_helper_init().
Signed-off-by: Xiubo Li li.xi...@freescale.com
CC: Jani Nikula jani.nik...@linux.intel.com
---
drivers/gpu/drm/drm_fb_helper.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 3d13ca6e2..a0d286c 100644
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
This patch adds si476x.c and 88pm860x-codec.c.
include/sound/soc.h | 7 +-
sound/soc/codecs/88pm860x-codec.c | 3 +--
sound/soc/codecs/cq93vc.c | 3 +--
sound/soc/codecs/mc13783
Resend this patch series, and this resend ones are based Lars's following
patches:
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/073785.html
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-March/073786.html
Xiubo Li (3):
ASoC: codec: Simplify ASoC probe code
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
This patch has nothing changed.
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs
Since the CODEC driver could specify its own I/O(read and write)
while registering the CODEC for some reason, maybe the MFDs is
used, etc.
So just do check it, if they are not specified by CODEC driver
then try to set up the default regmap I/O if regmap is used.
Signed-off-by: Xiubo Li li.xi
' 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
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
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
Change in v3:
- Add .of_xlate_tdm_slot_mask().
- Add snd_soc_of_xlate_tdm_slot_mask().
- Remove TDM slot masks OF parsing...
- Split the TDM infomation into two properties.
Xiubo Li (3):
ASoC: binding: add tdm-slot.txt
ASoC: core: add TDM slot parsing from DT supports
ASoC
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mark Brown broo...@linaro.org
---
Documentation/devicetree/bindings/sound/tdm-slot.txt | 20
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound
(), the tx and rx masks will use a 1 bit
for an active slot as default, and the default active bits are at the LSB of
the masks.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mark Brown broo...@linaro.org
---
include/sound/soc-dai.h | 2 ++
include/sound
For some CPU/CODEC DAI devices the slot information maybe needed. This
patch adds the slot information parsing for simple-card driver.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Lars-Peter Clausen l...@metafoo.de
Cc: Mark Brown broo...@linaro.org
---
.../devicetree/bindings/sound/simple
This patch adds and enables the SAI device.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index e3a3805..8217854 100644
Add audio card support for Vybird-TWR board
Xiubo Li (4):
ARM: dts: Add Freescale SAI ALSA SoC Digital Audio Interface node for
VF610.
ARM: dts: Enable SAI ALSA SoC DAI device for Vybrid VF610 TOWER board.
ARM: dts: Enable SGTL5000 codec based audio driver node for VF610
TOWER
This patch adds the SAI's edma mux Tx and Rx support.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 91a7757..f08df47 100644
--- a/arch/arm
This patch adds and enables SGTL5000 codec support.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index 8217854..29790c9
This patch adds and enables simple-card support in DT node.
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 31 +++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
Add audio card DT node support for Vybird-TWR board.
Xiubo Li (4):
ARM: dts: vf610: Add edma mux Tx and Rx support for SAI node.
ARM: dts: vf610-twr: Enable SAI ALSA SoC DAI device
ARM: dts: vf610-twr: Enable SGTL5000 codec.
ARM: dts: vf610-twr: Add simple-card support.
arch/arm/boot
This patch adds the SAI's edma mux Tx and Rx support.
Signed-off-by: Xiubo Li li.xi...@freescale.com
Cc: Shawn Guo shawn@linaro.org
---
arch/arm/boot/dts/vf610.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index
1 - 100 of 1058 matches
Mail list logo