Re: [PATCH v11 0/8] ] DMA Engine support for AM33XX

2013-06-18 Thread Arnd Bergmann
and boot till command prompt over MMC. Unless there are other pending review comments, I hope this series can make it into 3.11 merge window, the dependent series has been posted at [1] and completed review. Tested EDMA on AM1808 EVM and AM33XX Beaglebone with MMC. Acked-by: Arnd Bergmann

Re: [PATCH v10 5/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-17 Thread Arnd Bergmann
On Friday 14 June 2013 21:32:47 Joel A Fernandes wrote: diff --git a/Documentation/devicetree/bindings/dma/ti-edma.txt b/Documentation/devicetree/bindings/dma/ti-edma.txt new file mode 100644 index 000..ada0018 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/ti-edma.txt @@

Re: [PATCH v10 5/8] dmaengine: edma: Add TI EDMA device tree binding

2013-06-17 Thread Arnd Bergmann
On Monday 17 June 2013, Fernandes, Joel A wrote: [Joel] Thanks for the suggestion, I updated it and it looks like this now: Required properties:

Re: [PATCH] serial: omap: repair building without PM_SLEEP

2013-06-03 Thread Arnd Bergmann
On Monday 03 June 2013, Greg Kroah-Hartman wrote: On Sat, Jun 01, 2013 at 11:18:13AM +0200, Arnd Bergmann wrote: A recent bug fix in 3.10, ddd85e225c serial: omap: prevent runtime PM for no_console_suspend, introduced a regression from an obvious typo: I don't see that commit id, or commit

[PATCH] serial: omap: repair building without PM_SLEEP

2013-06-01 Thread Arnd Bergmann
macro to the one that we need instead. Signed-off-by: Arnd Bergmann a...@arndb.de --- Please apply for 3.10-rc diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 393a8eb..1aaeca8 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c

[PATCH] gpio/omap: omap_gpio_init_context stub must be inline

2013-05-31 Thread Arnd Bergmann
) {} ^ The solution is to mark the stub function as 'static inline' so it gets left out of the build when unused. Signed-off-by: Arnd Bergmann a...@arndb.de --- diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index d3f7d2d..e5fba65 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers

Re: [PATCH 06/32] OMAPDSS: DPI: fix regulators for DT

2013-05-30 Thread Arnd Bergmann
On Thursday 30 May 2013, Tomi Valkeinen wrote: On 30/05/13 14:12, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:34 Thu 30 May , Tomi Valkeinen wrote: On some platforms DPI requires a regulator to be enabled to power up the output pins. This regulator is, for some reason, currently

Re: [PATCH 0/5] USB: PHY: Improve PHY selection logic

2013-05-29 Thread Arnd Bergmann
On Wednesday 29 May 2013 14:43:26 Roger Quadros wrote: Improve Kconfig so that the relevant PHY driver can be explicitely selected by the controller driver instead of relying on the user to do so. Detailed description in patch 1. I think you have to fold patches 3-5 into patch 1,

Re: [PATCH 4/4 v2] ARM: OMAP2+: updated ECC scheme attributes for omap2-nand DT

2013-05-17 Thread Arnd Bergmann
On Friday 17 May 2013, Gupta, Pekon wrote: From: Gupta, Pekon pe...@ti.com Updates ECC scheme selection string same to same as used in omap2-driver code. This makes the DT configurations easy to understand and map to actual code. Signed-off-by: Gupta, Pekon pe...@ti.com This moves the

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-08 Thread Arnd Bergmann
On Wednesday 08 May 2013, Peter Chen wrote: This probably could be initialized from some DT property. However, there's no such property defined right now, and considering that DT is supposed to be an ABI, we'd always need the code in this patch as a fallback for DTs that were created

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-08 Thread Arnd Bergmann
On Wednesday 08 May 2013, Rob Herring wrote: On 05/08/2013 02:11 AM, Matthijs Kooijman wrote: https://lkml.org/lkml/2012/12/4/54 And here's the previous attempt, to which Rob Herring refers in a reply. https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-March/013180.html I

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-08 Thread Arnd Bergmann
On Wednesday 08 May 2013, Alan Stern wrote: The first occurence was apparently in 3.3, but only in ehci-tegra.c, while the other drivers subsequently copied the bug. An alternative solution -- perhaps not better but also not relying on coherent_dma_mask -- is to clear pdev-dev.dma_mask in

Re: [GIT PULL] Urgent omap timer fix for current merge window

