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

2014-05-01 Thread Tushar Behera
garding this. I dont' think the patches are accepted yet 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 linux-kernel" in the body of a message to majord...@vger.kernel.o

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

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

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 reas

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 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Tushar Behera
t this patch, getting following error. sound/built-in.o: In function `iis_irq': sound/soc/samsung/idma.c:277: undefined reference to `__aeabi_uldivmod' Tested-by: Tushar Behera > sound/soc/samsung/idma.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/soun

Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Tushar Behera
: alsa-de...@alsa-project.org --- Tested with ARM_LPAE enabled. Without this patch, getting following error. sound/built-in.o: In function `iis_irq': sound/soc/samsung/idma.c:277: undefined reference to `__aeabi_uldivmod' Tested-by: Tushar Behera tushar.beh...@linaro.org sound/soc/samsung

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

2014-04-28 Thread Tushar Behera
> - sysmmu_restore_state(client->sysmmu); > + sysmmu_restore_state(dev); > > if (cb) > ret = cb(dev); > > if (ret) > - sysmmu_save_state(client->sysmmu); > + sysmmu_restore_state(dev); > client is now unused, remove t

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 linux-kernel 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 --- Changes for V3: 1

[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 V4 1/5] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-25 Thread Tushar Behera
? If this is for PMU > perhaps make it more explicit and name it: samsung,pmu-syscon or > samsung,pmureg ? > There are already a couple of nodes (watchdog and sata) using samsung,syscon-phandle. IMHO, we should keep only property string for syscon node. Either we keep syscon-phandl

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

2014-04-25 Thread Tushar Behera
;, "ref"; > + samsung,pmu-syscon = <_system_controller>; Replace samsung,pmu-syscon by samsung,syscon-phandle ? > + samsung,pmu-offset = <0x704>; > + #phy-cells = <1>; > + }; > + > usb@1211 { >

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

2014-04-25 Thread Tushar Behera
hy"; > + reg = <0x1250 0x100>; > + clocks = < CLK_USBD301>, < CLK_SCLK_USBPHY301>; > + clock-names = "phy", "ref"; > + samsung,pmu-syscon = <_system_controller>; ditto > +

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

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_CPU1B

Re: [PATCH] i2c: exynos5: Initialise Samsung High Speed I2C controller early

2014-04-24 Thread Tushar Behera
html > > What specifically is this needed for? We *should* be able to use > deferred probe for most things, but I know that not all subsystems are > able to yet. > DRM-Exynos is one such sub-system right now that doesn't handle deferred probe well. That is one of the reasons for this p

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 "

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

