Re: [RFC 01/15] drivers/base: add track framework

2014-12-12 Thread AH
Hi Mark, Thanks for review. Mark Brown wrote on 12.12.2014 17:36: On Wed, Dec 10, 2014 at 04:48:19PM +0100, Andrzej Hajda wrote: track is a generic framework for safe tracking presence of any kernel objects having an id. There are no special requirements about type of object or its id. Id shal

Re: [alsa-devel] [PATCH/RFC 12/14] ASoC: samsung: i2s: Add clock provider for the I2S internal clocks

2014-12-12 Thread Mark Brown
On Thu, Dec 11, 2014 at 06:45:50PM +0100, Sylwester Nawrocki wrote: > +Optional Properties: > > - samsung,idma-addr: Internal DMA register base address of the audio >sub system(used in secondary sound source). > - pinctrl-0: Should specify pin control groups used for this controller. > - p

Re: [PATCH/RFC 11/14] ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally

2014-12-12 Thread Mark Brown
On Thu, Dec 11, 2014 at 06:45:49PM +0100, Sylwester Nawrocki wrote: > If the codec control it's master clock provider by the I2S module > we should not be touching it with set_sysclk() calls. > So skip the set_sysclk() call in the machine driver if "clocks" > property is found in the codec device n

Re: [PATCH/RFC 04/14] ASoC: samsung: i2s: Request memory region in driver probe()

2014-12-12 Thread Mark Brown
On Thu, Dec 11, 2014 at 06:45:42PM +0100, Sylwester Nawrocki wrote: > 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. Whil

Re: [RFC 02/15] drivers/base: add restrack framework

2014-12-12 Thread Mark Brown
On Wed, Dec 10, 2014 at 04:48:20PM +0100, Andrzej Hajda wrote: > restrack framework allows tracking presence of resources with dynamic life > time. Typical example of such resources are all resources provided by device I don't know about anyone else but I'm having a hard time reading the restrack

Re: [RFC 01/15] drivers/base: add track framework

2014-12-12 Thread Mark Brown
On Wed, Dec 10, 2014 at 04:48:19PM +0100, Andrzej Hajda wrote: > track is a generic framework for safe tracking presence of any kernel objects > having an id. There are no special requirements about type of object or its > id. Id shall be unique. This is pretty confusing, when it talks about "kern

Re: [PATCH v5 1/2] soc: samsung: add exynos chipid driver support

2014-12-12 Thread Arnd Bergmann
On Friday 12 December 2014 13:15:43 Pankaj Dubey wrote: > >> + > >> +static void __iomem *exynos_chipid_base; > >> + > >> +struct exynos_chipid_info exynos_soc_info; > >> +EXPORT_SYMBOL(exynos_soc_info); > > > > The soc_device already has similar data.Why is this needed? Is it > > temporary for com

[PATCH v6 1/2] Input: add regulator haptic driver

2014-12-12 Thread Jaewon Kim
This patch adds support for haptic driver controlled by voltage of regulator. And this driver support for Force Feedback interface from input framework Signed-off-by: Jaewon Kim Signed-off-by: Hyunhee Kim Acked-by: Kyungmin Park Tested-by: Chanwoo Choi Reviewed-by: Chanwoo Choi Reviewed-by: P

[PATCH v6 2/2] ARM: dts: Add haptic node for exynos3250-rinato

2014-12-12 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

[PATCH v6 0/2] Add regulator-haptic driver

2014-12-12 Thread Jaewon Kim
This patch series adds regulator-haptic driver. The regulator-haptic has haptic motor and it is controlled by voltage of regulator via force feedback framework. Changes in v6: - prevent racing condition Changes in v5: - give preference to platform data Changes in v4: - _regulator_get() -> _re

[PATCH 2/3] ARM: dts: Add lid GPIO key device node for Peach boards

2014-12-12 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have both a power and lid GPIO keys but only the former was defined in the DTS. Add DTS snippets for the lid GPIO key too. These were taken from the downstream ChromeOS 3.8 kernel tree. Signed-off-by: Javier Martinez Canillas --- arch/arm/b

[PATCH 0/3] Small updates to Snow and Peach Pit/Pi DTS

2014-12-12 Thread Javier Martinez Canillas
Hello Kukjin, 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. The series is composed of the following patches: Javier Martinez Canillas (3): ARM: dts: Add power and lid GPIO keys pinctrl

[PATCH 3/3] ARM: dts: Set Peach boards USB WebCam regulators to always on

2014-12-12 Thread Javier Martinez Canillas
The Exynos5420 Peach Pit and Exynos5800 Peach Pi boards have a built-in Silicon Motion USB UVC WebCam whose power supply is the tps65090 fet5 regulator. Since the camera uses the generic USB Video Class driver and this does not grab a regulator, mark the regulator as always on so the USB device is

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