2013-05-07 Thread Arnd Bergmann
On Tuesday 07 May 2013, Tony Lindgren wrote: The following changes since commit dc2d3db8137fba0f62d7517e1bea8a47f69fcbc4: Merge tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers (2013-04-08 19:30:48 +0200) are

Re: [PATCH] USB: set device dma_mask without reference to global data

2013-05-07 Thread Arnd Bergmann
On Wednesday 08 May 2013, Greg Kroah-Hartman wrote: On Tue, May 07, 2013 at 04:53:52PM -0600, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Suggested-by: Arnd Bergmann a...@arndb.de Signed-off-by: Stephen Warren swar...@nvidia.com So this needs to go in for 3.10, right

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-03 Thread Arnd Bergmann
On Thursday 02 May 2013 17:09:07 Suman Anna wrote: On 04/28/2013 11:07 PM, Jassi Brar wrote: Now, we could either call it (effectively the TI's framework with quirks for STE) as the Common API and then dismantle and convert it patch by patch (authors and I seem to agree many things need to

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-05-03 Thread Arnd Bergmann
On Friday 03 May 2013 15:39:42 Linus Walleij wrote: On Fri, May 3, 2013 at 3:25 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 02 May 2013 17:09:07 Suman Anna wrote: I do not know how much of an impact it is for the ST driver as the series adds the driver, and would have to wait until

Re: Latest build results - errors/warnings - lots of them

2013-05-02 Thread Arnd Bergmann
On Thursday 02 May 2013, Eduardo Valentin wrote: index e3c0ae9..e3f3cba 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -250,12 +250,6 @@ void thermal_unregister_governor(struct thermal_governor *); #ifdef CONFIG_NET extern int thermal_generate_netlink_event(struct

Re: Latest build results - errors/warnings - lots of them

2013-04-30 Thread Arnd Bergmann
On Tuesday 30 April 2013, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of new warnings and errors. arch/arm/common/mcpm_head.S, arch/arm/common/mcpm_platsmp.c, arch/arm/common/vlock.S are the biggest source of errors. Yes,

Re: Latest build results - errors/warnings - lots of them

2013-04-30 Thread Arnd Bergmann
...@linaro.org Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Latest build results - errors/warnings - lots of them

2013-04-30 Thread Arnd Bergmann
On Tuesday 30 April 2013, Russell King - ARM Linux wrote: Latest nightly build of 3.9+my for-next+arm-soc's for-next results in a great load of new warnings and errors. arch/arm/common/mcpm_head.S, arch/arm/common/mcpm_platsmp.c, arch/arm/common/vlock.S are the biggest source of errors.

[PATCH] ARM: OMAP: remove unused variable

2013-04-23 Thread Arnd Bergmann
ARM: OMAP: remove unused variable Commit 0583fe478a7 ARM: convert arm/arm64 arch timer to use CLKSRC_OF init has left the omap5_realtime_timer_init() function with a stale variable and broken whitespace. This fixes both. Signed-off-by: Arnd Bergmann a...@arndb.de --- I've applied

Re: Latest randconfig build errors

2013-04-15 Thread Arnd Bergmann
On Saturday 13 April 2013, Rob Clark wrote: On Mon, Mar 4, 2013 at 1:46 PM, Tony Lindgren t...@atomide.com wrote: drivers/gpu/drm/tilcdc/tilcdc_slave.o:(.data+0x54): multiple definition of `__mod_of_device_table' drivers/gpu/drm/tilcdc/tilcdc_tfp410.o:(.data+0x54): first defined here

Re: [PATCH 3/5] gpio/omap: Add DT support to GPIO driver

2013-04-10 Thread Arnd Bergmann
On Wednesday 10 April 2013 14:29:17 Stephen Warren wrote: If the information is there, whether to convert from IRQ to GPIO or from GPIO to IRQ is a technicality and any order should be feasible in some way? There isn't always a unique 1:1 mapping between GPIOs and IRQs. Put another

Re: [GIT PULL] mailbox driver framework for v3.10 merge window

2013-04-09 Thread Arnd Bergmann
On Thursday 04 April 2013, Anna, Suman wrote: OMAP and ST-Ericsson platforms are both using mailbox to communicate with some coprocessors. This series creates a consolidated framework, living under drivers/mailbox. The changes mainly contain: - create a mailbox framework independent from

Re: [GIT PULL 3/5] omap board changes for v3.10 merge window

2013-04-09 Thread Arnd Bergmann
On Tuesday 09 April 2013, Tony Lindgren wrote: The following changes since commit 31880c37c11e28cb81c70757e38392b42e695dc6: Linux 3.9-rc6 (2013-04-07 20:49:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 1/5] omap pm fixes for v3.10 merge window

2013-04-09 Thread Arnd Bergmann
On Tuesday 09 April 2013, Tony Lindgren wrote: The following changes since commit c309f7f46167e85d1aae2fd31f23e7d2b5cdfbe0: Merge branch 'for_3.10/omap_generic_cleanup_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux into omap-for-v3.10/cleanup-v2 (2013-03-28 14:45:31

Re: [GIT PULL 4/5] omap soc changes for v3.10 merge window

2013-04-09 Thread Arnd Bergmann
On Tuesday 09 April 2013, Tony Lindgren wrote: The following changes since commit 31880c37c11e28cb81c70757e38392b42e695dc6: Linux 3.9-rc6 (2013-04-07 20:49:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 2/5] omap pm clean-up for v3.10 merge window

2013-04-09 Thread Arnd Bergmann
On Tuesday 09 April 2013, Tony Lindgren wrote: The following changes since commit 07961ac7c0ee8b546658717034fe692fd12eefa9: Linux 3.9-rc5 (2013-03-31 15:12:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 1/3] omap non critical fixes for v3.10 merge window

2013-04-08 Thread Arnd Bergmann
: e11f1ec 6fa6183 Author: Arnd Bergmann a...@arndb.de Date: Mon Apr 8 18:07:35 2013 +0200 Merge branch 'next/cleanup' into for-next Conflicts: arch/arm/mach-omap2/cclock44xx_data.c index 0c6834a,b1e77ef..88e37a4 --- a/arch/arm/mach-omap2/cclock44xx_data.c +++ b/arch/arm/mach-omap2

Re: [GIT PULL 1/3] omap usb platform init changes for v3.10 merge window

2013-04-08 Thread Arnd Bergmann
On Thursday 04 April 2013, Tony Lindgren wrote: b05a674d73e4eb314fa1b6c78e37aef1: usb: phy: nop: Add some parameters to platform data (2013-03-18 11:13:54 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 2/3] omap timer changes for v3.10 merge window

2013-04-08 Thread Arnd Bergmann
On Thursday 04 April 2013, Tony Lindgren wrote: Clean-up for omap2+ timers from Jon Hunter jon-hun...@ti.com: This series consists mainly of clean-ups for clockevents and clocksource timers on OMAP2+ devices. The most significant change in functionality comes from the 5th patch which is

Re: [GIT PULL 2/3] omap timer changes for v3.10 merge window

2013-04-08 Thread Arnd Bergmann
On Thursday 04 April 2013, Tony Lindgren wrote: arch/arm/mach-omap2/board-cm-t3517.c | 2 +- arch/arm/mach-omap2/board-generic.c | 2 +- arch/arm/mach-omap2/common.h | 3 +- arch/arm/mach-omap2/timer.c | 124 ++- 4 files changed, 66

Re: [GIT PULL 3/3] omap gpmc changes for v3.10 merge window

2013-04-08 Thread Arnd Bergmann
On Thursday 04 April 2013, Tony Lindgren wrote: GPMC updates from Jon Hunter jon-hun...@ti.com: Adds GPMC (General Purpose Memory Controller) DT support for NOR flash and Ethernet and includes various GPMC cleans-up and fixes. This series is dependent on commit 7185684 (ARM: OMAP: use

Re: [PATCH v5 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-04-03 Thread Arnd Bergmann
On Wednesday 03 April 2013, Felipe Balbi wrote: const ? Maybe provide a: #define DEFINE_PHY_OPS(name)\ const struct phy_ops #name_phy_ops = { macro ? This will force people to add the const keyword :-) Forcing people to use const structures is good, but I think it would be better

Re: [GIT PULL] omap fixes for v3.9-rc4

2013-03-27 Thread Arnd Bergmann
On Wednesday 27 March 2013, Tony Lindgren wrote: The following changes since commit a937536b868b8369b98967929045f1df54234323: Linux 3.9-rc3 (2013-03-17 15:59:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [PATCH] ARM: convert arm/arm64 arch timer to use CLKSRC_OF init

2013-03-26 Thread Arnd Bergmann
On Monday 25 March 2013, John Stultz wrote: On 03/25/2013 03:36 PM, Arnd Bergmann wrote: On Monday 25 March 2013, Rob Herring wrote: I count integrator-cp, realview, versatile and non-DT VExpress that do this (not surprisingly) and 25 platforms or timer implementations plus arm64 that do

Re: [PATCH] ARM: convert arm/arm64 arch timer to use CLKSRC_OF init

2013-03-25 Thread Arnd Bergmann
On Monday 25 March 2013, Rob Herring wrote: I count integrator-cp, realview, versatile and non-DT VExpress that do this (not surprisingly) and 25 platforms or timer implementations plus arm64 that do sched_clock setup in time_init. What's broken by not moving these earlier? timekeeping_init()

Re: [PATCH 00/10] usb: phy: cleanups to Kconfig and directories

2013-03-08 Thread Arnd Bergmann
On Friday 08 March 2013, Stephen Warren wrote: Yes, I think it should instead work like: ARCH_TEGRA* selects nothing in particular related to USB. The Tegra EHCI controller Kconfig depends on ARCH_TEGRA so it doesn't show up for other builds. Yes, that's fine. I hope it's OK for the

Re: [PATCH 00/10] usb: phy: cleanups to Kconfig and directories

2013-03-08 Thread Arnd Bergmann
On Friday 08 March 2013, Stephen Warren wrote: config USB_ULPI_VIEWPORT def_bool y depends on USB_EHCI_TEGRA If USB_ULPI_VIEWPORT has any other dependencies, the best solution in the above scenario is to make USB_EHCI_TEGRA depend on those. USB_ULPI_VIEWPORT is, AFAIK,

Re: [PATCH 5/9] ARM: omap1: add back missing includes

2013-03-06 Thread Arnd Bergmann
On Wednesday 06 March 2013, Tony Lindgren wrote: * Arnd Bergmann a...@arndb.de [130305 14:31]: On Tuesday 05 March 2013, Arnd Bergmann wrote: The recent reorganization of OMAP header files caused a couple of files that used to be implicitly included now missing from OMAP1. This adds

Re: [PATCH v2 0/3] omap_hsmmc DT DMA Client support

2013-03-05 Thread Arnd Bergmann
seems stale, but the patches all look good to me. I guess they can now get merged in any order. Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH 0/9] fixes for ARM build regressions in 3.9-rc1

2013-03-05 Thread Arnd Bergmann
directly to the arm-soc tree with an Ack or do a round-trip through the platform maintainer tree. I think Tony already has some of the OMAP1 fixes, so we should try not to duplicate them. Arnd Arnd Bergmann (9): clk: vt8500: Fix fix device clock divisor calculations Revert parts of hlist

[PATCH 5/9] ARM: omap1: add back missing includes

2013-03-05 Thread Arnd Bergmann
The recent reorganization of OMAP header files caused a couple of files that used to be implicitly included now missing from OMAP1. This adds explicit inclusions of mach/irqs.h and mach/hardware.h in all files that need them for an OMAP1 allyesconfig build. Signed-off-by: Arnd Bergmann

Re: [PATCH 5/9] ARM: omap1: add back missing includes

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Arnd Bergmann wrote: The recent reorganization of OMAP header files caused a couple of files that used to be implicitly included now missing from OMAP1. This adds explicit inclusions of mach/irqs.h and mach/hardware.h in all files that need them for an OMAP1

Re: [GIT PULL] omap fixes for v3.9-rc1

2013-03-05 Thread Arnd Bergmann
On Tuesday 05 March 2013, Tony Lindgren wrote: The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [PATCH] ARM: OMAP1: Fix build related to kgdb.h no longer including serial_8250.h

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Tony Lindgren wrote: Arnd Olof, can you please apply this to your non-critical fixes or some other branch that gets merged early on during the merge window? I'll apply this into omap-for-v3.9-rc1/fixes. I totally missed this one from you, and I have a couple

Re: Latest randconfig build errors

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Russell King - ARM Linux wrote: Versatile randconfig: ERROR: irq_domain_add_simple [drivers/gpio/gpio-em.ko] undefined! I'm pretty sure I submitted a patch for this one before. I'll go looking for it. IIRC the solution was to export that symbol. Arnd -- To

Re: crypto: omap-sham, omap-aes and dma_request_slave_channel_compat()

2013-02-27 Thread Arnd Bergmann
however. This version incorporates feedback from Viresh Kumar, Andy Shevchenko and Russell King. Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Viresh Kumar viresh.ku...@linaro.org Acked-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Vinod Koul vinod.k...@linux.intel.com Cc

Re: [PATCH v2 0/5] Generic PHY Framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without

Re: [PATCH v2 0/5] Generic PHY Framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, kishon wrote: On Tuesday 19 February 2013 04:14 PM, Arnd Bergmann wrote: On Tuesday 19 February 2013, Kishon Vijay Abraham I wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY

Re: [PATCH v2 1/5] drivers: phy: add generic PHY framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, Kishon Vijay Abraham I wrote: +static struct class *phy_class; +static LIST_HEAD(phy_list); +static DEFINE_MUTEX(phy_list_mutex); +static LIST_HEAD(phy_bind_list); Hmm, so you actually do have a 'class'. There is a GregKH mandated ban on new classes, meaning that

Re: [PATCH v2 1/5] drivers: phy: add generic PHY framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, kishon wrote: + + devname = dev_name(dev); + device_initialize(phy-dev); + phy-desc = desc; + phy-dev.class = phy_class; + phy-dev.parent = dev; + phy-dev.bus = desc-bus; + ret = dev_set_name(phy-dev, %s, devname); Passing a bus_type

Re: [PATCH v2 0/5] Generic PHY Framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, Felipe Balbi wrote: On Tue, Feb 19, 2013 at 12:33:54PM +, Arnd Bergmann wrote: Currently drivers/phy and drivers/net/phy are independent and are not related to each other. There are some fundamental differences on how these frameworks work. IIUC

Re: [PATCH v2 0/5] Generic PHY Framework

2013-02-19 Thread Arnd Bergmann
On Tuesday 19 February 2013, Felipe Balbi wrote: On Tue, Feb 19, 2013 at 02:34:40PM +, Arnd Bergmann wrote: On Tuesday 19 February 2013, Felipe Balbi wrote: On Tue, Feb 19, 2013 at 12:33:54PM +, Arnd Bergmann wrote: It's a fine line, but I think a phy is something that resembles

Re: [GIT PULL] reworked omap usb pdata changes for v3.9 merge window

2013-02-19 Thread Arnd Bergmann
On Friday 15 February 2013, Tony Lindgren wrote: Hi Arnd Olof, Roger Quadros reworked the OMAP USB patches that were causing a conflict in Linux next and we requested to be dropped from Linux next and reworked to remove the dependencies between core SoC code and the driver code. Below

Re: Build error: OMAP randconfig / mvebu

2013-02-14 Thread Arnd Bergmann
On Thursday 14 February 2013, Ezequiel Garcia wrote: On Thu, Feb 14, 2013 at 10:09:26AM +, Russell King - ARM Linux wrote: On Fri, Feb 08, 2013 at 02:33:29PM +0100, Arnd Bergmann wrote: On Friday 08 February 2013 12:06:44 Gregory CLEMENT wrote: I don't know what to do here

Re: Build error: OMAP randconfig / mvebu

2013-02-14 Thread Arnd Bergmann
On Thursday 14 February 2013, Ezequiel Garcia wrote: On Thu, Feb 14, 2013 at 11:08:03AM +, Russell King - ARM Linux wrote: It's all publically available via my website. I'm kind of new around here, and I have no clue where that may be. I hope you don't mind helping me this time.

Re: Build error: OMAP randconfig / mvebu

2013-02-14 Thread Arnd Bergmann
below, I could add that straight to the branch that caused the problem if it looks ok to you. Arnd From 0860b5b4558ad777068826bc9a735b82f3cf0d88 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann a...@arndb.de Date: Thu, 14 Feb 2013 13:14:53 +0100 Subject: [PATCH] ARM: mvebu: allow selecting

Re: Build error: OMAP randconfig / mvebu

2013-02-08 Thread Arnd Bergmann
On Friday 08 February 2013 10:08:13 Russell King - ARM Linux wrote: Last night's OMAP4430SDP randconfig build failed with: arch/arm/mach-mvebu/built-in.o: In function `armada_xp_smp_init_cpus': hotplug.c:(.init.text+0x70): undefined reference to `coherency_get_cpu_count'

Re: Build error: OMAP randconfig / mvebu

2013-02-08 Thread Arnd Bergmann
are selected. The latter does not work, because that would introduce a circular dependency in Kconfig. I suppose rearranging the mvebu Makefile like this would do. Signed-off-by: Arnd Bergmann a...@arndb.de diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile index 99df4df

Re: [PATCH 0/2] ARM: dts: Add DT bindings for OMAP SDMA

2013-02-07 Thread Arnd Bergmann
On Thursday 07 February 2013 14:18:05 Peter Ujfalusi wrote: I looked briefly around in the mentioned code and I wonder how this is going to work with audio (ASoC). When we boot with DT it looks like we are _not_ creating the DMA resources for the device as it is done for the IRQ and IO/MEM. So

Re: [PATCH 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

2013-02-07 Thread Arnd Bergmann
On Wednesday 06 February 2013, Jon Hunter wrote: +static struct of_dma_filter_info info; Both members of this structure are constant, so you can just initialize it here, and it would be nice to give it a more descriptive name, such as omap_dmadev_info. static struct platform_driver

Re: [PATCH 1/2] ARM: dts: OMAP2+: Add SDMA controller bindings and nodes

2013-02-07 Thread Arnd Bergmann
is not populated. Signed-off-by: Jon Hunter jon-hun...@ti.com Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2] dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver

2013-02-07 Thread Arnd Bergmann
On Thursday 07 February 2013 09:51:11 Jon Hunter wrote: @@ -673,7 +702,7 @@ static int omap_dma_init(void) { int rc = platform_driver_register(omap_dma_driver); -if (rc == 0) { +if ((rc == 0) (!of_have_populated_dt())) { pdev =

Re: [PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-06 Thread Arnd Bergmann
/linux/tree/omap-hsmmc-dt-dmaengine-v1 Nice series, Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH, RFC] default machine descriptor for multiplatform

2013-02-05 Thread Arnd Bergmann
On Tuesday 05 February 2013, Rob Herring wrote: + if (IS_ENABLED(CONFIG_ARCH_MULTIPLATFORM)) { + DT_MACHINE_START(GENERIC_DT, Generic DT based system) + MACHINE_END I assume this works, but it looks a bit strange declared here. Yes, I was wondering whether it should be global instead,

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-05 Thread Arnd Bergmann
On Tuesday 05 February 2013, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [130204 07:46]: Current DMA abstraction is quite poor, for example there's no way to compile support for multiple DMA engines. Code also makes certain, IMO unnecessary, assumptions about the underlying DMA

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-04 Thread Arnd Bergmann
On Saturday 02 February 2013 04:07:59 Sergei Shtylyov wrote: On 02-02-2013 1:30, Russell King - ARM Linux wrote: because it doesn't make sense to support multiple DMA APIs. We can check from MUSB's registers if it was configured with Inventra DMA support and based on that we can register

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-04 Thread Arnd Bergmann
On Monday 04 February 2013, Linus Walleij wrote: So I think the above concerns are moot. The callback we can set on cookies is entirely optional, and it's even implemented by each DMA engine, and some may not even support it but require polling, and then it won't even be implemented by the

Re: [PATCH, RFC] default machine descriptor for multiplatform

2013-02-01 Thread Arnd Bergmann
On Friday 01 February 2013, Santosh Shilimkar wrote: This is indeed a nice update towards consolidation. Though on OMAP, we need to do some work to effectively get rid of machine, time and irq inits. Will add this task in my TODO queue. There is no urgent need to get all board files to have

Re: [PATCH] ARM: OMAP2+: Get rid of custom OMAP_32K_TIMER_HZ

2013-01-31 Thread Arnd Bergmann
/2013/1/29/435 Special thanks to John Stulz, Arnd Bergmann and Russell King for their valuable suggestions. Cc: Arnd Bergmann a...@arndb.de Cc: Russell King li...@arm.linux.org.uk Cc: John Stultz john.stu...@linaro.org Cc: Tony Lindgren t...@atomide.com Acked-by: Arnd Bergmann a...@arndb.de

Re: Failure to boot...

2013-01-31 Thread Arnd Bergmann
On Thursday 31 January 2013 16:18:23 Russell King - ARM Linux wrote: On Thu, Jan 31, 2013 at 02:01:14PM -0200, Fabio Estevam wrote: On Thu, Jan 31, 2013 at 12:27 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: too. It also looks like Versatile Express support _can't_ be

[PATCH, RFC] default machine descriptor for multiplatform

2013-01-31 Thread Arnd Bergmann
to customize_machine to probe all the default devices. For the case that CONFIG_MULTIPLATFORM is enabled, it then adds a machine descriptor that never matches any machine but is used as a fallback if nothing else matches. Signed-off-by: Arnd Bergmann a...@arndb.de diff --git a/arch/arm/Kconfig b/arch/arm

Re: [PATCH, RFC] default machine descriptor for multiplatform

2013-01-31 Thread Arnd Bergmann
On Thursday 31 January 2013, Stephen Warren wrote: With that change, we can remove the custom .init_machine() functions for all of Tegra, since they just do that:-) Yes, actually quite a lot of them have the same code, and we also have an increasing number of users of the irqchip_init and

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-31 Thread Arnd Bergmann
On Thursday 31 January 2013, Matt Porter wrote: On Wed, Jan 30, 2013 at 09:32:58AM +, Arnd Bergmann wrote: On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); + of_dma_controller_register(dev-of_node

Re: [PATCH v6 09/10] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-30 Thread Arnd Bergmann
On Wednesday 30 January 2013, Matt Porter wrote: +Optional properties: +- dmas: List of DMA controller phandle and DMA request ordered + pairs. One tx and one rx pair is required for each chip + select. The binding looks ok, but the wording is slightly incorrect here: strictly

Re: [PATCH v6 07/10] dmaengine: add dma_request_slave_channel_compat()

2013-01-30 Thread Arnd Bergmann
...@atomide.com Acked-by: Arnd Bergmann a...@arndb.de @@ -1001,6 +1001,22 @@ void dma_run_dependencies(struct dma_async_tx_descriptor *tx); struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type); struct dma_chan *net_dma_find_channel(void); #define dma_request_channel(mask, x, y

Re: [PATCH v6 03/10] ARM: edma: add AM33XX support to the private EDMA API

2013-01-30 Thread Arnd Bergmann
On Wednesday 30 January 2013, Matt Porter wrote: + dma_cap_set(DMA_SLAVE, edma_filter_info.dma_cap); + of_dma_controller_register(dev-of_node, + of_dma_simple_xlate, +

Re: [PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-28 Thread Arnd Bergmann
On Monday 28 January 2013, Andy Shevchenko wrote: On Tue, Jan 15, 2013 at 10:32 PM, Matt Porter mpor...@ti.com wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is

Re: [PATCH v5 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-23 Thread Arnd Bergmann
On Tuesday 15 January 2013, Matt Porter wrote: Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made.

Re: [RFC PATCH 1/7] drivers: usb: phy: add a new driver for usb part of control module

2013-01-15 Thread Arnd Bergmann
On Tuesday 15 January 2013, Kishon Vijay Abraham I wrote: +OMAP CONTROL USB + +Required properties: + - compatible: Should be ti,omap-control-usb + - reg : Address and length of the register set for the device. It contains + the address of control_dev_conf and otghs_control. + -

Re: [RFC PATCH 1/7] drivers: usb: phy: add a new driver for usb part of control module

2013-01-15 Thread Arnd Bergmann
On Tuesday 15 January 2013, kishon wrote: Good point :-). Currently, none of the OMAP platforms have multiple control modules and it doesn't seem to be in the future (AFAIK). While it might be simpler to support multiple control devices with phandle, it might face the same complications as

Re: [PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-11 Thread Arnd Bergmann
On Friday 11 January 2013, Matt Porter wrote: The approach taken is similar to how OMAP DMA is being converted to DMA Engine support. With the functional EDMA private API already existing in mach-davinci/dma.c, we first move that to an ARM common area so it can be shared. Adding DT and runtime

Re: [PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-11 Thread Arnd Bergmann
On Friday 11 January 2013, Matt Porter wrote: We have tightly coupled the link-time dependency for omap_dma_filter_fn by going down the path of using dma_request_slave_channel_compat() as Tony suggested to avoid extra ifdefry. That dependency will go away naturally if all the legacy OMAP

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Arnd Bergmann
On Tuesday 08 January 2013, Lee Jones wrote: If there is not, there is no way to automatically load the overlays; you can always use the kernel command line, or have the a user space application to request the loading of a specific board's overlay. Unfortunately, there is no way to

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-08 Thread Arnd Bergmann
On Tuesday 08 January 2013, Pantelis Antoniou wrote: On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: On Tuesday 08 January 2013, Lee Jones wrote: If there is not, there is no way to automatically load the overlays; you can always use the kernel command line, or have the a user space

Re: Build failure with DMA_OMAP=m and a caller built-in

2013-01-08 Thread Arnd Bergmann
On Monday 07 January 2013, Russell King - ARM Linux wrote: The problem we have is that the way peripheral devices are connected to their DMA engines can involve additional complexity, which if not handled correctly results in some platforms being crippled by the API. I think Vinod was

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Arnd Bergmann
(Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) On Monday 07 January 2013, Tony Lindgren wrote: At the end of the line, some kind of hardware glue is going to be needed. I just feel that drawing from a sample size of 1 (maybe 2 if I get to throw in the beagleboard), it is a bit

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-16 Thread Arnd Bergmann
of narrowing double word read with __get_user_xb() (Russell King's suggestion) v3: explain in comment about why this works for narrowing fetch to 1, 2, or 4 byte type on ARM. Signed-off-by: Rob Clark r...@ti.com Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-15 Thread Arnd Bergmann
On Tuesday 13 November 2012, Russell King - ARM Linux wrote: You're missing something; that is one of the greatest powers of open source. The many eyes (and minds) effect. Someone out there probably has a solution to whatever problem, the trick is to find that person. :) I think we have a

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-15 Thread Arnd Bergmann
On Thursday 15 November 2012, Rob Clark wrote: On Thu, Nov 15, 2012 at 3:19 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 13 November 2012, Russell King - ARM Linux wrote: You're missing something; that is one of the greatest powers of open source. The many eyes (and minds) effect

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-15 Thread Arnd Bergmann
On Thursday 15 November 2012, Rob Clark wrote: I still haven't heard a conclusive argument why we need to use get_user() rather than copy_from_user() in the DRM code. Is this about a fast path where you want to shave off a few cycles for each call, or does this simplify the code structure,

Re: [GIT PULL 1/6] omap cleanup fixes for v3.8 merge window

2012-11-15 Thread Arnd Bergmann
On Tuesday 13 November 2012, Tony Lindgren wrote: The following changes since commit edf8dde393f879fc2d8c22d4bc01ff8d37b80e1a: Merge branch 'linus' into omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3 (2012-11-09 14:58:01 -0800) are available in the git repository at:

Re: [GIT PULL 1/5] omap non critical fixes for v3.8 merge window

2012-11-15 Thread Arnd Bergmann
On Thursday 15 November 2012, Tony Lindgren wrote: The following changes since commit 3d70f8c617a436c7146ecb81df2265b4626dfe89: Linux 3.7-rc4 (2012-11-04 11:07:39 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 3/6] omap device tree updates for v3.8 merge window

2012-11-15 Thread Arnd Bergmann
On Tuesday 13 November 2012, Tony Lindgren wrote: The following changes since commit edf8dde393f879fc2d8c22d4bc01ff8d37b80e1a: Merge branch 'linus' into omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3 (2012-11-09 14:58:01 -0800) are available in the git repository at:

Re: [PATCH] ARM: add get_user() support for 8 byte types

2012-11-13 Thread Arnd Bergmann
On Tuesday 13 November 2012, Rob Clark wrote: right, that is what I was worried about.. but what about something along the lines of: case 8: { \ if (sizeof(x) 8) \

Re: [GIT PULL] musb regression fixes for v3.7-rc4

2012-11-12 Thread Arnd Bergmann
On Friday 09 November 2012, Tony Lindgren wrote: This series fixes an annoying regression to make MUSB working on omap4 again. Although it's getting rather late for these changes for the -rc cycle, it is important as many devices are using MUSB for charging and connectivity. With the USB

Re: [GIT PULL 1/1] omap fixes for v3.7-rc4

2012-11-12 Thread Arnd Bergmann
On Wednesday 07 November 2012, Tony Lindgren wrote: The following changes since commit 3d70f8c617a436c7146ecb81df2265b4626dfe89: Linux 3.7-rc4 (2012-11-04 11:07:39 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL 1/1] omap plat header removal for v3.8 merge window, part4

2012-11-12 Thread Arnd Bergmann
On Wednesday 07 November 2012, Tony Lindgren wrote: The following changes since commit a0212796b58061a9716178d261f318925c246643: Merge tag 'omap-cleanup-fixes-a-for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.8/cleanup-headers (2012-10-26

Re: [GIT PULL] omap plat header removal for v3.8 merge window, part1

2012-10-27 Thread Arnd Bergmann
On Friday 26 October 2012, Tony Lindgren wrote: Here's a patch for that. It's against what I have queued up in omap-for-v3.8/cleanup-headers. Does that look OK to you? Hi Tony, thanks for the quick follow-up. Using the absolute #include statements again looks good, but now there is another

<    1   2   3   4   5   6   7   8   >