Re: [alsa-devel] [PATCH] ASoC: max98088: Add master clock handling

2015-02-19 Thread Tushar Behera
On 02/20/2015 12:48 AM, Andreas Färber wrote: If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Cc: Tushar Behera tushar.beh...@linaro.org Signed-off-by: Andreas Färber afaer...@suse.de --- sound/soc/codecs/max98088.c | 24

Re: [alsa-devel] [PATCH 4/6] ASoC: samsung: Document binding for max98089 based Snow driver

2015-02-18 Thread Tushar Behera
, + google,snow-audio-max98089 or google,snow-audio-max98090 or google,snow-audio-max98091 or google,snow-audio-max98095 Looks good. Acked-by: Tushar Behera trbli...@gmail.com -- Tushar Behera -- To unsubscribe from this list

Re: [PATCH V3 09/15] ASoC: samsung: i2s: Protect more registers with a spinlock

2015-01-16 Thread Tushar Behera
= ~(1 i2s_regs-rclksrc_off); - else - mod |= 1 i2s_regs-rclksrc_off; - + if (clk_id == 1) + val = 1 i2s_regs-rclksrc_off; Same as above. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH] ARM: exynos_defconfig: Enable PL330 DMA

2014-07-31 Thread Tushar Behera
On Thu, Jul 31, 2014 at 7:59 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Thursday, July 31, 2014 08:09:49 AM Andreas Färber wrote: Hi Tushar, Am 31.07.2014 07:42, schrieb Tushar Behera: We are getting a system hang on Arndale-Octa board if PL330_DMA

[PATCH] ARM: exynos_defconfig: Enable PL330 DMA

2014-07-30 Thread Tushar Behera
/32 Signed-off-by: Tushar Behera tusha...@samsung.com --- arch/arm/configs/exynos_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index e07a227..c5888e8 100644 --- a/arch/arm/configs/exynos_defconfig +++ b

Re: [PATCH V2 3/3] clk: exynos-audss: Use samsung clock APIs to register/unregister clocks

2014-07-14 Thread Tushar Behera
On Mon, Jul 14, 2014 at 9:04 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 11/07/14 14:00, Tushar Behera wrote: @@ -103,17 +140,11 @@ static int exynos_audss_clk_probe(struct platform_device *pdev) return PTR_ERR(reg_base); } - clk_table = devm_kzalloc

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-07-11 Thread Tushar Behera
On 06/13/2014 02:39 AM, Mike Turquette wrote: Quoting Tushar Behera (2014-06-12 00:29:23) On Wed, Jun 11, 2014 at 10:20 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-06-10 22:32:17) When the output clock of AUDSS mux is disabled, we are getting kernel oops

[PATCH 1/2] clk: exynos-audss: Simplify code to get clock names

2014-07-11 Thread Tushar Behera
Instead of getting the clock names individually, it would be good to put the logic within a loop. Signed-off-by: Tushar Behera tusha...@samsung.com --- drivers/clk/samsung/clk-exynos-audss.c | 33 1 file changed, 17 insertions(+), 16 deletions(-) diff --git

[PATCH 0/2] clk: exynos-audss: Adapt to exising clock framework

2014-07-11 Thread Tushar Behera
The patchset is targetted as moving exising exynos-audss clock driver from being a module driver. The driver is now registered through CLK_OF_DECLARE and is inline with other Samsung clock drivers. The patches are tested on Exynos5800 based Peach-Pi board. More tests are welcome. Tushar Behera

[PATCH 2/2] clk: exynos-audss: Update as per existing framework

2014-07-11 Thread Tushar Behera
Change exynos-audss clock driver as per existing clock framework from the existing module driver framework. Signed-off-by: Tushar Behera tusha...@samsung.com --- drivers/clk/samsung/clk-exynos-audss.c | 239 1 file changed, 87 insertions(+), 152 deletions

Re: [PATCH 0/2] clk: exynos-audss: Adapt to exising clock framework

2014-07-11 Thread Tushar Behera
On 07/11/2014 03:21 PM, Tomasz Figa wrote: Hi Tushar, On 11.07.2014 11:37, Tushar Behera wrote: The patchset is targetted as moving exising exynos-audss clock driver from being a module driver. The driver is now registered through CLK_OF_DECLARE and is inline with other Samsung clock

[PATCH V2 1/3] clk: exynos-audss: Simplify code to get clock names

