Re: [PATCH] Exynos4: cpuidle: support dual CPUs with AFTR state

2014-04-14 Thread Lukasz Majewski
Hi Daniel, > The following driver is for exynos4210. I did not yet finished the > other boards, so I created a specific driver for 4210 which could be > merged later. > If I may ask - do you plan to develop this code for Exynos4412 in a near future? I did some tests (with hotplug) and it turns

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

2014-04-14 Thread Vivek Gautam
Hi Tomasz, On Thu, Apr 10, 2014 at 5:09 PM, Vivek Gautam wrote: > On Wed, Apr 9, 2014 at 7:03 PM, Tomasz Figa wrote: >> On 09.04.2014 13:49, Vivek Gautam wrote: >>> >>> Hi, >>> >>> >>> On Wed, Apr 9, 2014 at 4:36 PM, Tomasz Figa wrote: Hi Vivek, Please see my comments inlin

[RFC PATCH 11/14] ARM: dts: exynos4: add system register node

2014-04-14 Thread YoungJun Cho
This patch adds sysreg property to fimd device node which is required to use I80 interface. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi

[RFC PATCH 10/14] drm/panel: add S6E3FA0 driver

2014-04-14 Thread YoungJun Cho
This patch adds MIPI-DSI command mode based S6E3FA0 AMOLED LCD Panel driver. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/panel/Kconfig |7 + drivers/gpu/drm/panel/Makefile|1 + drivers/gpu/drm/panel/panel-s6e3fa0.

[RFC PATCH 06/14] drm/exynos: support MIPI DSI command mode

2014-04-14 Thread YoungJun Cho
This patch adds I80 interface for FIMD to support command mode panel. For this, the below features are added: - Set display interface mode relevant registers properly according to the interface type from DT - Add TE interrupt handler . FIMD driver should know TE signal from lcd panel to avoid

[RFC PATCH 14/14] ARM: dts: exynos5420: add dsi node

2014-04-14 Thread YoungJun Cho
This patch adds common part of dsi node. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos542

[RFC PATCH 09/14] ARM: dts: s6e3fa0: add DT bindings

2014-04-14 Thread YoungJun Cho
This patch adds DT bindings for s6e3fa0 panel. The bindings describes panel resources, display timings, delays and physical size. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- .../devicetree/bindings/panel/samsung,s6e3fa0.txt | 52

[RFC PATCH 13/14] ARM: dts: exynos5420: add mipi-phy node

2014-04-14 Thread YoungJun Cho
This patch adds mipi-phy node for MIPI-DSI device. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos5420.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos54

[RFC PATCH 05/14] ARM: dts: samsung-fimd: add I80 specific properties

2014-04-14 Thread YoungJun Cho
In case of using CPU interface panel, the relevant registers should be set. So this patch adds relevant dt bindings. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- .../devicetree/bindings/video/samsung-fimd.txt |9 + 1 file changed, 9 inser

[RFC PATCH 07/14] ARM: dts: exynos_dsim: add exynos5420 Soc compatible

2014-04-14 Thread YoungJun Cho
This patch adds exynos5420 SoC support. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- .../devicetree/bindings/video/exynos_dsim.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/video/exyn

[RFC PATCH 08/14] drm/exynos: dsi: add driver data to support Exynos5420

2014-04-14 Thread YoungJun Cho
The offset of register DSIM_PLLTMR_REG in Exynos5420 is different from the one in Exynos4 SoC. In case of Exynos5420 SoC, there is no frequency band bit in DSIM_PLLCTRL_REG, and it uses DSIM_PHYCTRL_REG and DSIM_PHYTIMING*_REG instead. So this patch adds driver data to distinguish it. Signed-off-

[RFC PATCH 02/14] drm/exynos: dsi: delay setting clocks after reset

2014-04-14 Thread YoungJun Cho
Some phy control registers are not kept after software reset. So this patch makes the clocks containing phy control to be set after software reset. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |2 +- 1 file cha

[RFC PATCH 00/14] drm/exynos: support MIPI DSI command mode display

2014-04-14 Thread YoungJun Cho
This patch series includes the following: - FIMD I80 interface - DSI command mode interface for Exynos5420 - S6E3FA0 command mode type panel driver - Some bugs modification The patch series is based on exynos-drm-next branch. Thank you. Best regards YJ YoungJun Cho (14): drm/exynos: dsi: move

[RFC PATCH 12/14] ARM: dts: exynos5: add system register support

2014-04-14 Thread YoungJun Cho
This patch adds sysreg device node, and sysreg property to fimd device node which is required to use I80 interface. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos5.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/a

[RFC PATCH 04/14] ARM: dts: add exynos5 compatible to sysreg

2014-04-14 Thread YoungJun Cho
This patch adds sysreg support for exynos5 SoCs. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- .../devicetree/bindings/arm/samsung/sysreg.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/samsung/sysreg.t

