Re: [PATCH v2] Input: matrix-keypad - support binary column select gpios

2013-02-21 Thread Grant Likely
On Wed, Feb 20, 2013 at 7:27 PM, Anatolij Gustschin ag...@denx.de wrote: On hardware with limited gpios one column select gpio can select two different rows when using some additional hardware logic: high value selects one row, low value selects another row. Add support for such matrix

Re: [PATCH v5] iio: Add OF support

2013-02-21 Thread Jonathan Cameron
On 02/20/2013 07:24 PM, Guenter Roeck wrote: On Wed, Feb 20, 2013 at 06:51:08PM +, Jonathan Cameron wrote: Guenter Roeck li...@roeck-us.net wrote: On Wed, Feb 20, 2013 at 11:38:22AM -0600, Rob Herring wrote: On 02/07/2013 11:09 AM, Guenter Roeck wrote: Provide bindings and parse OF

Re: [PATCH V2] ARM: dts: exynos5250-arndale: Add PMIC node entry

2013-02-21 Thread Tushar Behera
On 02/11/2013 06:06 AM, Amit Daniel Kachhap wrote: Added S5M8767 PMIC DT nodes for Arndale board. Only the used LDO's/BUCK are defined here. Also the nodes describe the default/reset state LDO's and no power mangement tuning is implemented. The usage desription can be found in s5m8767 device

Re: [PATCH 3/3] pinctrl: imx: move hard-coding data into device tree

2013-02-21 Thread Dong Aisheng
On 21 February 2013 03:04, Stephen Warren swar...@wwwdotorg.org wrote: On 02/20/2013 12:08 AM, Shawn Guo wrote: Currently, all imx pinctrl drivers maintain a big array of struct imx_pin_reg which hard-codes data like register offset and mux mode setting for each pin function. Every time a new

Re: [PATCH] spi: tegra114: add spi driver

2013-02-21 Thread Peter De Schrijver
On Wed, Feb 20, 2013 at 06:25:13PM +0100, Stephen Warren wrote: On 02/20/2013 06:26 AM, Laxman Dewangan wrote: On Wednesday 20 February 2013 06:41 PM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Feb 20, 2013 at 05:59:03PM +0530, Laxman Dewangan wrote: +tspi-clk =

Re: [v2 1/4] ARM: tegra20: create a DT header defining CLK IDs

2013-02-21 Thread Peter De Schrijver
On Fri, Feb 15, 2013 at 05:45:45PM +0100, Stephen Warren wrote: ... I would suggest removing this clock. It's not actually implemented in the CCF and rather useless. If you would gate the CPU clock from the CPU by writing to this register, how would you ungate it? :) Note that this

Re: [PATCH v7 00/12] Tegra114 clockframework

2013-02-21 Thread Prashant Gaikwad
On Wednesday 20 February 2013 12:09 AM, Stephen Warren wrote: On 02/15/2013 05:36 AM, Peter De Schrijver wrote: This is the seventh version of the Tegra114 clockframework. It is based on the for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra.git and

Re: [PATCH v5] iio: Add OF support

2013-02-21 Thread Rob Herring
On 02/20/2013 01:24 PM, Guenter Roeck wrote: On Wed, Feb 20, 2013 at 06:51:08PM +, Jonathan Cameron wrote: Guenter Roeck li...@roeck-us.net wrote: On Wed, Feb 20, 2013 at 11:38:22AM -0600, Rob Herring wrote: On 02/07/2013 11:09 AM, Guenter Roeck wrote: Provide bindings and parse OF

Re: [v2 1/4] ARM: tegra20: create a DT header defining CLK IDs

2013-02-21 Thread Peter De Schrijver
On Thu, Feb 21, 2013 at 01:25:36PM +0100, Peter De Schrijver wrote: On Fri, Feb 15, 2013 at 05:45:45PM +0100, Stephen Warren wrote: ... I would suggest removing this clock. It's not actually implemented in the CCF and rather useless. If you would gate the CPU clock from the CPU by

[RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-02-21 Thread Andrew Murray
DT bindings for PCI host bridges often use the ranges property to describe memory and IO ranges - this binding tends to be the same across architectures yet several parsing implementations exist, e.g. arch/mips/pci/pci.c, arch/powerpc/kernel/pci-common.c, arch/sparc/kernel/pci.c and

Re: [PATCH] spi: tegra114: add spi driver

2013-02-21 Thread Mark Brown
On Thu, Feb 21, 2013 at 11:56:54AM +0200, Peter De Schrijver wrote: On Wed, Feb 20, 2013 at 06:25:13PM +0100, Stephen Warren wrote: OK, so that's certainly an argument for requesting a specific clock name rather than NULL. The list of possible parents for each clock is determined by the

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Matt Sealey
On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: I am not sure I am getting this point across, but.. damn it.. nack nack nack :D Do you see any downgrade side that the series introduces over the existing

Re: [PATCH] kbuild: create an include chroot for DT bindings

2013-02-21 Thread Stephen Warren
On 02/20/2013 09:37 PM, Shawn Guo wrote: On Wed, Feb 20, 2013 at 02:05:56PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device tree files. These headers will

Re: [PATCH 3/3] pinctrl: imx: move hard-coding data into device tree

2013-02-21 Thread Stephen Warren
On 02/21/2013 02:36 AM, Dong Aisheng wrote: On 21 February 2013 03:04, Stephen Warren swar...@wwwdotorg.org wrote: On 02/20/2013 12:08 AM, Shawn Guo wrote: Currently, all imx pinctrl drivers maintain a big array of struct imx_pin_reg which hard-codes data like register offset and mux mode

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-02-21 Thread delicious quinoa
I like where this is heading. I'm interested in a use case where IP can be loaded into a FPGA, then add a blob to the device tree and load some drivers. I see your github tree. If I wanted to cherry-pick your code and play around with it, which branch should I use? not-capebus-21? Thanks,

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Sascha Hauer
On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: I am not sure I am getting this point across, but.. damn it.. nack nack nack :D Do you see

Re: [PATCH v5] iio: Add OF support

2013-02-21 Thread Jonathan Cameron
On 02/21/2013 02:50 PM, Rob Herring wrote: On 02/20/2013 01:24 PM, Guenter Roeck wrote: On Wed, Feb 20, 2013 at 06:51:08PM +, Jonathan Cameron wrote: Guenter Roeck li...@roeck-us.net wrote: On Wed, Feb 20, 2013 at 11:38:22AM -0600, Rob Herring wrote: On 02/07/2013 11:09 AM, Guenter

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-02-21 Thread Pantelis Antoniou
Hi Alan, On Feb 21, 2013, at 1:25 PM, delicious quinoa wrote: I like where this is heading. I'm interested in a use case where IP can be loaded into a FPGA, then add a blob to the device tree and load some drivers. I see your github tree. If I wanted to cherry-pick your code and play

Re: [PATCH] kbuild: create an include chroot for DT bindings

2013-02-21 Thread Michal Marek
On 20.2.2013 22:05, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com The recent dtc+cpp support allows header files and C pre-processor defines/macros to be used when compiling device tree files. These headers will typically define various constants that are part of the device

[RFC v2 1/3] power_supply: Define Binding for supplied-nodes

2013-02-21 Thread Rhyland Klein
This property is meant to be used in device nodes which represent power_supply devices that wish to provide a list of supplies to which they provide power. A common case is a AC Charger with the batteries it powers. Signed-off-by: Rhyland Klein rkl...@nvidia.com --- v2: - Changed property to

[RFC v2 0/3] Add DT Binding for Power-Supply power-supply property

2013-02-21 Thread Rhyland Klein
This series is an attempt to define a common way for devicetree initialized power_supplies to define their list of supplicants in a common manner. Instead of relying on custom properties which contain is list of strings, use the much more direct method of phandles to reference the supplies and

[RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-21 Thread Rhyland Klein
With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following common dt convention, the supplied-to char** list is replaced with phandle lists defined

[RFC v2 3/3] power: power_supply: add support for getting supplied-nodes from dt

2013-02-21 Thread Rhyland Klein
With the addition of the device_nodes to use to link suppliers and supplicants, its useful to add logic to handle the creation of the list in a common place so as to be common for all drivers. As of now, as long as the supply's device_node is supplied, the core will attempt to parse the list of

Re: [PATCH] kbuild: create an include chroot for DT bindings

2013-02-21 Thread Shawn Guo
On Thu, Feb 21, 2013 at 11:43:13AM -0700, Stephen Warren wrote: There are two things that include DT-related headers: a) Device trees (*.dts, *.dtsi) b) The kernel All the headers relevant here fall into category (a) by definition. I'd actually expect most to also fall into category (b),

Re: [alsa-devel] [PATCH 4/4 v6] ASoC: simple-card: add Device Tree support

2013-02-21 Thread Kuninori Morimoto
Hi Lars, Stephen Thank you for your advice The requirement to be able to find the DAI via devicetree is not specific to the simple-audio driver. I'd prefer if we could come up with a common binding which can be used by multiple drivers. Since you also add the xlate (or match) function

[PATCH -next] thermal: rcar: fix missing unlock on error in rcar_thermal_update_temp()

2013-02-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock before return from function rcar_thermal_update_temp() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/thermal/rcar_thermal.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Shawn Guo
On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: I am not sure I am getting this point across, but.. damn it.. nack nack nack :D Do you see

Re: [PATCH -next] thermal: rcar: fix missing unlock on error in rcar_thermal_update_temp()

2013-02-21 Thread Kuninori Morimoto
Hi Wei Thank you for your patch From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock before return from function rcar_thermal_update_temp() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/thermal/rcar_thermal.c | 1 +

Re: [PATCH v4 5/5] ARM: exynos: dts: Add FIMD DT binding Documentation

2013-02-21 Thread Vikas Sajjan
On 21 February 2013 12:34, Vikas Sajjan vikas.saj...@linaro.org wrote: Hi, On 19 February 2013 03:16, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi, On 02/18/2013 11:51 AM, Vikas Sajjan wrote: On 15 February 2013 16:08, Sylwester Nawrockis.nawro...@samsung.com wrote: On

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Sascha Hauer
On Fri, Feb 22, 2013 at 01:52:04PM +0800, Shawn Guo wrote: On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 20, 2013 at 06:03:39PM -0600, Matt Sealey wrote: I am not sure I am getting this

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Shawn Guo
On Fri, Feb 22, 2013 at 08:27:43AM +0100, Sascha Hauer wrote: On Fri, Feb 22, 2013 at 01:52:04PM +0800, Shawn Guo wrote: On Thu, Feb 21, 2013 at 11:36:36AM -0600, Matt Sealey wrote: On Wed, Feb 20, 2013 at 11:02 PM, Shawn Guo shawn@linaro.org wrote: On Wed, Feb 20, 2013 at 06:03:39PM

Re: [PATCH 2/3] ARM: dts: imx: replace magic number with pin function name

2013-02-21 Thread Shawn Guo
On Thu, Feb 21, 2013 at 10:43:03PM +0100, Sascha Hauer wrote: This would leave the question how we make up a pin number for the pinctrl framework, but as said, this should be solved inside the kernel and not pushed into the devicetree. Ok, Dong has the same opinion to remove pin number from