Re: power: reset: add driver for Hardkernel's Odroid boards

2015-01-14 Thread Marek Szyprowski
Hello, On 2015-01-14 16:17, Tobias Jakobi wrote: Hello, I've applied the two patches of this set onto torvalds/master (together with some other patches), but I now encounter an 'internal error' when doing a system reboot. Here's the corresponding part of the kernel log: http://www.math.uni-bie

Re: [v3,15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-14 Thread Pankaj Dubey
/next-20150114, but S2R failed on Exynos5250 based SMDK board. Following is the log I got on SMDK5250 board, (note I have added some debugging log to know what is happening) I can see is S3C-RTC's "enable_irq_wake" is failing with error -6. I also observed that even thoug

Re: [PATCH 3/4] clk: samsung: exynos7: add clocks for audio block

2015-01-14 Thread Padma Venkat
Hi Vivek, On 1/13/15, Vivek Gautam wrote: > Hi Padma, > > > On Fri, Dec 19, 2014 at 6:53 PM, Padmavathi Venna > wrote: >> Add required clk support for I2S,PCM amd SPDIF >> >> Signed-off-by: Padmavathi Venna >> --- > > verified from Exynos7 datasheet. The patch looks good. > Reviewed-by: Vivek G

[PATCH v4 4/9] clk: samsung: exynos4: Add divider clock id for memory bus frequency

2015-01-14 Thread Chanwoo Choi
This patch adds the divider clock id for Exynos4 memory bus frequency. The clock id is used fo DVFS (Dynamic Voltage/Frequency Scaling) feature of exynos memory bus frequency. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi --- drivers/clk/samsung/clk-exynos4.c | 10 +-

[PATCH v4 5/9] ARM: dts: Add memory bus node for Exynos4x12

2015-01-14 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos4x12 SoC. Exynos4x12 SoC has two memory bus to translate data between DRAM and eMMC/sub-IPs. Following list specifies the detailed relation between memory bus clock and DMC IP in MIF (Memory Interface) block: - DMC/ACP clock : DMC (Dynamic Memory Contr

[PATCH v4 0/9] devfreq: Add generic exynos memory-bus frequency driver

2015-01-14 Thread Chanwoo Choi
This patch-set adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory bus

[PATCH v4 6/9] ARM: dts: Add memory bus node for Exynos4210

2015-01-14 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos4210 SoC. Exynos4210 SoC has one memory bus to translate data between DRAM and eMMC/sub-IPs because Exynos4210 must need only one regulator for memory bus. Following list specifies the detailed relation between memory bus clock and sub-IPs: - DMC/ACP c

[PATCH v4 1/9] devfreq: exynos: Add generic exynos memory bus frequency driver

2015-01-14 Thread Chanwoo Choi
This patch adds the generic exynos bus frequency driver for memory bus with DEVFREQ framework. The Samsung Exynos SoCs have the common architecture for memory bus between DRAM memory and MMC/sub IP in SoC. This driver can support the memory bus frequency driver for Exynos SoCs. Each memory bus blo

[PATCH v4 3/9] ARM: dts: Add memory bus node for Exynos3250

2015-01-14 Thread Chanwoo Choi
This patch adds the memory bus node for Exynos3250 SoC. Exynos3250 has following memory buses to translate data between DRAM and eMMC/sub-IPs. Following list specifies the detailed relation between memory bus clock and DMC IP in MIF (Memory Interface) block: - DMC clock : DMC (Dynamic Memory Contr

[PATCH v4 9/9] devfreq: exynos: Remove unused exynos4 memory busfreq driver

2015-01-14 Thread Chanwoo Choi
This patch removes the unused exynos4 memory busfreq driver by adding generic exynos memory bus frequency driver. Cc: Myungjoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi --- drivers/devfreq/Kconfig | 12 - drivers/devfreq/exynos/Makefile |1 - drivers/devfreq/exy

[PATCH v4 7/9] ARM: dts: Add the support for exynos busfreq on Exynos3250-based Rinato/Monk board

2015-01-14 Thread Chanwoo Choi
This patch adds the Exynos3250 memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of MIF (Memory Interface) / INT (Internal) memory bus group. Cc: Kukjin Kim Cc: Myungjoo

[PATCH v4 8/9] ARM: dts: Add the support for exynos busfreq on Exynos4412-based TRATS2 board

2015-01-14 Thread Chanwoo Choi
This patch adds the Exynos4412 memory-bus node which includes the regulator and devfreq-event phandle. The devfreq-event phandle is used for the governor of devfreq device and provide the current usage state of MIF (Memory Interface) / INT (Internal) memory bus group. Cc: Kukjin Kim Cc: Myungjoo

[PATCH v4 2/9] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-14 Thread Chanwoo Choi
This patch adds the documentation for generic exynos memory bus frequency driver. Cc: MyungJoo Ham Cc: Kyungmin Park Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../devicetree/bindings/devfreq/exynos-bus.txt | 188 + 1 file changed, 188 inser

[PATCH v2] hwmon: (ina2xx) Add ina231 compatible string

2015-01-14 Thread Kevin Hilman
From: Kevin Hilman Add support for "ina231" as compatible string, and update Documentation and Kconfig accordingly. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman --- Documentation/hwmon/ina2xx | 9 + drivers/hwmon/Kcon

Re: [PATCH] hwmon: (ina2xx) Add ina231 compatible string

2015-01-14 Thread Kevin Hilman
Guenter Roeck writes: > On Wed, Jan 14, 2015 at 03:57:32PM -0800, Kevin Hilman wrote: >> From: Kevin Hilman >> >> Add support for "ina231" as compatible string. >> >> Tested with the Exynos5422-based odroid-xu3 board which has on-board >> INA231 sensors. >> >> Signed-off-by: Kevin Hilman > >

[PATCH v2] ARM: dts: exynos5422-odroidxu3: add on-board INA231 sensors

2015-01-14 Thread Kevin Hilman
From: Kevin Hilman The odroid-xu3 has 4 INA231 current sensors on board which can be accessed from the Linux via the hwmon interface. There is one sensor for each of these power rails: - A15 cluster: VDD_ARM - A7 cluster: VDD_KFC - GPU: VDD_G3D - memory: VDD_MEM In addition to adding the senso

Re: [PATCH] hwmon: (ina2xx) Add ina231 compatible string

2015-01-14 Thread Guenter Roeck
On Wed, Jan 14, 2015 at 03:57:32PM -0800, Kevin Hilman wrote: > From: Kevin Hilman > > Add support for "ina231" as compatible string. > > Tested with the Exynos5422-based odroid-xu3 board which has on-board > INA231 sensors. > > Signed-off-by: Kevin Hilman Hi Kevin, can you also update Docum

[PATCH] hwmon: (ina2xx) Add ina231 compatible string

2015-01-14 Thread Kevin Hilman
From: Kevin Hilman Add support for "ina231" as compatible string. Tested with the Exynos5422-based odroid-xu3 board which has on-board INA231 sensors. Signed-off-by: Kevin Hilman --- drivers/hwmon/ina2xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/ina2xx.c b/drivers/hw

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-14 Thread Chanwoo Choi
Hi Kukjin, On 01/15/2015 01:02 AM, Daniel Lezcano wrote: > On 01/14/2015 04:51 PM, Kukjin Kim wrote: >> On 01/14/15 14:33, Chanwoo Choi wrote: >> >> Hi, >> >> + Doug, Olof >> >>> This patch adds the support for Exynos 64bit SoC. The delay_timer is only >>> used >>> for Exynos 32bit SoC. >>> >> Ye

Re: [PATCH] ARM: dts: exynos5422-odroidxu3: add INA2xx sensors

2015-01-14 Thread Kevin Hilman
Sjoerd Simons writes: > Hey kevin, > > On Tue, 2015-01-13 at 16:03 -0800, Kevin Hilman wrote: >> From: Kevin Hilman >> >> The odroid-xu3 has 4 INA231 current sensors on board which can be >> accessed from the Linux via the hwmon interface. >> >> There is one sensor for each of these power rail

Re: [PATCH] ARM: dts: exynos5422-odroidxu3: add INA2xx sensors

2015-01-14 Thread Kevin Hilman
Kukjin Kim writes: > On 01/14/15 09:03, Kevin Hilman wrote: >> From: Kevin Hilman >> >> The odroid-xu3 has 4 INA231 current sensors on board which can be >> accessed from the Linux via the hwmon interface. >> >> There is one sensor for each of these power rails: >> >> - A15 cluster: VDD_ARM >

Re: [PATCH v3 13/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-14 Thread Tony Lindgren
* Marc Zyngier [150112 10:30]: > OMAP4/5 has been (ab)using the gic_arch_extn to provide > wakeup from suspend, and it makes a lot of sense to convert > this code to use stacked domains instead. > > This patch does just this, updating the DT files to actually > reflect what the HW provides. > >

Re: [PATCH 2/2] clk: exynos-audss: Fix memory leak on driver unbind or probe failure

2015-01-14 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-08 13:23:13) > On 01/05/2015 01:52 AM, Krzysztof Kozlowski wrote: > > The memory allocated by basic clock divider/gate/mux (struct clk_gate, > > clk_divider and clk_mux) was leaking. During driver unbind or probe > > failure the driver only unregistered the clocks. > >

Re: [PATCH] ARM: dts: exynos5422-odroidxu3: add INA2xx sensors

2015-01-14 Thread Sjoerd Simons
Hey kevin, On Tue, 2015-01-13 at 16:03 -0800, Kevin Hilman wrote: > From: Kevin Hilman > > The odroid-xu3 has 4 INA231 current sensors on board which can be > accessed from the Linux via the hwmon interface. > > There is one sensor for each of these power rails: > > - A15 cluster: VDD_ARM > -

Re: [PATCH V3 13/15] ARM: dts: Exynos4 and Odroid X2/U3 sound device nodes update

2015-01-14 Thread Mark Brown
On Wed, Jan 14, 2015 at 07:42:40PM +0100, Sylwester Nawrocki wrote: > Clock related properties are added to the Exynos4 I2S device nodes > so they can be referred to as clock providers. Missing i2s_opclk1 > clock is added to the I2S0 node and clock properties are added > to the MAX98090 codec node

Re: [PATCH V3 00/15] ASoC: samsung: Add clk provider for I2S internal clocks

2015-01-14 Thread Mark Brown
On Wed, Jan 14, 2015 at 07:42:27PM +0100, Sylwester Nawrocki wrote: > This series is an attempt to resolve the CDCLK clock gating issue on Odroid > X2/U3 as reported by Daniel Drake [1], by exposing the CDCLK gate clock > (and the two other clocks) through clk API. The upside is we can switch > Odr

Re: [PATCH v3 13/16] thermal: exynos: dts: Provide device tree bindings identical to the one in exynos_tmu_data.c

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:41:11PM +0100, Lukasz Majewski wrote: > Presented device tree bindings provide data already hardcoded in the > exynos_tmu_data.c file. > After this commit, it should be possible to reuse common thermal core > framework in Exynos SoCs. > > Signed-off-by: Lukasz Majewski

Re: [PATCH v3 09/16] dts: Documentation: Extending documentation entry for exynos-thermal

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:52:25PM -0400, Eduardo Valentin wrote: > On Wed, Jan 14, 2015 at 02:41:07PM +0100, Lukasz Majewski wrote: > > Properties necessary for providing Exynos thermal configuration via device > > tree. > > > > Signed-off-by: Lukasz Majewski > > --- > > Changes for v3: > > - Ne

Re: [PATCH v3 06/16] arm: dts: Adding CPU cooling binding for Exynos SoCs

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:41:04PM +0100, Lukasz Majewski wrote: > Presented patch aims to move data necessary for correct CPU cooling device > configuration from exynos_tmu_data.c to device tree. > > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > - None > Changes for v3: > - Adjust CPU

Re: [PATCH v3 09/16] dts: Documentation: Extending documentation entry for exynos-thermal

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:41:07PM +0100, Lukasz Majewski wrote: > Properties necessary for providing Exynos thermal configuration via device > tree. > > Signed-off-by: Lukasz Majewski > --- > Changes for v3: > - New patch > > --- > .../devicetree/bindings/thermal/exynos-thermal.txt | 17

Re: [PATCH v3 05/16] thermal: dts: Enable TMU at Exynos4412 based Odroid U3 device

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:41:03PM +0100, Lukasz Majewski wrote: > This commit enables TMU IP block on the Exynos4412 Odroid U3 > device. > The comment about the patch subject applies here too. I would use "arm: dts: ..." instead of "thermal: dts" ...". > Signed-off-by: Lukasz Majewski > --- >

Re: [PATCH v3 14/16] thermal: samsung: core: Exynos TMU rework to use device tree for configuration

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 02:41:12PM +0100, Lukasz Majewski wrote: > This patch brings support for providing configuration via device tree. > Previously this data has been hardcoded in the exynos_tmu_data.c file. > Such approach was not scalable and very often required copying the whole > data. > >

[PATCH V3 11/15] ASoC: samsung: i2s: Add clk provider DT binding documentation

2015-01-14 Thread Sylwester Nawrocki
The new DT properties required for the I2S device node to be referred as a clock provider and corresponding clock indices definition is added. Signed-off-by: Sylwester Nawrocki --- .../devicetree/bindings/sound/samsung-i2s.txt | 22 include/dt-bindings/sound/samsung-i

[PATCH V3 14/15] ARM: dts: Switch Odroid X2/U2 to simple-audio-card

2015-01-14 Thread Sylwester Nawrocki
Now when the CDCLK I2S output clock can be handled through the clock API the Odroid X2/U3 can be switched to the simple-audio-card DT binding. Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exynos4.dtsi |3 +++ arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 19

[PATCH V3 10/15] ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally

2015-01-14 Thread Sylwester Nawrocki
In order to support old DTs we check the codec device node if it contains "clocks" property and only if it doesn't (which indicates an old DT) we proceed with enabling the CDCLK clock by means of the set_sysclk() callback. For new DTs which use the common clock bindings for CDCLK that clock is sup

[PATCH V3 12/15] ASoC: samsung: i2s: Add clock provider for the I2S internal clocks

2015-01-14 Thread Sylwester Nawrocki
This patch adds clock provider (currently only for DT platforms) for the CODECLKO (CDCLK) gate, RCLKSRC mux and RCLK pre-scaler divider divider clock. Those all tree clock are only available in the IIS Multi Audio Interface (I2S0), the regular IIS Bus Interface has only CDCLK gate clock. The motiv

[PATCH V3 13/15] ARM: dts: Exynos4 and Odroid X2/U3 sound device nodes update

2015-01-14 Thread Sylwester Nawrocki
Clock related properties are added to the Exynos4 I2S device nodes so they can be referred to as clock providers. Missing i2s_opclk1 clock is added to the I2S0 node and clock properties are added to the MAX98090 codec node to allow it to control/read frequency of the MCLK clock directly. Signed-of

[PATCH V3 15/15] ARM: dts: Fix I2S1, I2S2 compatible for exynos4 SoCs

2015-01-14 Thread Sylwester Nawrocki
I2S1, I2S2 on Exynos4 SoC series have limited functionality compared to I2S0, "samsung,s3c6410-i2s" compatible should be used for them. Cc: sta...@vger.kernel.org Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exynos4.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

[PATCH V3 08/15] ASoC: samsung: i2s: Add spinlock in place of local_irq_* calls

2015-01-14 Thread Sylwester Nawrocki
It seems this driver hasn't been updated for SMP, as local_irq_save/ local_irq_restore don't provide proper protection of read/modify/write of the device's registers on such systems. Introduce a spinlock serializing access to the register region, it will be helpful later when I2SMOD, I2SPSR registe

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

2015-01-14 Thread Sylwester Nawrocki
Ensure the I2SMOD, I2SPSR registers, which are also exposed through clk API are only accessed with the i2s->spinlock spinlock held. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c | 81 +-- 1 file changed, 51 insertions(+), 30 deletions

[PATCH V3 05/15] ASoC: samsung: i2s: Move clk enable to the platform driver probe()

2015-01-14 Thread Sylwester Nawrocki
The clk_prepare_enable() call on the "iis" clock is moved to happen earlier in the DAI platform device driver's probe() callback, so the I2S registers can be safely accessed through the clk API, after the clk supplier is registered in the platform device probe(). After this patch the "iis" clock i

[PATCH V3 04/15] ASoC: samsung: i2s: Move clk_get() to platform driver probe()

2015-01-14 Thread Sylwester Nawrocki
Acquire the I2S interface clock in driver probe() callback as it's a per-device not a per-DAI clock. While at it switch to the resource managed clk_get(). Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) d

[PATCH V3 02/15] ASoC: samsung: i2s: Add return value checks in probe()

2015-01-14 Thread Sylwester Nawrocki
These functions may fail so let's properly report any errors. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index e5473ee..aa52b41 100644 --- a/sou

[PATCH V3 03/15] ASoC: samsung: i2s: Request memory region in driver probe()

2015-01-14 Thread Sylwester Nawrocki
The memory mapped registers region is common for both DAIs so request it in the I2S platform device driver's probe for the platform device corresponding to the primary DAI, rather than in the ASoC DAI's probe callback. While at it switch to devm_ioremap_resource(). This also drops the hard coded (0

[PATCH V3 06/15] ASoC: samsung: i2s: Add get_other_dai helper function

2015-01-14 Thread Sylwester Nawrocki
The code to get pointer to the other DAI is repeated multiple times. Add a helper function and use it instead. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/sound/soc/samsung/i2s.c b/s

[PATCH V3 07/15] ASoC: samsung: i2s: Remove an unneeded goto usage

2015-01-14 Thread Sylwester Nawrocki
The usage of this goto seems unjustified, use if/else statement instead. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index cab2a2a..2bac719

[PATCH V3 00/15] ASoC: samsung: Add clk provider for I2S internal clocks

2015-01-14 Thread Sylwester Nawrocki
This series is an attempt to resolve the CDCLK clock gating issue on Odroid X2/U3 as reported by Daniel Drake [1], by exposing the CDCLK gate clock (and the two other clocks) through clk API. The upside is we can switch Odroid X2/U3 to the simple-card, once the CDCLK clock is taken care of by the c

[PATCH V3 01/15] ASoC: samsung: i2s: samsung_i2s_get_driver_data() cleanup

2015-01-14 Thread Sylwester Nawrocki
Tidy up the samsung_i2s_get_driver_data() function by using IS_ENABLE() instead of #ifdef and add missing braces for the 'else' part. Also ensure we are not dereferencing NULL 'match' pointer. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/i2s.c |9 - 1 file changed, 4 inser

Re: [PATCH v2 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 04:01:06PM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > On Fri, Jan 02, 2015 at 02:54:28PM -0400, Eduardo Valentin wrote: > > > On Mon, Dec 22, 2014 at 05:27:41PM +0100, Lukasz Majewski wrote: > > > > Odroid U3 fan can work without being registered as OF cooling > > >

Re: [PATCH v2 2/8] thermal: Provide stub for thermal_cdev_update() function

2015-01-14 Thread Eduardo Valentin
On Wed, Jan 14, 2015 at 04:07:53PM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > On Mon, Dec 22, 2014 at 05:27:42PM +0100, Lukasz Majewski wrote: > > > Odroid U3 fan can work without being registered as OF cooling device > > > (with CONFIG_THERMAL_OF disabled). > > > In this situation it can b

Re: [PATCH v5 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2015-01-14 Thread Alexandre Belloni
Hi, On 14/01/2015 at 16:21:50 +, Russell King - ARM Linux wrote : > On Wed, Jan 14, 2015 at 04:46:03PM +0100, Alexandre Belloni wrote: > > Hi, > > > > This patch set hasn't moved since while. We actually need patch 4 to > > properly configure prefetch on sama5d4. What would be needed to come

Re: [PATCH v5 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2015-01-14 Thread Russell King - ARM Linux
On Wed, Jan 14, 2015 at 04:46:03PM +0100, Alexandre Belloni wrote: > Hi, > > This patch set hasn't moved since while. We actually need patch 4 to > properly configure prefetch on sama5d4. What would be needed to come to > an agreement ? What do you mean "hasn't moved since a while" - there has be

Re: [PATCH] ARM: EXYNOS: enable 4 cores secondary cpu up for exynos5440

2015-01-14 Thread Kukjin Kim
On 01/07/15 11:31, Ming Lei wrote: > Hi Kukjin, > Hi Ming Lei, Sorry for late response. > On Tue, Jan 1, 2013 at 3:09 AM, Kukjin Kim wrote: >> No need to check power on/off with pmu control to support hotplug >> in/out on exynos5440. And this patch enables 4 cores on exynos5440. > > Without th

Re: [PATCH] ARM: DTS: Exynos: convert to generic power domain bindings

2015-01-14 Thread Kukjin Kim
On 01/13/15 01:50, Javier Martinez Canillas wrote: > Hello Marek, > > On Fri, Jan 2, 2015 at 10:36 AM, Marek Szyprowski > wrote: >> This patch replaces all custom samsung,power-domain device tree properties >> with generic power domain bindings and updates documentation Samsung's >> devices >> r

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-14 Thread Daniel Lezcano
On 01/14/2015 04:51 PM, Kukjin Kim wrote: On 01/14/15 14:33, Chanwoo Choi wrote: Hi, + Doug, Olof This patch adds the support for Exynos 64bit SoC. The delay_timer is only used for Exynos 32bit SoC. Yes, the Exynos MCT(Multi-Core Timer) is 64bit timer and it is available on 64bit exynos SoC

Re: [PATCH v4 0/2] mmc: dw_mmc: exynos: Add HS400 support

2015-01-14 Thread Ulf Hansson
On 14 January 2015 at 16:35, Kukjin Kim wrote: > On 01/14/15 22:32, Jaehoon Chung wrote: >> Hi, Alim. >> >> On 01/14/2015 07:30 PM, Alim Akhtar wrote: >>> This adds HS400 mode support for exynos dw_mmc host controller. >>> >>> Currently tested on Exynos5800-peach-pi platform for HS400 mode. >>> Te

Re: [PATCH] ARM: dts: exynos5422-odroidxu3: add INA2xx sensors

2015-01-14 Thread Kukjin Kim
On 01/14/15 09:03, Kevin Hilman wrote: > From: Kevin Hilman > > The odroid-xu3 has 4 INA231 current sensors on board which can be > accessed from the Linux via the hwmon interface. > > There is one sensor for each of these power rails: > > - A15 cluster: VDD_ARM > - A7 cluster: VDD_KFC > - GPU:

Re: [RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-14 Thread Kukjin Kim
On 01/14/15 14:33, Chanwoo Choi wrote: Hi, + Doug, Olof > This patch adds the support for Exynos 64bit SoC. The delay_timer is only used > for Exynos 32bit SoC. > Yes, the Exynos MCT(Multi-Core Timer) is 64bit timer and it is available on 64bit exynos SoC such as exynos7. But basically ARMv8 ar

Re: [PATCH v5 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2015-01-14 Thread Alexandre Belloni
Hi, This patch set hasn't moved since while. We actually need patch 4 to properly configure prefetch on sama5d4. What would be needed to come to an agreement ? On 24/09/2014 at 13:05:34 +0200, Marek Szyprowski wrote : > This is an updated patchset, which intends to add support for L2 cache > on E

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Javier Martinez Canillas
Hello Kukjin, On 01/14/2015 04:28 PM, Kukjin Kim wrote: >>> >>> I saw that you collected some DTS patches for 3.20 but these are not >>> included. Any comments about this series? >>> >> Yeah, but I don't think I checked all of submitted patches including >> this at that time and I'll have a look a

Re: [PATCH RESEND 1/4] ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow

2015-01-14 Thread Javier Martinez Canillas
Hello Kukjin, On 01/14/2015 04:17 PM, Kukjin Kim wrote: >> >> &pinctrl_0 { >> +power_key_irq: power-key-irq { >> +samsung,pins = "gpx1-3"; >> +samsung,pin-function = <0xf>; > > I think, this setting should be same with exynos5250-spring but different. > > from: arc

Re: [PATCH v4 0/2] mmc: dw_mmc: exynos: Add HS400 support

2015-01-14 Thread Kukjin Kim
On 01/14/15 22:32, Jaehoon Chung wrote: > Hi, Alim. > > On 01/14/2015 07:30 PM, Alim Akhtar wrote: >> This adds HS400 mode support for exynos dw_mmc host controller. >> >> Currently tested on Exynos5800-peach-pi platform for HS400 mode. >> Tested HS200 mode with this series applied, HS200 still wo

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Kukjin Kim
On 01/15/15 00:12, Kukjin Kim wrote: > On 01/12/15 19:41, Javier Martinez Canillas wrote: >> Hello Kukjin, >> > Hi, > >> On 01/02/2015 04:24 PM, Javier Martinez Canillas wrote: >>> >>> This series adds some DTS snippets that were missing in the mainline >>> Snow and Peach Pit/Pi Device Trees but a

Re: [RESEND PATCH] ARM: EXYNOS: Add exynos3250 suspend-to-ram support

2015-01-14 Thread Kukjin Kim
On 01/12/15 19:39, Chanwoo Choi wrote: > Dear Kukjin, > > On 01/12/2015 06:28 PM, Kukjin Kim wrote: >> On 01/12/15 17:51, Chanwoo Choi wrote: >>> Dear Kukjin, >>> >>> On 01/12/2015 05:44 PM, Kukjin Kim wrote: On 01/08/15 10:50, Chanwoo Choi wrote: > This patch adds the support for suspend

Re: [PATCH v2 0/6] Enable HDMI support on Exynos platforms

2015-01-14 Thread Tobias Jakobi
Hello, I've applied v6 of the HDMI patchset (together with the patches the set depends on) onto torvalds/master, but I'm seeing a lot of warnings (coming from __clk_{unprepare,disable}) that seem to originate from the fimc subsystem. Since the patchset also changes PM domain handling (which shows

Re: power: reset: add driver for Hardkernel's Odroid boards

2015-01-14 Thread Tobias Jakobi
Hello, I've applied the two patches of this set onto torvalds/master (together with some other patches), but I now encounter an 'internal error' when doing a system reboot. Here's the corresponding part of the kernel log: http://www.math.uni-bielefeld.de/~tjakobi/archive/odroid_power_reset.txt W

Re: [PATCH RESEND 1/4] ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow

2015-01-14 Thread Kukjin Kim
On 01/03/15 00:24, Javier Martinez Canillas wrote: > The Exynos5250 Snow Chromebook has GPIO keys for power and lid > so the SoC I/O pins have to be configured in external interrupt > mode. Currently, this is working without setting the pinctrl > lines but is better to set it explicitly instead of

Re: [PATCH RESEND 0/4] Small updates to Snow and Peach Pit/Pi DTS

2015-01-14 Thread Kukjin Kim
On 01/12/15 19:41, Javier Martinez Canillas wrote: > Hello Kukjin, > Hi, > On 01/02/2015 04:24 PM, Javier Martinez Canillas wrote: >> >> This series adds some DTS snippets that were missing in the mainline >> Snow and Peach Pit/Pi Device Trees but are present in the downstream >> ChromeOS kernel.

[GIT PULL RE-SEND] Samsung exynos7 updates for v3.20

2015-01-14 Thread Kukjin Kim
Hi, Sorry, I'm resending this pull-request because of missing signed-tag. Please pull. If any problems, please let me know. Thanks, Kukjin The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git reposit

Re: [PATCH v3 1/7 RESEND] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Ulf Hansson
On 14 January 2015 at 15:12, Marek Szyprowski wrote: > This patch adds a note on defining subdomains to generic PM domain > binding documentation to let power domain providers use common approach > for defining power domain hierarchy. > > Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson

Re: [PATCH v2 2/8] thermal: Provide stub for thermal_cdev_update() function

2015-01-14 Thread Lukasz Majewski
Hi Eduardo, > On Mon, Dec 22, 2014 at 05:27:42PM +0100, Lukasz Majewski wrote: > > Odroid U3 fan can work without being registered as OF cooling device > > (with CONFIG_THERMAL_OF disabled). > > In this situation it can be controlled via PWM entry at > > /sys/class/hwmon/hwmon0/pwm1. > > > > Ther

[GIT PULL RE-SEND] Samsung fixes for v3.19

2015-01-14 Thread Kukjin Kim
Hi, Oops, it's totally my fault and mistake. Actually my git command for pull-request was correct but the git tool was old version :-( because there are two git in my laptop, anyway sorry for that and I'm resending with signed tag has been created before. Please pull if you're OK with my comments

Re: [PATCH v2 1/8] thermal: Provide stub for thermal_of_cooling_device_register() function

2015-01-14 Thread Lukasz Majewski
Hi Eduardo, > On Fri, Jan 02, 2015 at 02:54:28PM -0400, Eduardo Valentin wrote: > > On Mon, Dec 22, 2014 at 05:27:41PM +0100, Lukasz Majewski wrote: > > > Odroid U3 fan can work without being registered as OF cooling > > > device (with CONFIG_THERMAL_OF disabled). > > > In this situation it can be

Re: [PATCH 1/2] pinctrl: exynos: Add AUDIO pin controller for exynos7

2015-01-14 Thread Tomasz Figa
Hi Linus, 2015-01-14 20:40 GMT+09:00 Linus Walleij : > On Fri, Dec 19, 2014 at 2:10 PM, Padmavathi Venna wrote: > >> Audio IPs on Exynos7 require gpios available in AUDIO >> pin controller block. So adding the AUDIO pinctrl support. >> >> Signed-off-by: Padmavathi Venna > (...) >> --- a/Document

Re: [PATCH v3 1/7 RESEND] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Geert Uytterhoeven
On Wed, Jan 14, 2015 at 3:12 PM, Marek Szyprowski wrote: > This patch adds a note on defining subdomains to generic PM domain > binding documentation to let power domain providers use common approach > for defining power domain hierarchy. > > Signed-off-by: Marek Szyprowski Acked-by: Geert Uytte

[PATCH v3 1/7 RESEND] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Marek Szyprowski
This patch adds a note on defining subdomains to generic PM domain binding documentation to let power domain providers use common approach for defining power domain hierarchy. Signed-off-by: Marek Szyprowski --- RESEND version: - fixed spelling mistakes, thanks go to Geert! --- .../devicetree/bi

Re: [PATCH 2/9] hwmon: dts: Doc: Add DTS doc to explain how to use PWM FAN as a cooling device

2015-01-14 Thread Lukasz Majewski
Hi Sjoerd, > Hey Lukasz, > > Blame the holiday season for my late reply ;) > > On Fri, 2014-12-19 at 17:13 +0100, Lukasz Majewski wrote: > > Hi Guenter, > > > > > On Fri, Dec 19, 2014 at 04:32:24PM +0100, Lukasz Majewski wrote: > > > > Hi Sjoerd, > > > > > > > > Thanks for your feedback and so

Re: [PATCH v3 1/7] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Geert Uytterhoeven
Hi Marek, On Wed, Jan 14, 2015 at 2:44 PM, Marek Szyprowski wrote: > This patch adds a note on defining subdomains to generic PM domain > binding documentation to let power domain providers use common approach > for defining power domain hierarchy. Thanks! > Signed-off-by: Marek Szyprowski > -

[PATCH v3 16/16] thermal: exynos: Remove exynos_tmu_data.c file

2015-01-14 Thread Lukasz Majewski
Data already present in the exynos_tmu_data.c file has been moved to the appropriate device tree files. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None --- drivers/thermal/samsung/exynos_tmu_data.c | 228 -- 1 file changed, 228 deletio

[PATCH v3 15/16] thermal: exynos: Remove exynos_thermal_common.[c|h] files

2015-01-14 Thread Lukasz Majewski
After defining all necessary Exynos data in the device tree and heavy reusage of the of-thermal.c those files can be removed. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None --- drivers/thermal/samsung/exynos_thermal_common.c | 445 drive

[PATCH v3 14/16] thermal: samsung: core: Exynos TMU rework to use device tree for configuration

2015-01-14 Thread Lukasz Majewski
This patch brings support for providing configuration via device tree. Previously this data has been hardcoded in the exynos_tmu_data.c file. Such approach was not scalable and very often required copying the whole data. Signed-off-by: Lukasz Majewski --- Changes for v2: - Adjust exynos_tmu.c cod

[PATCH v3 13/16] thermal: exynos: dts: Provide device tree bindings identical to the one in exynos_tmu_data.c

2015-01-14 Thread Lukasz Majewski
Presented device tree bindings provide data already hardcoded in the exynos_tmu_data.c file. After this commit, it should be possible to reuse common thermal core framework in Exynos SoCs. Signed-off-by: Lukasz Majewski --- Changes for v2: - Add proper TMU entries for exynos3250.dtsi Changes for

[PATCH v3 12/16] thermal: dts: exynos: Trip points and sensor configuration data for Exynos5440

2015-01-14 Thread Lukasz Majewski
This commit provides information about Exynos5440 device configuration. Previously this information was available in exynos_tmu_data.c file. Now it is available in the device tree. Such approach allows reusing some common code for thermal. Signed-off-by: Lukasz Majewski --- Changes for v2: - None

[PATCH v3 09/16] dts: Documentation: Extending documentation entry for exynos-thermal

2015-01-14 Thread Lukasz Majewski
Properties necessary for providing Exynos thermal configuration via device tree. Signed-off-by: Lukasz Majewski --- Changes for v3: - New patch --- .../devicetree/bindings/thermal/exynos-thermal.txt | 17 + 1 file changed, 17 insertions(+) diff --git a/Documentation/device

[PATCH v3 11/16] thermal: exynos: dts: Define default thermal-zones for Exynos4

2015-01-14 Thread Lukasz Majewski
Trip points corresponding to the one defined in the exynos_tmu_data.c for Exynos4 have been included. This thermal-zones attribute is afterwards reused for Exynos4210, Exynos4412 and Exynos5250. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None --- arch/arm/boot/dt

[PATCH v3 10/16] thermal: dts: Default trip points definition for Exynos5420 SoCs

2015-01-14 Thread Lukasz Majewski
This code groups in one place default settings of trip points. It is used in SoCs with multiple instances of TMU sensor. Separate device tree file prevents from multiple copying of the same data. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None --- arch/arm/boot/

[PATCH v3 08/16] thermal: exynos: dts: Add default definition of the TMU sensor parameter

2015-01-14 Thread Lukasz Majewski
Exynos 4 and 5 family of SoCs uses almost identical TMU sensor to measure the on chip temperature. For this reason it is possible to group TMU configuration parameters in one dts file. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - "samsung,tmu_" prefix for TMU specif

[PATCH v3 07/16] thermal: exynos: Modify exynos thermal code to use device tree for cpu cooling configuration

2015-01-14 Thread Lukasz Majewski
Up till now exynos_tmu_data.c was used for storing CPU cooling configuration data. Now the Exynos thermal core code uses device tree to get this data. For this purpose generic thermal code for configuring CPU cooling was used. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for

[PATCH v3 6/7] ARM: dts: exynos4210-universal_c210: enable hdmi support

2015-01-14 Thread Marek Szyprowski
From: Tomasz Stanislawski This patch adds configuration of hw modules required to enable HDMI support on Universal C210 board. Signed-off-by: Tomasz Stanislawski Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210-universal_c210.dts | 57 + 1 file changed,

[PATCH v3 1/7] PM / Domains: Add a note about power domain subdomains

2015-01-14 Thread Marek Szyprowski
This patch adds a note on defining subdomains to generic PM domain binding documentation to let power domain providers use common approach for defining power domain hierarchy. Signed-off-by: Marek Szyprowski --- .../devicetree/bindings/power/power_domain.txt | 29 ++ 1 fi

[PATCH v3 4/7] ARM: dts: exynos4: add dependency between TV and LCD0 power domains

2015-01-14 Thread Marek Szyprowski
TV Mixer needs both TV and LCD0 domains enabled to be fully operational. This dependency is modelled by making TV power domains a sub-domain of LCD0 power domain. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/

[PATCH v3 7/7] ARM: dts: exynos5250: add display power domain

2015-01-14 Thread Marek Szyprowski
From: Andrzej Hajda The patch adds domain definition and references to it in appropriate devices. Signed-off-by: Andrzej Hajda [mszyprow: rebased onto generic power domains dt bindings] Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250.dtsi | 10 ++ 1 file changed, 10 i

[PATCH v3 05/16] thermal: dts: Enable TMU at Exynos4412 based Odroid U3 device

2015-01-14 Thread Lukasz Majewski
This commit enables TMU IP block on the Exynos4412 Odroid U3 device. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - None --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid-c

[PATCH v3 06/16] arm: dts: Adding CPU cooling binding for Exynos SoCs

2015-01-14 Thread Lukasz Majewski
Presented patch aims to move data necessary for correct CPU cooling device configuration from exynos_tmu_data.c to device tree. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - Adjust CPU's DT nodes to work with newest ti-soc-thermal/next branch - Patch title has been c

[PATCH v3 3/7] ARM: dts: exynos4: add hdmi related nodes

2015-01-14 Thread Marek Szyprowski
This patch adds entries for HDMI, Mixer and i2c with hdmi-phy modules found in Exynos 4210 and 4x12 SoCs. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4.dtsi| 40 +++ arch/arm/boot/dts/exynos4210.dtsi | 8 arch/arm/boot/dts/exynos4

[PATCH v3 0/7] Enable HDMI support on Exynos platforms

2015-01-14 Thread Marek Szyprowski
Hi all, This is yet another approach to submit patches, which enables HDMI support for two Exynos based platforms: UniversalC210 and Odroid X2/U3. Beside DTS changes, this patchset adds parent domain support for Exynos PM domains. This was the most controversial patch in the previous attempts, bu

[PATCH v3 5/7] ARM: dts: exynos4412-odroid: enable hdmi support

2015-01-14 Thread Marek Szyprowski
This patch adds nodes specific to Exynos4412 based Odroid X/X2/U2/U3 boards required for enabling HDMI display. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 44 + 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/exy

[PATCH v3 2/7] ARM: Exynos: add support for sub-power domains

2015-01-14 Thread Marek Szyprowski
This patch adds support for making one power domain a sub-domain of other domain. This is useful for modeling power dependences for devices like TV Mixer or Camera ISP, which needs to have more than one power domain enabled to be operational. Based on previous work by Amit Daniel Kachhap . Signed

[PATCH v3 04/16] arm: dts: odroid: Add LD010 regulator node necessary for TMU on Odroid

2015-01-14 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - Patch title has been changed from thermal: dts: exynos to arm: dts: Odroid --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroid

[PATCH v3 03/16] arm: dts: trats: Enable TMU on the Exynos4210 trats device

2015-01-14 Thread Lukasz Majewski
The thermal IP block (Thermal Management Unit) called TMU has been enabled in this device. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3: - Patch title has been changed from thermal: dts: arm to arm: dts: trats --- arch/arm/boot/dts/exynos4210-trats.dts | 4 1 fil

  1   2   >