[PATCH v2 6/7] arm64: enable FIX_EARLYCON_MEM kconfig

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org In order to support earlycon on arm64, we need to enable earlycon fixmap support. Signed-off-by: Rob Herring r...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3

[PATCH v2 4/7] tty/serial: pl011: add generic earlycon support

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org Add earlycon support for the pl011 serial port. This allows enabling the pl011 for console when early_params are processed. This is based on the arm64 earlyprintk support and is intended to replace it. Signed-off-by: Rob Herring r...@kernel.org Cc: Russell King

[PATCH v2 5/7] tty/serial: add arm/arm64 semihosting earlycon

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org Add earlycon support for the arm/arm64 semihosting debug serial interface. This allows enabling a debug console when early_params are processed. This is based on the arm64 earlyprintk smh support and is intended to replace it. Signed-off-by: Rob Herring r

[PATCH v2 2/7] tty/serial: add generic serial earlycon

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org This introduces generic earlycon infrastructure for serial devices based on the 8250 earlycon. This allows for supporting earlycon option with other serial devices. The earlycon output is enabled at the time early_params are processed. Only architectures

[PATCH v2 3/7] tty/serial: convert 8250 to generic earlycon

2014-04-18 Thread Rob Herring
From: Rob Herring r...@kernel.org With the generic earlycon infrastructure in place, convert the 8250 early console to use it. Signed-off-by: Rob Herring r...@kernel.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Jiri Slaby jsl...@suse.cz --- drivers/tty/serial/8250/8250_early.c

Re: [PATCH 3/3] of: Handle memory@0 node on PPC32 only

2014-04-21 Thread Rob Herring
On Fri, Apr 18, 2014 at 7:59 AM, Leif Lindholm leif.lindh...@linaro.org wrote: Hi Geert, On Fri, Apr 18, 2014 at 10:04:15AM +0200, Geert Uytterhoeven wrote: On Thu, Apr 17, 2014 at 7:42 PM, Leif Lindholm leif.lindh...@linaro.org wrote: In order to deal with an firmware bug on a specific

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-21 Thread Rob Herring
On Fri, Apr 18, 2014 at 6:24 PM, Tony Lindgren t...@atomide.com wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [140418 16:04]: On Fri, Apr 18, 2014 at 02:58:48PM -0700, Tony Lindgren wrote: Oh come on, let's stop pretending it's not broken. And it's way worse with device tree as

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-21 Thread Rob Herring
On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Here is an updated version of [2] based on discussion. Series introduces support for setting up dma parameters based on device tree properties like 'dma-ranges' and 'dma-coherent' and also update to ARM 32 bit

Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-21 Thread Rob Herring
: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: Olof Johansson o...@lixom.net Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com Cc: Linus Walleij linus.wall...@linaro.org Signed-off-by: Grygorii

Re: [PATCH v2 2/7] of: introduce of_dma_get_range() helper

2014-04-21 Thread Rob Herring
: Rob Herring robh...@kernel.org Cc: Catalin Marinas catalin.mari...@arm.com Cc: Linus Walleij linus.wall...@linaro.org Signed-off-by: Grygorii Strashko grygorii.stras...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com --- drivers/of/platform.c | 85

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-21 Thread Rob Herring
On Mon, Apr 21, 2014 at 10:13 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Hi Rob, On Monday 21 April 2014 10:37 AM, Rob Herring wrote: On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Here is an updated version of [2] based on discussion. Series

Re: [PATCHv3 09/14] Documentation: DT: omap-ssi binding documentation

2014-04-21 Thread Rob Herring
On Fri, Mar 28, 2014 at 7:31 PM, Sebastian Reichel s...@kernel.org wrote: Create device tree binding documentation for OMAP Synchronous Serial Interface (SSI) device. Signed-off-by: Sebastian Reichel s...@kernel.org --- Documentation/devicetree/bindings/hsi/omap-ssi.txt | 85

Re: [PATCHv3 07/14] HSI: Add common DT binding for HSI client devices

2014-04-21 Thread Rob Herring
On Fri, Mar 28, 2014 at 7:31 PM, Sebastian Reichel s...@kernel.org wrote: Implement and document generic DT bindings for HSI clients. Signed-off-by: Sebastian Reichel s...@kernel.org Seems pretty reasonable although I know little about HSI. ---

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-21 Thread Rob Herring
On Mon, Apr 21, 2014 at 10:54 AM, Tony Lindgren t...@atomide.com wrote: * Rob Herring robherri...@gmail.com [140421 06:47]: On Fri, Apr 18, 2014 at 6:24 PM, Tony Lindgren t...@atomide.com wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [140418 16:04]: On Fri, Apr 18, 2014 at 02:58