2014-07-11 Thread Tushar Behera
Instead of getting the clock names individually, it would be good to put the logic within a loop. Signed-off-by: Tushar Behera tusha...@samsung.com --- Changes for V2: * Calling clk_put as soon as the clock is not required anymore drivers/clk/samsung/clk-exynos-audss.c | 35

[PATCH V2 2/3] clk: samsung: Add API to unregister clocks

2014-07-11 Thread Tushar Behera
Added an API to unregister all the clocks defined within a context. This is helpful in case where the clock is registered through a platform driver and we want to unregister the clocks during remove callback. Signed-off-by: Tushar Behera tusha...@samsung.com --- Changelog: This is new patch

[PATCH V2 3/3] clk: exynos-audss: Use samsung clock APIs to register/unregister clocks

2014-07-11 Thread Tushar Behera
Using samsung clock APIs to register/unregister clocks will save some lines of code. Signed-off-by: Tushar Behera tusha...@samsung.com --- Changes of v2: * Retain platform driver structure. drivers/clk/samsung/clk-exynos-audss.c | 146 1 file changed, 56

[PATCH V2 0/3] clk: exynos-audss: Adapt to exising clock framework

2014-07-11 Thread Tushar Behera
Generic cleanup and usage of samsung clock register/unregister APIs. The patches are tested on Exynos5800 based Peach-Pi board. More tests are welcome. Tushar Behera (3): clk: exynos-audss: Simplify code to get clock names clk: samsung: Add API to unregister clocks clk: exynos-audss: Use

Re: [PATCH 2/2] clk: exynos-audss: Update as per existing framework

2014-07-11 Thread Tushar Behera
On 07/11/2014 04:10 PM, Sylwester Nawrocki wrote: Hi Tushar, On 11/07/14 11:37, Tushar Behera wrote: Change exynos-audss clock driver as per existing clock framework from the existing module driver framework. Can you explain what's the actual issue you're trying to solve with that patch

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-07-09 Thread Tushar Behera
On 07/09/2014 03:44 PM, Javier Martinez Canillas wrote: Hello Tushar, On Tue, Jul 8, 2014 at 5:00 AM, Tushar Behera trbli...@gmail.com wrote: The u-boot version is a little different on my Peach-Pi as compared to the market release version. Not sure if that is making any difference. Peach

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-07-07 Thread Tushar Behera
On 07/08/2014 05:04 AM, Kukjin Kim wrote: On 07/01/14 20:59, Tushar Behera wrote: On 06/27/2014 08:18 PM, Kevin Hilman wrote: On Fri, Jun 27, 2014 at 7:18 AM, Kevin Hilmankhil...@linaro.org wrote: On Thu, Jun 26, 2014 at 8:38 PM, Tushar Beheratrbli...@gmail.com wrote: Would you please

[PATCH 1/2] ASoC: samsung: Update sound-card name for Snow

2014-07-04 Thread Tushar Behera
Snow sound-card driver supports multiple boards with different audio codecs. Updating the sound card name per board basis would provide some more information to the end-user. Signed-off-by: Tushar Behera tusha...@samsung.com --- Documentation/devicetree/bindings/sound/snow.txt |4 sound

[PATCH 2/2] ASoC: core: Fix possible NULL pointer dereference

2014-07-04 Thread Tushar Behera
in snd_soc_of_parse_card_name() to take care of this case and print out a message in case of error. Signed-off-by: Tushar Behera tusha...@samsung.com --- sound/soc/soc-core.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index c4db07f

[PATCH] ARM: dts: Add sound-card name for Snow/Peach-Pit/Peach-Pi

2014-07-04 Thread Tushar Behera
Add sound-card name property to Snow/Peach-Pit/Peach-Pi boards. Signed-off-by: Tushar Behera tusha...@samsung.com --- Patch to update driver is submitted here[1]. [1] ASoC: samsung: Update sound-card name for Snow https://lkml.org/lkml/2014/7/4/125 arch/arm/boot/dts/exynos5250-snow.dts

[PATCH] drm/exynos: fimd: Keep power enabled during fimd_bind

