[PATCH 0/4] Arndale: Adding Sound Machine Driver for ALC5631 Codec

2014-11-10 Thread Krishna Mohan Dani
These patches add machine driver to instantiate I2S based realtek's ALC5631 based sound card on Arndale board. There are other variants of Audio Daughter Cards for Arndale Board for which support already exists but there is no support for Realtek's alc5631 codec based card hence support for

[PATCH 1/4] ASoC: ALC5631: Add device tree binding documentation

2014-11-10 Thread Krishna Mohan Dani
Document the device tree binding for the ALC5631 codec and update vendor specific prefix for the Realtek. Signed-off-by: Krishna Mohan Dani krishna...@samsung.com --- Documentation/devicetree/bindings/sound/rt5631.txt | 41 1 file changed, 41 insertions(+) create mode

[PATCH 2/4] Sound: Samsung: Add sound card machine driver for Arndale Board

2014-11-10 Thread Krishna Mohan Dani
Adding machine driver to instantiate I2S based realtek's ALC5631 sound card on Arndale board. There are other variants of Audio Daughter Cards for Arndale Board for which support already exists but there is no support for Realtek's alc5631 codec hence support for ALC5631 based machine driver is

[PATCH 4/4] Sound: DT: Adding Device Tree compatibility to Realtek's ALC5631 codec driver

2014-11-10 Thread Krishna Mohan Dani
Signed-off-by: Krishna Mohan Dani krishna...@samsung.com --- sound/soc/codecs/rt5631.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index 1ba27db..d7c3f42 100644 --- a/sound/soc/codecs/rt5631.c +++

[PATCH 3/4] Sound: Kconfig: Adding the description of the codec

2014-11-10 Thread Krishna Mohan Dani
Signed-off-by: Krishna Mohan Dani krishna...@samsung.com --- sound/soc/codecs/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index a68d173..2d85887 100644 --- a/sound/soc/codecs/Kconfig +++

Re: [PATCH v2 2/2] tty: serial: samsung: Clean-up selection of number of available UARTs

2014-11-10 Thread Abhilash Kesavan
Hi Kukjin, On Sun, Nov 9, 2014 at 10:09 AM, Kukjin Kim kg...@kernel.org wrote: Abhilash Kesavan wrote: On Mon, Nov 3, 2014 at 1:51 PM, Abhilash Kesavan kesavan.abhil...@gmail.com wrote: Hello Kukjin, On Fri, Oct 31, 2014 at 8:06 AM, Abhilash Kesavan kesavan.abhil...@gmail.com wrote:

Re: [PATCH 03/12] PM / Domains: Add notifier support for power domain transitions

2014-11-10 Thread amit daniel kachhap
On Sat, Nov 8, 2014 at 12:15 AM, Kevin Hilman khil...@kernel.org wrote: Sylwester Nawrocki s.nawro...@samsung.com writes: On 04/11/14 07:44, amit daniel kachhap wrote: On Mon, Nov 3, 2014 at 11:53 PM, Kevin Hilman khil...@kernel.org wrote: Rafael J. Wysocki r...@rjwysocki.net writes: On

[PATCH] PM / Domains: Fix initial default state of the need_restore flag

2014-11-10 Thread Ulf Hansson
The initial state of the device's need_restore flag should'nt depend on the current state of the PM domain. For example it should be perfectly valid to attach an inactive device to a powered PM domain. The pm_genpd_dev_need_restore() API allow us to update the need_restore flag to somewhat cope

RE: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler

2014-11-10 Thread Pankaj Dubey
Hi Kukjin, On Tuesday, October 07, 2014 1:23 PM, Pankaj Dubey wrote: Subject: [PATCH v3 0/2] Handle reboot for Exynos SoC via restart_handler This patch removes restart hook from machine_desc of Exynos, and moves respective code into reboot_notifiers. Exynos5440 handles reboot via clock

Re: [PATCH 1/4] ASoC: ALC5631: Add device tree binding documentation

2014-11-10 Thread Mark Brown
On Mon, Nov 10, 2014 at 01:31:56PM +0530, Krishna Mohan Dani wrote: Document the device tree binding for the ALC5631 codec and update vendor specific prefix for the Realtek. This driver isn't in mainline, you need to submit the driver. signature.asc Description: Digital signature

[PATCH v6 0/5] regulator: of: Add initial and suspend modes support

2014-11-10 Thread Javier Martinez Canillas
Hello Mark, This is the sixth version of the series that adds regulator initial and suspend operating modes support. It relies on the existing work that added suspend states bindings. The opmodes are parsed by the regulator core and drivers should only define a translation function to map between

[PATCH v6 3/5] regulator: of: Add regulator desc param to of_get_regulator_init_data()

2014-11-10 Thread Javier Martinez Canillas
The of_get_regulator_init_data() function is used to extract the regulator init_data but information on how to extract certain data is defined in the static regulator descriptor (e.g: how to map the hardware operating modes). Add a const struct regulator_desc * parameter to the function signature

[PATCH v6 5/5] regulator: of: Add support for parsing initial and suspend modes

2014-11-10 Thread Javier Martinez Canillas
Some regulators support their operating mode to be changed on startup or by consumers when the system is running while others only support their operating mode to be changed while the system has entered in a suspend state. The regulator Device Tree binding documents a set of properties to