Re: [RFC] driver-core: Remove dummy 'platform_bus'

2014-04-21 Thread Rob Herring
On Wed, Nov 21, 2012 at 8:44 AM, Grant Likely grant.lik...@secretlab.ca wrote: The platform_bus (note: not platform_bus_type) only exists as an empty directory to put platform devices into. However, it really doesn't make sense to segregate all the platform devices into a sub directory when

Re: [PATCH v3 2/3] dma: Add Xilinx Video DMA DT Binding Documentation

2014-04-22 Thread Rob Herring
On Sat, Feb 15, 2014 at 6:00 AM, Srikanth Thokala stho...@xilinx.com wrote: Device-tree binding documentation of Xilinx Video DMA Engine Signed-off-by: Srikanth Thokala stho...@xilinx.com A few typos below, but otherwise: Acked-by: Rob Herring r...@kernel.org --- Changes in v3: None

Re: [PATCH v2 4/7] of: configure the platform device dma parameters

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 10:09 AM, Grygorii Strashko grygorii.stras...@ti.com wrote: Hi Rob, On 04/21/2014 05:58 PM, Rob Herring wrote: On Sat, Apr 19, 2014 at 9:32 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: Retrieve DMA configuration from DT and setup platform device's DMA

Re: [PATCH v2 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 10:25 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Tue, Apr 22, 2014 at 04:02:19PM +0100, Arnd Bergmann wrote: On Saturday 19 April 2014, Thomas Petazzoni wrote: [...] I would hope we can find a way to avoid the platform notifiers for mvebu as well and come

Re: [RFC PATCH 1/2] PCI: designware: Add ARM64 PCI support

2014-04-22 Thread Rob Herring
code gets converted you drop your adaptation functions. Or (better yet), have a stab at converting bios32 (Rob Herring has already provided some hints on how to do it for arch/arm). To: Liviu Dudau Sorry, but I will not implement this. Then you will not get what you want

Re: [PATCH 3/3] net: via-rhine: add OF bus binding

2014-04-22 Thread Rob Herring
alch...@gmail.com For the binding: Acked-by: Rob Herring r...@kernel.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH] ARM: berlin: add CPU_V7 to Marvell Armada 1500-mini (BG2CD)

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 1:11 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 04/15/2014 08:48 PM, Sebastian Hesselbarth wrote: This selects missing CPU_V7 for ARM Cortex-A9 based Marvell Armada 1500-mini (BG2CD). Signed-off-by: Sebastian Hesselbarth

Re: [PATCH 1/6] ata: ahci: add AHCI support for Berlin SoCs

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 10:38 AM, Antoine Ténart antoine.ten...@free-electrons.com wrote: Add support for the Berlin SoCs AHCI SATA controller allowing to interface with devices like external hard drives. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com ---

Re: [PATCH 1/6] ata: ahci: add AHCI support for Berlin SoCs

2014-04-22 Thread Rob Herring
On Tue, Apr 22, 2014 at 1:47 PM, Rob Herring robherri...@gmail.com wrote: On Tue, Apr 22, 2014 at 10:38 AM, Antoine Ténart antoine.ten...@free-electrons.com wrote: Add support for the Berlin SoCs AHCI SATA controller allowing to interface with devices like external hard drives. One more thing

[PATCH v2 17/21] of/fdt: introduce of_get_flat_dt_size

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Add a wrapper function to retrieve the FDT size from the FDT header. This is primarily to avoid libfdt include paths for the whole kernel. Signed-off-by: Rob Herring r...@kernel.org --- v2: new patch drivers/of/fdt.c | 8 include/linux/of_fdt.h

[PATCH v2 16/21] of/fdt: fix phys_addr_t related print size warnings

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Fix warnings in early_init_dt_reserve_memory_arch when phys_addr_t is 32-bit and memblock is not enabled. Signed-off-by: Rob Herring r...@kernel.org --- v2: New patch drivers/of/fdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 21/21] of: push struct boot_param_header and defines into powerpc

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Now powerpc is the only user of struct boot_param_header and FDT defines, so they can be moved into the powerpc architecture code. Signed-off-by: Rob Herring r...@kernel.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org

[PATCH v2 07/21] mips: convert fdt pointers to opaque pointers

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The architecture code does not need to access the internals of the FDT blob directly, so make the pointers to it void * and use char arrays for section variables. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org --- v2: no change

[PATCH v2 19/21] x86: use FDT accessors for FDT blob header data

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Remove the direct accesses to FDT header data using accessor function instead. This makes the code more readable and makes the FDT blob structure more opaque to the arch code. This also prepares for removing struct boot_param_header completely. Signed-off