2014-07-04 Thread Tushar Behera
power-domain enabled explicitly. Unhandled fault: external abort on non-linefetch (0x1008) at 0xf0180034 Internal error: : 1008 [#1] PREEMPT SMP ARM ... PC is at fimd_bind+0x84/0x134 LR is at component_bind_all+0xb4/0x1d8 Signed-off-by: Tushar Behera tusha...@samsung.com --- drivers/gpu/drm/exynos

Re: [PATCHv2 1/3] of: Split early_init_dt_scan into two parts

2014-07-02 Thread Tushar Behera
10 30 10, Output after: memory scan node memory, reg size 64, data: 20 10 30 10, Tested-by: Tushar Behera trbli...@gmail.com One minor nit below ... drivers/of/fdt.c | 18 +- include/linux/of_fdt.h | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git

[PATCH] ARM: dts: disable MDMA1 node for exynos5420

2014-07-01 Thread Tushar Behera
external abort (0x1406) at 0x) Thus, arndale-octa board don't need to do the same thing anymore. Signed-off-by: Seungwon Jeon tgih@samsung.com Tested-by: Javi Merino javi.mer...@arm.com Signed-off-by: Kukjin Kim kgene@samsung.com Signed-off-by: Tushar Behera tusha...@samsung.com

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-07-01 Thread Tushar Behera
On 06/27/2014 08:18 PM, Kevin Hilman wrote: On Fri, Jun 27, 2014 at 7:18 AM, Kevin Hilman khil...@linaro.org wrote: On Thu, Jun 26, 2014 at 8:38 PM, Tushar Behera trbli...@gmail.com wrote: Would you please provide me the environment setting of your u-boot? U-boot environment on my board has

Re: [PATCH 00/17] ARM: S5P64X0, S5PC100: no more support in mainline

2014-06-30 Thread Tushar Behera
-kernel mailing list linux-arm-ker...@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
On 06/26/2014 03:27 AM, Laura Abbott wrote: On 6/25/2014 5:13 AM, Tushar Behera wrote: On 06/25/2014 03:59 AM, Laura Abbott wrote: On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
, + .bank_limit = 8, MACHINE_END -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-26 Thread Tushar Behera
-arndale-octa_20140626-442_armhf_supported.tar.gz [7] path_to_extracted_folder/u_boot/usr/lib/u-boot/arndale_octa [8] git.linaro.org/landing-teams/working/samsung/u-boot.git/shortlog/refs/heads/tracking-arndale_octa [9] http://pastebin.com/pfGF2giq Thanks, -- Tushar Behera -- To unsubscribe from

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-26 Thread Tushar Behera
On 06/26/2014 09:38 PM, Kevin Hilman wrote: Tushar Behera trbli...@gmail.com writes: On Thu, Jun 26, 2014 at 4:51 AM, Kevin Hilman khil...@linaro.org wrote: Doug Anderson diand...@google.com writes: Tushar, On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote

Re: [PATCH v2 Resend 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

2014-06-25 Thread Tushar Behera
with firmware node in DT are based on Exynos4412 or Exynos5410. Best regards, Tomasz Kukjin, Would you please pick this patch as a fix for 3.16? -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-25 Thread Tushar Behera
On 06/25/2014 03:59 AM, Laura Abbott wrote: On 6/24/2014 10:47 AM, Laura Abbott wrote: On 6/23/2014 11:32 AM, Kevin Hilman wrote: On Sun, Jun 22, 2014 at 8:56 PM, Tushar Behera trbli...@gmail.com wrote: Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-25 Thread Tushar Behera
On Thu, Jun 26, 2014 at 4:51 AM, Kevin Hilman khil...@linaro.org wrote: Doug Anderson diand...@google.com writes: Tushar, On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote: Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual

Re: [PATCH 1/2] usb: host: Kconfig: Select PHY drivers for Exynos EHCI/OHCI

2014-06-25 Thread Tushar Behera
easier for the end user. While at it enable 5250 phy for Exynos 5420 SoC too. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com Cc: Kishon Vijay Abraham I kis...@ti.com --- Reviewed-by: Tushar Behera tusha...@samsung.com drivers/phy/Kconfig | 37

Re: [PATCH 2/2] usb: dwc3: Kconfig: Select PHY drivers for Exynos DWC3

2014-06-25 Thread Tushar Behera
the config depend on ARCH_EXYNOS5 instead of ARCH_EXYNOS as this IP is available only on Exynos5 platforms. Signed-off-by: Sachin Kamat sachin.ka...@samsung.com Cc: Kishon Vijay Abraham I kis...@ti.com --- Reviewed-by: Tushar Behera tusha...@samsung.com drivers/phy/Kconfig |8

Re: [PATCH v2] ARM: dts: Add cros_ec to exynos5420-peach-pit and exynos5800-peach-pi

2014-06-24 Thread Tushar Behera
on next-20140623, tested keyboard on Peach-Pi board. Tested-by: Tushar Behera tusha...@samsung.com Some comments below. --- Changes in v2: - Now just one patch since mfd patch landed. - Rebased to ToT linux-next arch/arm/boot/dts/exynos5420-peach-pit.dts | 145

Re: [PATCH 3/3] ARM: exynos: activate the CCI on boot CPU/cluster with the MCPM loopback

2014-06-24 Thread Tushar Behera
. Signed-off-by: Nicolas Pitre n...@linaro.org --- Tested on top of next-20140623. Verified that all 8 cores are coming up on Exynos5800 based Peach-pi board. Tested-by: Tushar Behera tusha...@samsung.com arch/arm/mach-exynos/mcpm-exynos.c | 15 +++ 1 file changed, 15 insertions

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-24 Thread Tushar Behera
On 06/25/2014 04:29 AM, Doug Anderson wrote: Tushar, On Thu, Jun 12, 2014 at 12:40 AM, Tushar Behera tusha...@samsung.com wrote: On Wed, Jun 11, 2014 at 10:20 PM, Kevin Hilman khil...@linaro.org wrote: Tushar Behera tusha...@samsung.com writes: When the output clock of AUDSS mux

Re: [alsa-devel] [PATCH V2 1/2] ASoC: samsung: Add machine driver for Odroid X2/U3

2014-06-24 Thread Tushar Behera
); + + snd_soc_unregister_card(card); This can be removed when devm_snd_soc_register_card is used. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] ASoC: max98090: Add max98091 compatible string