[RFC PATCH 03/14] drm/exynos: use wait_event_timeout() for safety usage

2014-04-14 Thread YoungJun Cho
There could be the case that the page flip operation isn't finished correctly with some abnormal condition such as panel reset. So this patch replaces wait_event() with wait_event_timeout() to avoid waiting for page flip completion infinitely. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae

[RFC PATCH 01/14] drm/exynos: dsi: move the Eot packets configuration point

2014-04-14 Thread YoungJun Cho
This configuration could be used in MIPI DSI command mode also. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_dsi.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos

Re: [PATCH 08/20] cpufreq: exynos5440: Use cpufreq_for_each_entry macro for iteration

2014-04-14 Thread Viresh Kumar
On 15 April 2014 02:39, Stratos Karafotis wrote: > diff --git a/drivers/cpufreq/exynos5440-cpufreq.c > b/drivers/cpufreq/exynos5440-cpufreq.c > static void exynos_enable_dvfs(unsigned int cur_frequency) > { > - unsigned int tmp, i, cpu; > + unsigned int tmp, cpu; > struct

Re: [PATCH 07/20] cpufreq: exynos: Use cpufreq_for_each_entry macro for iteration

2014-04-14 Thread Viresh Kumar
On 15 April 2014 02:39, Stratos Karafotis wrote: > The cpufreq core supports the cpufreq_for_each_entry macro helper > for iteration over the cpufreq_frequency_table, so use it. > > It should have no functional changes. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/exynos-cpufreq.

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

2014-04-14 Thread Vivek Gautam
Hi, On Mon, Apr 14, 2014 at 8:07 PM, Sylwester Nawrocki wrote: > On 08/04/14 16:36, Vivek Gautam wrote: >> diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt >> b/Documentation/devicetree/bindings/phy/samsung-phy.txt >> index 28f9edb..6d99ba9 100644 >> --- a/Documentation/device

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

2014-04-14 Thread Tushar Behera
On 15 April 2014 07:29, Chanwoo Choi wrote: > This patch fix the offset of CPU boot address and don't operate smc call > of SMC_CMD_CPU1BOOT command for Exynos3250. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > arch/arm/mach-exynos/firmware.c | 7 +-- > 1 file changed, 5

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

2014-04-14 Thread Vivek Gautam
Hi Sylwester, On Mon, Apr 14, 2014 at 7:51 PM, Sylwester Nawrocki wrote: > On 14/04/14 15:49, Vivek Gautam wrote: >> True, we don't have a scope of instantiating this driver using old >> platform device and >> old legacy board files. >> So we don't need this check then, right ? > > I think it ca

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Chander Kashyap
Hi Tomasz, Thanks for the review comments, On 14 April 2014 22:58, Tomasz Figa wrote: > Hi Chander, > > Few more comments inline. > > > On 09.04.2014 13:09, Chander Kashyap wrote: >> >> Currently status/configuration power register values are hard-coded for >> cpu1. >> >> Make it generic so that

[PATCHv2 1/8] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-14 Thread Chanwoo Choi
This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses Cortex-A7 dual cores and has a target speed of 1.0GHz. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/mach-exynos/Kconfig

[PATCHv2 3/8] ARM: EXYNOS: Add IO mapping for PMU of Exynos3250

2014-04-14 Thread Chanwoo Choi
This patch add memory mapping for PMU (Power Management Unit) which is used for power control of Exynos3250. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- Arnd Bergmann suggested that need proper driver instead of static memory mapping. As Chanho Park reply[2], Sachin Kamat already po

[PATCHv2 2/8] ARM: EXYNOS: Add IO mapping for non-secure SYSRAM of Exynos3250

2014-04-14 Thread Chanwoo Choi
The non-secure SYSRAM is used for secondary CPU bring-up. This patch add IO mapping for non-scure SYSRAM. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- Arnd Bergmann suggested that need proper driver instead of static memory mapping. As Chanho Park reply[2], Sachin Kamat already poste

[PATCHv2 6/8] ARM: EXYNOS: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-14 Thread Chanwoo Choi
This patch decide proper lowpower mode of either a15 or a9 according to own ID from Main ID register. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/mach-exynos/hotplug.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-exynos

[PATCHv2 4/8] ARM: EXYNOS: Support secondary CPU boot of Exynos4212

2014-04-14 Thread Chanwoo Choi
From: Kyungmin Park This patch fix the offset of CPU boot address and change parameter of smc call of SMC_CMD_CPU1BOOT command for Exynos4212. Signed-off-by: Kyungmin Park Signed-off-by: Chanwoo Choi --- arch/arm/mach-exynos/firmware.c | 15 ++- 1 file changed, 14 insertions(+), 1

[PATCHv2 7/8] clk: samsung: exynos3250: Add clocks using common clock framework

2014-04-14 Thread Chanwoo Choi
From: Tomasz Figa This patch add new the clock drvier of Exynos3250 SoC based on Cortex-A7 using common clock framework. The CMU (Clock Management Unit) of Exynos3250 control PLLs(Phase Locked Loops) and generate system clocks for CPU, buses, and function clocks for individual IPs. The CMU of Ex

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

2014-04-14 Thread Chanwoo Choi
This patch fix the offset of CPU boot address and don't operate smc call of SMC_CMD_CPU1BOOT command for Exynos3250. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/mach-exynos/firmware.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-e

[PATCHv2 8/8] ARM: dts: Add device tree sources for Exynos3250

2014-04-14 Thread Chanwoo Choi
From: Tomasz Figa This patch add new exynos3250.dtsi to support Exynos3250 SoC based on Cortex-A7 dual core and includes following dt nodes: - GIC interrupt controller - Pinctrl to control GPIOs - Clock controller - CPU information (Cortex-A7 dual core) - UART to support serial port - MCT (Multi

[PATCHv2 0/8] Support new Exynos3250 SoC based on Cortex-A7 dual core

2014-04-14 Thread Chanwoo Choi
This patchset support new Exynos3250 Samsung SoC based on Cortex-A7 dual core. Exynos3250 is a System-On-Chip (SoC) that is based on 32-bit RISC processor for Smartphone. It is desigend with the 28nm low-power high-K metal gate process and provides the best performance features. This patchset incl

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Jungseok Lee
On Tuesday, April 15, 2014 12:14 AM, Steve Capper wrote: > On Mon, Apr 14, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > > This patch implements 4 levels of translation tables since 3 levels of > > page tables with 4KB pages cannot support 40-bit physical address > > space described in [1] due to

Re: [PATCH 8/8] arm64: KVM: Implement 4 levels of translation tables for HYP and stage2

2014-04-14 Thread Jungseok Lee
On Tuesday, April 15, 2014 1:12 AM, Marc Zyngier wrote: > On 14/04/14 08:41, Jungseok Lee wrote: > > This patch adds 4 levels of translation tables implementation for both > > HYP and stage2. A combination of 4KB + 4 levels host and 4KB + 4 > > levels guest can run on ARMv8 architecture as introduc

Re: [PATCH 2/8] arm/arm64: KVM: Fix line length exceeding 80 characters

2014-04-14 Thread Jungseok Lee
On Tuesday, April 15, 2014 1:19 AM, Marc Zyngier wrote: > On 14/04/14 08:40, Jungseok Lee wrote: > > This patch deals with checkpatch complaint as fixing line length > > exceeding 80 characters. > > > > WARNING: line over 80 characters > > > > Signed-off-by: Jungseok Lee > > Reviewed-by: Sungjinn

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Jungseok Lee
On Tuesday, April 15, 2014 12:14 AM, Steve Capper wrote: > On Mon, Apr 14, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > > This patch implements 4 levels of translation tables since 3 levels of > > page tables with 4KB pages cannot support 40-bit physical address > > space described in [1] due to

Re: [PATCH 3/4] drm: exynos: add compatibles for HDMI and Mixer chips and exynos4210 SoC

2014-04-14 Thread Joonyoung Shim
Hi Tomasz, On 04/15/2014 12:00 AM, Tomasz Stanislawski wrote: This patch add proper compatibles for Mixer and HDMI chip available on exynos4210 SoCs. Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c |3 +++ drivers/gpu/drm/exynos/exynos_mixer.c |3 +++ 2

Re: [PATCH 4/4] ARM: dts: exynos5250-snow: add ptn3460 node

2014-04-14 Thread Olof Johansson
Hi Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: > From: Doug Anderson > > Added nodes for ptn3460 driver to Snow board. > > Signed-off-by: Doug Anderson > Signed-off-by: Ajay Kumar > Signed-off-by: Sachin Kamat I'm curious, how are you testing this code on the upstream kernel

Re: [PATCH 4/4] ARM: dts: exynos5250-snow: add ptn3460 node

2014-04-14 Thread Doug Anderson
Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: > From: Doug Anderson For this patch in particular giving me authorship is pretty tenuous. I don't think I was even the author of the majority of the code in the chromium tree. > Added nodes for ptn3460 driver to Snow board. > > Sig

Re: [PATCH 1/4] ARM: dts: exynos5250-snow: add pinctrl for i2c-arbitrator

2014-04-14 Thread Doug Anderson
Tomasz, On Mon, Apr 14, 2014 at 3:38 PM, Tomasz Figa wrote: > Hi Doug, > > > On 15.04.2014 00:30, Doug Anderson wrote: >> >> Sachin, >> >> On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat >> wrote: >>> >>> From: Doug Anderson >> >> >> I probably wouldn't have bothered giving me authorship since th

Re: [PATCH 3/4] ARM: dts: exynos5250-snow: add tps65090 power regulator

2014-04-14 Thread Doug Anderson
Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: > From: Doug Anderson > > Added TPS65090 regulator related nodes to Snow board. > > Signed-off-by: Doug Anderson > Signed-off-by: Sachin Kamat > --- > arch/arm/boot/dts/exynos5250-snow.dts | 90 > +

Re: [PATCH 1/4] ARM: dts: exynos5250-snow: add pinctrl for i2c-arbitrator

2014-04-14 Thread Tomasz Figa
Hi Doug, On 15.04.2014 00:30, Doug Anderson wrote: Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: From: Doug Anderson I probably wouldn't have bothered giving me authorship since this isn't exactly a clean patch from the chromium tree (you pulled the proper pieces yourself, d

Re: [PATCH 2/4] ARM: dts: exynos5250-snow: add pinctrl for EC irq

2014-04-14 Thread Doug Anderson
Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: > From: Doug Anderson > > Added pinctrl node for embedded controller (EC) IRQ > on Snow board. > > Signed-off-by: Doug Anderson > Signed-off-by: Sachin Kamat > --- > arch/arm/boot/dts/exynos5250-snow.dts |9 + > 1 file c

Re: [PATCH 1/4] ARM: dts: exynos5250-snow: add pinctrl for i2c-arbitrator

2014-04-14 Thread Doug Anderson
Sachin, On Mon, Apr 14, 2014 at 6:16 AM, Sachin Kamat wrote: > From: Doug Anderson I probably wouldn't have bothered giving me authorship since this isn't exactly a clean patch from the chromium tree (you pulled the proper pieces yourself, did the commit message yourself, etc). ...but I apprec

[PATCH 07/20] cpufreq: exynos: Use cpufreq_for_each_entry macro for iteration

2014-04-14 Thread Stratos Karafotis
The cpufreq core supports the cpufreq_for_each_entry macro helper for iteration over the cpufreq_frequency_table, so use it. It should have no functional changes. Signed-off-by: Stratos Karafotis --- drivers/cpufreq/exynos-cpufreq.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deleti

[PATCH 08/20] cpufreq: exynos5440: Use cpufreq_for_each_entry macro for iteration

2014-04-14 Thread Stratos Karafotis
The cpufreq core supports the cpufreq_for_each_entry macro helper for iteration over the cpufreq_frequency_table, so use it. It should have no functional changes. Signed-off-by: Stratos Karafotis --- drivers/cpufreq/exynos5440-cpufreq.c | 30 +++--- 1 file changed, 15 in

Re: [PATCH 2/4] regulator: s2mps11: Add external GPIO control for S2MPS14

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 10:09:07AM +0200, Krzysztof Kozlowski wrote: > Add support for external control over GPIO for LDO10, LDO11 and LDO12 > S2MPS14 regulators. External control can be turned on by writing 0x0 to > control register which in case of other regulators is used for disabling > them. T

Re: [PATCH 1/4] regulator: s2mps11: Move DTS parsing code to separate function

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 10:09:06AM +0200, Krzysztof Kozlowski wrote: > Refactor code for parsing DTS to increase a little code readability. The > behaviour should not change. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3/4] Documentation: regulator: s2mps11: Document external GPIO control

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 10:09:08AM +0200, Krzysztof Kozlowski wrote: > Add documentation for new property for controlling (enable/disable) some > of the S2MPS14 regulators by GPIO. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 4/4] regulator: s5m8767: Use same binding for external control as in s2mps11

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 10:09:09AM +0200, Krzysztof Kozlowski wrote: > - - s5m8767,pmic-ext-control-gpios: (optional) GPIO specifier for one > + - samsung,ext-control-gpios: (optional) GPIO specifier for one > GPIO controlling this regulator (enable/disable); This is >

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Tomasz Figa
Hi Chander, Few more comments inline. On 09.04.2014 13:09, Chander Kashyap wrote: Currently status/configuration power register values are hard-coded for cpu1. Make it generic so that it is useful for SoC's with more than two cpus. Signed-off-by: Chander Kashyap --- changes in v2 : Used exis

Re: [PATCH] arm: exynos: generalize power register address calculation

2014-04-14 Thread Tomasz Figa
On 14.04.2014 06:27, Chander Kashyap wrote: Hi, On 10 April 2014 11:18, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 20:15, Tomasz Figa wrote: On 09.04.2014 15:49, Chander Kashyap wrote: Hi Tomasz, On 9 April 2014 17:19, Tomasz Figa wrote: Hi Chander, On 09.04.2014 13:09, Chand

Re: [PATCH 2/8] arm/arm64: KVM: Fix line length exceeding 80 characters

2014-04-14 Thread Marc Zyngier
On 14/04/14 08:40, Jungseok Lee wrote: > This patch deals with checkpatch complaint as fixing line length > exceeding 80 characters. > > WARNING: line over 80 characters > > Signed-off-by: Jungseok Lee > Reviewed-by: Sungjinn Chung > --- > arch/arm/kvm/mmu.c |4 ++-- > 1 file changed, 2 in

Re: [PATCH 8/8] arm64: KVM: Implement 4 levels of translation tables for HYP and stage2

2014-04-14 Thread Marc Zyngier
On 14/04/14 08:41, Jungseok Lee wrote: > This patch adds 4 levels of translation tables implementation for both > HYP and stage2. A combination of 4KB + 4 levels host and 4KB + 4 levels > guest can run on ARMv8 architecture as introducing this feature. > > Signed-off-by: Jungseok Lee > Reviewed-b

Re: [PATCH 1/4] drm: exynos: hdmi: simplify extracting hpd-gpio from DT

2014-04-14 Thread Tomasz Stanislawski
On 04/14/2014 05:00 PM, Tomasz Stanislawski wrote: > This patch eliminates redundant checks while retrieving HPD gpio from DT > during > HDMI's probe(). > > Signed-off-by: Tomasz Stanislawski > --- > drivers/gpu/drm/exynos/exynos_hdmi.c | 13 - > 1 file changed, 4 insertions(+), 9

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Steve Capper
On Mon, Apr 14, 2014 at 04:13:35PM +0100, Steve Capper wrote: > On Mon, Apr 14, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: [ ... ] > > diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S > > index 0fd5650..0b0b16a 100644 > > --- a/arch/arm64/kernel/head.S > > +++ b/arch/arm64/kern

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Steve Capper
On Mon, Apr 14, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > This patch implements 4 levels of translation tables since 3 levels > of page tables with 4KB pages cannot support 40-bit physical address > space described in [1] due to the following issue. > > It is a restriction that kernel logica

[PATCH 1/4] drm: exynos: hdmi: simplify extracting hpd-gpio from DT

2014-04-14 Thread Tomasz Stanislawski
This patch eliminates redundant checks while retrieving HPD gpio from DT during HDMI's probe(). Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/

[PATCH 0/4] drm: exynos: update/fixes to HDMI driver

2014-04-14 Thread Tomasz Stanislawski
Hi everyone, This patchset adds 4 fixes/updates to EXYNOS DRM driver for HDMI subsystem. All comments are welcome. Regards, Tomasz Stanislawski Tomasz Stanislawski (4): drm: exynos: hdmi: simplify extracting hpd-gpio from DT drm: exynos: mixer: fix using usleep() in atomic context drm: exy

[PATCH 4/4] drm: exynos: hdmi: add support for pixel clock limitation

2014-04-14 Thread Tomasz Stanislawski
Adds support for limitation of maximal pixel clock of HDMI signal. This feature is needed on boards that contains lines or bridges with frequency limitations. Signed-off-by: Tomasz Stanislawski --- .../devicetree/bindings/video/exynos_hdmi.txt |4 drivers/gpu/drm/exynos/exynos_hdmi

[PATCH 2/4] drm: exynos: mixer: fix using usleep() in atomic context

2014-04-14 Thread Tomasz Stanislawski
This patch fixes calling usleep_range() after taking reg_slock using spin_lock_irqsave(). The mdelay() is used instead. Waiting in atomic context is not the best idea in general. Hopefully, waiting occurs only when Video Processor fails to reset correctly. Signed-off-by: Tomasz Stanislawski ---

[PATCH 3/4] drm: exynos: add compatibles for HDMI and Mixer chips and exynos4210 SoC

2014-04-14 Thread Tomasz Stanislawski
This patch add proper compatibles for Mixer and HDMI chip available on exynos4210 SoCs. Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c |3 +++ drivers/gpu/drm/exynos/exynos_mixer.c |3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/exynos

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

2014-04-14 Thread Sylwester Nawrocki
On 08/04/14 16:36, Vivek Gautam wrote: > diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt > b/Documentation/devicetree/bindings/phy/samsung-phy.txt > index 28f9edb..6d99ba9 100644 > --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt > +++ b/Documentation/devicetree/bindi

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

2014-04-14 Thread Sylwester Nawrocki
On 14/04/14 15:49, Vivek Gautam wrote: > True, we don't have a scope of instantiating this driver using old > platform device and > old legacy board files. > So we don't need this check then, right ? I think it can be dropped. At least IMHO there is no point to increase size of the module with an

Re: [PATCH RFC 0/2] drm/exynos: refactoring drm device init/deinit

2014-04-14 Thread Tomasz Figa
On 14.04.2014 15:55, Inki Dae wrote: Hi Tomasz, Always thanks for your opinions. -Original Message- From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- ow...@vger.kernel.org] On Behalf Of Tomasz Figa Sent: Monday, April 14, 2014 8:32 PM To: Inki Dae; 'Andrzej Hajda

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

