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

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 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

[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 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

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

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

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

Re: [PATCH v5 14/14] ARM: dts: Add max77802 to exynos5420-peach-pit and exynos5800-peach-pi

2014-07-02 Thread Tushar Behera
. + }; [ ... ] + ldo23_reg: LDO23 { + regulator-name = ld0_23; ldo_23, 'o' in place of '0'. Similar comments for peach-pi DTS file. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body

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 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: [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

[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

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 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-16 Thread Tushar Behera
On Mon, Jun 16, 2014 at 10:19 PM, Doug Anderson diand...@google.com wrote: Tushar, On Mon, Jun 16, 2014 at 4:19 AM, Tushar Behera trbli...@gmail.com wrote: 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

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 devicetree in the body

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 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

[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 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-10 Thread Tushar Behera
if CLK_MAU_EPLL was disabled. Signed-off-by: Tushar Behera tusha...@samsung.com Signed-off-by: Shaik Ameer Basha shaik.am...@samsung.com Reported-by: Kevin Hilman khil...@linaro.org --- arch/arm/boot/dts/exynos5420.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

Re: [PATCHv4 2/2] ARM: dts: unuse the slot-node and deprecated support-highspeed for dw-mmc.

2014-06-04 Thread Tushar Behera
reference: Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCHv5 2/2] ARM: dts: unuse the slot-node and deprecated supports-highspeed for dw-mmc.

2014-06-04 Thread Tushar Behera
-mshc.txt | 12 - For the documentation changes, Reviewed-by: Tushar Behera trbli...@gmail.com -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

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 devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH/RFC V6 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-05-27 Thread Tushar Behera
= default; pinctrl-0 = max98090_irq; + clocks = pmu_system_controller 0; + clock-names = mclk; + clock-parents = clock CLK_FIN_PLL; + clock-rates = 2400; }; }; -- Tushar Behera -- To unsubscribe from this list: send

[PATCH V2 0/2] ASoC: max98090/max98095: Add master clock handing

2014-05-26 Thread Tushar Behera
been probed 2. Moved clk_prepare_enable from .probe to .set_bias_level 3. Moved clk_disable_unprepare from .remove to .set_bias_level Tushar Behera (2): ASoC: max98090: Add master clock handling ASoC: max98095: Add master clock handling .../devicetree/bindings/sound/max98090.txt |6

[PATCH 2/2] ASoC: max98095: Add master clock handling

2014-05-26 Thread Tushar Behera
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Documentation has been updated to reflect the change. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- .../devicetree/bindings/sound/max98095.txt |6 + sound/soc

[PATCH V2 1/2] ASoC: max98090: Add master clock handling

2014-05-26 Thread Tushar Behera
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Documentation has been updated to reflect the change. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- .../devicetree/bindings/sound/max98090.txt |6 + sound/soc

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 devicetree in the body of a message

Re: [PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-23 Thread Tushar Behera
On 23 May 2014 16:44, Mark Brown broo...@kernel.org wrote: On Fri, May 23, 2014 at 11:05:17AM +0530, Tushar Behera wrote: I tested with moving clk_enable/clk_disable calls to set_bias_level(): SND_SOC_BIAS_PREPARE. That works well for me. Does it look okay? + if (!IS_ERR

Re: [PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-23 Thread Tushar Behera
On 23 May 2014 17:11, Mark Brown broo...@kernel.org wrote: On Fri, May 23, 2014 at 05:06:27PM +0530, Tushar Behera wrote: On 23 May 2014 16:44, Mark Brown broo...@kernel.org wrote: Should be clk_prepare_enable() and similarly for the disable and you should check the error codes but yes

[PATCH 2/2] ASoC: max98095: Add master clock handling

2014-05-22 Thread Tushar Behera
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Documentation has been updated to reflect the change. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- .../devicetree/bindings/sound/max98095.txt |6 ++ sound/soc

[PATCH 0/2] ASoC: max98090/max98095: Add master clock handing

2014-05-22 Thread Tushar Behera
patch. [PATCH] ASoC: samsung: Add 'mclk' handling for Snow sound-card driver https://lkml.org/lkml/2014/5/20/4 Tushar Behera (2): ASoC: max98090: Add master clock handling ASoC: max98095: Add master clock handling .../devicetree/bindings/sound/max98090.txt |6 ++ .../devicetree

[PATCH 1/2] ASoC: max98090: Add master clock handling

2014-05-22 Thread Tushar Behera
If master clock is provided through device tree, then update the master clock frequency during set_sysclk. Documentation has been updated to reflect the change. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- .../devicetree/bindings/sound/max98090.txt |6 ++ sound/soc

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 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 devicetree 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 devicetree 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 devicetree 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: 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

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

[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

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 devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

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 devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

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

[PATCH 0/4] Add framework to support clkout

2014-05-09 Thread Tushar Behera
from exynos.c is not working ATM. Tushar Behera (4): clk: samsung: out: Add infrastructure to register CLKOUT clk: samsung: exynos5420: Add xclkout debug clock clk: samsung: exynos5250: Add xclkout debug clock ARM: dts: Add pmu-syscon handle for Exynos5420/Exynos5250 clock arch/arm/boot

[PATCH 4/4] ARM: dts: Add pmu-syscon handle for Exynos5420/Exynos5250 clock

2014-05-09 Thread Tushar Behera
XCLKOUT in Exynos5420/Exynos5250 is controlled through a register in PMU domain. Pass pmu-syscon handle to the clock driver so that XCLKOUT can be properly configured. Signed-off-by: Tushar Behera tushar.beh...@linaro.org CC: Kukjin Kim kgene@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi

[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

[PATCH 2/4] clk: samsung: exynos5420: 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-exynos5420.c | 14 ++ include/dt-bindings/clock/exynos5420.h |5 - 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos5420

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

2014-05-09 Thread Tushar Behera
to be handled through a regmap handle provided by PMU syscon controller. Right now, CCF doesn't allow regmap based MUX and GATE clocks, hence a dedicated clock provider for XCLKOUT is added here. Signed-off-by: Tushar Behera tushar.beh...@linaro.org CC: Tomasz Figa t.f...@samsung.com --- drivers/clk

[PATCH V2 1/2] ARM: dts: Add sound node for Snow board

2014-05-06 Thread Tushar Behera
The audio codec on Snow board, MAX98095 is connected on I2C7 bus. Also it requires the GPX1-7 line to be pulled up. Updated Snow DTS file to incorporate above changes and added a sound node to instantiate the I2S-based sound card. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes

[PATCH V2 0/2] Add sound card node Snow/Peach-pit board

2014-05-06 Thread Tushar Behera
Patch 2 is dependent on Arun's following patch. 1. [PATCH v4 0/2] Add peach-pit board support http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg29948.html Tushar Behera (2): ARM: dts: Add sound node for Snow board ARM: dts: Add sound node for Peach-pit board arch/arm/boot

[PATCH V2 2/2] ARM: dts: Add sound node for Peach-pit board

2014-05-06 Thread Tushar Behera
The audio setup on Peach-pit board is similar to Snow board, hence the sound-card driver used on Snow board can be reused on Peach-pit board. Peach-pit board uses MAX98090 audio codec. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for V2: 1. Rebased on now-accepted exynos5420

Re: [PATCH v3 01/16] clk: exynos5420: rename parent clocks

2014-05-01 Thread Tushar Behera
| 359 ++ 1 file changed, 187 insertions(+), 172 deletions(-) mode change 100644 = 100755 drivers/clk/samsung/clk-exynos5420.c File mode should not be changed. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body

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

2014-05-01 Thread Tushar Behera
On 04/30/2014 11:33 PM, Mark Brown wrote: On Wed, Apr 30, 2014 at 05:30:39PM +0530, Tushar Behera wrote: XCLKOUT mux register (0x10040a00) is not part of core clock SFR range, rather it is part of pmu-system-controller node. One option would be to add a clock provider for XCLKOUT

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

2014-05-01 Thread Tushar Behera
as Rob has some reservations against the clock parents. https://lkml.org/lkml/2014/4/9/173 -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 1/2] ARM: dts: Add sound node for Snow board

2014-04-30 Thread Tushar Behera
On 04/24/2014 11:46 AM, Tushar Behera wrote: The audio codec on Snow board, MAX98095 is connected on I2C7 bus. Also it requires the GPX1-7 line to be pulled up. Updated Snow DTS file to incorporate above changes and added a sound node to instantiate the I2S-based sound card. Signed-off

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

2014-04-30 Thread Tushar Behera
On 04/30/2014 03:59 AM, Mark Brown wrote: On Fri, Apr 25, 2014 at 09:46:11AM +0530, Tushar Behera wrote: On 04/24/2014 07:09 PM, Mark Brown wrote: defined. Why is that? Also, why is the secondary I2S playback stream not supported (this may be a reason to restrict to only the one I2S

Re: [PATCH 5/7] ARM: dts: enable hdmi for exynos5250 based snow board

2014-04-28 Thread Tushar Behera
= ldo8_reg; + vdd_osc-supply = ldo10_reg; + vdd_pll-supply = ldo8_reg; + }; }; -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v12 18/31] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-04-28 Thread Tushar Behera
(client-sysmmu); + sysmmu_restore_state(dev); client is now unused, remove the variable. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH V3] ASoC: samsung: Add sound card driver for Snow board

2014-04-27 Thread Tushar Behera
Added machine driver to instantiate I2S based sound card on Snow board. It has MAX98095 audio codec on board. There are some other variants for Snow board which have MAX98090 audio codec. Hence support for MAX98090 is also added to this driver. Signed-off-by: Tushar Behera tushar.beh

Re: [PATCH v5 1/9] dt: exynos5420: Enable support for USB 3.0 PHY controller

2014-04-25 Thread Tushar Behera
= pmu_system_controller; ditto + samsung,pmu-offset = 0x708; + #phy-cells = 1; + }; }; -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v5 3/9] dt: exynos5250: Enable support for generic USB DRD phy

2014-04-25 Thread Tushar Behera
-syscon by samsung,syscon-phandle ? + samsung,pmu-offset = 0x704; + #phy-cells = 1; + }; + usb@1211 { compatible = samsung,exynos4210-ehci; reg = 0x1211 0x100; -- Tushar Behera -- To unsubscribe from this list: send

Re: [PATCH V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-25 Thread Tushar Behera
/watchdog driver to use the modified property name. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/2] ARM: dts: Add sound node for Snow board

2014-04-24 Thread Tushar Behera
The audio codec on Snow board, MAX98095 is connected on I2C7 bus. Also it requires the GPX1-7 line to be pulled up. Updated Snow DTS file to incorporate above changes and added a sound node to instantiate the I2S-based sound card. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch

[PATCH 2/2] ARM: dts: Add sound node for Peach-pit board

2014-04-24 Thread Tushar Behera
The audio setup on Peach-pit board is similar to Snow board, hence the sound-card driver used on Snow board can be reused on Peach-pit board. Peach-pit board uses MAX98090 audio codec. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 31

[PATCH 0/2] Add sound card node Snow/Peach-pit board

2014-04-24 Thread Tushar Behera
@vger.kernel.org/msg29189.html Tushar Behera (2): ARM: dts: Add sound node for Snow board ARM: dts: Add sound node for Peach-pit board arch/arm/boot/dts/exynos5250-snow.dts | 32 arch/arm/boot/dts/exynos5420-peach-pit.dts | 31 +++ 2

Re: [PATCHv4 3/7] ARM: EXYNOS: Support secondary CPU boot of Exynos3250

2014-04-24 Thread Tushar Behera
; - if (!soc_is_exynos4212()) + if (!soc_is_exynos4212() !soc_is_exynos3250()) boot_reg += 4*cpu; __raw_writel(boot_addr, boot_reg); -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-04-24 Thread Tushar Behera
+++ arch/arm/boot/dts/exynos3250.dtsi | 405 + arch/arm/boot/dts/exynos4212-tizenw.dts | 926 ++ exynos4412-tizenw.dts related changes are unrelated. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe devicetree in the body

Re: [PATCHv4 3/7] ARM: EXYNOS: Support secondary CPU boot of Exynos3250

2014-04-24 Thread Tushar Behera
On 04/25/2014 11:13 AM, Chanwoo Choi wrote: Hi, On 04/25/2014 01:30 PM, Tushar Behera wrote: On 04/25/2014 06:46 AM, Chanwoo Choi wrote: This patch fix the offset of CPU boot address and don't need to send smc call of SMC_CMD_CPU1BOOT command for secondary CPU boot because Exynos3250

[PATCH] ASoC: max98095: Add an explicit of_match_table

2014-04-23 Thread Tushar Behera
Create an explicit of_match_table entry for MAX98095 codec. Also add a binding Documentation for this compatible string. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- .../devicetree/bindings/sound/max98095.txt | 16 sound/soc/codecs/max98095.c

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

2014-04-22 Thread Tushar Behera
Added machine driver to instantiate I2S based sound card on Snow board. It has MAX98095 audio codec on board. There are some other variants for Snow board which have MAX98090 audio codec. Hence support for MAX98090 is also added to this driver. Signed-off-by: Tushar Behera tushar.beh

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

2014-04-22 Thread Tushar Behera
On 22 April 2014 16:14, Mark Brown broo...@kernel.org wrote: On Tue, Apr 22, 2014 at 01:33:54PM +0530, Tushar Behera wrote: Added machine driver to instantiate I2S based sound card on Snow board. It has MAX98095 audio codec on board. In general this isn't up to modern standards, please do

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

2014-04-22 Thread Tushar Behera
On 23 April 2014 00:03, Mark Brown broo...@kernel.org wrote: On Tue, Apr 22, 2014 at 07:17:54PM +0530, Tushar Behera wrote: On 22 April 2014 16:14, Mark Brown broo...@kernel.org wrote: In general this isn't up to modern standards, please do try to check that new code is following best

Re: [PATCH] ARM: dts: Add peach-pit board support

2014-04-21 Thread Tushar Behera
,pin-pud = 0; + samsung,pin-drv = 0; + }; + }; + If you plan to respin, please consider keeping the above entries sorted based on the pin numbers. tpm_irq power_key_irq lid_irq -- Tushar Behera -- To unsubscribe from this list: send the line

Re: [PATCHv2 5/8] ARM: EXYNOS: Support secondary CPU boot of Exynos3250

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

Re: [PATCH 2/2] dt-bindings: clock: Move exynos-audss-clk.h to dt-bindings/clock

2014-03-06 Thread Tushar Behera
On 6 March 2014 12:04, Sachin Kamat sachin.ka...@linaro.org wrote: On 6 March 2014 11:34, Tushar Behera tushar.beh...@linaro.org wrote: Most of the clock related dt-binding header files are located in dt-bindings/clock folder. It would be good to keep all the similar header files at a single

[PATCH 1/2] dt-bindings: clock: Move at91.h to dt-bindigs/clock

2014-03-05 Thread Tushar Behera
Most of the clock related dt-binding header files are located in dt-bindings/clock folder. It would be good to keep all the similar header files at a single location. Signed-off-by: Tushar Behera tushar.beh...@linaro.org CC: Rob Landley r...@landley.net CC: Andrew Victor li...@maxim.org.za CC

[PATCH 0/2] Move header files from dt-bindings/clk to dt-bindings/clock

2014-03-05 Thread Tushar Behera
. The patches are based next-20140305. Tushar Behera (2): dt-bindings: clock: Move at91.h to dt-bindigs/clock dt-bindings: clock: Move exynos-audss-clk.h to dt-bindings/clock .../devicetree/bindings/clock/at91-clock.txt |2 +- arch/arm/boot/dts/exynos5250.dtsi |2

Re: [PATCH] ARM: cache-l2x0: Parse properties from DT for PL310 cache controller

2014-01-07 Thread Tushar Behera
On 7 January 2014 17:27, Arnd Bergmann a...@arndb.de wrote: On Tuesday 07 January 2014 17:11:28 Tushar Behera wrote: Parsed auxiliary control properties for PL310 cache controller. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- These properties are set for Exynos4 platform. If we