2014-06-23 Thread Tushar Behera
On 06/21/2014 02:02 AM, Doug Anderson wrote: Tushar, On Fri, Jun 20, 2014 at 1:03 AM, Tushar Behera tusha...@samsung.com wrote: From: Wonjoon Lee woojoo@samsung.com The MAX98091 CODEC is the same as MAX98090 CODEC, but with an extra microphone. Existing driver for MAX98090 CODEC

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-22 Thread Tushar Behera
On Mon, Jun 16, 2014 at 4:56 PM, Tushar Behera trbli...@gmail.com wrote: On 06/11/2014 09:28 PM, Javier Martinez Canillas wrote: On Wed, Jun 11, 2014 at 7:32 AM, Tushar Behera tusha...@samsung.com wrote: Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual

Re: mainline boot: 64 boots: 62 pass, 2 fail (v3.16-rc1-2-gebe0618)

2014-06-22 Thread Tushar Behera
Adding linux-samsung-soc and linux-arm-kernel ML for wider audience. On 06/19/2014 04:12 PM, Tushar Behera wrote: On 06/19/2014 03:02 PM, Tushar Behera wrote: On 06/18/2014 09:22 AM, Kevin Hilman wrote: On Tue, Jun 17, 2014 at 8:26 PM, Tushar Behera trbli...@gmail.com wrote: On 06/17/2014 10

Re: Boot regression on Arndale Octa

2014-06-22 Thread Tushar Behera
if there is any change in behavior when you use uImage/zImage. I want to confirm whether this is same as [1]. [1] http://www.spinics.net/lists/arm-kernel/msg340668.html Regards, Andreas -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body

[PATCH] ARM: dts: Move display-timings node under fimd node

2014-06-22 Thread Tushar Behera
'display-timings' should be a subnode for fimd node. Moving this node appropriately gets the display back on Origen/Origen-Quad boards. Signed-off-by: Tushar Behera tusha...@samsung.com --- Based on next-20140620. Tested on Exynos4210-Origen board. Looks like there are still some pending bits

[PATCH 2/2] ASoC: samsung: Extend snow driver to support MAX98091

2014-06-20 Thread Tushar Behera
Peach-pi board has MAX98091 CODEC. Extend snow machine driver to support this board. Signed-off-by: Tushar Behera tusha...@samsung.com --- Documentation/devicetree/bindings/sound/snow.txt |1 + sound/soc/samsung/snow.c |1 + 2 files changed, 2 insertions(+) diff

[PATCH 1/2] ASoC: max98090: Add max98091 compatible string