2014-04-14 Thread Vivek Gautam
Hi, On Mon, Apr 14, 2014 at 7:14 PM, Tomasz Figa wrote: > On 14.04.2014 15:05, Kishon Vijay Abraham I wrote: >> >> >> >> On Monday 14 April 2014 05:35 PM, Vivek Gautam wrote: >>> >>> Hi Kishon, >>> >>> >>> On Mon, Apr 14, 2014 at 5:24 PM, Kishon Vijay Abraham I >>> wrote: Hi, >>>

RE: [PATCH RFC 0/2] drm/exynos: refactoring drm device init/deinit

2014-04-14 Thread Inki Dae
Hi Tomasz, Always thanks for your opinions. > -Original Message- > From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc- > ow...@vger.kernel.org] On Behalf Of Tomasz Figa > Sent: Monday, April 14, 2014 8:32 PM > To: Inki Dae; 'Andrzej Hajda' > Cc: 'Kyungmin Park'; 'mode

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

2014-04-14 Thread Tomasz Figa
On 14.04.2014 15:40, Vivek Gautam wrote: On Mon, Apr 14, 2014 at 6:56 PM, Kishon Vijay Abraham I wrote: On Monday 14 April 2014 06:50 PM, Vivek Gautam wrote: On Mon, Apr 14, 2014 at 6:29 PM, Kishon Vijay Abraham I wrote: On Monday 14 April 2014 06:12 PM, Vivek Gautam wrote: Hi, On Mon

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