[PATCH v2 20/21] of/fdt: convert initial_boot_params to opaque pointer

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Now that all accesses to FDT header data has been converted to accessor helpers, initial_boot_params can become an opaque pointer. Signed-off-by: Rob Herring r...@kernel.org --- v2: no change drivers/of/fdt.c | 2 +- include/linux/of_fdt.h | 2 +- 2

[PATCH v2 18/21] powerpc: use libfdt accessors for header data

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable and makes the FDT blob structure more opaque to the kernel. This also prepares for removing struct boot_param_header

[PATCH v2 09/21] of/fdt: remove some unneeded includes

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Whatever needed powerpc machdep.h appears to have been removed, so the include can be dropped. module.h is not needed as this code is always built-in. Signed-off-by: Rob Herring r...@kernel.org Cc: Grant Likely grant.lik...@linaro.org --- v2: no change

[PATCH v2 15/21] of/fdt: move memreserve and dtb memory reservations into core

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Move the /memreserve/ processing and dtb memory reservations into early_init_fdt_scan_reserved_mem. This converts arm, arm64, and powerpc as they are the only users of early_init_fdt_scan_reserved_mem. memblock_reserve is safe to call on the same region twice

[PATCH v2 14/21] of/fdt: create common debugfs

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Both powerpc and microblaze have the same FDT blob in debugfs feature. Move this to common location and remove the powerpc and microblaze implementations. This feature could become more useful when FDT overlay support is added. This changes the path of the blob

[PATCH v2 08/21] of/fdt: consolidate built-in dtb section variables

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Unify the various architectures __dtb_start and __dtb_end definitions moving them into of_fdt.h. Signed-off-by: Rob Herring r...@kernel.org Acked-by: Vineet Gupta vgu...@synopsys.com Acked-by: James Hogan james.ho...@imgtec.com Cc: Ralf Baechle r...@linux

[PATCH v2 11/21] of/fdt: update of_get_flat_dt_prop in prep for libfdt

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Make of_get_flat_dt_prop arguments compatible with libfdt fdt_getprop call in preparation to convert FDT code to use libfdt. Make the return value const and the property length ptr type an int. Signed-off-by: Rob Herring r...@kernel.org --- v2: fix warning

[PATCH v2 12/21] of/fdt: Convert FDT functions to use libfdt

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The kernel FDT functions predate libfdt and are much more limited in functionality. Also, the kernel functions and libfdt functions are not compatible with each other because they have different definitions of node offsets. To avoid this incompatibility

[PATCH v2 10/21] of/fdt: remove unused of_scan_flat_dt_by_path

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org of_scan_flat_dt_by_path is unused anywhere in the kernel, so remove it. Signed-off-by: Rob Herring r...@kernel.org --- v2: no change drivers/of/fdt.c | 67 -- include/linux/of_fdt.h | 3 --- 2 files

[PATCH v2 13/21] of/fdt: use libfdt accessors for header data

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable and makes the FDT blob structure more opaque to the kernel. This also prepares for removing struct boot_param_header

[PATCH v2 02/21] mips: lantiq: copy built-in DTB out of init section

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The existing code is buggy because built-in DTBs are in init memory. Fix this by using the unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r

[PATCH v2 06/21] c6x: convert fdt pointers to opaque pointers

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The architecture code does not need to access the internals of the FDT blob, so make the pointer to it void *. Signed-off-by: Rob Herring r...@kernel.org Cc: Mark Salter msal...@redhat.com Cc: Aurelien Jacquiot a-jacqu...@ti.com Cc: linux-c6x-...@linux-c6x.org

[PATCH v2 01/21] mips: octeon: convert to use unflatten_and_copy_device_tree

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The octeon FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org

[PATCH v2 05/21] ARM: dt: use default early_init_dt_alloc_memory_arch

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org Now that ARM is using memblock instead of bootmem, the default version of early_init_dt_alloc_memory_arch can be used. Signed-off-by: Rob Herring r...@kernel.org Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker...@lists.infradead.org --- v2: no change

[PATCH v2 04/21] mips: ralink: convert to use unflatten_and_copy_device_tree

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The ralink FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org

[PATCH v2 00/21] FDT clean-ups and libfdt support

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org This is a series of clean-ups of architecture FDT code and converts the core FDT code over to using libfdt functions. This is in preparation to add FDT based address translation parsing functions for early console support. This series removes direct access to FDT

[PATCH v2 03/21] mips: xlp: copy built-in DTB out of init section