2014-06-20 Thread Tushar Behera
-by: Wonjoon Lee woojoo@samsung.com Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Tushar Behera tusha...@samsung.com --- Picked from https://chromium-review.googlesource.com/#/c/184091/ .../devicetree/bindings/sound/max98090.txt |2 +- sound/soc/codecs/max98090

[PATCH v2 0/2] ARM: dts: Peach-pi audio support and cleanup

2014-06-20 Thread Tushar Behera
that activity. Tushar Behera (2): ARM: dts: Enable audio support for Peach-pi board ARM: dts: Sort nodes within Peach-pit/Peach-pi dts files arch/arm/boot/dts/exynos5420-peach-pit.dts | 236 ++-- arch/arm/boot/dts/exynos5800-peach-pi.dts | 218 ++--- 2

[PATCH v2 1/2] ARM: dts: Enable audio support for Peach-pi board

2014-06-20 Thread Tushar Behera
Peach-pi board has MAX98091 audio codec connected on HSI2C-7 bus. Signed-off-by: Tushar Behera tusha...@samsung.com --- Changes for v2: * Replaced max98090 with max98091. arch/arm/boot/dts/exynos5800-peach-pi.dts | 31 + 1 file changed, 31 insertions(+) diff --git

[PATCH 2/2] ARM: dts: Sort nodes within Peach-pit/Peach-pi dts files

2014-06-20 Thread Tushar Behera
. Signed-off-by: Tushar Behera tusha...@samsung.com --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 236 ++-- arch/arm/boot/dts/exynos5800-peach-pi.dts | 225 +- 2 files changed, 233 insertions(+), 228 deletions(-) diff --git a/arch/arm/boot/dts

