[PATCH RESEND 2/2] ARM: dts: exynos3250-monk: Add regulator-haptic node for haptics

2015-01-20 Thread Jaewon Kim
This patch adds regulator-haptic device node controlled by regulator. Signed-off-by: Jaewon Kim Reviewed-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-monk.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250

[PATCH RESEND 0/2] Add regulator-haptic device tree

2015-01-20 Thread Jaewon Kim
This patch series adds regulator-haptic device tree in rinato and monk boards. The regulator-haptic has haptic motor and it is controlled by voltage of regulator via force feedback framework. regualtor-haptic driver merged at linux-next ref : https://lkml.org/lkml/2014/12/17/477 Jaewon Kim (2):

[PATCH RESEND 1/2] ARM: dts: exynos3250-rinato: Add regulator-haptic node for haptics

2015-01-20 Thread Jaewon Kim
This patch adds regulator-haptic device node controlled by regulator. Signed-off-by: Jaewon Kim Reviewed-by: Chanwoo Choi --- arch/arm/boot/dts/exynos3250-rinato.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos

Re: [PATCH 10/12] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain

2015-01-20 Thread Chanwoo Choi
Hi Sylwester, I'm so sorry. I miss adding the version to patch[10-12]. - [PATCH 10/12] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain - [PATCH 11/12] clk: samsung: exynos5433: Add clocks for CMU_G3D domain - [PATCH 12/12] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain

[PATCH 12/12] clk: samsung: exynos5433: Add clocks for CMU_GSCL domain

2015-01-20 Thread Chanwoo Choi
This patch adds the divider/gate of CMU_GSCL domain which contains gscaler clocks. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 8 ++ drivers/clk/samsung/clk-exynos5433.c | 146 ++

[PATCH 11/12] clk: samsung: exynos5433: Add clocks for CMU_G3D domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_G3D domain which contains the clocks for GPU(3D Graphics Engine). Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Reviewed-by: Pankaj Dubey --- .../devicetree/bindings/clock/exynos5433-clock.txt | 8 +

[PATCH 10/12] clk: samsung: exynos5433: Add missing clocks for CMU_FSYS domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_FSYS domain which contains the clocks of USB/UFS/SDMMC/TSI/PDMA IPs. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- drivers/clk/samsung/clk-exynos5433.c | 302 + in

[PATCH v3] pinctrl: exynos: Add support for Exynos5433

2015-01-20 Thread Chanwoo Choi
This patch adds driver data for Exynos5433 SoC. Exynos5433 includes 228 multi- functional input/output port pins and 135 memory port pins. There are 41 general port groups and 2 memory port groups. Cc: Tomasz Figa Cc: Thomas Abraham Cc: Linus Walleij Signed-off-by: Chanwoo Choi Acked-by: Inki

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Viresh Kumar
On 21 January 2015 at 11:42, Chanwoo Choi wrote: > OK, I understand. > I'll try to update exynos memory bus according to your comment. Great. @Rob: So there is nothing special required for devfreq drivers in new OPP bindings, right ? :) -- To unsubscribe from this list: send the line "unsubscrib

[PATCH v3 07/12] clk: samsung: exynos5433: Add clocks for CMU_DISP domain

2015-01-20 Thread Chanwoo Choi
This patch adds the the mux/divider/gate clocks for CMU_DISP domain which includes the clocks of Display IPs (DECON/HDMI/DSIM/MIXER). The CMU_DISP clocks is used to need the source clock of CMU_MIF domain so, the CMU_MIF's clocks related to CMU_DISP should be always on state. Also, CMU_DISP must n

[PATCH v3 04/12] clk: samsung: exynos5433: Add clocks for CMU_PERIS domain

2015-01-20 Thread Chanwoo Choi
This patch adds missing gate clocks of CMU_PERIS domain which includes TMU/TZPC/SECKEY/CHIPID/TOPRTC/EFUSE IPs. The special clocks of CMU_PERIS use fin_pll source clock directly. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Reviewed-by: Pankaj Dubey --