2014-04-24 Thread Tushar Behera
ddr(int cpu, unsigned long > boot_addr) > { > void __iomem *boot_reg = S5P_VA_SYSRAM_NS + 0x1c; > > - if (!soc_is_exynos4212()) > + if (!soc_is_exynos4212() && !soc_is_exynos3250()) > boot_reg += 4*cpu; > > __raw_writel(boot_addr, boot_r

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

2014-04-24 Thread Tushar Behera
On 04/24/2014 07:09 PM, Mark Brown wrote: > On Wed, Apr 23, 2014 at 02:31:45PM +0530, Tushar Behera wrote: > >> +Required properties: >> +- compatible : Can be one of the following, >> +"google,snow-audio-max98090" or >> +

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

2014-04-24 Thread Tushar Behera
On 04/24/2014 04:18 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, April 14, 2014 11:08:15 AM Tushar Behera wrote: >> Currently the threshold limits are updated in 2 stages, once for all >> software trigger levels and again for hardware trip point. >>

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

2014-04-24 Thread Tushar Behera
On 04/24/2014 04:18 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, April 14, 2014 11:08:15 AM Tushar Behera wrote: Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. While updating the software trigger

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

2014-04-24 Thread Tushar Behera
On 04/24/2014 07:09 PM, Mark Brown wrote: On Wed, Apr 23, 2014 at 02:31:45PM +0530, Tushar Behera wrote: +Required properties: +- compatible : Can be one of the following, +google,snow-audio-max98090 or +google,snow-audio-max98095 +- samsung,i2s

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 linux-kernel 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 linux-kernel in the body

Re: [PATCH] i2c: exynos5: Initialise Samsung High Speed I2C controller early

2014-04-24 Thread Tushar Behera
* be able to use deferred probe for most things, but I know that not all subsystems are able to yet. DRM-Exynos is one such sub-system right now that doesn't handle deferred probe well. That is one of the reasons for this patch. -- Tushar Behera -- To unsubscribe from this list: send the line

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

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

2014-04-23 Thread Tushar Behera
On 04/14/2014 11:08 AM, Tushar Behera wrote: > Currently the threshold limits are updated in 2 stages, once for all > software trigger levels and again for hardware trip point. > > While updating the software trigger levels, it overwrites the threshold > limit for hardware tri

[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 --- .../devicetree/bindings/sound/max98095.txt | 16 sound/soc/codecs/max98095.c|7

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

2014-04-23 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 --- Changes for V2

[PATCH] ASoC: SAMSUNG: Don't clear clock setting during i2s_startup

2014-04-23 Thread Tushar Behera
DAI probe. If both these conditions are true, then I2S clock remains unconfigured during audio playback. Fix this by removing the code to clear rclk_srcrate in i2s_startup. Instead, reset this during DAI probe. Signed-off-by: Tushar Behera --- The patch is based on v3.15-rc2. sound/soc/samsung

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

2014-04-23 Thread Tushar Behera
On 04/14/2014 11:08 AM, Tushar Behera wrote: Currently the threshold limits are updated in 2 stages, once for all software trigger levels and again for hardware trip point. While updating the software trigger levels, it overwrites the threshold limit for hardware trip point thereby forcing

[PATCH] ASoC: SAMSUNG: Don't clear clock setting during i2s_startup

2014-04-23 Thread Tushar Behera
DAI probe. If both these conditions are true, then I2S clock remains unconfigured during audio playback. Fix this by removing the code to clear rclk_srcrate in i2s_startup. Instead, reset this during DAI probe. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is based on v3.15

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

2014-04-23 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

[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

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

2014-04-14 Thread Tushar Behera
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 -- Tushar Behera -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

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

2014-04-13 Thread Tushar Behera
. Updating only the required fields in threshold register fixes this issue. Signed-off-by: Tushar Behera --- Based on v3.15-rc1. drivers/thermal/samsung/exynos_tmu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung

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

2014-04-13 Thread Tushar Behera
. Updating only the required fields in threshold register fixes this issue. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Based on v3.15-rc1. drivers/thermal/samsung/exynos_tmu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers

Re: [PATCH 2/2] regulator: core: Add reg_ignore_unused to keep boot time regulators enabled

2014-04-01 Thread Tushar Behera
On 28 March 2014 15:52, Mark Brown wrote: > On Fri, Mar 28, 2014 at 10:50:22AM +0530, Tushar Behera wrote: >> Keep all regulators already enabled by bootloader on, even if no >> driver has claimed them. This is useful for debug and development, but >> should not be

Re: [PATCH 2/2] regulator: core: Add reg_ignore_unused to keep boot time regulators enabled

2014-04-01 Thread Tushar Behera
On 28 March 2014 15:52, Mark Brown broo...@kernel.org wrote: On Fri, Mar 28, 2014 at 10:50:22AM +0530, Tushar Behera wrote: Keep all regulators already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform

[PATCH 2/2] regulator: core: Add reg_ignore_unused to keep boot time regulators enabled

2014-03-27 Thread Tushar Behera
Keep all regulators already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera CC: Mark Brown --- Documentation/kernel-parameters.txt |8

[PATCH 0/2] Add reg_ignore_unused and pd_ignore_unused

2014-03-27 Thread Tushar Behera
These patches take inspiration from Olof's following patch. 1e435256d625 "clk: add clk_ignore_unused option to keep boot clocks on" This options are solely for debug purposes to figure out whether the issue at hand is because of improper shutdown of regulators or power-domains. Tushar

[PATCH 1/2] PM / Domains: Add pd_ignore_unused to keep power domains enabled

2014-03-27 Thread Tushar Behera
Keep all power-domains already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera CC: "Rafael J. Wysocki" CC: linux...@vger.

[PATCH 0/2] Add reg_ignore_unused and pd_ignore_unused

2014-03-27 Thread Tushar Behera
These patches take inspiration from Olof's following patch. 1e435256d625 clk: add clk_ignore_unused option to keep boot clocks on This options are solely for debug purposes to figure out whether the issue at hand is because of improper shutdown of regulators or power-domains. Tushar Behera (2

[PATCH 1/2] PM / Domains: Add pd_ignore_unused to keep power domains enabled

2014-03-27 Thread Tushar Behera
Keep all power-domains already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera tushar.beh...@linaro.org CC: Rafael J. Wysocki r...@rjwysocki.net

[PATCH 2/2] regulator: core: Add reg_ignore_unused to keep boot time regulators enabled

2014-03-27 Thread Tushar Behera
Keep all regulators already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera tushar.beh...@linaro.org CC: Mark Brown broo...@kernel.org

Re: [PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-27 Thread Tushar Behera
On 27 February 2014 02:41, Mike Turquette wrote: > Quoting Tushar Behera (2014-02-18 22:24:34) >> S5M8767 chip has 3 crystal oscillators which are operated in the same >> as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to >> support clocks in S5M87

Re: [PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-27 Thread Tushar Behera
On 27 February 2014 02:41, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-02-18 22:24:34) S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches

[PATCH RESEND 2/2] clk: clk-s2mps11: Add support for clocks in S5M8767 MFD

2014-02-18 Thread Tushar Behera
Since clock operation within S2MPS11 and S5M8767 are similar, we can support both the devices within a single driver. Signed-off-by: Tushar Behera Reviewed-by: Tomasz Figa Reviewed-by: Yadwinder Singh Brar --- drivers/clk/Kconfig |6 -- drivers/clk/clk-s2mps11.c |5 + 2

[PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-18 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches are rebased on top of next-20130218. Tushar Behera (2): clk: clk-s2mps11: Refactor for including support for other

[PATCH V2 1/2] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2014-02-18 Thread Tushar Behera
The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support the clocks in S5M8767, rather than to create an almost duplicate driver altogether. Signed-off-by: Tushar Behera Reviewed

[PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-18 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches are rebased on top of next-20130218. Tushar Behera (2): clk: clk-s2mps11: Refactor for including support for other

[PATCH V2 1/2] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2014-02-18 Thread Tushar Behera
The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support the clocks in S5M8767, rather than to create an almost duplicate driver altogether. Signed-off-by: Tushar Behera tushar.beh

[PATCH RESEND 2/2] clk: clk-s2mps11: Add support for clocks in S5M8767 MFD

2014-02-18 Thread Tushar Behera
Since clock operation within S2MPS11 and S5M8767 are similar, we can support both the devices within a single driver. Signed-off-by: Tushar Behera tushar.beh...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Reviewed-by: Yadwinder Singh Brar yadi.b...@samsung.com --- drivers/clk/Kconfig

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
On 20 January 2014 15:35, Russell King - ARM Linux wrote: > On Mon, Jan 20, 2014 at 02:32:34PM +0530, Tushar Behera wrote: >> uart_register_driver call binds the driver to a specific device >> node through tty_register_driver call. This should typically happen >> dur

[PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
if multiple serial drivers with same default major/minor numbers are included in the kernel. A typical case is observed with amba-pl011 and samsung-uart drivers. Signed-off-by: Tushar Behera --- drivers/tty/serial/samsung.c | 40 +++- 1 file changed, 11

[PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
if multiple serial drivers with same default major/minor numbers are included in the kernel. A typical case is observed with amba-pl011 and samsung-uart drivers. Signed-off-by: Tushar Behera --- drivers/tty/serial/amba-pl011.c | 21 - 1 file changed, 12 insertions(+), 9

[PATCH 0/2] serial: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
because they were breaking userspace interface. Iteration 3: uart_register_driver call binds the driver to a specific device node through tty_driver_register call. This is moved to device probe call. Tushar Behera (2): serial: samsung: Move uart_register_driver call to device probe serial: pl011

Re: [PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
On 20 January 2014 15:35, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Jan 20, 2014 at 02:32:34PM +0530, Tushar Behera wrote: uart_register_driver call binds the driver to a specific device node through tty_register_driver call. This should typically happen during device

[PATCH 0/2] serial: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
because they were breaking userspace interface. Iteration 3: uart_register_driver call binds the driver to a specific device node through tty_driver_register call. This is moved to device probe call. Tushar Behera (2): serial: samsung: Move uart_register_driver call to device probe serial: pl011

[PATCH 1/2] serial: samsung: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
if multiple serial drivers with same default major/minor numbers are included in the kernel. A typical case is observed with amba-pl011 and samsung-uart drivers. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/tty/serial/samsung.c | 40 +++- 1

[PATCH 2/2] serial: pl011: Move uart_register_driver call to device probe

2014-01-20 Thread Tushar Behera
if multiple serial drivers with same default major/minor numbers are included in the kernel. A typical case is observed with amba-pl011 and samsung-uart drivers. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/tty/serial/amba-pl011.c | 21 - 1 file changed

Re: [PATCH] tty: Fallback to use dynamic major number

2014-01-17 Thread Tushar Behera
; Ok. I will prepare a patch with this approach for amba-pl011 and samsung-uart drivers. If that works well, I will extend that to other serial drivers. Thanks to both of you for your time. -- Tushar Behera -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] tty: Fallback to use dynamic major number

2014-01-17 Thread Tushar Behera
-pl011 and samsung-uart drivers. If that works well, I will extend that to other serial drivers. Thanks to both of you for your time. -- Tushar Behera -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

[PATCH] tty: Fallback to use dynamic major number

2014-01-15 Thread Tushar Behera
of samsung-uart driver fails because the desired node is busy. The issue is fixed by adding a fallback in driver core, so that we can use dynamic major number in case device node allocation fails for hard-coded major/minor number. Signed-off-by: Tushar Behera --- Hi Greg, This is my second attempt

[PATCH] tty: Fallback to use dynamic major number

2014-01-15 Thread Tushar Behera
of samsung-uart driver fails because the desired node is busy. The issue is fixed by adding a fallback in driver core, so that we can use dynamic major number in case device node allocation fails for hard-coded major/minor number. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Hi Greg

[PATCH V2] leds: s3c24xx: Fix build failure

2014-01-02 Thread Tushar Behera
xx.c:100:2: error: implicit declaration of function ‘s3c_gpio_setpull’ [-Werror=implicit-function-declaration] Signed-off-by: Tushar Behera --- Changes for V2: * Updated commit message Bryan, I should have been more explicit regarding this patch. This patch fixes build error on linux-next after the a

Re: [PATCH] leds: s3c24xx: Fix build failure

2014-01-02 Thread Tushar Behera
On 3 January 2014 04:12, Bryan Wu wrote: > On Mon, Dec 30, 2013 at 1:09 AM, Tushar Behera > wrote: >> Fixes following build error. >> drivers/leds/leds-s3c24xx.c: In function ‘s3c24xx_led_probe’: >> drivers/leds/leds-s3c24xx.c:100:2: error: implicit declaration of >&

Re: [PATCH] leds: s3c24xx: Fix build failure

2014-01-02 Thread Tushar Behera
On 3 January 2014 04:12, Bryan Wu coolo...@gmail.com wrote: On Mon, Dec 30, 2013 at 1:09 AM, Tushar Behera tushar.beh...@linaro.org wrote: Fixes following build error. drivers/leds/leds-s3c24xx.c: In function ‘s3c24xx_led_probe’: drivers/leds/leds-s3c24xx.c:100:2: error: implicit declaration

[PATCH V2] leds: s3c24xx: Fix build failure

2014-01-02 Thread Tushar Behera
:100:2: error: implicit declaration of function ‘s3c_gpio_setpull’ [-Werror=implicit-function-declaration] Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes for V2: * Updated commit message Bryan, I should have been more explicit regarding this patch. This patch fixes build error

[PATCH] leds: s3c24xx: Fix build failure

2013-12-30 Thread Tushar Behera
Fixes following build error. drivers/leds/leds-s3c24xx.c: In function ‘s3c24xx_led_probe’: drivers/leds/leds-s3c24xx.c:100:2: error: implicit declaration of function ‘s3c_gpio_setpull’ [-Werror=implicit-function-declaration] Signed-off-by: Tushar Behera --- Tested at next-20131224. drivers

[PATCH] leds: s3c24xx: Fix build failure

2013-12-30 Thread Tushar Behera
Fixes following build error. drivers/leds/leds-s3c24xx.c: In function ‘s3c24xx_led_probe’: drivers/leds/leds-s3c24xx.c:100:2: error: implicit declaration of function ‘s3c_gpio_setpull’ [-Werror=implicit-function-declaration] Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Tested at next

Re: [PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-29 Thread Tushar Behera
On 30 December 2013 03:47, Mike Turquette wrote: > Quoting Tushar Behera (2013-12-26 02:18:58) >> The clocks in S2MPS11 and S5M8767 are managed in the same way, baring >> a difference in the register offset. It would be better to update >> existing S2MPS11 driver to support

Re: [PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-29 Thread Tushar Behera
On 30 December 2013 03:47, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2013-12-26 02:18:58) The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-27 Thread Tushar Behera
On 27 December 2013 12:08, Greg KH wrote: > On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: >> On 27 December 2013 10:48, Greg KH wrote: >> > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: [ ... ] >> >> @@ -951,8 +949,

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-27 Thread Tushar Behera
On 27 December 2013 12:08, Greg KH gre...@linuxfoundation.org wrote: On Fri, Dec 27, 2013 at 12:00:20PM +0530, Tushar Behera wrote: On 27 December 2013 10:48, Greg KH gre...@linuxfoundation.org wrote: On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: [ ... ] @@ -951,8 +949,6

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
On 27 December 2013 10:48, Greg KH wrote: > On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: >> The hard-coded values clash with the values set for amba-pl011 serial >> driver. Because of this there is no serial output on Samsung boards >> if amba-pl011 is enab

[PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
. This is required for multi-platform development work on Exynos platform. Signed-off-by: Tushar Behera --- drivers/tty/serial/samsung.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index c1af04d..9c20543 100644 --- a/drivers/tty

[PATCH] irqchip: s3c24xx: add missing comma for completeness

2013-12-26 Thread Tushar Behera
No functional change, adding for uniformity. Signed-off-by: Tushar Behera --- drivers/irqchip/irq-s3c24xx.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index bbcc944..ee41ae2 100644 --- a/drivers

[PATCH RESEND 0/4] Add support for clocks in S5M8767

2013-12-26 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The earlier set of patches no longer apply cleanly on linux-next, hence rebased them on top of next-20131224. Tushar Behera (4

[PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-26 Thread Tushar Behera
The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support the clocks in S5M8767, rather than creating an almost duplicate driver altogether. Signed-off-by: Tushar Behera Reviewed

[PATCH RESEND 3/4] mfd: sec-core: Add cells for S5M8767-clocks

2013-12-26 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators running at 32KHz. These are supported by s2mps11-clk driver. Signed-off-by: Tushar Behera Reviewed-by: Tomasz Figa CC: Lee Jones --- drivers/mfd/sec-core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/sec-core.c b

[PATCH RESEND 4/4] ARM: dts: Add S5M8767 clock nodes on Arndale board

2013-12-26 Thread Tushar Behera
Signed-off-by: Tushar Behera Reviewed-by: Tomasz Figa --- arch/arm/boot/dts/exynos5250-arndale.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index b42e658..3bb730d 100644 --- a/arch/arm/boot

[PATCH RESEND 2/4] clk: clk-s2mps11: Add support for clocks in S5M8767 MFD

2013-12-26 Thread Tushar Behera
Since clock operation within S2MPS11 and S5M8767 are similar, we can support both the devices within a single driver. Signed-off-by: Tushar Behera Reviewed-by: Tomasz Figa Reviewed-by: Yadwinder Singh Brar CC: Mike Turquette --- drivers/clk/Kconfig |6 -- drivers/clk/clk

[PATCH] irqchip: s3c24xx: add missing comma for completeness

2013-12-26 Thread Tushar Behera
No functional change, adding for uniformity. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/irqchip/irq-s3c24xx.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index bbcc944..ee41ae2

[PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
. This is required for multi-platform development work on Exynos platform. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- drivers/tty/serial/samsung.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index c1af04d..9c20543 100644

Re: [PATCH] serial: samsung: Remove hard-coded major/minor numbers

2013-12-26 Thread Tushar Behera
On 27 December 2013 10:48, Greg KH gre...@linuxfoundation.org wrote: On Fri, Dec 27, 2013 at 10:37:28AM +0530, Tushar Behera wrote: The hard-coded values clash with the values set for amba-pl011 serial driver. Because of this there is no serial output on Samsung boards if amba-pl011 is enabled

[PATCH RESEND 2/4] clk: clk-s2mps11: Add support for clocks in S5M8767 MFD

2013-12-26 Thread Tushar Behera
Since clock operation within S2MPS11 and S5M8767 are similar, we can support both the devices within a single driver. Signed-off-by: Tushar Behera tushar.beh...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Reviewed-by: Yadwinder Singh Brar yadi.b...@samsung.com CC: Mike Turquette

[PATCH RESEND 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-12-26 Thread Tushar Behera
The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support the clocks in S5M8767, rather than creating an almost duplicate driver altogether. Signed-off-by: Tushar Behera tushar.beh

[PATCH RESEND 3/4] mfd: sec-core: Add cells for S5M8767-clocks

2013-12-26 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators running at 32KHz. These are supported by s2mps11-clk driver. Signed-off-by: Tushar Behera tushar.beh...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com CC: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-core.c |4 +++- 1 file changed, 3

[PATCH RESEND 4/4] ARM: dts: Add S5M8767 clock nodes on Arndale board

2013-12-26 Thread Tushar Behera
Signed-off-by: Tushar Behera tushar.beh...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com --- arch/arm/boot/dts/exynos5250-arndale.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index

[PATCH RESEND 0/4] Add support for clocks in S5M8767

2013-12-26 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The earlier set of patches no longer apply cleanly on linux-next, hence rebased them on top of next-20131224. Tushar Behera (4

Re: [PATCH 0/4] Add support for clocks in S5M8767

2013-12-24 Thread Tushar Behera
On 11 November 2013 08:28, Tushar Behera wrote: > On 10 November 2013 18:04, Tomasz Figa wrote: >> Hi Tushar, >> >> On Thursday 31 of October 2013 12:18:40 Tushar Behera wrote: >>> S5M8767 chip has 3 crystal oscillators which are operated in the same >>>

Re: [PATCH 0/4] Add support for clocks in S5M8767

2013-12-24 Thread Tushar Behera
On 11 November 2013 08:28, Tushar Behera tushar.beh...@linaro.org wrote: On 10 November 2013 18:04, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Tushar, On Thursday 31 of October 2013 12:18:40 Tushar Behera wrote: S5M8767 chip has 3 crystal oscillators which are operated in the same

Re: [PATCH 0/4] Add support for clocks in S5M8767

2013-11-10 Thread Tushar Behera
On 10 November 2013 18:04, Tomasz Figa wrote: > Hi Tushar, > > On Thursday 31 of October 2013 12:18:40 Tushar Behera wrote: >> S5M8767 chip has 3 crystal oscillators which are operated in the same >> as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to >>

Re: [PATCH 0/4] Add support for clocks in S5M8767

2013-11-10 Thread Tushar Behera
On 10 November 2013 18:04, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Tushar, On Thursday 31 of October 2013 12:18:40 Tushar Behera wrote: S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks

<    1   2   3   4   5   6   7   8   >