[alsa-devel] [PATCH v2 RESEND 1/2] mfd: arizona: Add support for OUTn_MONO register control

2015-01-02 Thread Inha Song
, elements that has not been specified are set to 0 by default. Example: - wlf,out-mono = <1 0 1>; /* set OUT1,OUT3 to mono differential */ Signed-off-by: Inha Song --- drivers/mfd/arizona-core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/arizona-core.c b/d

[alsa-devel] [PATCH v2 RESEND 0/2] mfd: arizona: Add support for OUTn_MONO register control

2015-01-02 Thread Inha Song
t; instead of "==" in condition check Inha Song (2): mfd: arizona: Add support for OUTn_MONO register control mfd: arizona: Update DT binding to support OUTn_MONO init_data Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ drivers/mfd/arizona-core.c

[alsa-devel] [PATCH v2 RESEND 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2015-01-02 Thread Inha Song
This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 7

[alsa-devel] [PATCH 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-05 Thread Inha Song
This patch add WM1811 audio codec, I2S interface and the sound machine nodes to enable audio on exynos4412-trats2 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4412-trats2.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts

[alsa-devel] [PATCH 1/3] ASoC: samsung: Add machine driver for Trats2

2015-01-05 Thread Inha Song
This patch add the sound machine driver for Trats2 board. The codec operate in master mode. So, Reference to the codec master clock must be defined in DT. Signed-off-by: Inha Song --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile| 2 + sound/soc/samsung

[alsa-devel] [PATCH 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-05 Thread Inha Song
This patch add Trats2 audio subsystem bindings document. Signed-off-by: Inha Song --- .../bindings/sound/samsung,trats2-wm1811.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,trats2-wm1811.txt diff

[alsa-devel] [PATCH 0/3] Sound support for Exynos4412 Trats2 board

2015-01-05 Thread Inha Song
This patch-set adds basic sound support for the Trats2 boards. It just support primary I2s and external speaker playback. Inha Song (3): ASoC: samsung: Add machine driver for Trats2 ASoC: samsung: Document Trats2 audio subsystem bindings ARM: dts: Add sound nodes for exynos4412-trats2

Re: [alsa-devel] [PATCH 1/3] ASoC: samsung: Add machine driver for Trats2

2015-01-05 Thread Inha Song
Hi, Thanks for your comments. > Hi, > > A few small comments inline. > > On 01/05/2015 12:25 PM, Inha Song wrote: > > --- /dev/null > > +++ b/sound/soc/samsung/trats2_wm1811.c > > @@ -0,0 +1,216 @@ > >[...] > > +#include > > +#i

[alsa-devel][PATCH 0/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-08 Thread Inha Song
This patch series add support for OUTn_MONO register control using platform data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Inha Song (2): mfd: arizona: Add support for OUTn_MONO register

[alsa-devel][PATCH 1/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-08 Thread Inha Song
, elements that has not been specified are set to 0 by default. Example: - wlf,out-mono = <1 0 1>; /* set OUT1,OUT3 to mono differential */ Signed-off-by: Inha Song --- drivers/mfd/arizona-core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/arizona-core.c b/d

[alsa-devel][PATCH 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2014-12-08 Thread Inha Song
This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 7

[alsa-devel] [PATCH] mfd: wm8994: use PLATFORM_DEVID_AUTO for regulator devs creation to avoid conflicts

2014-12-29 Thread Inha Song
After commit: 6e3f62f0793e ("mfd: core: Fix platform-device id generation") We must set the id base when register a duplicate name of mfd_cell. but, if we use PLATFORM_DEVID_AUTO flag, cell ids are automatically allocated and managed without cell id setting. Signed-off-by: Inha Song --

Re: [alsa-devel] [PATCH] mfd: wm8994: use PLATFORM_DEVID_AUTO for regulator devs creation to avoid conflicts

2014-12-30 Thread Inha Song
Hi Mark, Thanks for your reply. Sure, Understand. I missed that part. I will just fix id base to 0 from -1. If not, duplicate filename error was reported like this. - sysfs: cannot create duplicate filename '/devices/.../wm8994-ldo' Best Regards, Inha Song. On Tue, 30 Dec 2014 11:2

[alsa-devel] [PATCH] mfd: wm8994: set mfd id-base for regulator devs creation to avoid conflicts

2014-12-30 Thread Inha Song
After commit: 6e3f62f0793e ("mfd: core: Fix platform-device id generation") We must set the id base when register a duplicate name of mfd_cell. If not, duplicate filename error was reported. - sysfs: cannot create duplicate filename '/devices/.../wm8994-ldo' Sign

Re: [alsa-devel] [PATCH v3 3/4] ARM: dts: set clock out parent to XUSBXTI

2015-01-22 Thread Inha Song
Hi, Thanks for your comment. On Thu, 22 Jan 2015 13:25:07 +0100 Sylwester Nawrocki wrote: > On 22/01/15 12:18, Inha Song wrote: > > This patch set clock out parent to XUSBXTI. > > > > Signed-off-by: Inha Song > > --- > > arch/arm/boot/dts/exynos4.dtsi | 2 ++

Re: [alsa-devel] [PATCH v3 1/4] ASoC: samsung: Add machine driver for Trats2

2015-01-22 Thread Inha Song
Hi, Thanks for your review. On Thu, 22 Jan 2015 13:16:03 +0100 Sylwester Nawrocki wrote: > On 22/01/15 12:17, Inha Song wrote: > > diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig > > index fc67f97..8031423 100644 > > --- a/sound/soc/samsung/Kconfig > &

[alsa-devel] [PATCH v4 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-22 Thread Inha Song
This patch add WM1811 audio codec, I2S interface and the sound machine nodes to enable audio on exynos4412-trats2 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4412-trats2.dts | 42 + 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts

[alsa-devel] [PATCH v4 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-22 Thread Inha Song
This patch add Trats2 audio subsystem bindings document. Signed-off-by: Inha Song --- .../bindings/sound/samsung,trats2-wm1811.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,trats2-wm1811.txt diff

[alsa-devel] [PATCH v4 1/3] ASoC: samsung: Add machine driver for Trats2

2015-01-22 Thread Inha Song
This patch add the sound machine driver for Trats2 board. The codec operate in master mode. Signed-off-by: Inha Song --- sound/soc/samsung/Kconfig | 9 ++ sound/soc/samsung/Makefile| 2 + sound/soc/samsung/trats2_wm1811.c | 211 ++ 3 files

[alsa-devel] [PATCH v4 0/3] Sound support for Exynos4412 Trats2 board

2015-01-22 Thread Inha Song
. - Remove mclk DT property in Trats2 sound and add MCLK1 property in WM1811 node. (MCLK1 is optional property in WM8994 node - refer: Document/devicetree/bindings/sound/wm8994.txt) - Use mclk that defined in WM1811 DT node. - Add "samsung,audio-codec" property to required propert

Re: [alsa-devel] [PATCH v4 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-22 Thread Inha Song
Hi Kukjin, Sorry, I missed to adding in Cc. Best Regards, Inha Song. On Fri, 23 Jan 2015 14:03:30 +0900 Inha Song wrote: > This patch add WM1811 audio codec, I2S interface and the sound > machine nodes to enable audio on exynos4412-trats2 board. > > Signed-off-by: Inha Song &

[alsa-devel] [RESEND PATCH] mfd: wm8994: set mfd id-base for regulator devs creation to avoid conflicts

2015-01-07 Thread Inha Song
After commit: 6e3f62f0793e ("mfd: core: Fix platform-device id generation") We must set the id base when register a duplicate name of mfd_cell. If not, duplicate filename error was reported. - sysfs: cannot create duplicate filename '/devices/.../wm8994-ldo' Sign

Re: [alsa-devel] [PATCH 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-12 Thread Inha Song
Hi Mark, Thank you for your feedback and sorry for late response. I think, I should remove clock settings in machine driver. If the clock settings are necessary, I will add "assigned-clocks" nodes in trats2 sound DT like odroid board. Best Regards, Inha Song. > On Mon, Jan 05,

[alsa-devel] [PATCH v2 2/3] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-19 Thread Inha Song
This patch add Trats2 audio subsystem bindings document. Signed-off-by: Inha Song --- .../bindings/sound/samsung,trats2-wm1811.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,trats2-wm1811.txt diff

[alsa-devel] [PATCH v2 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-19 Thread Inha Song
This patch add WM1811 audio codec, I2S interface and the sound machine nodes to enable audio on exynos4412-trats2 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4412-trats2.dts | 39 + 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts

[alsa-devel] [PATCH v2 1/3] ASoC: samsung: Add machine driver for Trats2

2015-01-19 Thread Inha Song
This patch add the sound machine driver for Trats2 board. The codec operate in master mode. Signed-off-by: Inha Song --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile| 2 + sound/soc/samsung/trats2_wm1811.c | 218 ++ 3 files

[alsa-devel] [PATCH v2 0/3] Sound support for Exynos4412 Trats2 board

2015-01-19 Thread Inha Song
property in Trats2 sound and add MCLK1 property in WM1811 node. (MCLK1 is optional property in WM8994 node - refer: Document/devicetree/bindings/sound/wm8994.txt) - Use mclk that defined in WM1811 DT node. - Add "samsung,audio-codec" property to required properties. Inha Song (

[alsa-devel] [PATCH v3 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-22 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree

[alsa-devel] [PATCH v3 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-04-22 Thread Inha Song
arizona_extcon_of_get in IS_ENABLED(CONFIG_OF). - Change hpdet_channel type to unsigned from signed in pdata. - Move ARIZONA_ACCDET_MODE_* define to dt-binding header and directly set it to pdata. Inha Song (2): extcon: arizona: Add support for select accessory detect mode when headphone detection

[alsa-devel] [PATCH v3 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-22 Thread Inha Song
or HPDETL. Signed-off-by: Inha Song --- drivers/extcon/extcon-arizona.c | 38 ++ include/dt-bindings/mfd/arizona.h | 8 include/linux/mfd/arizona/pdata.h | 3 +++ 3 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 include/dt

[alsa-devel] [PATCH 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-17 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree

[alsa-devel] [PATCH 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-04-17 Thread Inha Song
This set of patches adds support for select accessory detect mode to HPDETL or HPDETR. Inha Song (2): extcon: arizona: Add support for select accessory detect mode when headphone detection" mfd: arizona: Update DT binding to support hpdet channel Documentation/devicetree/binding

[alsa-devel] [PATCH 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection"

2015-04-17 Thread Inha Song
or HPDETL. Signed-off-by: Inha Song --- drivers/extcon/extcon-arizona.c | 34 ++ include/linux/mfd/arizona/pdata.h | 3 +++ 2 files changed, 33 insertions(+), 4 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index

Re: [alsa-devel] [PATCH v3 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-26 Thread Inha Song
Hi, Thanks for your comments :) On Sat, 25 Apr 2015 13:50:25 +0100 Charles Keepax wrote: > On Wed, Apr 22, 2015 at 08:23:20PM +0900, Inha Song wrote: > > This patch add support for select accessory detect mode to HPDETL or HPDETR. > > Arizona provides a headphone detection

[alsa-devel] [PATCH v4 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-29 Thread Inha Song
or HPDETL. Signed-off-by: Inha Song --- drivers/extcon/extcon-arizona.c | 38 ++ include/dt-bindings/mfd/arizona.h | 8 include/linux/mfd/arizona/pdata.h | 3 +++ 3 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 include/dt

[alsa-devel] [PATCH v4 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-04-29 Thread Inha Song
and directly set it to pdata. Inha Song (2): extcon: arizona: Add support for select accessory detect mode when headphone detection mfd: arizona: Update DT binding to support hpdet channel Documentation/devicetree/bindings/mfd/arizona.txt | 6 drivers/extcon/extcon-arizona.c

[alsa-devel] [PATCH v4 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-29 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree

Re: [alsa-devel] [PATCH 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection"

2015-04-19 Thread Inha Song
Hi, Thanks for your comments, On Fri, 17 Apr 2015 10:00:47 +0100 Charles Keepax wrote: > On Fri, Apr 17, 2015 at 05:32:58PM +0900, Inha Song wrote: > > This patch add support for select accessory detect mode to HPDETL or HPDETR. > > Arizona provides a headphone detection circui

[alsa-devel] [PATCH v2 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-20 Thread Inha Song
or HPDETL. Signed-off-by: Inha Song --- drivers/extcon/extcon-arizona.c | 28 include/dt-bindings/mfd/arizona.h | 8 include/linux/mfd/arizona/pdata.h | 3 +++ 3 files changed, 31 insertions(+), 8 deletions(-) create mode 100644 include/dt-bindings/mfd

[alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-20 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree

[alsa-devel] [PATCH v2 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-04-20 Thread Inha Song
. - Move ARIZONA_ACCDET_MODE_* define to dt-binding header and directly set it to pdata. Inha Song (2): extcon: arizona: Add support for select accessory detect mode when headphone detection mfd: arizona: Update DT binding to support hpdet channel Documentation/devicetree/bindings/mfd

Re: [alsa-devel] [PATCH v2 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-04-21 Thread Inha Song
Hi, Thanks for your review :) On Tue, 21 Apr 2015 10:28:26 +0100 Charles Keepax wrote: > On Tue, Apr 21, 2015 at 01:11:44PM +0900, Inha Song wrote: > > This patch add support for select accessory detect mode to HPDETL or HPDETR. > > Arizona provides a headphone detection circui

[alsa-devel] [PATCH] mfd: wm8994: Fix NULL pointer exception on missing pdata

2015-06-09 Thread Inha Song
off-by: Inha Song --- drivers/mfd/wm8994-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm8994-irq.c b/drivers/mfd/wm8994-irq.c index a14407e..ec2c891 100644 --- a/drivers/mfd/wm8994-irq.c +++ b/drivers/mfd/wm8994-irq.c @@ -193,7 +193,7 @@ int wm8994_ir

Re: [alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-25 Thread Inha Song
Hi Lee, On Thu, 21 Aug 2014 13:12:19 +0100 Lee Jones wrote: > On Wed, 13 Aug 2014, Inha Song wrote: > > > Some boards need to set the INn_MODE[1:0] register to change > > the input signal patch. This wlf,inmode property is optional. > > If present values must be sp

[alsa-devel] [RESEND PATCH v4 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-25 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ 1 file

[alsa-devel] [RESEND PATCH v4 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-25 Thread Inha Song
are set to 0 by default. Example: - wlf,inmode = <2 0 2>; /* IN1, IN3 use DMIC */ Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- drivers/mfd/arizona-core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/a

[alsa-devel] [RESEND PATCH v4 0/2] mfd: arizona: add support for INn_MODE register

2014-08-25 Thread Inha Song
of_property_read_u32_array - Fix a few typos - Update commit message Changes for v2 - Change to support - Update commit message - Update document content for more clarity Inha Song (2): mfd: arizona: Add support for INn_Mode register control mfd: arizona: Update DT binding to support INn_MODE init_data

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-29 Thread Inha Song
Hi, Lee Thanks for your review. On Thu, 28 Aug 2014 12:36:51 +0100 Lee Jones wrote: > On Mon, 18 Aug 2014, Inha Song wrote: > > > Some boards need to set the INn_MODE[1:0] register to change > > the input signal patch. This wlf,inmode property is optional. > > If

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-29 Thread Inha Song
On Fri, 29 Aug 2014 09:17:41 +0100 Lee Jones wrote: > On Fri, 29 Aug 2014, Inha Song wrote: > > > Hi, Lee > > Thanks for your review. > > > > On Thu, 28 Aug 2014 12:36:51 +0100 > > Lee Jones wrote: > > > > > On Mon, 18 Aug 2014, Inha Son

[alsa-devel] [PATCH v3 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-18 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 8 1 file changed, 8 insertions(+) diff

[alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-18 Thread Inha Song
are set to 0 by default. Example: - wlf,inmode = <2 0 2>; /* IN1, IN3 use DMIC */ Signed-off-by: Inha Song --- drivers/mfd/arizona-core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index 1

[alsa-devel] [PATCH v3 0/2] mfd: arizona: add support for INn_MODE register control using platform data

2014-08-18 Thread Inha Song
for v2 - Change to support - Update commit message - Update document content for more clarity Inha Song (2): mfd: arizona: Add support for INn_Mode register control mfd: arizona: Update DT binding to support INn_MODE init_data Documentation/devicetree/bindings/mfd/arizona.txt | 8

Re: [alsa-devel] [PATCH v3 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-18 Thread Inha Song
Hi, Charles. Thanks for your review. On Mon, 18 Aug 2014 15:29:45 +0100 Charles Keepax wrote: > On Mon, Aug 18, 2014 at 08:00:09PM +0900, Inha Song wrote: > > This patch update DT binding to support INn_MODE init_data. Each > > input signal path can be configurated either a

[alsa-devel] [PATCH v4 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-19 Thread Inha Song
are set to 0 by default. Example: - wlf,inmode = <2 0 2>; /* IN1, IN3 use DMIC */ Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- drivers/mfd/arizona-core.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/a

[alsa-devel] [PATCH v4 0/2] mfd: arizona: add support for INn_MODE register control using platform data

2014-08-19 Thread Inha Song
of_property_read_u32_array - Fix a few typos - Update commit message Changes for v2 - Change to support - Update commit message - Update document content for more clarity Inha Song (2): mfd: arizona: Add support for INn_Mode register control mfd: arizona: Update DT binding to support INn_MODE init_data

[alsa-devel] [PATCH v4 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-19 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ 1 file changed, 7 insertions(+) diff

[alsa-devel] [PATCH v5 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-29 Thread Inha Song
are set to 0 by default. Example: - wlf,inmode = <2 0 2>; /* IN1, IN3 use DMIC */ Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- drivers/mfd/arizona-core.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-

[alsa-devel] [PATCH v5 0/2] mfd: arizona: add support for INn_MODE register control

2014-08-29 Thread Inha Song
clarity Changes for v3 - Change to use of_property_read_u32_array - Fix a few typos - Update commit message Changes for v2 - Change to support - Update commit message - Update document content for more clarity Inha Song (2): mfd: arizona: Add support for INn_Mode register control mfd: arizona

[alsa-devel] [PATCH v5 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-29 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song Reviewed-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ 1 file

[alsa-devel] [PATCH 1/2] mfd: arizona: Add support for INn_MODE register control

2014-08-09 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present values must be specified by the number of ARIZONA_MAX_INPUT. Example: - wlf,inmode = <2 0 2 0>;/* IN1, IN3 use DMIC */ Signed-off-by: Inh

[alsa-devel] [PATCH 2/2] mfd: arizona: Update DT binding to support INn_MODE

2014-08-09 Thread Inha Song
This patch update DT binding to support INn_MODE init_data Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd

Re: [alsa-devel] [PATCH 1/2] mfd: arizona: Add support for INn_MODE register control

2014-08-12 Thread Inha Song
Hi, Charles. Thanks for your review. On Tue, 12 Aug 2014 09:28:11 +0100 Charles Keepax wrote: > On Sat, Aug 09, 2014 at 05:31:38PM +0900, Inha Song wrote: > > Some boards need to set the INn_MODE[1:0] register to change > > the input signal patch. This wlf,inmode property is o

[alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-13 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present values must be specified by the number of ARIZONA_MAX_INPUT. Example: - wlf,inmode = <2 0 2 0>;/* IN1, IN3 use DMIC */ Signed-off-by: Inh

[alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for INn_Mode register control

2014-08-13 Thread Inha Song
Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present values must be specified by the number of ARIZONA_MAX_INPUT. Example: - wlf,inmode = <2 0 2 0>;/* IN1, IN3 use DMIC */ Signed-off-by: Inh

[alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-13 Thread Inha Song
This patch update DT binding to support INn_MODE init_data. Each input signal path can be configurated either as a Analogue or Digital using the INn_MODE registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 8 1 file changed, 8 insertions(+) diff

Re: [alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support INn_MODE init_data

2014-08-13 Thread Inha Song
Hi, Charles. Thanks for your review. On Wed, 13 Aug 2014 13:18:14 +0100 Charles Keepax wrote: > On Wed, Aug 13, 2014 at 08:54:56PM +0900, Inha Song wrote: > > This patch update DT binding to support INn_MODE init_data. Each > > input signal path can be configurated either a

[alsa-devel][RESEND PATCH] mfd: wm8994: Fix NULL pointer exception on missing pdata

2015-08-06 Thread Inha Song
ed-off-by: Inha Song Acked-by: Charles Keepax --- drivers/mfd/wm8994-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm8994-irq.c b/drivers/mfd/wm8994-irq.c index 55c380a..55c59d9 100644 --- a/drivers/mfd/wm8994-irq.c +++ b/drivers/mfd/wm8994-irq.c @@ -193,7

[alsa-devel] [PATCH v5 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-05-03 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song Acked-by: Lee Jones Acked-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions

[alsa-devel] [PATCH v5 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-05-03 Thread Inha Song
ARIZONA_ACCDET_MODE_* define to dt-binding header and directly set it to pdata. Inha Song (2): extcon: arizona: Add support for select accessory detect mode when headphone detection mfd: arizona: Update DT binding to support hpdet channel Documentation/devicetree/bindings/mfd/arizona.txt

[alsa-devel] [PATCH v5 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-05-03 Thread Inha Song
or HPDETL. Signed-off-by: Inha Song Acked-by: Lee Jones Acked-by: Charles Keepax --- drivers/extcon/extcon-arizona.c | 38 ++ include/dt-bindings/mfd/arizona.h | 4 include/linux/mfd/arizona/pdata.h | 3 +++ 3 files changed, 37 insertions(+), 8

[PATCH] clk: samsung: Add CLKOUT driver support for Exynos3250 SoC.

2015-02-24 Thread Inha Song
This patch add CLKOUT driver support for Exynos3250 SoC. Signed-off-by: Inha Song --- drivers/clk/samsung/clk-exynos-clkout.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c index 3a7cb25..1c02e73 100644

[PATCH] ARM: dts: Add the source clock for CLKOUT register as xusbxti

2015-02-24 Thread Inha Song
This patch add the CLKOUT register source clock as xusbxti in PMU (Power Management Unit) dt node on Exynos3250. Cc: Kukjin Kim Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos3250.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm

Re: [PATCH] clk: samsung: Add CLKOUT driver support for Exynos3250 SoC.

2015-02-25 Thread Inha Song
Hi, Tomasz, Thanks for you comment :) On Wed, 25 Feb 2015 09:54:02 +0900 Tomasz Figa wrote: > Hi Inha, > > Thanks for the patch. Please see my comments inline. > > 2015-02-24 18:22 GMT+09:00 Inha Song : > > This patch add CLKOUT driver support for Exynos3250 SoC. >

[PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Previously, When we use wm8994 codec, we should control its MCLK in machine driver. But, It should be managed by wm8994 codec driver, not machine driver. This patch add MCLK clock DT parsing logic and control own MCLK. Signed-off-by: Inha Song --- sound/soc/codecs/wm8994.c | 27

[alsa-devel] [PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Previously, When we use wm8994 codec, we should control its MCLK in machine driver. But, It should be managed by wm8994 codec driver, not machine driver. This patch add MCLK clock DT parsing logic and control own MCLK. Signed-off-by: Inha Song --- sound/soc/codecs/wm8994.c | 27

Re: [alsa-devel] [PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Hi, Chanwoo, Thanks for your comments. On Thu, 12 Mar 2015 13:33:49 +0900 Chanwoo Choi wrote: > Hi Inha, > > On 03/12/2015 11:49 AM, Inha Song wrote: > > Previously, When we use wm8994 codec, we should control its MCLK in machine > > driver. > > But, It should

[alsa-devel] [PATCH v2] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-12 Thread Inha Song
Previously, When we use wm8994 codec, we should control its MCLK in machine driver. But, It should be managed by wm8994 codec driver, not machine driver. This patch add MCLK clock DT parsing logic and control own MCLK. Signed-off-by: Inha Song --- sound/soc/codecs/wm8994.c | 22

[alsa-devel] [PATCH] ARM: dts: Support audio on Exynos5422-odroidxu3 using simple-audio-card

2015-03-06 Thread Inha Song
Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Exynos5422 SoC Based Odroid-XU3 board. Now we can support audio in Odroid-XU3 board using simple-audio-card DT binding. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos5420.dtsi | 9 + arch/arm

Re: [alsa-devel][PATCH 1/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-17 Thread Inha Song
Hi, Sorry for the late reply. On Tue, 09 Dec 2014 08:57:17 + Lee Jones wrote: > On Mon, 08 Dec 2014, Inha Song wrote: > > > Some boards need to set the OUTn_MONO register to configurates > > the output signal path as a mono differential output. This > > wlf,out-m

[alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support OUTn_MONO init_data

2014-12-18 Thread Inha Song
This patch update DT binding to support OUTn_MONO init_data. Each output signal can be configurated as a mono differential output. The mono differential configuration is selected using the OUTn_MONO registers. Signed-off-by: Inha Song --- Documentation/devicetree/bindings/mfd/arizona.txt | 7

[alsa-devel] [PATCH v2 0/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-18 Thread Inha Song
t; instead of "==" in condition check Inha Song (2): mfd: arizona: Add support for OUTn_MONO register control mfd: arizona: Update DT binding to support OUTn_MONO init_data Documentation/devicetree/bindings/mfd/arizona.txt | 7 +++ drivers/mfd/arizona-core.c

[alsa-devel] [PATCH v2 1/2] mfd: arizona: Add support for OUTn_MONO register control

2014-12-18 Thread Inha Song
, elements that has not been specified are set to 0 by default. Example: - wlf,out-mono = <1 0 1>; /* set OUT1,OUT3 to mono differential */ Signed-off-by: Inha Song --- drivers/mfd/arizona-core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/arizona-core.c b/d

[PATCH] ARM: dts: exynos5422-odroidxu3: add sound nodes

2015-01-20 Thread Inha Song
Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Odroid-XU3 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3

Re: [PATCH] ARM: dts: exynos5422-odroidxu3: add sound nodes

2015-01-21 Thread Inha Song
Hi, Thanks for your comment. On Wed, 21 Jan 2015 12:41:55 +0100 Sylwester Nawrocki wrote: > Hi, > > On 21/01/15 06:58, Inha Song wrote: > > Add MAX98090 audio codec, I2S interface and the sound nodes to support > > audio on Odroid-XU3 board. > > &

Re: [alsa-devel] [PATCH v2 3/3] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-21 Thread Inha Song
Hi, Thanks for your comments. On Wed, 21 Jan 2015 17:23:21 +0100 Sylwester Nawrocki wrote: > Hi, > > On 19/01/15 10:48, Inha Song wrote: > > --- a/arch/arm/boot/dts/exynos4412-trats2.dts > > +++ b/arch/arm/boot/dts/exynos4412-trats2.dts > > > + sound { > &g

[alsa-devel] [PATCH v3 0/4] Sound support for Exynos4412 Trats2 board

2015-01-22 Thread Inha Song
"samsung,audio-codec" property to required properties. Inha Song (4): ASoC: samsung: Add machine driver for Trats2 ASoC: samsung: Document Trats2 audio subsystem bindings ARM: dts: set clock out parent to XUSBXTI ARM: dts: Add sound nodes for exynos4412-trats2 .../bindings/sou

[alsa-devel] [PATCH v3 2/4] ASoC: samsung: Document Trats2 audio subsystem bindings

2015-01-22 Thread Inha Song
This patch add Trats2 audio subsystem bindings document. Signed-off-by: Inha Song --- .../bindings/sound/samsung,trats2-wm1811.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,trats2-wm1811.txt diff

[alsa-devel] [PATCH v3 4/4] ARM: dts: Add sound nodes for exynos4412-trats2

2015-01-22 Thread Inha Song
This patch add WM1811 audio codec, I2S interface and the sound machine nodes to enable audio on exynos4412-trats2 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4412-trats2.dts | 37 + 1 file changed, 37 insertions(+) diff --git a/arch/arm/boot/dts

[alsa-devel] [PATCH v3 1/4] ASoC: samsung: Add machine driver for Trats2

2015-01-22 Thread Inha Song
This patch add the sound machine driver for Trats2 board. The codec operate in master mode. Signed-off-by: Inha Song --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile| 2 + sound/soc/samsung/trats2_wm1811.c | 218 ++ 3 files

[alsa-devel] [PATCH v3 3/4] ARM: dts: set clock out parent to XUSBXTI

2015-01-22 Thread Inha Song
This patch set clock out parent to XUSBXTI. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos4.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index b8168f1..020bbaf 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b

[PATCH v2] clk: samsung: Add CLKOUT driver support for Exynos3250 SoC.

2015-03-01 Thread Inha Song
This patch add CLKOUT driver support for Exynos3250 SoC. Exynos3250 SoC PMU_DEBUG is the same with Exynos4's PMU_DEBUG including CLKOUT mux. So, We can use the exynos4's clkout init function for Exynos3250 without the need to add new function. Signed-off-by: Inha Song --- drivers/c

[alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-17 Thread Inha Song
] arizona spi1.0: Failed to read main IRQ status: -108 So, we should call runtime_suspend() manually when enter suspend if the state is runtime resume. Also should call runtime_resume() when wake-up by resume if the state was runtime resume before entering suspend. Signed-off-by: Inha Song --- dr

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-17 Thread Inha Song
x2c/0x11c [ 83.580463] [] vfs_write+0x90/0x170 [ 83.580467] [] SyS_write+0x40/0xa0 Best Regards, Inha Song. On Thu, 17 Sep 2015 09:25:42 +0100 Charles Keepax wrote: > On Thu, Sep 17, 2015 at 05:28:47PM +0900, Inha Song wrote: > > This patch call runtiem PM function manually if

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-17 Thread Inha Song
rq failed errors are occured in enable_irq() that in arizona_suspend_late(). Becase of access the irq after spi suspend. (arizona->irq == spi->irq) Best Regards, Inha Song. On Thu, 17 Sep 2015 10:16:32 +0100 Charles Keepax wrote: > > OK so this is definitely that the SPI driver

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-22 Thread Inha Song
pend, reenabling IRQ [ 72.355893] >>> noirq failed because of spi1 [ 72.355948] arizona spi1.0: Early resume, disabling IRQ [ 72.416798] PM: noirq suspend of devices failed .. Best Regards, Inha Song. On Tue, 22 Sep 2015 08:46:18 +0100 Charles Keepax wrote: > On Mon, S

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-23 Thread Inha Song
Hi, Charles, On Wed, 23 Sep 2015 15:43:12 +0100 Charles Keepax wrote: > On Wed, Sep 23, 2015 at 11:04:04AM +0900, Inha Song wrote: > > Hi, Charles, > > > > I saw the log with LOG_DEVICE in regmap. But, I'm not sure the reason that > > suspend noirq failed is I

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-25 Thread Inha Song
Hi, Charles, On Thu, 24 Sep 2015 08:41:07 +0100 Charles Keepax wrote: > On Thu, Sep 24, 2015 at 10:38:09AM +0900, Inha Song wrote: > > Hi, Charles, > > > > On Wed, 23 Sep 2015 15:43:12 +0100 > > Charles Keepax wrote: > > > > > On Wed, Sep 23,

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-20 Thread Inha Song
abling IRQ ... [ 72.646770] PM: noirq suspend of devices failed <- because of "spi1.0" pm_wakeup_pending() in suspend_noirq() ... [ 72.663623] s3c64xx_spi_resume [ 72.851089] arizona spi1.0: Late resume, reenabling IRQ Best Regards, Inha Song. On Fri, 18 Sep 2015