2014-04-14 Thread Vivek Gautam
On Mon, Apr 14, 2014 at 7:10 PM, Vivek Gautam wrote: Just correcting mail-ids for Mark and Dong with the latest ones (earlier ones got bounced back) > On Mon, Apr 14, 2014 at 6:56 PM, Kishon Vijay Abraham I wrote: >> >> >> On Monday 14 April 2014 06:50 PM, Vivek Gautam wrote: >>> On Mon, Apr 14

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

2014-04-14 Thread Tomasz Figa
On 14.04.2014 15:05, Kishon Vijay Abraham I wrote: On Monday 14 April 2014 05:35 PM, Vivek Gautam wrote: Hi Kishon, On Mon, Apr 14, 2014 at 5:24 PM, Kishon Vijay Abraham I wrote: Hi, On Wednesday 09 April 2014 04:36 PM, Tomasz Figa wrote: Hi Vivek, Please see my comments inline. On 08.

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

2014-04-14 Thread Vivek Gautam
On Mon, Apr 14, 2014 at 6:56 PM, Kishon Vijay Abraham I wrote: > > > On Monday 14 April 2014 06:50 PM, Vivek Gautam wrote: >> On Mon, Apr 14, 2014 at 6:29 PM, Kishon Vijay Abraham I >> wrote: >>> >>> >>> On Monday 14 April 2014 06:12 PM, Vivek Gautam wrote: Hi, On Mon, Apr 14

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