2014-04-22 Thread Rob Herring
From: Rob Herring r...@kernel.org The existing code is buggy because built-in DTBs are in init memory. It is also broken because the reserved bootmem was then freed after unflattening, but the unflattened tree points to data in the flat tree. Fix this by using the unflatten_and_copy_device_tree

Re: [PATCH v2 18/21] powerpc: use libfdt accessors for header data

2014-04-23 Thread Rob Herring
On Wed, Apr 23, 2014 at 8:48 AM, Michal Simek mon...@monstr.eu wrote: On 04/23/2014 03:18 AM, Rob Herring wrote: From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable

Re: [RFC] driver-core: Remove dummy 'platform_bus'

2014-04-23 Thread Rob Herring
On Wed, Apr 23, 2014 at 9:05 AM, Grant Likely grant.lik...@linaro.org wrote: On Mon, 21 Apr 2014 16:05:29 -0500, Rob Herring robherri...@gmail.com wrote: On Wed, Nov 21, 2012 at 8:44 AM, Grant Likely grant.lik...@secretlab.ca wrote: The platform_bus (note: not platform_bus_type) only exists

Re: [PATCH] ARM: sunxi: dt: list all pinctrl compatible strings

2014-04-23 Thread Rob Herring
On Tue, Apr 22, 2014 at 8:38 AM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: List all sunxi pinctrl compatible strings in order to be able to grep for those values. If you were fixing this to please checkpatch.pl, that issue has been fixed in checkpatch. I think it is only in

Re: [PATCH] of: Clean up of_update_property

2014-04-15 Thread Rob Herring
On Tue, Apr 15, 2014 at 10:38 AM, Guenter Roeck li...@roeck-us.net wrote: After searching for the old property, bail out with -ENODEV if it was not found. It is unnecessary to check if oldprop is NULL before removing its binary file; the check was already done before. Signed-off-by: Guenter

Re: [RFC PATCH 0/4] vmlinux.lds.h clean-ups

2014-04-15 Thread Rob Herring
On Thu, Mar 27, 2014 at 2:41 PM, Rob Herring robherri...@gmail.com wrote: From: Rob Herring r...@kernel.org Several DeviceTree related sections have been added recently to enable early DT initialization calls. I have the need to add yet another one in order to do a DT based earlycon. Since

Re: [PATCH 01/20] mips: octeon: convert to use unflatten_and_copy_device_tree

2014-04-15 Thread Rob Herring
On Mon, Apr 7, 2014 at 12:46 PM, Andreas Herrmann herrmann.der.u...@googlemail.com wrote: On Thu, Apr 03, 2014 at 05:16:44PM -0500, Rob Herring wrote: From: Rob Herring r...@kernel.org The octeon FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all

Re: [PATCH 04/12] clocksource: Sched clock source for Versatile Express

2014-04-16 Thread Rob Herring
Adding Linus W... On Tue, Feb 11, 2014 at 11:10 AM, Pawel Moll pawel.m...@arm.com wrote: This patch adds a trival sched clock source using free running, 24MHz clocked counter present in the ARM Ltd. Versatile Express platform's System Registers block. This code replaces the call in the VE

Re: [PATCH 04/12] clocksource: Sched clock source for Versatile Express

2014-04-16 Thread Rob Herring
On Wed, Apr 16, 2014 at 9:22 AM, Pawel Moll pawel.m...@arm.com wrote: Hi Rob, Thanks for reminding me about this stuff. I'll get around and re-spin the series this week. [snip] + setup_sched_clock(vexpress_sys_24mhz_read, 32, 2400); This frequency should come from a DT clock

Re: [PATCH v3 0/7] Introducing (yet again) Device Tree Overlays

2014-04-16 Thread Rob Herring
On Wed, Apr 16, 2014 at 4:23 PM, delicious quinoa delicious.qui...@gmail.com wrote: On Thu, Apr 3, 2014 at 3:40 PM, delicious quinoa delicious.qui...@gmail.com wrote: On Fri, Mar 28, 2014 at 1:27 PM, delicious quinoa delicious.qui...@gmail.com wrote: On Tue, Mar 18, 2014 at 4:55 PM, Pantelis

Re: [PATCH 6/8] tty/serial: pl011: add generic earlycon support

2014-04-16 Thread Rob Herring
On Mon, Mar 24, 2014 at 6:28 AM, Catalin Marinas catalin.mari...@arm.com wrote: On Fri, Mar 21, 2014 at 09:08:46PM +, Rob Herring wrote: From: Rob Herring r...@kernel.org Add earlycon support for the pl011 serial port. This allows enabling the pl011 for console when early_params

Re: [PATCH 4/8] tty/serial: add generic serial earlycon