Re: [PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-16 Thread Tushar Behera
On 06/13/2014 10:33 PM, Doug Anderson wrote: Tushar, On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera tusha...@samsung.com wrote: Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. If you want to be a stickler about it, peach-pi actually has a max98091. That requires code

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-16 Thread Tushar Behera
On 06/11/2014 09:28 PM, Javier Martinez Canillas wrote: On Wed, Jun 11, 2014 at 7:32 AM, Tushar Behera tusha...@samsung.com wrote: Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual, it should be CLK_MAU_EPLL. The problem surfaced when the bootloader

Re: [PATCH] ARM: dts: Add missing clock/pin-control entries for I2S0 on Exynos4

2014-06-16 Thread Tushar Behera
On 06/09/2014 04:36 PM, Sylwester Nawrocki wrote: On 09/06/14 12:44, Tushar Behera wrote: IMHO, the clock entries belong here as the audss clock provider essentially remains same for all Exynos4 based systems. As for pin-control entry, I believe we can move them to respective SoC dtsi files

Re: [PATCH] ARM: dts: Add missing clock/pin-control entries for I2S0 on Exynos4

2014-06-16 Thread Tushar Behera
On Mon, Jun 16, 2014 at 5:20 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 16/06/14 13:43, Tushar Behera wrote: On 06/09/2014 04:36 PM, Sylwester Nawrocki wrote: On 09/06/14 12:44, Tushar Behera wrote: IMHO, the clock entries belong here as the audss clock provider essentially

Re: [PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-16 Thread Tushar Behera
to have an official order to make diffing easier and also to avoid merge conflicts (unlikely someone changing different properties will both add them in the same place in the ordering). -Doug -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:20 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-06-10 22:32:17) When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't specify

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:58 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Tushar, On 11.06.2014 07:32, Tushar Behera wrote: When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:20 PM, Kevin Hilman khil...@linaro.org wrote: Tushar Behera tusha...@samsung.com writes: When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't specify

[PATCH 0/3] Fix boot-hang on Peach-pit and Enable audio

2014-06-10 Thread Tushar Behera
. * Run 'sound init' at u-boot prompt. Tushar Behera (3): clk: exynos-audss: Keep the parent of mout_audss always enabled ARM: dts: Update the parent for Audss clocks in Exynos5420 ARM: dts: Enable audio support for Peach-pi board arch/arm/boot/dts/exynos5420.dtsi |2 +- arch/arm

[PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-10 Thread Tushar Behera
always enabled fixes this issue. Signed-off-by: Tushar Behera tusha...@samsung.com Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com --- drivers/clk/samsung/clk-exynos-audss.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos

[PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-10 Thread Tushar Behera
Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. Signed-off-by: Tushar Behera tusha...@samsung.com --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 31 + 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch

Re: [PATCH] ARM: dts: Add missing clock/pin-control entries for I2S0 on Exynos4

2014-06-09 Thread Tushar Behera
On 06/09/2014 03:23 PM, Sylwester Nawrocki wrote: Hi Tushar, On 07/06/14 11:30, Tushar Behera wrote: I2S driver uses 3 clocks under different conditions. Added two missing clocks. Additionally updated pin-control property for this node. Signed-off-by: Tushar Behera tusha...@samsung.com

[PATCH] ARM: dts: Add missing clock/pin-control entries for I2S0 on Exynos4

2014-06-07 Thread Tushar Behera
I2S driver uses 3 clocks under different conditions. Added two missing clocks. Additionally updated pin-control property for this node. Signed-off-by: Tushar Behera tusha...@samsung.com --- Based on next-20140606. Tested on Exynos4210-based Origen boards with private patches for codec/machine

Re: Problems booting exynos5420 with 1 CPU

2014-06-05 Thread Tushar Behera
cpu_power 1535 [0.170012] CPU3: thread -1, cpu 3, socket 0, mpidr 8003 -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v11 0/3] Exynos 5410 support

2014-05-29 Thread Tushar Behera
: dts: Add secure firmware support for Arndale-octa -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ARM: dts: Add mclk entry for Snow/Peach-pit boards

2014-05-26 Thread Tushar Behera
On 20 May 2014 10:19, Tushar Behera tushar.beh...@linaro.org wrote: On Snow/Peach-pit boards, XCLKOUT provides master clock (mclk) to codec. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- This patch is obsolete now because the proposed clock bindings for XCLKOUT is now different

Re: [PATCH 1/3] mmc: host: add slot argument to mmc_of_parse

2014-05-23 Thread Tushar Behera
/** - * mmc_of_parse() - parse host's device-tree node + * __mmc_of_parse() - parse host's device-tree node IMO it would be better to rename this function, something like mmc_of_parse_slot(). -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body

[PATCH] ASoC: samsung: Use params_width()

2014-05-23 Thread Tushar Behera
commit 8c5178fca4ce (ALSA: Add params_width() helpers) introduces a helper to get the sample width. Updating Samsung related sound drivers to use this helper. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/i2s.c |8 sound/soc/samsung/pcm.c

Re: [PATCH 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-22 Thread Tushar Behera
On 22 May 2014 16:04, Tomasz Figa t.f...@samsung.com wrote: On 22.05.2014 07:13, Tushar Behera wrote: On 05/20/2014 10:13 PM, Tomasz Figa wrote: This patch introduces a driver that handles configuration of CLKOUT pin of Exynos SoCs that can be used to output certain clocks from inside

Re: [PATCH 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-22 Thread Tushar Behera
On 22 May 2014 17:31, Tomasz Figa t.f...@samsung.com wrote: On 22.05.2014 13:44, Tushar Behera wrote: On 22 May 2014 16:04, Tomasz Figa t.f...@samsung.com wrote: On 22.05.2014 07:13, Tushar Behera wrote: On 05/20/2014 10:13 PM, Tomasz Figa wrote: This patch introduces a driver that handles

Re: [PATCH] sound: soc: samsung: dma.c: Fix to remove null pointer checks that could never happen

2014-05-22 Thread Tushar Behera
:) ASoC: samsung: Remove redundant null pointer check from dma.c With that change, Reviewed-by: Tushar Behera tushar.beh...@linaro.org sound/soc/samsung/dma.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c index

Re: [PATCH V2 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

2014-05-22 Thread Tushar Behera
On 20 May 2014 09:20, Tushar Behera tushar.beh...@linaro.org wrote: From: Sachin Kamat sachin.ka...@linaro.org Almost all Exynos-series of SoCs that run in secure mode don't need additional offset for every CPU, with Exynos4412 being the only exception. Tested on Origen-Quad (Exynos4412

Re: [PATCH 1/1] ARM: EXYNOS: Fix compilation warning

2014-05-21 Thread Tushar Behera
/arm/mach-exynos/exynos.c:259:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Rob Herring r...@kernel.org --- Change looks good. Reviewed-by: Tushar Behera tushar.beh...@linaro.org Based

Re: [PATCH 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-21 Thread Tushar Behera
; + /* ... */ }; -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 4/4] ARM: dts: exynos: Update PMU node with CLKOUT related data