2014-04-14 Thread Kishon Vijay Abraham I
On Monday 14 April 2014 06:50 PM, Vivek Gautam wrote: > On Mon, Apr 14, 2014 at 6:29 PM, Kishon Vijay Abraham I wrote: >> >> >> On Monday 14 April 2014 06:12 PM, Vivek Gautam wrote: >>> Hi, >>> >>> >>> On Mon, Apr 14, 2014 at 5:57 PM, Kishon Vijay Abraham I >>> wrote: Hi, On Tue

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

2014-04-14 Thread Vivek Gautam
On Mon, Apr 14, 2014 at 6:29 PM, Kishon Vijay Abraham I wrote: > > > On Monday 14 April 2014 06:12 PM, Vivek Gautam wrote: >> Hi, >> >> >> On Mon, Apr 14, 2014 at 5:57 PM, Kishon Vijay Abraham I >> wrote: >>> Hi, >>> >>> On Tuesday 08 April 2014 08:06 PM, Vivek Gautam wrote: Add a new drive

[PATCH 4/4] ARM: dts: exynos5250-snow: add ptn3460 node

2014-04-14 Thread Sachin Kamat
From: Doug Anderson Added nodes for ptn3460 driver to Snow board. Signed-off-by: Doug Anderson Signed-off-by: Ajay Kumar Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-snow.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/exynos52