[PATCH v6 4/5] regulator: of: Pass the regulator description in the match table

2014-11-10 Thread Javier Martinez Canillas
Drivers can use the of_regulator_match() function to parse the regulator init_data from DT. A match table is used to specify the name of the node containing the regulators, the device node and to return the init_data to the caller. But also the static regulator descriptor is needed to correctly

[PATCH v6 2/5] regulator: Add mode mapping function to struct regulator_desc

2014-11-10 Thread Javier Martinez Canillas
The regulator-initial-mode and regulator-mode DT properties allows to configure the regulator operating modes at startup or when a system enters into a susend state. But these properties use as valid values the operating modes supported by each device while the core deals with the standard

[PATCH v6 1/5] regulator: Document binding for initial and suspend modes

2014-11-10 Thread Javier Martinez Canillas
Some regulators can run on different operating modes (opmodes). This allows systems to choose the most efficient opmode for each regulator. This patch builds on top of (291d761 regulator: Document binding for regulator suspend state for PM state) adding a regulator-initial-mode DT property to

Re: [PATCH 1/4] ASoC: ALC5631: Add device tree binding documentation

2014-11-10 Thread D Krishna Mohan
Hi Mark Brown, The codec driver is present in mainline as rt5631.c., Its realtek's alc5631 so retained that name. Similarly machine driver also is named as arndale_rt5631.c but inside that driver I have used alc5631 naming as the audio daughter card on arndale board mentions alc5631 so I

Re: [PATCH 1/4] ASoC: ALC5631: Add device tree binding documentation

2014-11-10 Thread Mark Brown
On Mon, Nov 10, 2014 at 07:39:51PM +0530, D Krishna Mohan wrote: Hi Mark Brown, Don't top post. The codec driver is present in mainline as rt5631.c., Its realtek's alc5631 so retained that name. Similarly machine driver also is named as arndale_rt5631.c but inside that driver I have

Re: [PATCH] PM / Domains: Fix initial default state of the need_restore flag

2014-11-10 Thread Ulf Hansson
[...] I guess we do need it for 3.18, but when we are talking about 3.19, before we make any more changes can we outline how power domains are supposed to work? 1. How do we attach a device to power domain? Right now it seems that individual buses are responsible for attaching their devices

Re: Samsung pinctrl patches for v3.19

2014-11-10 Thread Linus Walleij
On Sun, Nov 9, 2014 at 3:25 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Please consider the following pull request containing queued changes for pinctrl-samsung driver. Thanks, pulled! I'm sorry for all the delays in handling this. Things should get better from now on, though. IIUC you

Re: [PATCH] PM / Domains: Fix initial default state of the need_restore flag

2014-11-10 Thread Dmitry Torokhov
On Mon, Nov 10, 2014 at 04:18:50PM +0100, Ulf Hansson wrote: [...] I guess we do need it for 3.18, but when we are talking about 3.19, before we make any more changes can we outline how power domains are supposed to work? 1. How do we attach a device to power domain? Right now it

Re: [PATCH] ARM: exynos_defconfig: disable CONFIG_EXYNOS5420_MCPM; not stable

2014-11-10 Thread Kevin Hilman
Kukjin Kim kg...@kernel.org writes: Kevin Hilman wrote: From: Kevin Hilman khil...@linaro.org The option CONFIG_EXYNOS5420_MCPM is causing imprecise external aborts during boot testing, causing various userspace startup failures. Disable until it has gotten more testing. Cc: Kukjin

Re: [PATCH] PM / Domains: Fix initial default state of the need_restore flag

2014-11-10 Thread Mark Brown
On Mon, Nov 10, 2014 at 10:32:24AM -0800, Dmitry Torokhov wrote: - I do not see why sirincling platform specific code around i2c, spi, etc bus code (which is not platform-specific) is OK, but a no-no for the driver ocre. sirincling? In the case of I2C and SPI the buses don't define any

Re: [PATCH] PM / Domains: Fix initial default state of the need_restore flag

2014-11-10 Thread Dmitry Torokhov
On November 10, 2014 11:39:31 AM PST, Mark Brown broo...@kernel.org wrote: On Mon, Nov 10, 2014 at 10:32:24AM -0800, Dmitry Torokhov wrote: - I do not see why sirincling platform specific code around i2c, spi, etc bus code (which is not platform-specific) is OK, but a no-no for the driver

Re: [PATCH v4] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
On Fri, Nov 7, 2014 at 5:28 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Nov 05, 2014 at 01:15:31PM +, Chander Kashyap wrote: Exynos7 has core power down state where cores can be powered off independently. ...has a core power down idle state... This patch adds support

[PATCH] ARM: EXYNOS: Remove unused static iomapping

2014-11-10 Thread Pankaj Dubey
This patch removes all unused static iomapping from exynos4/5_iodesc table, and at the same time removes related macros from map.h and map-s5p.h. All such mappings are present in exynos.c but not currently there are no users of these mappings, so its safe to remove these. Signed-off-by: Pankaj

[PATCH v5] arm64: dts: exynos7: add support for cpuidle core power down

2014-11-10 Thread Chander Kashyap
Exynos7 supports multiple idle states. Core power down is one such idle state, where cores can be powered off independently. This patch adds support for core power down idle state. Entry latency for core power down idle state is calculated as follows: 1. Time difference is measured between