2014-04-17 Thread Rob Herring
On Mon, Mar 24, 2014 at 10:42 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 24 March 2014 08:36:46 Rob Herring wrote: On Mon, Mar 24, 2014 at 6:29 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 24 March 2014 11:22:03 Catalin Marinas wrote: On Fri, Mar 21, 2014 at 09:08:44PM +, Rob

Re: [PATCH 0/3] of: dts: enable memory@0 quirk for PPC32 only

2014-04-17 Thread Rob Herring
On Thu, Apr 17, 2014 at 12:41 PM, Leif Lindholm leif.lindh...@linaro.org wrote: drivers/of/fdt.c contains a workaround for a missing memory type entry on longtrail firmware. Make that quirk PPC32 only, and while at it - fix up the .dts files in the tree currently working only because of that

Re: [PATCH 4/4] arm: mediatek: Add earlyprintk support for MT6589

2014-04-09 Thread Rob Herring
On Wed, Apr 9, 2014 at 2:45 PM, Matthias Brugger matthias@gmail.com wrote: Signed-off-by: Matthias Brugger matthias@gmail.com --- arch/arm/Kconfig.debug| 49 +++-- arch/arm/include/debug/mediatek.S | 38 2

Re: [PATCH 3/4] arm: add basic support for Mediatek MT6589 boards

2014-04-09 Thread Rob Herring
On Wed, Apr 9, 2014 at 2:45 PM, Matthias Brugger matthias@gmail.com wrote: This adds a generic devicetree board file and a dtsi for boards based on the MT6589 SoCs from Mediatek. Apart from the generic parts (gic, clocks) the only component currently supported are the timers.

[PATCH v2] checkpatch: fix wildcard DT compatible string checking

2014-04-10 Thread Rob Herring
From: Rob Herring r...@kernel.org We attempt to search for compatible strings which use a variable token in the documented name such as chip or soc. While this was attempted to be handled, it's utterly broken. The desired forms of matching are: vendor,chip-* vendor,namepart#-* For chip, lower