2014-05-21 Thread Tushar Behera
; + clocks = clock CLK_FIN_PLL; }; tmu_cpu0: tmu@1006 { -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-21 Thread Tushar Behera
to rely on the default value set to this register in bootloader. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ASoC: samsung: Allow setting OP_CLK of the IIS Multi Audio Interface

2014-05-20 Thread Tushar Behera
On 05/20/2014 02:40 PM, Sylwester Nawrocki wrote: On 20/05/14 07:14, Tushar Behera wrote: On 05/19/2014 11:00 PM, Sylwester Nawrocki wrote: This patch adds support for setting source clock of the Core CLK of the IIS Multi Audio Interface. Signed-off-by: Sylwester Nawrocki s.nawro

[PATCH 0/4] ASoC: samsung: Add devres APIs

2014-05-20 Thread Tushar Behera
Adding devres APIs to various files in sound/soc/samsung saves us close to 150 lines of code. The patches are based on next-20140519 and have been build tested. Tushar Behera (4): ASoC: samsung: Use devm_snd_soc_register_card ASoC: samsung: Use devm_snd_soc_register_platform ASoC: samsung

[PATCH 2/4] ASoC: samsung: Use devm_snd_soc_register_platform

2014-05-20 Thread Tushar Behera
Replaced snd_soc_register_platform with devm_snd_soc_register_platform in samsung_asoc_dma_platform_register(). This makes the function samsung_asoc_dma_platform_unregister() redundant. This is removed and all its users are updated. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound

[PATCH 4/4] ASoC: samsung: Add devm_clk_get to pcm.c

2014-05-20 Thread Tushar Behera
clk_get in probe function can be safely replaced with devm_clk_get. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/pcm.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index 90fcd52

[PATCH 1/4] ASoC: samsung: Use devm_snd_soc_register_card

2014-05-20 Thread Tushar Behera
Replace snd_soc_register_card with devm_snd_soc_register_card. With this change, we can delete the empty remove functions. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/bells.c | 16 +++- sound/soc/samsung/littlemill.c | 18

[PATCH 3/4] ASoC: samsung: Use devm_snd_soc_register_component

2014-05-20 Thread Tushar Behera
Replaced snd_soc_register_component with its devres equivalent, devm_snd_soc_register_component. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/ac97.c|8 ++-- sound/soc/samsung/goni_wm8994.c |9 +++-- sound/soc/samsung/pcm.c |8

Re: [PATCH] ASoC: samsung: Add 'mclk' handling for Snow sound-card driver

2014-05-20 Thread Tushar Behera
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/20/2014 04:46 PM, Mark Brown wrote: On Tue, May 20, 2014 at 09:55:42AM +0530, Tushar Behera wrote: For audio to work on Snow board, we need the codec master clock 'mclk' to be properly configured. Currently XCLKOUT is configured as 'mclk

Re: [PATCH RFC 3/4] clk: samsung: Add driver to control CLKOUT line on Exynos SoCs

2014-05-19 Thread Tushar Behera
on Exynos5420-based peach-pit board for audio playback (with an internal patch to set CLK_FIN_PLL as the parent of clkout). Tested-by: Tushar Behera tushar.beh...@linaro.org Example : pmu_system_controller: system-controller@1004 { compatible = samsung,exynos5250-pmu, syscon

[PATCH 1/2] ARM: EXYNOS: Add secure firmware support for Exynos5420

2014-05-19 Thread Tushar Behera
From: Sachin Kamat sachin.ka...@linaro.org Updated secondary boot register offset for Exynos5420 in case of secure booting. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patches are based on top of next-20140519. With these two

[PATCH] ARM: dts: Add secure firmware support for Arndale-octa

2014-05-19 Thread Tushar Behera
Arndale-Octa board is always configured to work with trustzone firmware binary. Added DTS node entry to enable this support. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch/arm/boot/dts/exynos5420-arndale-octa.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch

Re: [PATCH V2] ASoC: SAMSUNG: Add sound card driver for Snow board

2014-05-19 Thread Tushar Behera
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/02/2014 10:26 PM, Mark Brown wrote: On Fri, May 02, 2014 at 10:26:08AM +0530, Tushar Behera wrote: On 05/01/2014 10:10 PM, Mark Brown wrote: There's patches been posted by (IIRC) Sylvester Nawrocki for this which I think Mike was basically

Re: [PATCH 1/2] ARM: EXYNOS: Add secure firmware support for Exynos5420

2014-05-19 Thread Tushar Behera
On 05/19/2014 05:02 PM, Tomasz Figa wrote: Hi Tushar, Sachin, On 19.05.2014 13:09, Tushar Behera wrote: From: Sachin Kamat sachin.ka...@linaro.org Updated secondary boot register offset for Exynos5420 in case of secure booting. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Signed

[PATCH V2 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

2014-05-19 Thread Tushar Behera
around *). Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for V2: * Changed the condition statement as per review comment * Fixed coding style arch/arm/mach-exynos/firmware.c |9 +++-- 1 file changed, 7 insertions(+), 2

[PATCH RESEND 2/2] ARM: dts: Add secure firmware support for Arndale-octa

2014-05-19 Thread Tushar Behera
Arndale-Octa board is always configured to work with trustzone firmware binary. Added DTS node entry to enable this support. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch/arm/boot/dts/exynos5420-arndale-octa.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch

[PATCH] ASoC: samsung: Add 'mclk' handling for Snow sound-card driver

2014-05-19 Thread Tushar Behera
'mclk' to operate at 24MHz. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Documentation/devicetree/bindings/sound/snow.txt |7 ++ sound/soc/samsung/snow.c | 26 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git

[PATCH] ARM: dts: Add mclk entry for Snow/Peach-pit boards

2014-05-19 Thread Tushar Behera
On Snow/Peach-pit boards, XCLKOUT provides master clock (mclk) to codec. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Dependency: 1. Driver side changes have been posted here. https://lkml.org/lkml/2014/5/20/4 2. XCLKOUT clock driver support https://lkml.org/lkml/2014/5/15/530

Re: [PATCH] ASoC: samsung: Allow setting OP_CLK of the IIS Multi Audio Interface

2014-05-19 Thread Tushar Behera
-case where we might need to update this? The default value for audio playback right now is 00 (2'b), which needs to be fixed anyways. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] sound: soc: samsung: dma.c: Fix for possible null pointer dereference

2014-05-19 Thread Tushar Behera
can be removed as snd_pcm_period_elapsed() also checks the validity of the argument. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 1/4] clk: samsung: out: Add infrastructure to register CLKOUT

2014-05-18 Thread Tushar Behera
of PMU, not CMU (CMU only provides outputs of particular sub-blocks that are fed into the PMU). Best regards, Tomasz -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v3 1/2] ARM: EXYNOS: Map SYSRAM through generic SRAM bindings

2014-05-13 Thread Tushar Behera
in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH] ASoC: samsung: Add missing pm ops for Snow sound card driver

