Re: [PATCHv9][ 3/3] ARM: dts: cpuimx35 Add touchscreen support.

2013-11-21 Thread Lothar Waßmann
Hi, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:17 Fri 08 Nov , Denis Carikli wrote: Cc: Rob Herring rob.herr...@calxeda.com Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Stephen Warren swar...@wwwdotorg.org Cc: Ian Campbell

Re: [PATCHv9][ 1/3] Input: tsc2007: Add device tree support.

2013-11-21 Thread Eric Bénard
Hi Jean Christophe, Le Thu, 21 Nov 2013 06:05:44 +0100, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com a écrit : +Optional properties: +- gpios: the interrupt gpio the chip is connected to (trough the penirq pin). nack use interrupt property this a non-sense that we do today to

Re: [PATCHv9][ 3/3] ARM: dts: cpuimx35 Add touchscreen support.

2013-11-21 Thread Eric Bénard
Le Thu, 21 Nov 2013 06:09:22 +0100, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com a écrit : + tsc2007: tsc2007@48 { + compatible = ti,tsc2007; + reg = 0x48; + interrupt-parent = gpio3; + interrupts = 0x2 0x8; + gpios = gpio3

Re: [PATCH v1 1/1] dt: binding: reword PowerPC 8xxx GPIO documentation

2013-11-21 Thread Gerhard Sittig
On Wed, Nov 20, 2013 at 17:50 -0600, Rob Herring wrote: On Wed, Nov 20, 2013 at 3:34 PM, Gerhard Sittig g...@denx.de wrote: re-format and re-word the device tree binding documentation for MPC8xxx and compatibles, reference the common document for interrupt controllers and remove outdated

Re: [PATCH v1 1/1] dt: binding: reword PowerPC 8xxx GPIO documentation

2013-11-21 Thread Gerhard Sittig
On Thu, Nov 21, 2013 at 01:49 +0100, Arnd Bergmann wrote: On Wednesday 20 November 2013, Gerhard Sittig wrote: re-format and re-word the device tree binding documentation for MPC8xxx and compatibles, reference the common document for interrupt controllers and remove outdated duplicate SoC

[PATCH v2 1/1] dt: binding: reword PowerPC 8xxx GPIO documentation

2013-11-21 Thread Gerhard Sittig
re-format and re-word the device tree binding documentation for MPC8xxx and compatibles, reference the common document for interrupt controllers and remove outdated duplicate SoC specific information Cc: Mark Rutland mark.rutl...@arm.com Cc: Rob Herring@ rob.herr...@calxeda.com Cc: Pawel Moll

Re: [PATCH 8/9] ARM: at91/dt: add new at91rm9200ek_mmc board

2013-11-21 Thread Nicolas Ferre
On 20/11/2013 18:27, Jean-Christophe PLAGNIOL-VILLARD : On 17:31 Wed 20 Nov , boris brezillon wrote: On 20/11/2013 16:02, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:37 Wed 28 Aug , Boris BREZILLON wrote: Add a new at91rm9200ek_mmc board (based on at91rm9200ek board) which enables

Re: [PATCHv5 2/9] driver/core: populate devices in order for IOMMUs

2013-11-21 Thread Hiroshi Doyu
On Wed, 20 Nov 2013 17:30:35 +0100 Stephen Warren swar...@wwwdotorg.org wrote: ... Does the above mean the following? int of_iommu_attach(struct device *dev) { int i; struct of_phandle_args args; of_property_for_each_phandle_with_args(dev-of_node, iommus,

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-21 Thread Krzysztof Kozlowski
On Wed, 2013-11-20 at 15:31 +, Mark Brown wrote: On Wed, Nov 20, 2013 at 03:12:08PM +0100, Krzysztof Kozlowski wrote: +static irqreturn_t max14577_irq_thread(int irq, void *data) +{ + struct max14577 *max14577 = data; + u8 irq_reg[MAX14577_IRQ_REGS_NUM] = {0}; + u8

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-21 Thread Lee Jones
snip +/** + * After resuming from suspend it may happen that IRQ is signalled but + * IRQ GPIO is not high. Also the interrupt registers won't have any data + * (all of them equal to 0x00). + * + * In such case retry few times reading the interrupt registers. + */ +#define

[PATCH v2 01/10] mtd: nand: davinci: fix driver registration

2013-11-21 Thread Ivan Khoronzhuk
When kernel is booted using DT, there is no guarantee that Davinci NAND device has been created already at the time when driver init function is executed. Therefore, platform_driver_probe() can't be used because this may result the Davinci NAND driver will never be probed. The driver probing has

[PATCH v2 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2013-11-21 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. v1..v2: - added ti.cs-chipselect property instead to represent chipselect number in cs node name. Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory:

[PATCH v2 09/10] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-21 Thread Ivan Khoronzhuk
The problem that the set timings code contains the call of Davinci platform function davinci_aemif_setup_timing() which is not accessible if kernel is built for Keystone only. The Keysone platform is going to use TI AEMIF driver. If TI AEMIF is used we don't need to set timings and bus width. It

[PATCH v2 06/10] mtd: nand: davinci: extend description of bindings

2013-11-21 Thread Ivan Khoronzhuk
Extend bindings for davinci_nand driver to be more clear. This is clarification only, without semantic changes. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com --- .../devicetree/bindings/mtd/davinci-nand.txt | 77

[PATCH v2 04/10] mtd: nand: davinci: simplify error handling

2013-11-21 Thread Ivan Khoronzhuk
There is not needed to use a lot of names for err handling. It complicates code support and reading. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com ---

[PATCH v2 1/2] memory: ti-aemif: introduce AEMIF driver

2013-11-21 Thread Ivan Khoronzhuk
Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and NAND memory. A total of 256M bytes of any of these memories can be accessed at any given time via four chip

[PATCH v2 05/10] mtd: nand: davinci: move bindings under mtd

2013-11-21 Thread Ivan Khoronzhuk
Move bindings under mtd. Do this in order to make davinci-nand driver usable by keystone architecture. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com --- .../{arm/davinci/nand.txt

[PATCH v2 00/10] Reuse davinci-nand driver for Keystone arch

2013-11-21 Thread Ivan Khoronzhuk
This series contains fixes and updates of Davinci nand driver in order to reuse it for Keystone platform. The series is combination of two following series: - Davinci nand driver fixes and updates: https://lkml.org/lkml/2013/11/20/271 - Reuse davinci-nand driver for Keystone arch

[PATCH v2 02/10] mtd: nand: davinci: return ENOMEM if memory allocation is failed

2013-11-21 Thread Ivan Khoronzhuk
In case when memory allocation is failed the driver should return ENOMEM instead of ENODEV. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/mtd/nand/davinci_nand.c |5 - 1 file changed, 4 insertions(+), 1

[PATCH v2 03/10] mtd: nand: davinci: check required ti,davinci-chipselect property

2013-11-21 Thread Ivan Khoronzhuk
The property ti,davinci-chipselect is required. So we have to check if it is set. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Reviewed-by: Grygorii Strashko grygorii.stras...@ti.com --- drivers/mtd/nand/davinci_nand.c |3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-21 Thread Krzysztof Kozlowski
On Thu, 2013-11-21 at 10:34 +, Lee Jones wrote: snip +/** + * After resuming from suspend it may happen that IRQ is signalled but + * IRQ GPIO is not high. Also the interrupt registers won't have any data + * (all of them equal to 0x00). + * + * In such case retry few times

Re: [PATCH v4 2/4] Documentation:: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2013-11-21 Thread Arnd Bergmann
On Thursday 21 November 2013, Loc Ho wrote: +SATA host controller nodes are defined to describe on-chip Serial ATA +controllers. Each SATA controller (pair of ports) have its own node. + +Required properties: +- compatible : Shall be apm,xgene-ahci +- reg:

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-21 Thread Lee Jones
Thanks for pointing these out however after using regmap_irq_chip whole file won't be needed anymore. That's fine. +static int max14577_i2c_probe(struct i2c_client *i2c, + const struct i2c_device_id *id) +{ + struct max14577 *max14577; + struct

Re: [PATCH 1/9] dt: Handle passed/built-in DT selection in early_init_dt_scan()

2013-11-21 Thread Grant Likely
On Tue, 19 Nov 2013 12:12:26 +0100, Geert Uytterhoeven ge...@linux-m68k.org wrote: Let early_init_dt_scan() fall-back to the built-in DT if no DT was passed, or if it's invalid, so architectures don't have to duplicate this logic. Suggested-by: Rob Herring rob.herr...@calxeda.com

Re: [PATCH v10 0/7] ARM: support for Trusted Foundations secure monitor

2013-11-21 Thread Russell King - ARM Linux
On Thu, Nov 21, 2013 at 10:51:09AM -0800, Olof Johansson wrote: An ack from Russell would be appreciated, or we'd need to set up a shared branch given the Tegra dependencies that would go on top. Either is ok with me. Note that I'm *not* looking at anything new until after the merge window has

Re: [PATCH RFC 1/4] phy: Add new Exynos5 USB 3.0 PHY driver

2013-11-21 Thread Yuvaraj Cd
On Thu, Oct 31, 2013 at 1:15 PM, Vivek Gautam gautam.vi...@samsung.com 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. Signed-off-by: Vivek Gautam

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-21 Thread Krzysztof Kozlowski
On Thu, 2013-11-21 at 12:20 +, Lee Jones wrote: (...) +struct max14577_regulator_platform_data { + int id; + struct regulator_init_data *initdata; + struct device_node *of_node; Do you ever set this? What's the point of it is it's set in the device?

[PATCH v6 2/6] This patch converts the davinci gpio driver to use irqdomain support.

2013-11-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com [grygorii.stras...@ti.com: - switch to use one irq-domain per all GPIO banks - keep irq_create_mapping() call in gpio_to_irq_banked() as it simply transformed to irq_find_mapping() if

Re: Device Tree Maturity Project

2013-11-21 Thread Kumar Gala
On Nov 20, 2013, at 5:56 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Nov 20, 2013 at 11:55 AM, Grant Likely grant.lik...@secretlab.ca wrote: To help keep track of what is going on, I would like to have a short stand up meeting once a week. Looking at my calendar, I can make

Re: [RFC PATCH v3 1/8] mmc: omap_hsmmc: use devm_regulator API

2013-11-21 Thread Ulf Hansson
On 21 November 2013 15:20, Balaji T K balaj...@ti.com wrote: Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed, 2 insertions(+), 4

[PATCHv6 09/13] iommu/tegra: smmu: get swgroups from DT iommus=

2013-11-21 Thread Hiroshi Doyu
This provides the info about which swgroups a device belongs to. This info is passed from DT. This is necessary for the unified SMMU driver among Tegra SoCs since each has different H/W accelerators. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- v6: - Explained #iommu-cells in the binding

[PATCH v6 1/6] gpio: davinci: use readl/writel instead of __raw_*

2013-11-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch replaces the __raw_readl/writel with readl and writel, Altough the code runs on ARMv5 based SOCs, changing this will help copying the code for other uses. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lad, Prabhakar

Re: [RFC PATCH 1/2] driver core: introduce module_platform_driver_match_and_probe

2013-11-21 Thread Rob Herring
On Thu, Nov 21, 2013 at 6:47 AM, Grant Likely grant.lik...@linaro.org wrote: On Wed, 30 Oct 2013 01:12:50 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Introduce a helper to match, create and probe a platform device. This is for drivers such as

[RFC PATCH v3 4/8] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2013-11-21 Thread Balaji T K
In DT case, PBAIS registers are programmed via regulator, use regulator APIs to control PBIAS. Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git

Re: ACPI vs DT at runtime

2013-11-21 Thread Olof Johansson
On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: On Tue, 19 Nov 2013 11:30:15 +, Mark Rutland mark.rutl...@arm.com wrote: On Fri, Nov 15, 2013 at 05:52:41PM +, Olof Johansson wrote: On Fri, Nov 15, 2013 at 09:57:17AM +, Mark Rutland wrote: On Fri, Nov 15, 2013

[PATCHv2] ARM: mvebu: Add RN104 SATA LEDs driven via NXP PCA9554 I2C to GPIO muxer

2013-11-21 Thread Arnaud Ebalard
NETGEAR ReadyNAS 104 has a NXP PCA9554 I2C to GPIO chip. Among the 8 GPIO lines the chip makes available, four are used on the device to control the SATA LEDs (the four remaining ones are used for SATA disk presence). This patch adds DT entries for NXP PCA9554 and the four SATA GPIO LEDs.

[PATCH 2/2] ARM: dts: omap4-sdp: Fix pin muxing for wl12xx

2013-11-21 Thread Balaji T K
Mux mode for wlan/sdmmc5 should be MODE0 in pinmux_wl12xx_pins and Enable Pull up on sdmmc5_clk to detect SDIO card. Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCHv6 05/13] iommu/core: add ops-{bound,unbind}_driver()

2013-11-21 Thread Hiroshi Doyu
ops-{bound,unbind}_driver() functions are called at BUS_NOTIFY_{BOUND,UNBIND}_DRIVER respectively. This is necessary to control the device population order. IOMMU master devices depend on an IOMMU device instanciation. IOMMU master devices can be registered to an IOMMU only after it's

[PATCHv6 00/13] Unifying SMMU driver among Tegra SoCs

2013-11-21 Thread Hiroshi Doyu
: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/180267.html Available in the git repository at: git://g...@nv-tegra.nvidia.com/user/hdoyu/linux.git smmu-upstreaming@20131121 Hiroshi Doyu (13): of: introduce of_property_for_earch_phandle_with_args() iommu/of: introduce

[PATCH] ARM: mvebu: Add DT entry for ReadyNAS Duo v2 to use gpio-poweroff driver

2013-11-21 Thread Arnaud Ebalard
Without that fix, at the end of the shutdown process, the board is still powered (led glowing, fan running, ...). Signed-off-by: Arnaud Ebalard a...@natisbad.org --- Hi, I have prepared some cleanup patches for existing ReadyNAS .dts files which I intend to send for review in the next fex days.

Re: [PATCHv5 10/20] arm: dts: add omap4430 thermal data

2013-11-21 Thread Eduardo Valentin
On 20-11-2013 08:32, Pavel Machek wrote: HI! This patch changes the dtsi entry on omap4430 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. Cc: Benoît Cousson bcous...@baylibre.com

Re: [RFC PATCH 1/2] driver core: introduce module_platform_driver_match_and_probe

2013-11-21 Thread Grant Likely
On Thu, 21 Nov 2013 16:33:13 -0600, Rob Herring robherri...@gmail.com wrote: On Thu, Nov 21, 2013 at 6:47 AM, Grant Likely grant.lik...@linaro.org wrote: On Wed, 30 Oct 2013 01:12:50 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Introduce a

Re: [PATCH 1/9] dt: Handle passed/built-in DT selection in early_init_dt_scan()

2013-11-21 Thread Grant Likely
On Thu, 21 Nov 2013 14:42:27 +0100, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Thu, Nov 21, 2013 at 1:21 PM, Grant Likely grant.lik...@secretlab.ca wrote: bool __init early_init_dt_scan(void *params) { - if (!params) - return false; - /* Setup flat

Re: ACPI vs DT at runtime

2013-11-21 Thread Olof Johansson
On Thu, Nov 21, 2013 at 10:54 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Nov 21, 2013 at 09:58:22AM -0800, Olof Johansson wrote: On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: We are pushing a lot of boundaries and doing things on ACPI that have never

Re: [PATCH 3/3] ARM: OMAP2+: Fix eMMC on n900 with device tree

2013-11-21 Thread Sebastian Reichel
Hi Tony, On Thu, Nov 21, 2013 at 10:51:06AM -0800, Tony Lindgren wrote: Looks like we need to configure the regulators and use the pdata quirk to make eMMC work with device tree. It seems that mostly vmmc2 is used, and only some earlier revisions like the macro board used vaux3. Note

Re: [RFC PATCH 0/2] DT match helpers for initcalls and platform devices

2013-11-21 Thread Grant Likely
On Wed, 30 Oct 2013 15:02:40 -0500, Rob Herring robherri...@gmail.com wrote: On Wed, Oct 30, 2013 at 3:26 AM, Thierry Reding thierry.red...@gmail.com wrote: On Wed, Oct 30, 2013 at 01:12:49AM -0500, Rob Herring wrote: From: Rob Herring rob.herr...@calxeda.com This series adds a couple of

Re: [RFC PATCH 2/2] of: add initcall with match boilerplate helpers

2013-11-21 Thread Rob Herring
On Thu, Nov 21, 2013 at 6:50 AM, Grant Likely grant.lik...@linaro.org wrote: On Wed, 30 Oct 2013 01:12:51 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Add boilerplate helpers to create initcalls which are conditional on matching on devicetree

Re: ACPI vs DT at runtime

2013-11-21 Thread Grant Likely
On Fri, 15 Nov 2013 23:21:09 +, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Fri, Nov 15, 2013 at 08:56:47PM +0100, Arnd Bergmann wrote: On Friday 15 November 2013, Russell King - ARM Linux wrote: On Fri, Nov 15, 2013 at 09:52:41AM -0800, Olof Johansson wrote: If we

Re: ACPI vs DT at runtime

2013-11-21 Thread Arnd Bergmann
On Thursday 21 November 2013, Olof Johansson wrote: On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: We are pushing a lot of boundaries and doing things on ACPI that have never been done before. SPI, GPIOs, Clocks, Regulators, composite devices, key-value properties. All brand

Re: ACPI vs DT at runtime

2013-11-21 Thread Russell King - ARM Linux
On Thu, Nov 21, 2013 at 09:58:22AM -0800, Olof Johansson wrote: On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: We are pushing a lot of boundaries and doing things on ACPI that have never been done before. SPI, GPIOs, Clocks, Regulators, composite devices, key-value

Re: [PATCH V5] kbuild: dtbs_install: new make target

2013-11-21 Thread Kumar Gala
On Nov 21, 2013, at 1:35 PM, Jason Cooper ja...@lakedaemon.net wrote: Unlike other build products in the Linux kernel, there is no 'make *install' mechanism to put devicetree blobs in a standard place. This patch is an attempt to fix this problem. Akin to 'make install', this creates a

[RFC PATCH v3 8/8] mmc: omap_hsmmc: remove pbias workaround

2013-11-21 Thread Balaji T K
remove pbias workaround Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 0a390f8..0f0aa5d 100644 ---

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Rob Herring
On Thu, Nov 21, 2013 at 11:20 AM, Hiroshi Doyu hd...@nvidia.com wrote: Grant Likely grant.lik...@linaro.org wrote @ Thu, 21 Nov 2013 16:56:49 +0100: On Thu, 21 Nov 2013 15:12:18 +0200, Hiroshi Doyu hd...@nvidia.com wrote: On Thu, 21 Nov 2013 13:43:28 +0100 Grant Likely

[PATCHv6 04/13] driver/core: populate devices in order for IOMMUs

2013-11-21 Thread Hiroshi Doyu
IOMMU devices on the bus need to be poplulated first, then iommu master devices are done later. With CONFIG_OF_IOMMU, iommus= DT binding would be used to identify whether a device can be an iommu msater or not. If a device can, we'll defer to populate that device till an iommu device is

Re: [PATCH V5] kbuild: dtbs_install: new make target

2013-11-21 Thread Olof Johansson
On Thu, Nov 21, 2013 at 3:31 PM, Kumar Gala ga...@codeaurora.org wrote: On Nov 21, 2013, at 1:35 PM, Jason Cooper ja...@lakedaemon.net wrote: Unlike other build products in the Linux kernel, there is no 'make *install' mechanism to put devicetree blobs in a standard place. This patch is an

Re: [PATCH] ARM: CCI : Fix implicit declaration of function error

2013-11-21 Thread Grant Likely
On Thu, 17 Oct 2013 13:12:28 +0100, Dave Martin dave.mar...@arm.com wrote: On Mon, Oct 14, 2013 at 03:52:27PM +0530, Majunath Goudar wrote: This patch adds a inline dummy implementations of_find_matching_node() in #ifdef CONFIG_OF else part. Without this patch,build system can lead to

Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information

2013-11-21 Thread Sebastian Reichel
On Thu, Nov 21, 2013 at 12:46:55PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131120 18:22]: On Wed, Nov 20, 2013 at 05:38:59PM -0800, Tony Lindgren wrote: In the public documentation of the omaps all SSI related stuff is missing and memory areas are marked as

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Stephen Warren
On 11/21/2013 10:20 AM, Hiroshi Doyu wrote: Grant Likely grant.lik...@linaro.org wrote @ Thu, 21 Nov 2013 16:56:49 +0100: On Thu, 21 Nov 2013 15:12:18 +0200, Hiroshi Doyu hd...@nvidia.com wrote: On Thu, 21 Nov 2013 13:43:28 +0100 Grant Likely grant.lik...@linaro.org wrote: On Tue, 19 Nov

[PATCHv4] ASoC: Add support for BCM2835

2013-11-21 Thread Florian Meier
This driver adds support for digital audio (I2S) for the BCM2835 SoC that is used by the Raspberry Pi. External audio codecs can be connected to the Raspberry Pi via P5 header. It relies on cyclic DMA engine support for BCM2835. Signed-off-by: Florian Meier florian.me...@koalo.de --- Minor

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Hiroshi Doyu
Grant Likely grant.lik...@linaro.org wrote @ Thu, 21 Nov 2013 16:56:49 +0100: On Thu, 21 Nov 2013 15:12:18 +0200, Hiroshi Doyu hd...@nvidia.com wrote: On Thu, 21 Nov 2013 13:43:28 +0100 Grant Likely grant.lik...@linaro.org wrote: On Tue, 19 Nov 2013 11:33:05 +0200, Hiroshi Doyu

[RFC PATCH v3 7/8] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2013-11-21 Thread Balaji T K
Enable REGULATOR_PBIAS needed for SD card on most OMAPs. Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[RFC PATCH v3 6/8] ARM: dts: add pbias-supply

2013-11-21 Thread Balaji T K
Add pbias-supply to mmc1/sd card. Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/boot/dts/dra7-evm.dts|1 + arch/arm/boot/dts/omap3-beagle-xm.dts |1 + arch/arm/boot/dts/omap3-beagle.dts|1 + arch/arm/boot/dts/omap3-devkit8000.dts|1 +

[PATCHv6 12/13] iommu/tegra: smmu: add SMMU to an global iommu list

2013-11-21 Thread Hiroshi Doyu
This allows to inquire if SMMU is populated or not. Suggested by Thierry Reding and copied his example code. Signed-off-by: Hiroshi Doyu hd...@nvidia.com Cc: Thierry Reding thierry.red...@gmail.com --- v6: New for v6. --- drivers/iommu/tegra-smmu.c | 55

Re: [PATCH] irqchip: versatile FPGA: support cascaded interrupts from DT

2013-11-21 Thread Linus Walleij
On Fri, Oct 4, 2013 at 3:25 PM, Linus Walleij linus.wall...@linaro.org wrote: The Versatile FPGA interrupt controller supports cascading interrupts, i.e. that its output is connected to the input of another interrupt controller. This makes it possible to pass a parent interrupt from the

Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information

2013-11-21 Thread Tony Lindgren
* Sebastian Reichel s...@debian.org [131120 18:22]: On Wed, Nov 20, 2013 at 05:38:59PM -0800, Tony Lindgren wrote: In the public documentation of the omaps all SSI related stuff is missing and memory areas are marked as reserved. I could not find out how to receive the NDA version, so the

Re: [PATCH 1/9] dt: Handle passed/built-in DT selection in early_init_dt_scan()

2013-11-21 Thread Geert Uytterhoeven
On Thu, Nov 21, 2013 at 4:53 PM, Grant Likely grant.lik...@secretlab.ca wrote: My changes don't change the current behavior much: currently early_init_dt_scan() is already called with __dtb_start in several places. If this is broken, it's already broken. Yes, but it is called on platforms

Re: [PATCH 1/2] ARM: dts: omap4-panda-common: Fix pin muxing for wl12xx

2013-11-21 Thread Dan Murphy
On 11/21/2013 10:58 AM, Tony Lindgren wrote: * Balaji T K balaj...@ti.com [131121 05:51]: pin mux wl12xx_gpio and wl12xx_pins should be part of omap4_pmx_core and not omap4_pmx_wkup. So, move wl12xx_* to omap4_pmx_core. Fix the following error message: pinctrl-single 4a31e040.pinmux: mux

Re: ACPI vs DT at runtime

2013-11-21 Thread Grant Likely
On Mon, 18 Nov 2013 15:19:01 +, Russell King - ARM Linux li...@arm.linux.org.uk wrote: They are using strings which are the same as the DT properties, but without the vendor prefix - but yes, to only retrieve things like booleans, u32s and such like. They also have support for fixed-rate

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Grant Likely
On Tue, 19 Nov 2013 11:33:05 +0200, Hiroshi Doyu hd...@nvidia.com wrote: The following pattern of code is tempting: for (i = 0; !of_parse_phandle_with_args(np, list, cells, i, args); i++) Signed-off-by: Hiroshi Doyu hd...@nvidia.com That's a very minimal commit message. Can you elaborate

[PATCHv6 13/13] [FOR TEST] ARM: dt: tegra30: add iommus binding

2013-11-21 Thread Hiroshi Doyu
iommus binding implies that a device can be attached to IOMMU devices. An iommu device needs to set #iommus-cells in it. iommus can have multiple iommu device phandles as below if needed. iommus = smmu arg1 arg2, gart arg1 arg2; Not yet ready for merge. Need to add iommus for other

Re: [RFC PATCH v3 6/8] ARM: dts: add pbias-supply

2013-11-21 Thread Tony Lindgren
* Balaji T K balaj...@ti.com [131121 06:21]: Add pbias-supply to mmc1/sd card. ... --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -261,6 +261,7 @@ mmc1 { status = okay; vmmc-supply = ldo1_reg; + pbias-supply = pbias_regulator;

[PATCH v6 6/6] ARM: davinci: da850 evm: add GPIO pinumux entries DT node

2013-11-21 Thread Prabhakar Lad
From: KV Sujith sujit...@ti.com Add GPIO DT node and pinmux entries for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. Signed-off-by: KV Sujith sujit...@ti.com Signed-off-by: Philip Avinash avinashphi...@ti.com Signed-off-by: Lad, Prabhakar

Re: ACPI vs DT at runtime

2013-11-21 Thread Grant Likely
On Thu, 21 Nov 2013 17:01:22 +, Matthew Garrett mj...@srcf.ucam.org wrote: On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: Personally, I think the issue of ACPI support should be taken on a patch-by-patch basis. A lot of the things that need to be done are quite discrete

Re: [PATCH] irqchip: versatile FPGA: support cascaded interrupts from DT

2013-11-21 Thread Thomas Gleixner
Linus On Thu, 21 Nov 2013, Linus Walleij wrote: On Fri, Oct 4, 2013 at 3:25 PM, Linus Walleij linus.wall...@linaro.org wrote: The Versatile FPGA interrupt controller supports cascading interrupts, i.e. that its output is connected to the input of another interrupt controller. This

Re: [PATCH V5] kbuild: dtbs_install: new make target

2013-11-21 Thread Stephen Warren
On 11/21/2013 12:35 PM, Jason Cooper wrote: Unlike other build products in the Linux kernel, there is no 'make *install' mechanism to put devicetree blobs in a standard place. This patch is an attempt to fix this problem. Akin to 'make install', this creates a new make target, dtbs_install.

Re: [RFC PATCH 1/2] driver core: introduce module_platform_driver_match_and_probe

2013-11-21 Thread Grant Likely
On Wed, 30 Oct 2013 01:12:50 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Introduce a helper to match, create and probe a platform device. This is for drivers such as cpuidle or cpufreq that typically don't have a bus device node and need to match

Re: [PATCHv5 2/9] driver/core: populate devices in order for IOMMUs

2013-11-21 Thread Stephen Warren
On 11/21/2013 06:15 AM, Grant Likely wrote: On Tue, 19 Nov 2013 11:33:06 +0200, Hiroshi Doyu hd...@nvidia.com wrote: IOMMU devices on the bus need to be poplulated first, then iommu master devices are done later. With CONFIG_OF_IOMMU, iommus= DT binding would be used to identify whether a

Re: [PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Grant Likely
On Thu, 21 Nov 2013 15:12:18 +0200, Hiroshi Doyu hd...@nvidia.com wrote: On Thu, 21 Nov 2013 13:43:28 +0100 Grant Likely grant.lik...@linaro.org wrote: On Tue, 19 Nov 2013 11:33:05 +0200, Hiroshi Doyu hd...@nvidia.com wrote: The following pattern of code is tempting: for (i = 0;

Re: ACPI vs DT at runtime

2013-11-21 Thread Russell King - ARM Linux
On Wed, Nov 20, 2013 at 07:40:57AM +0100, Richard Cochran wrote: Now, I never saw any proclamation or discussion about DT is in flux on the arm list. If I had, I surely would have complained, and loudly. AFAICT, this decision was made in rather private circles, but you talk as if this was

Re: [PATCH v10 0/7] ARM: support for Trusted Foundations secure monitor

2013-11-21 Thread Stephen Warren
On 11/21/2013 12:00 PM, Russell King - ARM Linux wrote: On Thu, Nov 21, 2013 at 10:51:09AM -0800, Olof Johansson wrote: An ack from Russell would be appreciated, or we'd need to set up a shared branch given the Tegra dependencies that would go on top. Either is ok with me. Note that I'm

[PATCHv6 02/13] iommu/of: introduce a global iommu device list

2013-11-21 Thread Hiroshi Doyu
This enables to find an populated IOMMU device via a device node. This can be used to see if an dependee IOMMU is populated or not to keep correct device population order. Client devices need to wait an IOMMU to be populated. Suggested by Thierry Reding and copied his example code.

Re: ACPI vs DT at runtime

2013-11-21 Thread Matthew Garrett
On Thu, Nov 21, 2013 at 04:29:44PM +, Grant Likely wrote: Personally, I think the issue of ACPI support should be taken on a patch-by-patch basis. A lot of the things that need to be done are quite discrete and fairly well contained. If the patches don't look that way then push back on

Re: [PATCH v2 4/5] regulator: max14577: Add regulator driver for Maxim 14577

2013-11-21 Thread Krzysztof Kozlowski
On Wed, 2013-11-20 at 18:58 +0100, Bartlomiej Zolnierkiewicz wrote: Err.. I'm missing something obvious info is redundant and can be removed altogether. Best regards, -- Bartlomiej Zolnierkiewicz Samsung RD Institute Poland Samsung Electronics + for (i = 0; i

Re: [PATCHv5 4/9] iommu/tegra: smmu: register device to iommu dynamically

2013-11-21 Thread Hiroshi Doyu
On Thu, 21 Nov 2013 14:23:22 +0100 Grant Likely grant.lik...@linaro.org wrote: +static int smmu_iommu_add_device(struct device *dev) +{ + int err = -EPROBE_DEFER; + u32 swgroups = dev-platform_data; + struct dma_iommu_mapping *map = NULL; + + if (test_bit(TEGRA_SWGROUP_PPCS,

Re: [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-21 Thread Eduardo Valentin
On 21-11-2013 10:57, Tomasz Figa wrote: On Friday 15 of November 2013 09:19:02 Eduardo Valentin wrote: Hello Tomasz, On 14-11-2013 09:40, Tomasz Figa wrote: On Thursday 14 of November 2013 07:31:04 Eduardo Valentin wrote: On 13-11-2013 12:57, Tomasz Figa wrote: Hi Eduardo, Hello Tomaz

[PATCH 3/3] ARM: OMAP2+: Fix eMMC on n900 with device tree

2013-11-21 Thread Tony Lindgren
Looks like we need to configure the regulators and use the pdata quirk to make eMMC work with device tree. It seems that mostly vmmc2 is used, and only some earlier revisions like the macro board used vaux3. Note that we can add support for the macro board later as needed by including the common

[PATCH v6 3/6] gpio: davinci: remove unused variable intc_irq_num

2013-11-21 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com As the davinci-gpio driver is migrated to use irqdomain there is no need to pass the irq base for the gpio driver. This patch removes this variable from davinci_gpio_platform_data and also the refrences from the machine file. Signed-off-by: Lad,

[PATCHv6 08/13] iommu/tegra: smmu: calculate ASID register offset by ID

2013-11-21 Thread Hiroshi Doyu
ASID register offset is caclulated by SWGROUP ID so that we can get rid of old SoC specific MACROs. This ID conversion is needed for the unified SMMU driver over Tegra SoCs. We use dt-bindings MACRO instead of SoC dependent MACROs. The formula is: MC_SMMU_swgroup name_ASID_0 =

Re: [PATCHv2] rtc: Add support for Intersil ISL12057 I2C RTC chip

2013-11-21 Thread Arnaud Ebalard
Hi Mark, Sorry for the delay, but I was somehow removed from the recipients in your reply. As I am not subscribed to rtc-linux, can you keep me in Cc: next time? On Mon, Nov 18, 2013 at 09:51:27PM +0100, Arnaud Ebalard wrote: +/* Block read. Returns 0 on success, or a negative errno. */

Re: Device Tree Maturity Project

2013-11-21 Thread Pawel Moll
On Wed, 2013-11-20 at 11:56 +, Grant Likely wrote: On Wed, Nov 20, 2013 at 11:55 AM, Grant Likely grant.lik...@secretlab.ca wrote: To help keep track of what is going on, I would like to have a short stand up meeting once a week. Looking at my calendar, I can make 14:00UTC on Tuesday,

Re: [PATCH v3 0/4] Exynos 5410 Dual cluster support

2013-11-21 Thread Mauro Ribeiro
Hello, On ODROID-XU XOMCCI is connected to VDD. Best Regards, Mauro On Wed, Nov 20, 2013 at 10:54 PM, Tarek Dakhran t.dakh...@samsung.com wrote: Hi, On 20.11.2013 03:23, Tomasz Figa wrote: Hi, On Thursday 07 of November 2013 12:12:45 Vyacheslav Tyrtov wrote: The series of patches

Re: ACPI vs DT at runtime

2013-11-21 Thread Arnd Bergmann
On Thursday 21 November 2013, Grant Likely wrote: This too should look transparent to device drivers. DT and ACPI have different mechanism for doing cross tree references, but the concept is the same. A driver calling something like platform_get_my_gpio_resource() should do the right thing

Re: ACPI vs DT at runtime

2013-11-21 Thread Grant Likely
On Tue, 19 Nov 2013 11:30:15 +, Mark Rutland mark.rutl...@arm.com wrote: On Fri, Nov 15, 2013 at 05:52:41PM +, Olof Johansson wrote: On Fri, Nov 15, 2013 at 09:57:17AM +, Mark Rutland wrote: On Fri, Nov 15, 2013 at 01:44:10AM +, Olof Johansson wrote: The UEFI spec pulls in

Re: [PATCH v4 3/4] ata: Add APM X-Gene SoC SATA host controller driver

2013-11-21 Thread Arnd Bergmann
On Thursday 21 November 2013, Loc Ho wrote: +struct xgene_ahci_context { + struct ahci_host_priv hpriv; + struct device *dev; + int irq;/* IRQ */ + void __iomem *csr_base; /* CSR base address of IP */ + u64 csr_phys; /* Physical address of CSR

Re: [PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-11-21 Thread boris brezillon
Hi Linus, On 21/11/2013 10:48, Linus Walleij wrote: On Wed, Nov 20, 2013 at 5:14 PM, boris brezillon b.brezil...@overkiz.com wrote: On 20/11/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:06 Wed 28 Aug , Boris BREZILLON wrote: mmc0_slot0_switch-0 { +

Re: [PATCH v7] gpio: add a driver for the Synopsys DesignWare APB GPIO block

2013-11-21 Thread delicious quinoa
On Thu, Nov 21, 2013 at 6:28 AM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 11/20/2013 10:48 PM, Alan Tull wrote: From: Jamie Iles ja...@jamieiles.com The Synopsys DesignWare block is used in some ARM devices (picoxcell) and can be configured to provide multiple banks of

[PATCHv6 06/13] ARM: tegra: create a DT header defining SWGROUP ID

2013-11-21 Thread Hiroshi Doyu
Create a header file to define the swgroup IDs used by the IOMMU(SMMU) binding. swgroup is a group of H/W clients which a Tegra SoC supports. This unique ID can be used to calculate MC_SMMU_swgroup name_ASID_0 register offset and MC_swgroup name_HOTRESET_*_0 register bit. This will allow the same

[PATCHv6+ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-11-21 Thread Hiroshi Doyu
Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new of_property_for_each_phandle_with_args() macro to make the iteration simpler. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- v6+: Use the description, which

[RFC PATCH v3 1/8] mmc: omap_hsmmc: use devm_regulator API

2013-11-21 Thread Balaji T K
Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: ACPI vs DT at runtime

2013-11-21 Thread Russell King - ARM Linux
On Thu, Nov 21, 2013 at 10:59:41AM -0800, Olof Johansson wrote: On Thu, Nov 21, 2013 at 10:54 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: This depends what you want from ACPI, and what market ACPI is being targetted at. We're talking ACPI on servers here. Now read the rest

  1   2   >