Re: sdhci_s3c_consider_clock scheduling while atomic - clk_round_rate

2014-07-14 Thread Jaehoon Chung
Hi, It's also related with clock-gating. Mainline kernel is using the "clkgate-delay = 0" by default. If we use this value, Every request time should be gated/ungated... Then it may be faced the race-condition...In my experiment, it occasionally occurred the CRC error or other problem. And it's a

Re: [PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-07-14 Thread Inki Dae
On 2014년 07월 15일 02:22, Olof Johansson wrote: > Inki, > > You have acks, and you have the tested-bys you requested. Can you > please pick this up quickly so that we can have graphics working with > an upstream kernel on chromebooks? > > Dave, if Inki keeps dragging his feet like this can you plea

Re: [PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Vikas Sajjan
Doug, On Mon, Jul 14, 2014 at 10:30 PM, Doug Anderson wrote: > Vikas, > > On Sun, Jul 13, 2014 at 11:33 PM, Vikas Sajjan > wrote: >> From: Doug Anderson >> >> The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from >> being reset across sleep/wake. If we don't set it to anything

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Sachin Kamat
On Tue, Jul 15, 2014 at 12:20 AM, Olof Johansson wrote: > On Mon, Jul 14, 2014 at 9:47 AM, Doug Anderson wrote: >> Sachin, >> >> On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat >> wrote: > Gave this a go on my board farm as well, it looks better than before > for sure. Boot logs are at: > http:

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Sachin Kamat
Hi Doug, On Mon, Jul 14, 2014 at 10:17 PM, Doug Anderson wrote: > Sachin, > > On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat wrote: >> Removed outdated configs. Enabled most of the configs used on latest >> Exynos based platforms. This will provide a reference for users trying >> to verify and tes

Re: [PATCH 1/3 v6] spi: s3c64xx: fix broken "cs_gpios" usage in the driver

2014-07-14 Thread Naveen Krishna Ch
Hello Mark, On 15 July 2014 00:45, Mark Brown wrote: > On Tue, Jul 15, 2014 at 12:31:32AM +0530, Naveen Krishna Ch wrote: > >> in this case spi-s3c64xx.c will continue to ignore the generic SPI "cs-gpios" >> implementation. > >> I'm willing to implement any suggestion to fix this issue. > > The p

Re: [PATCH v7 0/6] cpufreq: use generic cpufreq drivers for exynos platforms

2014-07-14 Thread Thomas Abraham
Hi Tomasz, On Mon, Jul 14, 2014 at 7:08 PM, Thomas Abraham wrote: > Changes since v6: > - Fixes suggested by Amit Daniel . > > This patch series removes the use of Exynos4210 and Exynos5250 specific > cpufreq > drivers and enables the use of cpufreq-cpu0 driver for these platforms. This > series

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 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(&pdev->dev, >

Re: [PATCH v5 05/14] drm/exynos: dsi: add pass TE host ops to support LCD I80 interface

2014-07-14 Thread Inki Dae
On 2014년 07월 14일 20:03, Thierry Reding wrote: > On Mon, Jul 14, 2014 at 07:45:28PM +0900, YoungJun Cho wrote: >> On 07/14/2014 06:41 PM, Thierry Reding wrote: > [...] >>> That said, I've been doing some research and it seems like we have a >>> somewhat similar feature on Tegra. What happens there i

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Olof Johansson
On Mon, Jul 14, 2014 at 6:28 PM, Kukjin Kim wrote: > Olof Johansson wrote: >> >> On Mon, Jul 14, 2014 at 9:47 AM, Doug Anderson wrote: >> > Sachin, >> > >> > On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat >> > wrote: >> >> Removed outdated configs. Enabled most of the configs used on latest >> >>

RE: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Kukjin Kim
Olof Johansson wrote: > > On Mon, Jul 14, 2014 at 9:47 AM, Doug Anderson wrote: > > Sachin, > > > > On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat > > wrote: > >> Removed outdated configs. Enabled most of the configs used on latest > >> Exynos based platforms. This will provide a reference for us

Re: [PATCH v6 2/7] arm64: Introduce VA_BITS and translation level options

2014-07-14 Thread Catalin Marinas
On Mon, Jul 14, 2014 at 09:38:59PM +0100, Joel Schopp wrote: > I agree that these patches would be very useful. I just rebased my fix > for a VTTBR_BADDR_MASK bug on one of these patches that could be pulled > out independently. See > https://lists.cs.columbia.edu/pipermail/kvmarm/2014-July/01048

[PATCHv6] mmc: dw_mmc: change to use recommended reset procedure

2014-07-14 Thread Sonny Rao
This patch changes the fifo reset code to follow the reset procedure outlined in the documentation of Synopsys Mobile storage host databook. Signed-off-by: Sonny Rao Signed-off-by: Yuvaraj Kumar C D --- v2: Add Generic DMA support per the documentation, move interrupt clear before wait m

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Valdis . Kletnieks
On Mon, 14 Jul 2014 14:14:24 -0400, Nicholas Krause said: > This patch addresses the fix me message in this file that states to > remove all definitions not related to reg-clocks in this header > file. > > Signed-off-by: Nicholas Krause > --- > arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22

Re: [PATCH v6 2/7] arm64: Introduce VA_BITS and translation level options

2014-07-14 Thread Joel Schopp
I agree that these patches would be very useful. I just rebased my fix for a VTTBR_BADDR_MASK bug on one of these patches that could be pulled out independently. See https://lists.cs.columbia.edu/pipermail/kvmarm/2014-July/010480.html The original author Jungseok Lee is no longer available to wo

Re: [PATCH v6 2/7] arm64: Introduce VA_BITS and translation level options

2014-07-14 Thread Timur Tabi
On Mon, May 12, 2014 at 4:40 AM, Jungseok Lee wrote: > This patch adds virtual address space size and a level of translation > tables to kernel configuration. It facilicates introduction of > different MMU options, such as 4KB + 4 levels, 16KB + 4 levels and > 64KB + 3 levels, easily. Is there a

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Doug Anderson
To comment on the snow failures that I know about: On Mon, Jul 14, 2014 at 11:50 AM, Olof Johansson wrote: > [ERR] [2.118115] cros-ec-i2c-tunnel cros-ec-i2c-tunnel.2: Couldn't > read remote-bus property Known issue. The i2c-tunnel is not present on snow. This will be fixed once we send up

Re: [PATCH 1/3 v6] spi: s3c64xx: fix broken "cs_gpios" usage in the driver

2014-07-14 Thread Mark Brown
On Tue, Jul 15, 2014 at 12:31:32AM +0530, Naveen Krishna Ch wrote: > in this case spi-s3c64xx.c will continue to ignore the generic SPI "cs-gpios" > implementation. > I'm willing to implement any suggestion to fix this issue. The problem isn't what you're trying to do, the problem is verifying t

Re: [PATCH 1/3 v6] spi: s3c64xx: fix broken "cs_gpios" usage in the driver

2014-07-14 Thread Naveen Krishna Ch
Hello Mark, On 14 July 2014 22:55, Mark Brown wrote: > On Mon, Jul 14, 2014 at 11:11:44AM +0530, Naveen Krishna Chatradhi wrote: > >> @@ -812,6 +800,10 @@ static int s3c64xx_spi_setup(struct spi_device *spi) >> spi->controller_data = cs; >> } >> >> + /* For the non-DT plat

Re: [PATCH] cpuidle: big.LITTLE: add MCPM dependency

2014-07-14 Thread Arnd Bergmann
On Monday 14 July 2014 20:44:50 Daniel Lezcano wrote: > > --- a/drivers/cpuidle/Kconfig.arm > > +++ b/drivers/cpuidle/Kconfig.arm > > @@ -10,6 +10,7 @@ config ARM_ARMADA_370_XP_CPUIDLE > > config ARM_BIG_LITTLE_CPUIDLE > > bool "Support for ARM big.LITTLE processors" > > depends on AR

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Nick Krause
On Mon, Jul 14, 2014 at 2:45 PM, Randy Dunlap wrote: > On 07/14/14 11:40, Paul Bolle wrote: >> On Mon, 2014-07-14 at 11:23 -0700, Randy Dunlap wrote: >>> On 07/14/14 11:14, Nicholas Krause wrote: This patch addresses the fix me message in this file that states to remove all definitions n

Re: [PATCH 4/4] ASoC: samsung: remove unused DMA data

2014-07-14 Thread Mark Brown
On Fri, Jul 11, 2014 at 03:45:08PM +0200, Arnd Bergmann wrote: > The s3c_dma_client structures and the 'ch' and 'ops' members in > s3c_dma_params were only used by the legacy DMA driver and serve > no function any more. This removes any reference to them. Applied, thanks. signature.asc Descripti

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Arnd Bergmann
On Monday 14 July 2014 14:14:24 Nicholas Krause wrote: > This patch addresses the fix me message in this file that states to > remove all definitions not related to reg-clocks in this header > file. I believe the comment is meant to change the code still using those definitions so they are no long

Re: [PATCH 3/4] ASoC: samsung: s3c24xx dmaengine follow-up

2014-07-14 Thread Mark Brown
On Fri, Jul 11, 2014 at 03:45:07PM +0200, Arnd Bergmann wrote: > Commit ae602456e83c92 ("ASoC: samsung: drop support for legacy > S3C24XX DMA API") removed the old code for the samsung specific > DMA interfaces, now that everybody can use dmaengine. Applied, thanks. signature.asc Description: Di

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Olof Johansson
On Mon, Jul 14, 2014 at 9:47 AM, Doug Anderson wrote: > Sachin, > > On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat wrote: >> Removed outdated configs. Enabled most of the configs used on latest >> Exynos based platforms. This will provide a reference for users trying >> to verify and test various f

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Randy Dunlap
On 07/14/14 11:40, Paul Bolle wrote: > On Mon, 2014-07-14 at 11:23 -0700, Randy Dunlap wrote: >> On 07/14/14 11:14, Nicholas Krause wrote: >>> This patch addresses the fix me message in this file that states to >>> remove all definitions not related to reg-clocks in this header >>> file. >>> >>> Si

Re: [PATCH] cpuidle: big.LITTLE: add MCPM dependency

2014-07-14 Thread Daniel Lezcano
On 07/14/2014 01:23 PM, Arnd Bergmann wrote: 662322fcb6d ("cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config") made it possible for the big-little cpuidle driver to run on exynos, which may or may not include MCPM support at compile time, so we run into a link error when it is disabled: drive

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Paul Bolle
On Mon, 2014-07-14 at 11:23 -0700, Randy Dunlap wrote: > On 07/14/14 11:14, Nicholas Krause wrote: > > This patch addresses the fix me message in this file that states to > > remove all definitions not related to reg-clocks in this header > > file. > > > > Signed-off-by: Nicholas Krause > > --- >

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Randy Dunlap
On 07/14/14 11:14, Nicholas Krause wrote: > This patch addresses the fix me message in this file that states to > remove all definitions not related to reg-clocks in this header > file. > > Signed-off-by: Nicholas Krause > --- > arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22 +-

Re: [PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Randy Dunlap
On 07/14/14 11:14, Nicholas Krause wrote: > This patch addresses the fix me message in this file that states to > remove all definitions not related to reg-clocks in this header > file. > > Signed-off-by: Nicholas Krause > --- > arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22 +-

[PATCH] mach-s3c64xx: Remove all defintions not related to regs-clocks

2014-07-14 Thread Nicholas Krause
This patch addresses the fix me message in this file that states to remove all definitions not related to reg-clocks in this header file. Signed-off-by: Nicholas Krause --- arch/arm/mach-s3c64xx/include/mach/regs-clock.h | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-

Re: [PATCH v3 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-07-14 Thread Julius Werner
On Mon, Jul 14, 2014 at 5:49 AM, Vivek Gautam wrote: > The host controller by itself may sometimes need to handle PHY > and/or calibrate some of the PHY settings to get full support out > of the PHY controller. The PHY core provides a calibration > funtionality now to do so. > Therefore, facilitat

Re: [PATCH v2 04/17] ASoC: samsung: no more support for S5P6440 and S5P6450 SoCs

2014-07-14 Thread Mark Brown
On Thu, Jul 03, 2014 at 07:40:17AM +0900, Kukjin Kim wrote: > This patch removes s5p64x0 related WM8580 because of removing support > for s5p64x0 SoCs. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 17/17] ASoC: Samsung: remove s5pc100 related codes

2014-07-14 Thread Mark Brown
On Tue, Jul 01, 2014 at 06:32:27AM +0900, Kukjin Kim wrote: > This patch removes s5pc100 related codes in > . Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/3 v6] spi: s3c64xx: fix broken "cs_gpios" usage in the driver

2014-07-14 Thread Mark Brown
On Mon, Jul 14, 2014 at 11:11:44AM +0530, Naveen Krishna Chatradhi wrote: > @@ -812,6 +800,10 @@ static int s3c64xx_spi_setup(struct spi_device *spi) > spi->controller_data = cs; > } > > + /* For the non-DT platforms derive chip selects from controller data */ > + if

Re: [PATCH V4 00/10] drm: exynos: few patches to enhance bridge chip support

2014-07-14 Thread Olof Johansson
Inki, You have acks, and you have the tested-bys you requested. Can you please pick this up quickly so that we can have graphics working with an upstream kernel on chromebooks? Dave, if Inki keeps dragging his feet like this can you please apply this series directly? These delays are ridiculous a

Re: [PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Doug Anderson
Vikas, On Mon, Jul 14, 2014 at 10:00 AM, Doug Anderson wrote: > Vikas, > > On Sun, Jul 13, 2014 at 11:33 PM, Vikas Sajjan > wrote: >> From: Doug Anderson >> >> The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from >> being reset across sleep/wake. If we don't set it to anythin

Re: [PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Doug Anderson
Vikas, On Sun, Jul 13, 2014 at 11:33 PM, Vikas Sajjan wrote: > From: Doug Anderson > > The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from > being reset across sleep/wake. If we don't set it to anything then > the TPM will be reset. U-Boot will detect this as invalid > and wi

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Doug Anderson
Sachin, On Wed, Jul 9, 2014 at 3:22 AM, Sachin Kamat wrote: > Removed outdated configs. Enabled most of the configs used on latest > Exynos based platforms. This will provide a reference for users trying > to verify and test various features on Exynos based platforms and also > help in detecting

Re: [PATCH] cpuidle: big.LITTLE: add MCPM dependency

2014-07-14 Thread Nicolas Pitre
On Mon, 14 Jul 2014, Arnd Bergmann wrote: > 662322fcb6d ("cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config") > made it possible for the big-little cpuidle driver to run on exynos, > which may or may not include MCPM support at compile time, so we > run into a link error when it is disabled: >

Re: [PATCH v3 0/4] ARM: EXYNOS: cpuidle: fix AFTR mode on boards with secure firmware enabled

2014-07-14 Thread Daniel Drake
Hi Bartlomiej, On Wed, Jul 9, 2014 at 6:17 PM, Bartlomiej Zolnierkiewicz wrote: > This patch series adds support for AFTR idle mode on boards with > secure firmware enabled and allows EXYNOS cpuidle driver usage on > Exynos4x12 SoCs. > > It has been tested on Trats2 board (using Exynos4412 SoC wi

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

2014-07-14 Thread Sylwester Nawrocki
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(&pdev->dev, > - sizeof(struct clk *) * EXYNOS_AUDSS

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

2014-07-14 Thread Daniel Drake
On Thu, Jul 10, 2014 at 5:15 PM, Sylwester Nawrocki wrote: > On 08/07/14 11:15, Daniel Drake wrote: >> Testing on ODROID-U2, v3 is not quite working for me, but v2 of the >> patch was fine. >> I boot up, run: >> # speaker-test -c 2 -t wav >> >> As soon as I hear the word "front" I press ctrl+c and

[PATCH] ARM: dts: Add sound nodes for Odroid-X2/U3 boards

2014-07-14 Thread Sylwester Nawrocki
Add MAX98090 audio codec, I2S interface and the sound complex nodes to enable audio on Odroid-X2/U3 boards. Signed-off-by: Sylwester Nawrocki --- This patch depends on the series from Marek [1] adding dt sources for Odroid X2/U3. My testing branch can be pulled from [2]. [1] http://www.spinics.n

[PATCH 2/2] ARM: EXYNOS: Fix build with PM_SLEEP=n and ARM_EXYNOS_CPUIDLE=y

2014-07-14 Thread Bartlomiej Zolnierkiewicz
Fix building of exynos_defconfig with CONFIG_PM_SLEEP disabled and CONFIG_ARM_EXYNOS_CPUIDLE enabled by: * adding EXYNOS_CPU_SUSPEND config option * building pm.o and sleep.o if EXYNOS_CPU_SUSPEND is enabled * moving suspend specific code from pm.c to suspend.c * enabling pm-common.o build also fo

[PATCH 1/2] ARM: EXYNOS: Fix build with PM_SLEEP=n part #2

2014-07-14 Thread Bartlomiej Zolnierkiewicz
Fix building of exynos_defconfig with disabled CONFIG_PM_SLEEP by adding checking whether Exynos cpuidle support is enabled before accessing exynos_enter_aftr. The build error message: arch/arm/mach-exynos/built-in.o:(.data+0x74): undefined reference to `exynos_enter_aftr' make: *** [vmlinux] Err

[PATCH 0/2] ARM: EXYNOS: Fix builds with PM_SLEEP=n

2014-07-14 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series fixes builds with CONFIG_PM_SLEEP config option disabled. They are on top of: - next-20140714 + - "[PATCH 5/6] ARM: EXYNOS: Fix suspend/resume sequencies" + (http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg32809.html) - "[PATCH v2] ARM: EX

[PATCH v7 2/6] clk: samsung: register exynos5420 apll/kpll configuration data

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham Register the PLL configuration data for APLL and KPLL on Exynos5420. This configuration data table specifies PLL coefficients for supported PLL clock speeds when a 24MHz clock is supplied as the input clock source for these PLLs. Cc: Tomasz Figa Signed-off-by: Thomas Abraha

Re: mixer_check_mode drops Exynos5 display modes

2014-07-14 Thread Sean Paul
On Tue, Jul 8, 2014 at 9:59 AM, Daniel Drake wrote: > Hi Sean, > Hi Daniel, Sorry for the delay in response. > While looking at the following commit I noticed something: > > commit f041b257a8997c8472a1013e9f252c3e2a1d879e > Author: Sean Paul > Date: Thu Jan 30 16:19:15 2014 -0500 > > drm/

[PATCH v7 5/6] ARM: Exynos: switch to using generic cpufreq driver for exynos4210/5250/5420

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham Remove the platform device instantiation for exynos cpufreq driver and add the platform device for generic cpufreq drivers. Cc: Kukjin Kim Signed-off-by: Thomas Abraham Acked-by: Viresh Kumar Reviewed-by: Amit Daniel Kachhap Tested-by: Arjun K.V --- arch/arm/mach-exyno

[PATCH v7 6/6] cpufreq: exynos: remove exynos4210/5250 specific cpufreq driver support

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham Exynos4210 and Exynos5250 based platforms have switched over to use generic cpufreq drivers for cpufreq functionality. So the Exynos specific cpufreq drivers for these platforms can be removed. Signed-off-by: Thomas Abraham Acked-by: Viresh Kumar Reviewed-by: Amit Daniel K

[PATCH v7 1/6] clk: samsung: add infrastructure to register cpu clocks

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham This patch defines a new clock type for CPU clock provider and adds infrastructure to register the CPU clock providers for Samsung platforms. The CPU clock provider supplies the clock to the CPU clock domain. The composition and organization of the CPU clock provider could va

[PATCH v7 4/6] ARM: dts: Exynos: add cpu nodes, opp and cpu clock configuration data

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham For Exynos 4210/5250/5420 based platforms, add CPU nodes, operating points and cpu clock data for migrating from Exynos specific cpufreq driver to using generic cpufreq drivers. Cc: Kukjin Kim Signed-off-by: Thomas Abraham Reviewed-by: Amit Daniel Kachhap Tested-by: Arjun

[PATCH v7 3/6] clk: exynos: use cpu-clock provider type to represent arm clock

2014-07-14 Thread Thomas Abraham
From: Thomas Abraham Register cpu clocks using the new cpu-clock provider type for exynos platforms. The differnt clock blocks that are now encapsulated within the cpu-clock can be marked with read-only attribute. Cc: Tomasz Figa Signed-off-by: Thomas Abraham Reviewed-by: Amit Daniel Kachhap

[PATCH v7 0/6] cpufreq: use generic cpufreq drivers for exynos platforms

2014-07-14 Thread Thomas Abraham
Changes since v6: - Fixes suggested by Amit Daniel . This patch series removes the use of Exynos4210 and Exynos5250 specific cpufreq drivers and enables the use of cpufreq-cpu0 driver for these platforms. This series also enabled cpufreq support for Exynos5420 using arm_big_little cpufreq driver.

Re: [PATCH] ARM: EXYNOS: Fix MCPM build with SUSPEND=n

2014-07-14 Thread Krzysztof Kozlowski
On pon, 2014-07-14 at 07:35 -0400, Nicolas Pitre wrote: > On Mon, 14 Jul 2014, Krzysztof Kozlowski wrote: > > > Building of EXYNOS5420_MCPM with disabled SUSPEND fails: > > arch/arm/mach-exynos/built-in.o: In function `exynos_mcpm_init': > > arch/arm/mach-exynos/mcpm-exynos.c:361: undefined refere

[PATCH v3 1/4] phy: Add provision for calibrating phy.

2014-07-14 Thread Vivek Gautam
Some PHY controllers may need to calibrate certain PHY settings after initialization of the controller and sometimes even after initializing the PHY-consumer too. Add support for the same in order to let consumers do so in need. Signed-off-by: vivek Gautam --- drivers/phy/phy-core.c | 36

[PATCH v3 0/4] Fine tune USB 3.0 PHY on exynos5420

2014-07-14 Thread Vivek Gautam
This series is based on Heikki's patches for simpliefied phy lookup table: [PATCHv2 0/6] phy: simplified phy lookup [1], applied against 'next' branch of Kishon's linux-phy tree. Changes since v2: 1) Removed any check for DWC3 in xhci-plat for getting usb2-phy and usb3-phy, in order to make it

[PATCH v3 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-07-14 Thread Vivek Gautam
Adding phy calibrate callback, which facilitates setting certain PHY settings post initialization of the PHY controller. Exynos5420 and Exynos5800 have 28nm USB 3.0 DRD PHY for which the Loss-of-Signal (LOS) Detector Threshold Level as well as Tx-Vboost-Level should be controlled for Super-Speed op

[PATCH v3 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-07-14 Thread Vivek Gautam
The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out of the PHY controller. The PHY core provides a calibration funtionality now to do so. Therefore, facilitate getting the two possible PHYs, viz. USB 2.0 type (UTMI+) and U

[PATCH v3 3/4] usb: hcd: Caibrate PHY post hcd reset

2014-07-14 Thread Vivek Gautam
Some quirky PHYs may require to be calibrated post the hcd initialization. The USB 3.0 DRD PHY on Exynos5420/5800 systems, coming along with Synopsys's DWC3 controller, is one such PHY which needs to be calibrated post xhci's reset at initialization time and at resume time, to get the controller wo

[PATCH v3 3/8] ARM: dts: exynos4412-odroidx: add support for USB (phy, host, device)

2014-07-14 Thread Marek Szyprowski
From: Kamil Debski This patch adds basic support for USB modules (host and device) on OdroidX board. Signed-off-by: Kamil Debski [removed incorrect port@2 node] Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroidx.dts | 27 +++ 1 file changed, 27 in

[PATCH v3 0/8] Add Exynos4412 based Odroid X2 and U2/U3/U3+ support

2014-07-14 Thread Marek Szyprowski
Hello, This is the third version of the initial patch series adding support for Exynos 4412 based Odroid X2 and U2/U3/U3+ boards and improving support for Odroid X. Complete USB support for Odroid U2/U3/U3+ still requires some fixes in Exynos4 USB2 Phy driver and clock driver for CLKOUT: http://t

[PATCH v3 5/8] ARM: dts: refactor Odroid DTS file and add support for Odroid X2 and U2/U3

2014-07-14 Thread Marek Szyprowski
This patch moves some parts of exynos4412-odroidx.dts to common exynos4412-odroid-common.dtsi file and adds support for Odroid X2 and U2/U3 boards. X2 is same as X, but it has faster SoC module (1.7GHz instead of 1.4GHz), while U2/U3 differs from X2 by different way of routing signals to host USB h

[PATCH v3 4/8] ARM: dts: exynos4412-odroidx: correct memory size

2014-07-14 Thread Marek Szyprowski
Last megabyte of RAM is used by secure firmware and should not be accessed by Linux kernel, so correct available memory size in DTS file. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroidx.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCH v3 7/8] ARM: dts: exynos4412-odroid: add support for GPIO buttons

2014-07-14 Thread Marek Szyprowski
This patch adds support for simple GPIO-based button availabled on Exynos4 based Odroid boards. All supported boards have POWER button, which has been defined in exynos4412-odroid-common.dtsi. X/X2 boards also have additional user-configurable button which has been mapped to KEY_HOME. All defined k

[PATCH v3 2/8] ARM: dts: exynos4412-odroidx: enable common hardware blocks

2014-07-14 Thread Marek Szyprowski
This patch adds support for common hardware modules available on all Exynos4412-based Odroid boards, which already have complete support in mainline kernel. This includes secure firmware calls, watchdog, g2d and fimc (mem2mem) multimedia accelerators. Signed-off-by: Marek Szyprowski --- arch/arm

[PATCH v3 1/8] ARM: dts: exynos4: add port sub-nodes to exynos usb host modules

2014-07-14 Thread Marek Szyprowski
This patch adds port sub-nodes to exynos4 ehci and ohci modules, which are required by recently merged new exynos4 usb2 phy support. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/

[PATCH v3 8/8] ARM: dts: exynos4412-odroid: fix T-FLASH hotplug detection

2014-07-14 Thread Marek Szyprowski
TFLASH (SDHCI2 controller) uses internal card detect line, but it looks that the driver fails to operate it properly. Use GPIO interrupt on SD_CDn line for detecting SD card state. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 2 ++ 1 file changed, 2 inser

[PATCH v3 6/8] ARM: dts: exynos4412-odroid-common: disable 'always on' for BUCK8 regulator

2014-07-14 Thread Marek Szyprowski
From: Kamil Debski On Odroid U2/U3 BUCK8 is used for providing power to also to P3V3 source, which is also connected to LAN9730 chip's nRESET signal. To reset lan chip on system reboot, the BUCK8 output should not be used in 'always on' mode. This change has no impact on X/X2 boards. Signed-off-

Re: [PATCH v2] ARM: dts: Add mask-tpm-reset to the device tree

2014-07-14 Thread Naveen Krishna Ch
Hello Vikas, On 14 July 2014 12:03, Vikas Sajjan wrote: > From: Doug Anderson > > The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from > being reset across sleep/wake. If we don't set it to anything then > the TPM will be reset. U-Boot will detect this as invalid > and will r

Re: [PATCH] ARM: dts: Add mask-tpm-reset DT node to the exynos5800-peach-pi

2014-07-14 Thread Naveen Krishna Ch
Hello Vikas, On 14 July 2014 17:36, Vikas Sajjan wrote: > The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from > being reset across sleep/wake. If we don't set it to anything then > the TPM will be reset. U-Boot will detect this as invalid > and will reset the system on resume

[PATCH] ARM: dts: Add mask-tpm-reset DT node to the exynos5800-peach-pi

2014-07-14 Thread Vikas Sajjan
The mask-tpm-reset GPIO is used by the kernel to prevent the TPM from being reset across sleep/wake. If we don't set it to anything then the TPM will be reset. U-Boot will detect this as invalid and will reset the system on resume time. This GPIO can always be low and not hurt anything. It will

[PATCH v8 04/13] clk: max77686: Add DT include for MAX77686 PMIC clock

2014-07-14 Thread Javier Martinez Canillas
This patch adds a dt-binding include for Maxim 77686 PMIC clock IDs that can be used by both the max77686 clock driver and Device Tree source files. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski Reviewed-by: Mike Turquette --- Changes since v6: None Changes since v5

[PATCH v8 11/13] rtc: max77686: Remove dead code for SMPL and WTSR.

2014-07-14 Thread Javier Martinez Canillas
The MAX77686 RTC chip has two features called SMPL (Sudden Momentary Power Loss) and WTSR (Watchdog Timeout and Software Resets). Support for these features seems to be implemented in the driver but compilation is disabled using a C pre-processor conditional. This code has been disabled since the

[PATCH v8 08/13] clk: Add driver for Maxim 77802 PMIC clocks

2014-07-14 Thread Javier Martinez Canillas
The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with Low Jitter Mode. This patch adds support for these two clocks. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- Changes since v6: None Changes since v5: None Changes since v4: None Changes since v3: N

[PATCH v8 03/13] regulator: Add driver for Maxim 77802 PMIC regulators

2014-07-14 Thread Javier Martinez Canillas
The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these regulators found on the MAX77802 PMIC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas Tested-by: Naveen

[PATCH v8 07/13] clk: max77686: Improve Maxim 77686 PMIC clocks binding

2014-07-14 Thread Javier Martinez Canillas
Like most clock drivers, the Maxim 77686 PMIC clock binding follows the convention that the "#clock-cells" property is used to specify the number of cells in a clock provider. But the binding document is not clear enough that it shall be set to 1 since the PMIC support multiple clocks outputs. Al

[PATCH v8 05/13] clk: Add generic driver for Maxim PMIC clocks

2014-07-14 Thread Javier Martinez Canillas
Maxim Integrated Power Management ICs are very similar with regard to their clock outputs. Most of the clock drivers for these chips are duplicating code and are simpler enough that can be converted to use a generic driver to consolidate code and avoid duplication. Signed-off-by: Javier Martinez C

Re: [PATCH 1/1] ARM: exynos_defconfig: Update exynos_defconfig

2014-07-14 Thread Arun Kumar K
Tested-by: Arun Kumar K on Samsung chromebook boards : Snow, pit and pi. Regards Arun On Wed, Jul 9, 2014 at 3:52 PM, Sachin Kamat wrote: > Removed outdated configs. Enabled most of the configs used on latest > Exynos based platforms. This will provide a reference for users trying > to verify

[PATCH v8 10/13] rtc: max77686: Allow the max77686 rtc to wakeup the system

2014-07-14 Thread Javier Martinez Canillas
From: Doug Anderson The max77686 includes an RTC that keeps power during suspend. It's convenient to be able to use it as a wakeup source. NOTE: due to wakeup ordering problems this patch alone doesn't work so well on exynos5250-snow. You also need something that brings the i2c bus up before t

[PATCH v8 09/13] clk: max77802: Add DT binding documentation

2014-07-14 Thread Javier Martinez Canillas
Add Device Tree binding documentation for the clocks outputs in the Maxim 77802 Power Management IC. Signed-off-by: Javier Martinez Canillas --- Changes since v6: None Changes since v5: - Fix typo error in DT binding. Suggested by Andreas Farber. - Add "clock-output-names" as an optional prop

[PATCH 0/3] serial: samsung: get fifosize from DT and clean up

2014-07-14 Thread Naveen Krishna Chatradhi
This patch set does the following 1: Get fifosize from DT node. But, not mandating it. 2. Corrects the case and default order in a switch 3. Defines a variable to simply the code. Console messages on Exynos5420 based peach pit and pi works fine. Naveen Krishna Chatradhi (3): serial: samsung: ge

[PATCH 2/3] serial: samsung: correct the case and default order in switch

2014-07-14 Thread Naveen Krishna Chatradhi
The cases should comes before default in a switch. Even if we want the case and default to share same code. Its good to define the case first followed by default. Signed-off-by: Naveen Krishna Chatradhi Cc: gre...@linuxfoundation.org --- drivers/tty/serial/samsung.c |2 +- 1 file changed, 1

[PATCH 1/3] serial: samsung: get fifosize via device tree

2014-07-14 Thread Naveen Krishna Chatradhi
UART modules on some SoCs only differ in the fifosize of each UART channel. Its useless to duplicate the drv_data structure or create a compatible name for such a change. We can get fifosize via the device tree nodes (not mandating it). Also updates the documentation. Signed-off-by: Naveen Krish

[PATCH 3/3] serial: samsung: improve code clarity by defining a variable

2014-07-14 Thread Naveen Krishna Chatradhi
The of_node is derived from pdev for every usage, define a device_node variable instead. Signed-off-by: Naveen Krishna Chatradhi Cc: gre...@linuxfoundation.org --- drivers/tty/serial/samsung.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/sams

[PATCH v8 12/13] rtc: Add driver for Maxim 77802 PMIC Real-Time-Clock

2014-07-14 Thread Javier Martinez Canillas
The MAX7802 PMIC has a Real-Time-Clock (RTC) with two alarms. This patch adds support for the RTC and is based on a driver added by Simon Glass to the Chrome OS kernel 3.8 tree. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- Changes since v6: - Remove unused code

[PATCH v8 06/13] clk: max77686: Convert to the generic max clock driver

2014-07-14 Thread Javier Martinez Canillas
Clocks drivers for Maxim PMIC are very similar so they can be converted to use the generic Maxim clock driver. Also, while being there use module_platform_driver() helper macro to eliminate more boilerplate code. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- driv

[PATCH v8 13/13] ARM: dts: Add max77802 to exynos5420-peach-pit and exynos5800-peach-pi

2014-07-14 Thread Javier Martinez Canillas
Peach pit and pi boards uses a Maxim 77802 power management IC to drive regulators and its Real Time Clock. This patch adds support for this chip. These are the device nodes and pinctrl configuration that are present on the Peach pit DeviceTree source file in the the Chrome OS kernel 3.8 tree. Si

[PATCH v8 02/13] mfd: max77802: Add DT binding documentation

2014-07-14 Thread Javier Martinez Canillas
Add Device Tree binding documentation for Maxim 77802 PMIC. Signed-off-by: Javier Martinez Canillas --- Changes since v7: - Remove information about DVS since that will be added as a follow up. Changes since v6: None Changes since v5: - Use max77686,* properties instead of max77802,* since t

[PATCH v8 01/13] mfd: max77686: Add Maxim 77802 PMIC support

2014-07-14 Thread Javier Martinez Canillas
Maxim MAX77802 is a power management chip that contains 10 high efficiency Buck regulators, 32 Low-dropout (LDO) regulators used to power up application processors and peripherals, a 2-channel 32kHz clock outputs, a Real-Time-Clock (RTC) and a I2C interface to program the individual regulators, clo

[PATCH v8 00/13] Add Maxim 77802 PMIC support

2014-07-14 Thread Javier Martinez Canillas
This series are based on drivers added by Simon Glass to the Chrome OS kernel and adds support for the Maxim 77802 Power Management IC, their regulators, clocks, RTC and i2c interface. This is a v8 of the patch-set that addresses issues pointed out in v7. Individual changes are added on each patch

Re: [PATCH] ARM: EXYNOS: Fix MCPM build with SUSPEND=n

2014-07-14 Thread Nicolas Pitre
On Mon, 14 Jul 2014, Krzysztof Kozlowski wrote: > Building of EXYNOS5420_MCPM with disabled SUSPEND fails: > arch/arm/mach-exynos/built-in.o: In function `exynos_mcpm_init': > arch/arm/mach-exynos/mcpm-exynos.c:361: undefined reference to `mcpm_loopback' > > The exynos_mcpm_init() in mcp-exynos.c

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

2014-07-14 Thread Mark Brown
On Mon, Jul 14, 2014 at 01:27:53PM +0200, Sylwester Nawrocki wrote: > Too bad, I noticed this comment only just now. I'll consider this and > will try again and see how simple-card could be used. There is also the > samsung-i2s-sec secondary 'overlay' CPU DAI that would need to be handled, > and

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

2014-07-14 Thread Sylwester Nawrocki
On 30/06/14 20:46, Mark Brown wrote: > On Wed, Jun 18, 2014 at 06:22:30PM +0200, Sylwester Nawrocki wrote: > >> +struct odroidx2_drv_data odroidx2_drvdata = { >> +.dapm_widgets = odroidx2_dapm_widgets, >> +.num_dapm_widgets = ARRAY_SIZE(odroidx2_dapm_widgets), >> +}; >> + >

Re: [PATCH v3 1/2] phy: Kconfig: Re-organize Exynos USB 2.0 PHY configs

2014-07-14 Thread Vivek Gautam
On Mon, Jul 14, 2014 at 3:38 PM, Sachin Kamat wrote: > Since the USB 2.0 PHYs are required with EHCI/OHCI USB drivers and > USB gadget controller supported by the DWC2 gadget driver, make it > depend on them and default to ARCH_EXYNOS as they are meant for > Exynos platforms. Also, make the sub-dr

[PATCH] ARM: EXYNOS: Fix MCPM build with SUSPEND=n

2014-07-14 Thread Krzysztof Kozlowski
Building of EXYNOS5420_MCPM with disabled SUSPEND fails: arch/arm/mach-exynos/built-in.o: In function `exynos_mcpm_init': arch/arm/mach-exynos/mcpm-exynos.c:361: undefined reference to `mcpm_loopback' The exynos_mcpm_init() in mcp-exynos.c calls mcpm_loopback() which depends on cpu_suspend functio

[PATCH] cpuidle: big.LITTLE: add MCPM dependency

2014-07-14 Thread Arnd Bergmann
662322fcb6d ("cpuidle: big.LITTLE: Add ARCH_EXYNOS entry in config") made it possible for the big-little cpuidle driver to run on exynos, which may or may not include MCPM support at compile time, so we run into a link error when it is disabled: drivers/built-in.o: In function `bl_enter_powerdown'

Re: [PATCH 2/2] phy: Kconfig: Update config for Exynos USB DRD

2014-07-14 Thread Vivek Gautam
On Mon, Jul 14, 2014 at 3:38 PM, Sachin Kamat wrote: > USB DWC3 driver on Exynos platform does not work without its > corresponding phy driver. Hence make the PHY driver depend on > Exynos DWC3 driver and default it to yes to make things easier > for the end user. > > Signed-off-by: Sachin Kamat

Re: [PATCH v5 05/14] drm/exynos: dsi: add pass TE host ops to support LCD I80 interface

2014-07-14 Thread Thierry Reding
On Mon, Jul 14, 2014 at 07:45:28PM +0900, YoungJun Cho wrote: > On 07/14/2014 06:41 PM, Thierry Reding wrote: [...] > >That said, I've been doing some research and it seems like we have a > >somewhat similar feature on Tegra. What happens there is that there are > >three GPIO pins that can be repur

  1   2   >