2014-05-13 Thread Tushar Behera
Adding missing pm ops so that audio playback works across suspend and resume cycle. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- sound/soc/samsung/snow.c |1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0fa89a4..014c177

Re: [PATCH 0/4] Add framework to support clkout

2014-05-11 Thread Tushar Behera
. + */ + +exynos_map_pmu(); + Instead of calling early_syscon_init() from within exynos_map_pmu(), it would be good to call it explicitly here before exynos_map_pmu(). +of_clk_init(NULL); +clocksource_of_init(); + +} + -- Tushar Behera -- To unsubscribe from this list: send the line

Re: [PATCH 1/4] clk: samsung: out: Add infrastructure to register CLKOUT

2014-05-11 Thread Tushar Behera
On 05/10/2014 09:21 AM, Pankaj Dubey wrote: On 05/09/2014 10:00 PM, Tushar Behera wrote: All SoC in Exynos-series have a clock with name XCLKOUT to provide debug information about various clocks available in the SoC. The register controlling the MUX and GATE of this clock is provided within

Re: [PATCH] thermal: samsung: Only update available threshold limits

2014-05-09 Thread Tushar Behera
On 04/24/2014 11:48 AM, Amit Kachhap wrote: On 4/14/14, Tushar Behera tushar.beh...@linaro.org wrote: Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. I guess the first stage is bootloader as could not find

[PATCH 3/4] clk: samsung: exynos5250: Add xclkout debug clock

2014-05-09 Thread Tushar Behera
-off-by: Tushar Behera tushar.beh...@linaro.org CC: Tomasz Figa t.f...@samsung.com --- drivers/clk/samsung/clk-exynos5250.c | 14 ++ include/dt-bindings/clock/exynos5250.h |3 +++ 2 files changed, 17 insertions(+) diff --git a/drivers/clk/samsung/clk-exynos5250.c b/drivers/clk

  1   2   3   4   5   6   >