| No
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/pwm/pwm-fsl-ftm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c
index 5d999c1..9a82741 100644
--- a/drivers/pwm/pwm-fsl-ftm.c
+++ b/drivers/pwm/pwm-fsl-ftm.c
@@ -409,6 +409,7
Xiubo Li (3):
pwm: ftm-pwm: Clean up the code.
pwm: ftm-pwm: Convert to direct regmap API usage.
pwm: ftm-pwm: Add big-endian support
drivers/pwm/pwm-fsl-ftm.c | 96 ++-
1 file changed, 53 insertions(+), 43 deletions(-)
--
1.8.4
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/pwm/pwm-fsl-ftm.c | 83 +--
1 file changed, 44 insertions(+), 39 deletions(-)
diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c
index 4a4ad58..5d999c1 100644
--- a/drivers/pwm
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
drivers/pwm/pwm-fsl-ftm.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c
index 420169e..4a4ad58 100644
--- a/drivers/pwm/pwm-fsl-ftm.c
+++ b/drivers/pwm/pwm
Signed-off-by: Xiubo Li
---
arch/arm/boot/dts/vf610-twr.dts | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index f3af8ea..3fabdb5 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
---
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 3fabdb5..c016ec8 100644
--- a/arch/arm/boot/dts/vf610
Hi Shawn,
The FTM PWM driver has been applied by the Maintainer, so here I resend
this patches based upon git://git.linaro.org/people/shawnguo/linux-2.6.git
newest reporsitory.
Xiubo Li (3):
ARM: dts: vf610: Add Freescale FTM PWM node. ==> resend v10
ARM: dts: vf610-twr: Add PWM
This adds devicetree node for VF610, and there are 8 channels
supported.
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
---
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/dts
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
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
Hi Shawn,
The FTM PWM driver has been applied by the Maintainer, so here I resend
this patches based upon git://git.linaro.org/people/shawnguo/linux-2.6.git
newest reporsitory.
Xiubo Li (3):
ARM: dts: vf610: Add Freescale FTM PWM node. == resend v10
ARM: dts: vf610-twr: Add PWM0's pinctrl
Signed-off-by: Xiubo Li li.xi...@freescale.com
---
arch/arm/boot/dts/vf610-twr.dts | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index f3af8ea..3fabdb5 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm
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
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
---
This patch has nothing changed.
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs/adav80x.c | 7
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li
---
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.c| 4
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
of drm_fb_helper_init().
Signed-off-by: Xiubo Li
CC: Jani Nikula
---
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
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers
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
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
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
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
---
include/sound/soc.h | 3 +++
sound
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
---
sound/soc/soc-core.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc
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
---
sound/soc/codecs/cq93vc.c | 6 --
sound/soc/codecs/mc13783.c | 10 ++
sound/soc/codecs/wm5102.c | 6
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
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li
---
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 +---
sound/soc/codecs/wm5110.c
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li
---
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs/adav80x.c | 7 ---
sound/soc/codecs/ak4535.c| 9
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
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
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
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li
---
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 +---
sound/soc/codecs/wm5110.c
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
For some CODEC drivers like who act as the MFDs children are ignored
by this patch.
Signed-off-by: Xiubo Li
---
sound/soc/codecs/ad193x.c| 10 +-
sound/soc/codecs/adau1373.c | 7 ---
sound/soc/codecs/adav80x.c | 7 ---
sound/soc/codecs/ak4535.c| 9
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: 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
Signed-off-by: Xiubo Li
---
@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 dev_get_regmap() will r
things get confused by the attempt to default.)
Signed-off-by: Xiubo Li
---
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
+++ b/sound/soc/soc
regmap *regmap to simplify the code.
Signed-off-by: Xiubo Li
---
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 +---
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
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
---
include/sound/soc.h | 1 -
sound/soc/codecs/wm5110.c | 2 +-
sound/soc
Signed-off-by: Xiubo Li
---
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/codecs/ak4642.c| 6
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
via doing the zero pionter check of it.
Signed-off-by: Xiubo Li
---
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
+++ b/sound/soc/
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
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
---
sound/soc/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
---
sound/soc/soc-io.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/sound
Signed-off-by: Xiubo Li
---
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
@@ -1352,14 +1352,6
The FTM PWM device can be found on Vybrid VF610 Tower and
Layerscape LS-1 SoCs.
Signed-off-by: Xiubo Li
Signed-off-by: Alison Wang
Signed-off-by: Jingchang Lu
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
---
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers
This adds devicetree node for VF610, and there are 8 channels
supported.
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
---
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/dts
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
Reviewed-by: Yuan Yao
Acked-by: Kumar Gala
---
.../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 35
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
Signed-off-by: Xiubo Li
Reviewed-by: Sascha Hauer
Reviewed-by: Yuan Yao
---
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/vf610
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
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
---
@Mark and All
I'm also thinking could we just discard snd_soc_codec_set_cache_io
o Add SND_SOC_DAIFMT_DSP_A support.
o Add SND_SOC_DAIFMT_DSP_B support.
Signed-off-by: Xiubo Li
---
sound/soc/fsl/fsl_sai.c | 45 ++---
sound/soc/fsl/fsl_sai.h | 1 +
2 files changed, 43 insertions(+), 3 deletions(-)
diff --git a/sound/soc/fsl/fsl_sai.c
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
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
---
sound/soc/blackfin/bf5xx-ad1836.c | 2 +-
1 file changed, 1 insertion(+), 1
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
---
sound/soc/fsl/eukrea-tlv320.c | 2 +-
1 file changed, 1 insertion(+), 1
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
---
sound/soc/fsl/wm1133-ev1.c | 11 +--
1 file changed, 1 insertion
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
---
sound/soc/fsl/Kconfig | 1 +
sound/soc/fsl/imx-ssi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl
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
---
sound/soc
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
---
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/sound/soc/fsl/Kconfig
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
---
sound/soc/blackfin/bf5xx-ad193x.c | 4 ++--
1 file changed, 2 insertions
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
---
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/sound/soc/fsl/Kconfig
-by: Xiubo Li
---
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/fsl_utils.c
+++ b
. 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
---
include/sound/soc-dai.h | 3 +++
sound/soc/soc-core.c| 33
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
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
---
sound/soc/fsl/fsl_sai.c | 38
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
501 - 600 of 1058 matches
Mail list logo