2014-12-12 Thread Javier Martinez Canillas
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 relying on the previous state of the I/O pins. The DTS sni

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

2014-12-12 Thread Javier Martinez Canillas
Hello, On 11/18/2014 07:20 AM, Ajay kumar wrote: > On Sat, Nov 15, 2014 at 3:24 PM, Ajay Kumar wrote: >> This series is based on master branch of Linus tree at: >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> This series has been in the mailing lists for months and have be

Re: [PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-12-12 Thread Javier Martinez Canillas
[adding arm-soc maintainers to cc] Hello Kukjin, On 12/02/2014 09:39 AM, Jingoo Han wrote: > On Tuesday, December 02, 2014 5:17 PM, Javier Martinez Canillas wrote: >> On Mon, Nov 24, 2014 at 6:41 AM, Vivek Gautam >> wrote: >> > DP PHY now require pmu-system-controller to handle PMU register >>

[RFC PATCHv3 5/7] ARM: dts: Add PPMU dt node for Exynos3250

2014-12-12 Thread Chanwoo Choi
This patch add PPMU (Performance Profiling Monitoring Units) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS 0x11

[RFC PATCHv3 3/7] devfreq: event: Add exynos-ppmu devfreq event driver

2014-12-12 Thread Chanwoo Choi
This patch adds exynos-ppmu devfreq-event driver to get performance data of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide useful information about the behavior of the SoC that you can use when analyzing system performance, and made visible and can be counted using logic in ea

[RFC PATCHv3 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-12 Thread Chanwoo Choi
This patch add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization/GPU utilization). This raw data from devfreq_event data would be used for the governor of devfreq subsystem. - devfreq_event device : Provide raw data for governor of existing devfre

[RFC PATCHv3 4/7] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2014-12-12 Thread Chanwoo Choi
This patch adds the documentation for Exynos PPMU (Performance Profiling Monitoring Unit) devfreq-event driver. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi --- .../bindings/devfreq/event/exynos-ppmu.txt | 56 ++ 1 file changed, 56 insertions(+) c

[RFC PATCHv3 7/7] ARM: dts: exynos: Add PPMU dt node to Exynos3250-based Rinato board

2014-12-12 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato board. The PPMU dt node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-rinato.dts | 40

[RFC PATCHv3 6/7] ARM: dts: Add PPMU dt node for Exynos4 SoC

2014-12-12 Thread Chanwoo Choi
This patch add PPMU (Performance Profiling Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ - PPM

[RFC PATCHv3 2/7] devfreq: event: Add the list of supported devfreq-event type

2014-12-12 Thread Chanwoo Choi
This patch adds the list of supported devfreq-event type as following. Each devfreq-event device driver would support the various devfreq-event type for devfreq governor at the same time. - DEVFREQ_EVENT_TYPE_RAW_DATA - DEVFREQ_EVENT_TYPE_UTILIZATION - DEVFREQ_EVENT_TYPE_BANDWIDTH - DEVFREQ_EVENT_T

[RFC PATCHv3 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-12 Thread Chanwoo Choi
This patchset add new devfreq_event class to provide raw data to determine current utilization of device which is used for devfreq governor. [Description of devfreq-event class] This patchset add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization

Re: [RFC 04/15] regulator: add restrack support

2014-12-12 Thread Andrzej Hajda
On 12/11/2014 02:43 PM, Russell King - ARM Linux wrote: > On Thu, Dec 11, 2014 at 12:58:37PM +, Mark Brown wrote: >> I'd expect someone reading the change in the regulator API to have at >> least some idea how this fits in with the rest of the API and how to use >> it, and probably more importa

Re: [RFC 04/15] regulator: add restrack support

2014-12-12 Thread Andrzej Hajda
On 12/11/2014 02:43 PM, Russell King - ARM Linux wrote: > On Thu, Dec 11, 2014 at 12:58:37PM +, Mark Brown wrote: >> I'd expect someone reading the change in the regulator API to have at >> least some idea how this fits in with the rest of the API and how to use >> it, and probably more importa

Re: [RFC PATCHv2 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2014-12-12 Thread Chanwoo Choi
Hi Krzysztof, On 12/10/2014 10:21 PM, Chanwoo Choi wrote: > Hi Krzysztof, > > On Wed, Dec 10, 2014 at 7:07 PM, Krzysztof Kozlowski > wrote: >> On wto, 2014-12-09 at 23:12 +0900, Chanwoo Choi wrote: >>> This patchset add new devfreq_event class to provide raw data to determine >>> current utiliza