[PATCH 3/4] ARM: dts: exynos5250-snow: add tps65090 power regulator

2014-04-14 Thread Sachin Kamat
From: Doug Anderson Added TPS65090 regulator related nodes to Snow board. Signed-off-by: Doug Anderson Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-snow.dts | 90 + 1 file changed, 90 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-sn

[PATCH 1/4] ARM: dts: exynos5250-snow: add pinctrl for i2c-arbitrator

2014-04-14 Thread Sachin Kamat
From: Doug Anderson Added i2c-arbitrator pinctrl node to Snow board. Signed-off-by: Doug Anderson Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-snow.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/

[PATCH 2/4] ARM: dts: exynos5250-snow: add pinctrl for EC irq

2014-04-14 Thread Sachin Kamat
From: Doug Anderson Added pinctrl node for embedded controller (EC) IRQ on Snow board. Signed-off-by: Doug Anderson Signed-off-by: Sachin Kamat --- arch/arm/boot/dts/exynos5250-snow.dts |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/ar

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

2014-04-14 Thread Kishon Vijay Abraham I
On Monday 14 April 2014 05:35 PM, Vivek Gautam wrote: > Hi Kishon, > > > On Mon, Apr 14, 2014 at 5:24 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Wednesday 09 April 2014 04:36 PM, Tomasz Figa wrote: >>> Hi Vivek, >>> >>> Please see my comments inline. >>> >>> On 08.04.2014 16:36, Vivek G