[PATCH v3 09/12] clk: samsung: exynos5433: Add clocks for CMU_BUS{0|1|2} domains

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_BUS{0|1|2} domains which contain global data buses clocked at up the 400MHz. These blocks transfer data between DRAM and various sub-blocks. These clock domains also contain global peripheral buses clocked at 67/111/200/222/266/333/400 MHz and use

[PATCH v3 02/12] clk: samsung: exynos5433: Add MUX clocks of CMU_TOP domain

2015-01-20 Thread Chanwoo Choi
This patch adds the MUX (multiplexer) clocks for CMU_TOP domain of Exynos5433. CMU_TOP domain provides source clocks to other CMU domains. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae Reviewed-by: Pankaj Dubey --- drivers/clk/samsung/clk-exynos5433.c

[PATCH v3 03/12] clk: samsung: exynos5433: Add clocks for CMU_PERIC domain

2015-01-20 Thread Chanwoo Choi
This patch adds missing divider/gate clocks of CMU_PERIC domain which includes I2S/PCM/SPDIF/PWM/SLIMBUS IPs. The SPI/I2S may use external input clock which has 'ioclk_*' prefix. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi [ideal.song: Change clk flags of to pclk_gpio_* c

[PATCH v3 08/12] clk: samsung: exynos5433: Add clocks for CMU_AUD domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks for CMU_AUD domain which includes the clocks of Cortex-A5/Bus/Audio clocks. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- .../devicetree/bindings/clock/exynos5433-clock.txt | 7 + drivers/clk/samsung/clk

[PATCH v3 05/12] clk: samsung: exynos5433: Add clocks for CMU_G2D domain

2015-01-20 Thread Chanwoo Choi
This patch adds ths mux/divider/gate clocks of CMU_G2D domain which includes G2D/MDMA IPs. The CMU_G2D must need the clocks related to G2D by providing CMU_TOP domain. So, this patch add several clocks for G2D from CMU_TOP domain. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Cho

[PATCH v3 00/12] clk: samsung: Add the support for exynos5433 clocks

2015-01-20 Thread Chanwoo Choi
This patchset adds the support for Exynos5433 CMU (Clock Management Unit) by using common clock framework. This patchset is divided from patch[1] and then sent it. [1] https://lkml.org/lkml/2014/12/2/134 Changelog: Changes from v2: - Fix the parent clock of sclk_bus_pll/sclk_mfc_pll clock on CMU_

[PATCH v3 06/12] clk: samsung: exynos5433: Add clocks for CMU_MIF domain

2015-01-20 Thread Chanwoo Choi
This patch adds the mux/divider/gate clocks of CMU_MIF domain which includes the clocks for DMC(DRAM memory controller) and CCI(Cache Coherent Interconnect). The CMU_MIF domain provides the source clocks for CMU_DISP/CMU_BUS2. Cc: Sylwester Nawrocki Cc: Tomasz Figa Signed-off-by: Chanwoo Choi A

[PATCH v3 01/12] clk: samsung: exynos5433: Add clocks using common clock framework

2015-01-20 Thread Chanwoo Choi
This patch adds the support for CMU (Clock Management Units) of Exynos5433 which is 64bit SoC and has Octa-cores. This patch supports necessary clocks (PLL/MMC/UART/MCT/I2C/SPI) for kernel boot and includes binding documentation for Exynos5433 clock controller. Cc: Sylwester Nawrocki Cc: Tomasz F

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
On 01/21/2015 01:37 PM, Viresh Kumar wrote: > On 21 January 2015 at 09:50, Chanwoo Choi wrote: >> If the clock will be stayed on highest voltage, will reduce >> the considerable benefit of power-consumption. > > But this is exactly what you must be doing right now as well.. > I think I didn't mak

[PATCH] ARM: dts: exynos5422-odroidxu3: add sound nodes

2015-01-20 Thread Inha Song
Add MAX98090 audio codec, I2S interface and the sound nodes to support audio on Odroid-XU3 board. Signed-off-by: Inha Song --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Viresh Kumar
On 21 January 2015 at 09:50, Chanwoo Choi wrote: > If the clock will be stayed on highest voltage, will reduce > the considerable benefit of power-consumption. But this is exactly what you must be doing right now as well.. I think I didn't make it clear enough with an example. Let me try.. This

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
On 01/21/2015 12:17 PM, Viresh Kumar wrote: > On 20 January 2015 at 17:07, Chanwoo Choi wrote: >> If each bus-block has separate regulator independently, each bus-block can >> be registered >> separately. But, exynos bus-blocks in mem-bus-group share the same regulator. > > This can be managed e

Re: [PATCH v5 18/18] thermal: exynos: Remove not needed exynos_tmu_init_data declarations from exynos_tmu.h

2015-01-20 Thread Eduardo Valentin
On Mon, Jan 19, 2015 at 12:21:02PM +0100, Lukasz Majewski wrote: > After switching to device tree based configuration those declarations are > not needed anymore. > > Reported-by: Abhilash Kesavan > Signed-off-by: Lukasz Majewski > --- > Changes for v5: > - New patch > --- > drivers/thermal/sam

Re: [PATCH v5 15/18] thermal: samsung: core: Exynos TMU rework to use device tree for configuration

2015-01-20 Thread Eduardo Valentin
On Mon, Jan 19, 2015 at 12:20:59PM +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. > >

Re: [PATCH v5 15/18] thermal: samsung: core: Exynos TMU rework to use device tree for configuration

2015-01-20 Thread Eduardo Valentin
On Mon, Jan 19, 2015 at 12:20:59PM +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. > >

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Viresh Kumar
On 20 January 2015 at 17:07, Chanwoo Choi wrote: > If each bus-block has separate regulator independently, each bus-block can be > registered > separately. But, exynos bus-blocks in mem-bus-group share the same regulator. This can be managed easily within the driver. Just stay the highest voltag

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

2015-01-20 Thread Joonyoung Shim
Hi Kevin, On 01/15/2015 10:08 AM, 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:

Re: [PATCH v5 07/18] thermal: exynos: Modify exynos thermal code to use device tree for cpu cooling configuration

2015-01-20 Thread Eduardo Valentin
On Mon, Jan 19, 2015 at 12:20:51PM +0100, Lukasz Majewski wrote: > 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.

Re: [PATCH v5 00/18] thermal: exynos: Thermal code rework to use device tree

2015-01-20 Thread Eduardo Valentin
Hello Arnd, On Mon, Jan 19, 2015 at 12:20:44PM +0100, Lukasz Majewski wrote: > 1. Introduction > > Following patches aim to clean up the current implementation of the thermal > framework on Exynos devices. > > The main goal was to use a generic code for reading thermal configuration > (of-therma

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

2015-01-20 Thread Eduardo Valentin
On Thu, Jan 15, 2015 at 04:17:52PM +0100, Lukasz Majewski wrote: > Hi Eduardo, > > > 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_d

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

2015-01-20 Thread Laurent Pinchart
Hi, On Monday 19 January 2015 18:05:07 Javier Martinez Canillas wrote: > On 01/19/2015 05:30 PM, Thierry Reding wrote: > >> I know you probably are very busy but it would be great if you can take a > >> look to this series to avoid another kernel release to be missed since > >> we are already at v

Re: [PATCH v4 2/2] ARM: dts: Add HS400 support for exynos5420 and exynos5800

2015-01-20 Thread Jaehoon Chung
Hi, If you want to enable the hs400 mode, need to add "mmc-hs400-1_8v" or "mmc-hs400-1_2v". But this patch didn't add them. do you have any other plan? On 01/14/2015 07:30 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > HS400 timing values are added for SMDK5420, exynos5420-peach-pit > and ex

Re: [PATCH v4 1/2] mmc: dw_mmc: exynos: Support eMMC's HS400 mode

2015-01-20 Thread Jaehoon Chung
Hi, This patch can be separated. When i tested on my board, it's not working fine. I think it depends on my timing, so i will check after change the timing. On 01/14/2015 07:30 PM, Alim Akhtar wrote: > From: Seungwon Jeon > > Implements HS400 mode support for exynos host driver. > This also inc

Re: [PATCH 2/2] thermal: of: Enable thermal_zoneX when sensor is correctly added

2015-01-20 Thread Javi Merino
On Mon, Jan 19, 2015 at 11:44:04AM +, Lukasz Majewski wrote: > Up till now the thermal_zone mode was by default "disabled". With this > patch the default behavior was changed to "enable". > > One can read the mode at: > /sys/class/thermal/thermal_zone0/mode > > Reported-by: Abhilash Kesavan

Re: [PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Mike Turquette
Quoting Sylwester Nawrocki (2015-01-20 06:04:00) > Hi, > > On 20/01/15 11:35, Javier Martinez Canillas wrote: > > When a power domain is powered off on Exynos5420 SoC, the input clocks of > > the devices attached to this power domain are re-parented to oscclk and > > restored to the original paren

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 05:55 PM, Lee Jones wrote: > On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > >> Hello Lee, >> >> On 01/20/2015 05:29 PM, Lee Jones wrote: >> > >> > It's not a blocker, but it is a ridiculous name to use inside the >> > driver/ directory 'cos almost everything is

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On 01/20/2015 05:29 PM, Lee Jones wrote: > > > > It's not a blocker, but it is a ridiculous name to use inside the > > driver/ directory 'cos almost everything is a dev(ice) here. > > > > Right, do you think that "cros-ec-ch

Re: [PATCH RESEND v2 3/7] mfd: cros_ec: Add cros_ec_lpc driver for x86 devices

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 05:34 PM, Lee Jones wrote: >> >> So, the Embedded Controller driver (drivers/mfd/cros_ec.c) falls into that >> category and in fact has been in the mfd driver for a long time. Now, if >> an mfd device support different type of buses (e.g: i2c, spi, etc) I see >> that both

Re: [PATCH RESEND v2 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On 01/20/2015 05:36 PM, Lee Jones wrote: > >> > > >> > Is this safe? Are you sure it's okay to provide an interface from > >> > userspace to read (kernel?) memory? > >> > > >> > >> This interface is not to read any kernel me

[PATCH V9 05/14] drm/exynos: dp: support drm_bridge

2015-01-20 Thread Ajay Kumar
Modify driver to support drm_bridge. Signed-off-by: Ajay Kumar Signed-off-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- .../devicetree/bindings/video/exynos_dp.txt| 12 +++ drivers/gpu/drm/exyno

[PATCH V9 06/14] drm/bridge: ptn3460: support drm_panel

2015-01-20 Thread Ajay Kumar
Add drm_panel calls to the driver to make the panel and bridge work together in tandem. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- .../devicetree/bindings/drm/bridge/ptn3460

[PATCH V9 01/14] drm/bridge: ptn3460: Few trivial cleanups

2015-01-20 Thread Ajay Kumar
This patch does the following changes: -- Use usleep_range instead of udelay. -- Remove driver_private member from ptn3460 structure. -- Make all possible functions and structures static. -- Use dev_err for non-DRM errors. -- Arrange header files alphabetical

[PATCH V9 09/14] Documentation: drm: bridge: move to video/bridge

2015-01-20 Thread Ajay Kumar
Move drm/bridge documentation to video/bridge. Also, add proper documentation for gpios used by ptn3460. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- .../devicetree/bindings/d

[PATCH V9 10/14] Documentation: devicetree: Add vendor prefix for parade

2015-01-20 Thread Ajay Kumar
ps8622 eDP-LVDS converter bridge chip is from parade technologies Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 f

[PATCH V9 08/14] drm/bridge: ptn3460: use gpiod interface

2015-01-20 Thread Ajay Kumar
Modify driver to support gpiod interface. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- drivers/gpu/drm/bridge/ptn3460.c | 88 -- 1 file c

[PATCH 03/14] drm/bridge: make bridge registration independent of drm flow

2015-01-20 Thread Ajay Kumar
Currently, third party bridge drivers(ptn3460) are dependent on the corresponding encoder driver init, since bridge driver needs a drm_device pointer to finish drm initializations. The encoder driver passes the drm_device pointer to the bridge driver. Because of this dependency, third party drivers

[PATCH V9 14/14] ARM: dts: peach-pit: represent the connection between bridge and panel using videoport and endpoints

2015-01-20 Thread Ajay Kumar
Define videoports and use endpoints to describe the connection between the encoder, bridge and the panel, instead of using phandles. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --

[PATCH V9 07/14] drm/bridge: ptn3460: probe connector at the end of bridge attach

2015-01-20 Thread Ajay Kumar
Force bridge connector detection at the end of the bridge attach. This is needed to detect the bridge connector early. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- drivers/gpu

[PATCH V9 13/14] ARM: dts: snow: represent the connection between bridge and panel using videoport and endpoints

2015-01-20 Thread Ajay Kumar
Define videoports and use endpoints to describe the connection between the encoder, bridge and the panel, instead of using phandles. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --

[PATCH V9 02/14] drm/bridge: do not pass drm_bridge_funcs to drm_bridge_init

2015-01-20 Thread Ajay Kumar
Assign the pointer to bridge ops structure(drm_bridge_funcs) in the bridge driver itself, instead of passing it to drm_bridge_init. This will allow bridge driver developer to pack bridge private information inside the bridge object and pass only the drm-relevant information to drm_bridge_init. Si

[PATCH V9 00/14] drm/exynos: few patches to enhance bridge chip support

2015-01-20 Thread Ajay Kumar
This series is based on v3.19-rc5 tag of Linux-next tree at: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Changes since V2: -- Address comments from Jingoo Han for ps8622 driver -- Address comments from Daniel, Rob and Thierry regarding bridge chaini

[PATCH V9 04/14] drm/bridge: ptn3460: Convert to i2c driver model

2015-01-20 Thread Ajay Kumar
Use drm_bridge helpers to modify the driver to support i2c driver model. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- drivers/gpu/drm/bridge/Kconfig |2 + drivers

[PATCH V9 11/14] Documentation: bridge: Add documentation for ps8622 DT properties

2015-01-20 Thread Ajay Kumar
Add documentation for DT properties supported by ps8622/ps8625 eDP-LVDS converter. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- .../devicetree/bindings/video/bridge/ps8622.txt

[PATCH V9 12/14] drm/bridge: Add i2c based driver for ps8622/ps8625 bridge

2015-01-20 Thread Ajay Kumar
From: Vincent Palatin This patch adds drm_bridge driver for parade DisplayPort to LVDS bridge chip. Signed-off-by: Vincent Palatin Signed-off-by: Andrew Bresticker Signed-off-by: Sean Paul Signed-off-by: Rahul Sharma Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tes

Re: [PATCH RESEND v2 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 05:36 PM, Lee Jones wrote: >> > >> > Is this safe? Are you sure it's okay to provide an interface from >> > userspace to read (kernel?) memory? >> > >> >> This interface is not to read any kernel memory but only the memory mapped >> I/O region for the Low Pin Count (LPC

Re: [PATCH RESEND v2 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > Hello Lee, > > Thanks a lot for your feedback. > > On 01/20/2015 08:50 AM, Lee Jones wrote: > >> @@ -59,9 +60,17 @@ struct cros_ec_command { > >> * > >> * @ec_name: name of EC device (e.g. 'chromeos-ec') > >> * @phys_name: name of phys

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 05:29 PM, Lee Jones wrote: > > It's not a blocker, but it is a ridiculous name to use inside the > driver/ directory 'cos almost everything is a dev(ice) here. > Right, do you think that "cros-ec-chardev" will be a more suitable name? Sorry, I'm really bad at naming thi

Re: [PATCH RESEND v2 3/7] mfd: cros_ec: Add cros_ec_lpc driver for x86 devices

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On 01/20/2015 09:11 AM, Lee Jones wrote: > > On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > > > >> From: Bill Richardson > >> > >> This adds the LPC interface to the Chrome OS EC. Like the > >> I2C and SPI drivers, t

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Javier Martinez Canillas wrote: > Hello Lee, > > Thanks a lot for your feedback. > > On 01/20/2015 09:20 AM, Lee Jones wrote: > > On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > > > >> The ChromeOS EC character device is an user-space interface to > >> allow applicat

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, Thanks a lot for your feedback. On 01/20/2015 09:20 AM, Lee Jones wrote: > On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > >> The ChromeOS EC character device is an user-space interface to >> allow applications to access the Embedded Controller. >> >> Add a cell for this devic

Re: [PATCH RESEND v2 3/7] mfd: cros_ec: Add cros_ec_lpc driver for x86 devices

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 09:11 AM, Lee Jones wrote: > On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > >> From: Bill Richardson >> >> This adds the LPC interface to the Chrome OS EC. Like the >> I2C and SPI drivers, this allows userspace access to the EC. > > I'm fairly certain that this

Re: [PATCH v5 4/5] mfd/regulator: dt-bindings: max77686: Document gpio properties

2015-01-20 Thread Lee Jones
On Tue, 20 Jan 2015, Krzysztof Kozlowski wrote: > On wto, 2015-01-20 at 13:41 +, Lee Jones wrote: > > On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: > > > > > Document usage of maxim,ena-gpios properties which turn on external/GPIO > > > control over regulator. > > > > > > Signed-off-by: Kr

Re: [PATCH RESEND v2 1/7] mfd: cros_ec: Use fixed size arrays to transfer data with the EC

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, On 01/20/2015 08:48 AM, Lee Jones wrote: > > Looks okay to me, but I'd be happy with some more reviews from the > Chrome guys. I would especially like some knowledgeable type to > answer your EC_PROTO2_MAX_PARAM_SIZE question. If no one does, I > guess it can always be changed later.

Re: [PATCH RESEND v2 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-20 Thread Javier Martinez Canillas
Hello Lee, Thanks a lot for your feedback. On 01/20/2015 08:50 AM, Lee Jones wrote: >> @@ -59,9 +60,17 @@ struct cros_ec_command { >> * >> * @ec_name: name of EC device (e.g. 'chromeos-ec') >> * @phys_name: name of physical comms layer (e.g. 'i2c-4') >> - * @dev: Device pointer >> + * @dev:

[PATCH] drm/exynos: IOMMU support should not be selectable by user

2015-01-20 Thread Marek Szyprowski
If system provides IOMMU feature, Exynos DRM should use it by default, because the Exynos DRM subdrivers don't work correctly when Exynos IOMMU driver has been enabled and no IOMMU support has been compiled into Exynos DRM driver. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/Kconfi

Re: [PATCH v5 4/5] mfd/regulator: dt-bindings: max77686: Document gpio properties

2015-01-20 Thread Krzysztof Kozlowski
On wto, 2015-01-20 at 13:41 +, Lee Jones wrote: > On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: > > > Document usage of maxim,ena-gpios properties which turn on external/GPIO > > control over regulator. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > Documentation/devicetree/bindin

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

2015-01-20 Thread Sylwester Nawrocki
On 15/01/15 02:50, Chanwoo Choi wrote: > 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

Re: [PATCH v3 00/19] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-01-20 Thread Javier Martinez Canillas
Hello Joonyoung, On 01/20/2015 12:12 PM, Joonyoung Shim wrote: >>> >>> I dug further on this issue and found that the cause is that the >>> exynos_mixer >>> driver needs some clocks (CLK_HDMI and CLK_SCLK_HDMI) grabbed by exynos_hdmi >>> to be kept enabled after hdmi_poweroff >>> (drivers/gpu/dr

Re: [PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Sylwester Nawrocki
Hi, On 20/01/15 11:35, Javier Martinez Canillas wrote: > When a power domain is powered off on Exynos5420 SoC, the input clocks of > the devices attached to this power domain are re-parented to oscclk and > restored to the original parent after powering on the power domain. > > So a reference to

Re: [PATCH v5 4/5] mfd/regulator: dt-bindings: max77686: Document gpio properties

2015-01-20 Thread Lee Jones
On Mon, 05 Jan 2015, Krzysztof Kozlowski wrote: > Document usage of maxim,ena-gpios properties which turn on external/GPIO > control over regulator. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/mfd/max77686.txt | 14 ++ > 1 file changed, 14 insert

Re: [PATCH v4 17/18] iommu: exynos: init from dt-specific callback instead of initcall

2015-01-20 Thread Laurent Pinchart
Hi Will, On Monday 19 January 2015 11:33:31 Will Deacon wrote: > On Mon, Jan 19, 2015 at 01:11:07AM +, Laurent Pinchart wrote: > > On Friday 16 January 2015 10:13:11 Marek Szyprowski wrote: > >> This patch introduces IOMMU_OF_DECLARE-based initialization to the > >> driver, which replaces subs

Re: [PATCH v4 9/9] drm/exynos: add support for 'hdmi' clock

2015-01-20 Thread Javier Martinez Canillas
Hello Marek, On 01/20/2015 01:16 PM, Marek Szyprowski wrote: > Mixed need to have hdmi clock enabled to properly perform power on/off > sequences, so add handling of this clock directly to the mixer driver. > Dependency between hdmi clock and mixer module has been observed on > Exynos4 based board

[PATCH v4 9/9] drm/exynos: add support for 'hdmi' clock

2015-01-20 Thread Marek Szyprowski
Mixed need to have hdmi clock enabled to properly perform power on/off sequences, so add handling of this clock directly to the mixer driver. Dependency between hdmi clock and mixer module has been observed on Exynos4 based boards. Suggested-by: Andrzej Hajda Signed-off-by: Marek Szyprowski ---

[PATCH v4 8/9] ARM: dts: exynos5250: add display power domain

2015-01-20 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 Tested-by: Javier Martinez Canillas Reviewed-by: Javier Martinez Canillas

[PATCH v4 7/9] ARM: dts: Exynos: add 'hdmi' clock to mixer nodes

2015-01-20 Thread Marek Szyprowski
Mixed block needs to control hdmi clock to properly perform power on/off operation, so add 'hdmi' clock also to mixer nodes. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5250.dtsi | 5 +++-- arch/arm/boot/dts/exynos5420.dtsi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions

[PATCH v4 6/9] ARM: dts: exynos4210-universal_c210: enable hdmi support

2015-01-20 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 v4 3/9] ARM: dts: exynos4: add hdmi related nodes

2015-01-20 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 v4 5/9] ARM: dts: exynos4412-odroid: enable hdmi support

2015-01-20 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 v4 2/9] ARM: Exynos: add support for sub-power domains

2015-01-20 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 v4 4/9] ARM: dts: exynos4: add dependency between TV and LCD0 power domains

2015-01-20 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 v4 1/9] PM / Domains: Add a note about power domain subdomains

2015-01-20 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 Acked-by: Geert Uytterhoeven Reviewed-by: Ulf Hansson --- .../devicetree/bindings/powe

[PATCH v4 0/9] Enable HDMI support on Exynos platforms

2015-01-20 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

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

2015-01-20 Thread Marek Szyprowski
Hello, On 2015-01-14 17:11, Kukjin Kim wrote: On 01/13/15 01:50, Javier Martinez Canillas wrote: 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 Sam

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
On 01/20/2015 08:22 PM, Viresh Kumar wrote: > On 20 January 2015 at 13:53, Chanwoo Choi wrote: >> But, the frequency of OPPs is only used for devfreq ondemand governor. >> After deciding the proper frequency of memory bus on ondemand governor, >> exynos-bus.c (exynos memory bus frequency driver) u

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

2015-01-20 Thread Javier Martinez Canillas
[Adding Inki and Joonyoung to cc list] Hello Marek, On Mon, Jan 19, 2015 at 5:30 PM, Marek Szyprowski wrote: >> >> The board instantly died then. No kernel log output from the serial >> console, the heartbeat just stops and the board is dead. Need to >> power-cycle to get it running again. >> >>

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Viresh Kumar
On 20 January 2015 at 13:53, Chanwoo Choi wrote: > But, the frequency of OPPs is only used for devfreq ondemand governor. > After deciding the proper frequency of memory bus on ondemand governor, > exynos-bus.c (exynos memory bus frequency driver) use the frequency table > of memory bus blocks on

Re: [PATCH v4 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-20 Thread Shawn Guo
On Mon, Jan 19, 2015 at 09:44:08AM +, Marc Zyngier wrote: > IMX6 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

Re: [RFC 2/3] regmap: Use the enhancement of i2c API to address circular dependency problem

2015-01-20 Thread Paul Osmialowski
On Mon, 19 Jan 2015, Mark Brown wrote: On Mon, Jan 19, 2015 at 10:31:22AM +0100, Paul Osmialowski wrote: On Fri, 16 Jan 2015, Mark Brown wrote: What I'm saying is that I want to understand this change from a point of view that isn't tied to I2C - at the regmap level what is this doing,

Re: [PATCH v3 00/19] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem

2015-01-20 Thread Joonyoung Shim
Hi, On 01/14/2015 09:24 AM, Javier Martinez Canillas wrote: > On 01/14/2015 01:19 AM, Javier Martinez Canillas wrote: >> >> I dug further on this issue and found that the cause is that the exynos_mixer >> driver needs some clocks (CLK_HDMI and CLK_SCLK_HDMI) grabbed by exynos_hdmi >> to be kept en

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

2015-01-20 Thread Ajay kumar
On Mon, Jan 19, 2015 at 10:35 PM, Javier Martinez Canillas wrote: > Hello Thierry, > > On 01/19/2015 05:30 PM, Thierry Reding wrote: >>> >>> I know you probably are very busy but it would be great if you can take a >>> look >>> to this series to avoid another kernel release to be missed since we

[PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Javier Martinez Canillas
When a power domain is powered off on Exynos5420 SoC, the input clocks of the devices attached to this power domain are re-parented to oscclk and restored to the original parent after powering on the power domain. So a reference to the input and parent clocks for the devices attached to a power do

[PATCH 2/2] ARM: dts: Add DISP1 power domain for exynos5420

2015-01-20 Thread Javier Martinez Canillas
The DISP1 power domain on Exynos5420 SoC includes the FIMD1, MIXER and HDMI modules. Add a device node for this power domain and mark these modules as consumer of the DISP1 power domain. When a power domain is powered on and off, the input clocks of the devices attached to it are reparented. So a

[PATCH 0/2] Add HDMI support for Exynos5420 platform

2015-01-20 Thread Javier Martinez Canillas
Hello, This series adds HDMI support for Exynos5420/5422/5800 machines by adding a node for the DISP1 power domain which is used by the HDMI and MIXER modules. It also adds IDs for the attached devices parent and input clocks that are used by the Exynos power domain driver to re-parent the device

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

2015-01-20 Thread Marc Zyngier
Hi Pankaj, On 2015-01-20 07:42, Pankaj Dubey wrote: Hi Marc, On Monday 19 January 2015 03:14 PM, Marc Zyngier wrote: Exynos 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 jus

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

2015-01-20 Thread Sjoerd Simons
On Wed, 2015-01-14 at 17:08 -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 > - A7 cluster:

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-20 Thread Chanwoo Choi
Hi Viresh, I explained the relation between memory bus group and memory bus block on following patch[1]. - [1] https://lkml.org/lkml/2015/1/8/642 On 01/20/2015 04:19 PM, Viresh Kumar wrote: > On 9 January 2015 at 02:48, Rob Herring wrote: >> Adding Viresh. > > Sorry for being too late, I was v

Re: [PATCH RESEND v2 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-20 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > The ChromeOS EC character device is an user-space interface to > allow applications to access the Embedded Controller. > > Add a cell for this device so it's spawned from the mfd driver. > > Signed-off-by: Javier Martinez Canillas > --- >

Re: [PATCH v3 00/16] thermal: exynos: Thermal code rework to use device tree

2015-01-20 Thread Lukasz Majewski
Hi Tobias, > Hello! > > Lukasz Majewski wrote: > > We all know that this code is floating around - early version of > > this work was posted in the Q3 2013. > > > > To be fair - this code is both needed and welcome, but new problems > > with it are found (please search for recent comment from Ke

Re: [PATCH RESEND v2 3/7] mfd: cros_ec: Add cros_ec_lpc driver for x86 devices

2015-01-20 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > From: Bill Richardson > > This adds the LPC interface to the Chrome OS EC. Like the > I2C and SPI drivers, this allows userspace access to the EC. I'm fairly certain that this is _not_ an MFD device. Please locate it to the proper subsyste

  1   2   >