Re: [PATCH RFC v5 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-04-10 Thread Rob Herring
On Wed, Apr 9, 2014 at 6:26 AM, Sylwester Nawrocki s.nawro...@samsung.com wrote: This patch adds a helper function to configure clock parents and rates as specified in clock-parents, clock-rates DT properties for a consumer device and a call to it before driver is bound to a device.

Re: [PATCH v2] Documentation: dt: Reduce fragmentation of .. placeholders

2014-04-10 Thread Rob Herring
On Sat, Mar 8, 2014 at 3:09 PM, Rob Herring robherri...@gmail.com wrote: On Fri, Mar 7, 2014 at 5:28 PM, Florian Vaussard florian.vauss...@epfl.ch wrote: Placeholders .. are sometimes used in the devicetree documentation to define family-wide compatible strings (like fsl,chip-ipu where chip

Re: [PATCH] of/platform: Fix no irq domain found errors when populating interrupts

2014-04-10 Thread Rob Herring
On Thu, Apr 10, 2014 at 4:38 PM, Tony Lindgren t...@atomide.com wrote: Currently we get the following kind of errors if we try to use interrupt phandles to irqchips that have not yet initialized: irq: no irq domain found for /ocp/pinmux@48002030 ! [ cut here ]

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-11 Thread Rob Herring
On Fri, Mar 21, 2014 at 9:46 AM, Jean-Jacques Hiblot jjhib...@traphandler.com wrote: The goal of this patch is to allow drivers to be probed even if at the time of the DT parsing some of their IRQ ressources are not available yet. In the current situation, the IRQ resources of a platform

Re: [git pull] Devicetree changes for v3.15

2014-04-01 Thread Rob Herring
On Tue, Apr 1, 2014 at 2:42 PM, Paul Bolle pebo...@tiscali.nl wrote: On Tue, 2014-04-01 at 11:15 +0100, Grant Likely wrote: Grant Likely (13): [...] of: remove /proc/device-tree That commit leaves a select for PROC_DEVICETREE dangling. See config ARCH_OMAP2PLUS in

Re: [PATCH] of: Specify initrd location using 64-bit

2013-06-27 Thread Rob Herring
On 06/21/2013 12:20 PM, Santosh Shilimkar wrote: On Friday 21 June 2013 05:04 AM, Sebastian Andrzej Siewior wrote: On 06/21/2013 02:52 AM, Santosh Shilimkar wrote: diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index 0a2c68f..62e2e8f 100644 ---

Re: [PATCH v7 1/2] video: ARM CLCD: Add DT support

2014-06-23 Thread Rob Herring
On Mon, Jun 23, 2014 at 9:13 AM, Pawel Moll pawel.m...@arm.com wrote: On Fri, 2014-06-20 at 18:09 +0100, Mark Rutland wrote: +- clocks-names: should contain clcdclk and apb_pclk s/clocks-names/clock-names/ Haha - it took quite a few patch revisions to spot this one, thanks! Was this

Re: [PATCH v2] platform_get_irq: Revert to platform_get_resource if of_irq_get fails

2014-06-23 Thread Rob Herring
Cc: Rob Herring r...@kernel.org Cc: Tony Lindgren t...@atomide.com Cc: Grant Likely grant.lik...@linaro.org Cc: Grygorii Strashko grygorii.stras...@ti.com Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Rob Herring r...@kernel.org Greg should take this for 3.16. Rob --- v2

Re: [PATCH v7 1/2] video: ARM CLCD: Add DT support

2014-06-23 Thread Rob Herring
On Mon, Jun 23, 2014 at 10:59 AM, Pawel Moll pawel.m...@arm.com wrote: On Mon, 2014-06-23 at 16:43 +0100, Rob Herring wrote: On Mon, Jun 23, 2014 at 9:13 AM, Pawel Moll pawel.m...@arm.com wrote: On Fri, 2014-06-20 at 18:09 +0100, Mark Rutland wrote: +- max-memory-bandwidth: maximum

Re: [PATCH v2 REBASED 06/10] serial/arc: remove last remanants of platform data

2014-06-24 Thread Rob Herring
On Tue, Jun 24, 2014 at 3:25 AM, Vineet Gupta vineet.gup...@synopsys.com wrote: Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/arc_uart.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers/tty/serial/arc_uart.c

Re: [PATCH v2 REBASED 00/10] Generic earlyconsole for ARC UART Driver

2014-06-24 Thread Rob Herring
/refactoring, not necesarily related to earlycon. Other than my comment on patch 6: Reviewed-by: Rob Herring r...@kernel.org v2 - v1 * Rebased on linux-next: 20140623 * Patch 9 split into 9 and 10 for driver/platform changes * Patch 10 also uses the DT stdout-path so no need for console

Re: [PATCH v3 1/2] arm: dts: am4372: let boards access all nodes through phandles

2014-06-24 Thread Rob Herring
On Mon, Jun 23, 2014 at 1:20 PM, Felipe Balbi ba...@ti.com wrote: by providing phandles to rtc, wdt, cpu and dispc nodes, boards can access them to add board-specific data. Strictly speaking, you are adding labels, not phandles. You can do phandles without using labels, but the syntax is not so

Re: [PATCH] arm/arm64: DT: Fix GICv2 CPU interface size

2014-06-25 Thread Rob Herring
, but that doesn't immediately help you if you have old dtbs. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/axm55xx.dtsi | 2 +- arch/arm/boot/dts/dra7.dtsi | 2 +- arch/arm/boot/dts/ecx-2000.dts | 2 +- Acked-by: Rob Herring r

Re: [PATCH 3/4] Documentation: devicetree: Fix tps65090 typos

2014-06-25 Thread Rob Herring
On Wed, Jun 25, 2014 at 6:43 AM, Andreas Färber afaer...@suse.de wrote: Am 25.06.2014 12:47, schrieb Mark Rutland: On Mon, Jun 23, 2014 at 06:27:04PM +0100, Doug Anderson wrote: Andreas, On Sun, Jun 22, 2014 at 6:21 PM, Andreas Färber afaer...@suse.de wrote: It's vsys-l{1,2}-supply, not

Re: [RFC PATCH 3/9] irqchip: GIC: Convert to EOImode == 1

2014-06-25 Thread Rob Herring
On Wed, Jun 25, 2014 at 4:28 AM, Marc Zyngier marc.zyng...@arm.com wrote: So far, GICv2 has been used in with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the interrupt at the same time. While this works perfectly for Linux (we only have a

Re: [RFC PATCH 3/9] irqchip: GIC: Convert to EOImode == 1

2014-06-25 Thread Rob Herring
On Wed, Jun 25, 2014 at 8:03 AM, Marc Zyngier marc.zyng...@arm.com wrote: On Wed, Jun 25 2014 at 01:50:12 PM, Rob Herring robherri...@gmail.com wrote: On Wed, Jun 25, 2014 at 4:28 AM, Marc Zyngier marc.zyng...@arm.com wrote: So far, GICv2 has been used in with EOImode == 0. The effect

Re: [RFC PATCH 3/9] irqchip: GIC: Convert to EOImode == 1

2014-06-25 Thread Rob Herring
On Wed, Jun 25, 2014 at 8:56 AM, Anup Patel a...@brainfault.org wrote: Hi Marc, On Wed, Jun 25, 2014 at 2:58 PM, Marc Zyngier marc.zyng...@arm.com wrote: So far, GICv2 has been used in with EOImode == 0. The effect of this mode is to perform the priority drop and the deactivation of the

Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

2014-06-18 Thread Rob Herring
On Wed, Jun 18, 2014 at 11:54 AM, Pali Rohár pali.ro...@gmail.com wrote: Machine name from board description is some generic name on DT kernel. DT provides machine name property which is specific for board, so use it instead generic one when possible. Signed-off-by: Pali Rohár

Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

2014-06-18 Thread Rob Herring
On Wed, Jun 18, 2014 at 2:22 PM, Pali Rohár pali.ro...@gmail.com wrote: On Wednesday 18 June 2014 21:07:35 Rob Herring wrote: On Wed, Jun 18, 2014 at 11:54 AM, Pali Rohár pali.ro...@gmail.com wrote: Machine name from board description is some generic name on DT kernel. DT provides machine

Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

2014-06-18 Thread Rob Herring
On Wed, Jun 18, 2014 at 4:47 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Jun 18, 2014 at 03:46:19PM -0500, Rob Herring wrote: On Wed, Jun 18, 2014 at 2:22 PM, Pali Rohár pali.ro...@gmail.com wrote: Also I still did not know why DT kernel does not report Revision number

Re: [PATCH] of: Check for phys_addr_t overflows in early_init_dt_add_memory_arch

2014-06-19 Thread Rob Herring
On Thu, Jun 19, 2014 at 12:04 AM, Laura Abbott lau...@codeaurora.org wrote: The common early_init_dt_add_memory_arch takes the base and size of a memory region as u64 types. The function never checks if the base and size can actually fit in a phys_addr_t which may be smaller than 64-bits. This

Re: [PATCH] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-19 Thread Rob Herring
On Thu, Jun 19, 2014 at 9:07 AM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x property. Signed-off-by: Gregory CLEMENT

Re: [PATCH] dt/documentation: add specification of dma bus information

2014-06-20 Thread Rob Herring
w.r.t CPU addresses. The dma-coherent property is intended to be used for identifying devices supported coherent DMA operations. Cc: Arnd Bergmann a...@arndb.de Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland

Re: [PATCH v2 04/18] PCI: designware: use untranslated address while programming ATU

2014-06-20 Thread Rob Herring
On Thu, May 29, 2014 at 1:38 AM, Kishon Vijay Abraham I kis...@ti.com wrote: In DRA7, the cpu sees 32bit address, but the pcie controller can see only 28bit address. So whenever the cpu issues a read/write request, the 4 most significant bits are used by L3 to determine the target controller.

Re: [PATCH] dt/documentation: add specification of dma bus information

2014-06-20 Thread Rob Herring
On Fri, Jun 20, 2014 at 2:02 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Friday 20 June 2014 02:56 PM, Arnd Bergmann wrote: On Friday 20 June 2014 13:17:43 Santosh Shilimkar wrote: + dma-coherent; + dma-ranges; + +

Re: [PATCH v2] ARM: mvebu: Fix missing binding documentation for Armada 38x

2014-06-20 Thread Rob Herring
On Fri, Jun 20, 2014 at 1:52 PM, Jason Cooper ja...@lakedaemon.net wrote: On Thu, Jun 19, 2014 at 06:40:43PM +0200, Gregory CLEMENT wrote: For the Armada 380 and Armada 385 SoCs, the common bindings for those 2 SoCs, was forgotten. This patch add the documentation for the marvell,aramda38x

Re: [PATCH v6 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-18 Thread Rob Herring
documentation for the driver. Signed-off-by: Murali Karicheri m-kariche...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com CC: Russell King li...@arm.linux.org.uk CC: Grant Likely grant.lik...@linaro.org CC: Rob Herring robh...@kernel.org CC: Mohit Kumar mohit.ku...@st.com CC: Jingoo

Re: [PATCH v6 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-22 Thread Rob Herring
On Fri, Jul 18, 2014 at 2:50 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 18 July 2014 14:31:39 Rob Herring wrote: + + Example: + pcie_msi_intc: msi-interrupt-controller { + interrupt-controller; + #interrupt-cells = 1

Re: [PATCH v6 4/5] PCI: add PCI controller for keystone PCIe h/w

2014-07-22 Thread Rob Herring
On Mon, Jul 21, 2014 at 11:39 AM, Murali Karicheri m-kariche...@ti.com wrote: On 07/20/2014 09:44 PM, Jingoo Han wrote: On Saturday, July 19, 2014 5:29 AM, Murali Karicheri wrote: On 07/18/2014 03:31 PM, Rob Herring wrote: On Fri, Jul 18, 2014 at 10:14 AM, Murali Karicherim-kariche

Re: [PATCH 0/5] ARM: Centralize the access to the SCU register

2014-06-26 Thread Rob Herring
On Thu, Jun 26, 2014 at 5:43 PM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: Hello, Following the feedback I go on the patch ARM: mvebu: Enable SCU Speculative linefills to L2 for Armada 375/38x : http://thread.gmane.org/gmane.linux.ports.arm.kernel/335961/focus=335993 I take

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-06-26 Thread Rob Herring
Adding Michael Simek... On Thu, Jun 26, 2014 at 3:59 AM, Catalin Marinas catalin.mari...@arm.com wrote: (sorry for replying to a months old thread) On Mon, Apr 07, 2014 at 06:58:24PM +0100, Bjorn Helgaas wrote: On Mon, Apr 7, 2014 at 5:36 AM, Arnd Bergmann a...@arndb.de wrote: I think

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-06-27 Thread Rob Herring
On 06/27/2014 07:49 AM, Will Deacon wrote: On Fri, Jun 27, 2014 at 12:03:34PM +0100, Arnd Bergmann wrote: On Thursday 26 June 2014 19:44:21 Rob Herring wrote: I don't agree arm32 is harder than microblaze. Yes, converting ALL of arm would be, but that is not necessary. With Liviu's latest

Re: [PATCH 1/9 v2] coresight: add CoreSight core layer framework

2014-06-27 Thread Rob Herring
On Fri, Jun 27, 2014 at 1:04 PM, mathieu.poir...@linaro.org wrote: From: Pratik Patel prat...@codeaurora.org CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suite a particular SoCs tracing needs. These trace

Re: [PATCH 2/2] cpufreq: cpu0: Extend support beyond CPU0

2014-06-30 Thread Rob Herring
On Mon, Jun 30, 2014 at 2:57 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 27 June 2014 07:45, Viresh Kumar viresh.ku...@linaro.org wrote: On 27 June 2014 07:23, Mike Turquette mturque...@linaro.org wrote: but it isn't future-proof if/when the clock framework starts returning dynamically

Re: [Patch v7 3/3] usb: dwc3: qcom: Add device tree binding

2014-06-30 Thread Rob Herring
On Mon, Jun 30, 2014 at 11:03 AM, Andy Gross agr...@codeaurora.org wrote: From: Ivan T. Ivanov iiva...@mm-sol.com Please copy the right lists and maintainers. QCOM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration registers. It could

Re: [PATCH v8 7/9] pci: of: Parse and map the IRQ when adding the PCI device.

2014-07-05 Thread Rob Herring
On Wed, Jul 2, 2014 at 6:17 AM, Will Deacon will.dea...@arm.com wrote: On Tue, Jul 01, 2014 at 07:43:32PM +0100, Liviu Dudau wrote: Enhance the default implementation of pcibios_add_device() to parse and map the IRQ of the device if a DT binding is available. Signed-off-by: Liviu Dudau

Re: [PATCH v8 4/9] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-07-05 Thread Rob Herring
On Tue, Jul 1, 2014 at 1:43 PM, Liviu Dudau liviu.du...@arm.com wrote: The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo port

Re: [PATCH v2 REBASED 06/10] serial/arc: remove last remanants of platform data

2014-07-05 Thread Rob Herring
On Tue, Jun 24, 2014 at 11:38 PM, Vineet Gupta vineet.gup...@synopsys.com wrote: On Wednesday 25 June 2014 02:31 AM, Rob Herring wrote: On Tue, Jun 24, 2014 at 3:25 AM, Vineet Gupta vineet.gup...@synopsys.com wrote: Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial

Re: [PATCH v8 0/9] Support for creating generic PCI host bridges from DT

2014-07-06 Thread Rob Herring
On Tue, Jul 1, 2014 at 1:43 PM, Liviu Dudau liviu.du...@arm.com wrote: This is my resurected attempt at adding support for generic PCI host bridge controllers that make use of device tree information to configure themselves. I've tagged it as v8 although the patches have now been reshuffled in

Re: [Patch v7 3/3] usb: dwc3: qcom: Add device tree binding

2014-07-01 Thread Rob Herring
On Tue, Jul 1, 2014 at 1:01 PM, Andy Gross agr...@codeaurora.org wrote: On Tue, Jul 01, 2014 at 12:04:35AM -0500, Rob Herring wrote: snip +- clock-names: Should contain the following: + core Master/Core clock, have to be = 125 MHz for SS

<    5   6   7   8   9   10   11   12   13   14   >