[PATCH] ARM: dts: exynos4: clean up arm-pmu node

2014-04-14 Thread Chanho Park
This patch cleans a arm-pmu node up for exynos4. Only exynos4412 series boards have four pmu interrupts. Rest of exynos4 boards, except 4412, have only two pmu interrupts. Thus, we can define two interrupts in the exynos4.dtsi and extends the interrupts only exynos4412.dtsi. Cc: Chanwoo Choi Sign

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

2014-04-14 Thread Kishon Vijay Abraham I
On Monday 14 April 2014 06:12 PM, Vivek Gautam wrote: > Hi, > > > On Mon, Apr 14, 2014 at 5:57 PM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 08 April 2014 08:06 PM, Vivek Gautam wrote: >>> Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >>> The new driver uses the g

[PATCH 1/4] ARM: dts: exynos4: add PMU syscon node

2014-04-14 Thread Chanho Park
This patch adds a PMU(Power Management Unit) syscon node. This should be required for USB Phy syscon regmap I/F. Cc: Tomasz Figa Cc: Kamil Debski Signed-off-by: Chanho Park --- arch/arm/boot/dts/exynos4.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dts

[PATCH 0/4] Enable usbphy and hsotg for exynos4

2014-04-14 Thread Chanho Park
This patchset enables a exynos4 usbphy and hsotg DT node for exynos4. The usb phy node uses generic exynos phy driver. The driver uses PMU syscon and SYSREG syscon phandles. Chanho Park (4): ARM: dts: exynos4: add PMU syscon node ARM: dts: exynos4: add exynos_usbphy node ARM: dts: exynos4: a

[PATCH 4/4] ARM: dts: exynos4412-trats2: enable usb nodes

2014-04-14 Thread Chanho Park
This patch enables exynos_usbphy and hsotg device nodes. Cc: Tomasz Figa Cc: Kamil Debski Cc: Marek Szyprowski Signed-off-by: Chanho Park --- arch/arm/boot/dts/exynos4412-trats2.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch

[PATCH 3/4] ARM: dts: exynos4: add hsotg device node

2014-04-14 Thread Chanho Park
This patch adds a hsotg node for exynos4 USB2.0 device controller. Cc: Tomasz Figa Cc: Kamil Debski Cc: Marek Szyprowski Signed-off-by: Chanho Park --- arch/arm/boot/dts/exynos4.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boo

[PATCH 2/4] ARM: dts: exynos4: add exynos_usbphy node

2014-04-14 Thread Chanho Park
This patch enables a exynos_usbphy node for exynos4 SoCs. A exynos4x12 usb phy node is almost same with 4210's one except compatible string and pmu syscon. Cc: Tomasz Figa Cc: Kamil Debski Signed-off-by: Chanho Park --- arch/arm/boot/dts/exynos4.dtsi| 10 ++ arch/arm/boot/dts/exyno

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

2014-04-14 Thread Vivek Gautam
Hi, On Mon, Apr 14, 2014 at 5:57 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 08 April 2014 08:06 PM, Vivek Gautam wrote: >> Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >> The new driver uses the generic PHY framework and will interact >> with DWC3 controller presen

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

2014-04-14 Thread Kishon Vijay Abraham I
Hi, On Tuesday 08 April 2014 08:06 PM, Vivek Gautam wrote: > Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. > The new driver uses the generic PHY framework and will interact > with DWC3 controller present on Exynos5 series of SoCs. > Thereby, removing old phy-samsung-usb3 driver a

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

2014-04-14 Thread Vivek Gautam
Hi Kishon, On Mon, Apr 14, 2014 at 5:24 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 09 April 2014 04:36 PM, Tomasz Figa wrote: >> Hi Vivek, >> >> Please see my comments inline. >> >> On 08.04.2014 16:36, Vivek Gautam wrote: >>> Add a new driver for the USB 3.0 PHY on Exynos5 series

Re: [PATCH] drm: exynos: hdmi: simplify extracting hpd-gpio from DT

2014-04-14 Thread Joonyoung Shim
Hi Tomasz, On 04/14/2014 07:07 PM, Tomasz Stanislawski wrote: This patch eliminates redundant checks while retrieving HPD gpio from DT during HDMI's probe(). Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 13 - 1 file changed, 4 insertions(+), 9

Re: [PATCH v8 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-04-14 Thread Tarek Dakhran
On 04/14/2014 03:03 PM, Arnd Bergmann wrote: On Monday 14 April 2014 11:17:38 Tarek Dakhran wrote: --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -159,6 +159,15 @@ static struct map_desc exynos5250_iodesc[] __initdata = { }, }; +static struct map_desc ex

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

2014-04-14 Thread Kishon Vijay Abraham I
Hi, On Wednesday 09 April 2014 04:36 PM, Tomasz Figa wrote: > Hi Vivek, > > Please see my comments inline. > > On 08.04.2014 16:36, Vivek Gautam wrote: >> Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. >> The new driver uses the generic PHY framework and will interact >> with DW

Re: [PATCH RFC 0/2] drm/exynos: refactoring drm device init/deinit

2014-04-14 Thread Tomasz Figa
Hi Inki, On 14.04.2014 13:04, Inki Dae wrote: -Original Message- From: Andrzej Hajda [mailto:a.ha...@samsung.com] Sent: Monday, April 14, 2014 5:55 PM To: Inki Dae Cc: dri-de...@lists.freedesktop.org; moderated list:ARM/S5P EXYNOS AR...; Kyungmin Park; Marek Szyprowski Subject: Re: [P

Re: [PATCH v8 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-04-14 Thread Arnd Bergmann
On Monday 14 April 2014 11:17:38 Tarek Dakhran wrote: > --- a/arch/arm/mach-exynos/exynos.c > +++ b/arch/arm/mach-exynos/exynos.c > @@ -159,6 +159,15 @@ static struct map_desc exynos5250_iodesc[] __initdata = { > }, > }; > > +static struct map_desc exynos5410_iodesc[] __initdata = { > +

RE: [PATCH RFC 0/2] drm/exynos: refactoring drm device init/deinit

2014-04-14 Thread Inki Dae
> -Original Message- > From: Andrzej Hajda [mailto:a.ha...@samsung.com] > Sent: Monday, April 14, 2014 5:55 PM > To: Inki Dae > Cc: dri-de...@lists.freedesktop.org; moderated list:ARM/S5P EXYNOS AR...; > Kyungmin Park; Marek Szyprowski > Subject: Re: [PATCH RFC 0/2] drm/exynos: refactorin

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-04-14 Thread Srikanth Thokala
On Sat, Apr 12, 2014 at 2:11 AM, Jason Gunthorpe wrote: > On Fri, Apr 11, 2014 at 11:10:59PM +0530, Srikanth Thokala wrote: > >> I see this error too on my setup (Xilinx PCIe Root Complex Driver), >> https://lkml.org/lkml/2014/3/3/183 > >> After digging into it, I see I need to override the API >>

[PATCH] drm: exynos: hdmi: simplify extracting hpd-gpio from DT

2014-04-14 Thread Tomasz Stanislawski
This patch eliminates redundant checks while retrieving HPD gpio from DT during HDMI's probe(). Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Jungseok Lee
On Monday, April 14, 2014 6:34 PM, Steve Capper wrote: > On Mon, Apr 14, 2014 at 06:24:55PM +0900, Jungseok Lee wrote: > > On Monday, April 14, 2014 6:14 PM, Steve Capper wrote: > > > On Mon, Apr 13, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > > > > This patch implements 4 levels of translation

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Steve Capper
On Mon, Apr 14, 2014 at 06:24:55PM +0900, Jungseok Lee wrote: > On Monday, April 14, 2014 6:14 PM, Steve Capper wrote: > > On Mon, Apr 13, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > > > This patch implements 4 levels of translation tables since 3 levels of > > > page tables with 4KB pages cann

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Jungseok Lee
On Monday, April 14, 2014 6:14 PM, Steve Capper wrote: > On Mon, Apr 13, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > > This patch implements 4 levels of translation tables since 3 levels of > > page tables with 4KB pages cannot support 40-bit physical address > > space described in [1] due to t

Re: [PATCH 7/8] arm64: mm: Implement 4 levels of translation tables

2014-04-14 Thread Steve Capper
On Mon, Apr 13, 2014 at 04:41:07PM +0900, Jungseok Lee wrote: > This patch implements 4 levels of translation tables since 3 levels > of page tables with 4KB pages cannot support 40-bit physical address > space described in [1] due to the following issue. > > It is a restriction that kernel logica

  1   2   >