[GIT PULL] arm-soc fixes for 3.9-rc6

2013-04-11 Thread Arnd Bergmann
Arnd Bergmann (4): Merge tag 'mxs-fixes-3.9-4' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes Merge tag 'imx-fixes-3.9-5' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes Merge tag 'samsung-fixes

Re: [PATCH 18/30] ASoC: samsung: move plat/ headers to local directory

2013-04-11 Thread Arnd Bergmann
On Thursday 11 April 2013, Mark Brown wrote: On Thu, Apr 11, 2013 at 02:05:00AM +0200, Arnd Bergmann wrote: The plat/iis.h and plat/ac97.h files in the samsung platform are only needed by the ASoC drivers, so they can be moved into the same directory, as one more step towards

[PATCH v2] spi: s3c64xx: move to generic dmaengine API

2013-04-11 Thread Arnd Bergmann
dmaengine interface. An earlier version of this patch was tested successfully on exynos5250 by Padma Venkat. The conversion was rather mechanical, since the samsung interface is just a shallow wrapper around the dmaengine interface. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: spi-devel-gene

[PATCH v3] usb: exynos: do not include plat/usb-phy.h

2013-04-11 Thread Arnd Bergmann
The definitions have moved to include/linux/usb/samsung-usb-phy.h, and plat/usb-phy.h is unavailable from drivers in a multiplatform configuration. Also fix up the plat/usb-phy.h header file to use the definitions from the new header instead of providing a separate copy. Signed-off-by: Arnd

Re: [PATCH] MFD: ab8500: pass AB8500 IRQ to debugfs code by resource

2013-04-12 Thread Arnd Bergmann
On Friday 12 April 2013, Linus Walleij wrote: I think this won't work because the interrupts in ab8500_debug_resources are now local numbers relative to the ab8500-domain irq_domain, while IRQ_DB8500_AB8500 is an global interrupt number. Actually, well, this one IRQ (the one I start to

Re: [PATCH] MFD: ab8500: pass AB8500 IRQ to debugfs code by resource

2013-04-12 Thread Arnd Bergmann
On Friday 12 April 2013, Linus Walleij wrote: On Fri, Apr 12, 2013 at 10:08 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 12 April 2013, Linus Walleij wrote: Actually, well, this one IRQ (the one I start to pass) is already domain-mapped to the global IRQ numberspace, so that one

[PATCH] usb: ehci: mark unlink_empty_async_suspended() as __maybe_unused

2013-03-28 Thread Arnd Bergmann
when it is not needed. Signed-off-by: Arnd Bergmann a...@arndb.de --- diff --git a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c index 7562d76..d34b399 100644 --- a/drivers/usb/host/ehci-q.c +++ b/drivers/usb/host/ehci-q.c @@ -1293,9 +1293,8 @@ static void unlink_empty_async(struct ehci_hcd

Re: [PATCH] usb: ehci: mark unlink_empty_async_suspended() as __maybe_unused

2013-03-28 Thread Arnd Bergmann
On Thursday 28 March 2013, Arnd Bergmann wrote: Patch 4d053fdac3 usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM tried to hide the unlink_empty_async_suspended function inside of an #ifdef to work around an unused function warning. Hi Greg, Apparently the warning is now

[PATCH v3 2/7] USB: EHCI: make ehci-spear a separate driver

2013-03-28 Thread Arnd Bergmann
Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Viresh Kumar viresh.li...@gmail.com Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Shiraz Hashim shiraz.has...@st.com Cc: linux-...@vger.kernel.org Cc: spear-de...@list.st.com

[PATCH v3 7/7] USB: OHCI: avoid conflicting platform drivers

2013-03-28 Thread Arnd Bergmann
code size and cleanliness after this patch, not for correctness. While we're here, this fixes the incorrectly sorted error path for the OMAP1 and OMAP3 backends to ensure we always unregister the exact set of drivers that were registered before erroring out. Signed-off-by: Arnd Bergmann

[PATCH v3 0/7] USB EHCI multiplatform series again

2013-03-28 Thread Arnd Bergmann
, or if we should drop them for now and let you pick them up when you get around to adding multiplatform support for your SoCs. The at91 patch requires USB: EHCI: export ehci_shutdown, which will also be needed for the upcoming Tegra patch. Arnd Arnd Bergmann (2): USB: EHCI: export

[PATCH v3 5/7] USB: EHCI: make ehci-atmel a separate driver

2013-03-28 Thread Arnd Bergmann
: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig | 8 drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-atmel.c | 85 --- drivers/usb/host/ehci-hcd.c | 6

[PATCH v3 4/7] USB: EHCI: export ehci_shutdown

2013-03-28 Thread Arnd Bergmann
The ehci_shutdown function is used by the platform specific ehci backends for at91, tegra and ps3. In order to turn any of these into separate modules, we need to make this function globally visible and export it. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Greg KH g...@kroah.com Cc: Alan

[PATCH v3 3/7] USB: EHCI: make ehci-s5p a separate driver

2013-03-28 Thread Arnd Bergmann
: Kyungmin Park kyungmin.p...@samsung.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: linux-...@vger.kernel.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig| 5 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci

[PATCH v3 1/7] USB: EHCI: make ehci-orion a separate driver

2013-03-28 Thread Arnd Bergmann
Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Jason Cooper ja...@lakedaemon.net Tested-by: Andrew Lunn and...@lunn.ch Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Russell King li...@arm.linux.org.uk Cc: linux-arm-ker

[PATCH v3 6/7] USB: EHCI: make ehci-msm a separate driver

2013-03-28 Thread Arnd Bergmann
.com Cc: Bryan Huntsman bry...@codeaurora.org Cc: Brian Swetland swetl...@google.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig| 2 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hcd.c | 6

Re: [PATCH v2] irqchip: Add support for ARMv7-M's NVIC

2013-03-28 Thread Arnd Bergmann
On Monday 18 March 2013, Uwe Kleine-König wrote: +static int __init nvic_init_bases(struct device_node *node, + void __iomem *nvic_base) +{ There is probably no point to keep this function separate from nvic_of_init any more, unless you plan to mke it globally

Re: Generic syscall ABI support

2013-03-29 Thread Arnd Bergmann
On Friday 29 March 2013, Ley Foon Tan wrote: Thanks for the suggestion. Too bad we don't have in-house expert in klibc and musl port. Hi HPA, I knew you are the developer of klibc. Do you have any documentation to port a new architecture and also how to replace glibc with klibc in

Re: [PATCH v3 1/7] USB: EHCI: make ehci-orion a separate driver

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: I don't know about this last phrase. When someone is running make menuconfig, for example, what shows up is the symbol's description, not the symbol's name. That person would see EHCI support for Marvell on-chip controller, not USB_EHCI_MV. In

Re: [PATCH v3 2/7] USB: EHCI: make ehci-spear a separate driver

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: On Thu, 28 Mar 2013, Arnd Bergmann wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the SPEAr host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling

Re: [PATCH v3 3/7] USB: EHCI: make ehci-s5p a separate driver

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: On Thu, 28 Mar 2013, Arnd Bergmann wrote: Personally, I would have left these two functions the way they were and relied on the compiler to inline them when appropriate. Eliminating them just makes the code more complicated. Yes, makes sense

Re: [PATCH v3 5/7] USB: EHCI: make ehci-atmel a separate driver

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: While not absolutely necessary, it would be nice to have the #include files in alphabetical order. + +#include ehci.h + +#define DRIVER_DESC EHCI atmel driver atmel should have a capital 'A'. Ok, added these changes for v4 along with

Re: [PATCH v3 6/7] USB: EHCI: make ehci-msm a separate driver

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: On Thu, 28 Mar 2013, Arnd Bergmann wrote: This patch is good. However the ehci-msm driver itself is not. While checking through the code, I was struck by the fact that it never calls usb_add_hcd() or usb_remove_hcd(). Obviously the driver cannot

Re: [PATCH v3 7/7] USB: OHCI: avoid conflicting platform drivers

2013-03-30 Thread Arnd Bergmann
On Friday 29 March 2013, Alan Stern wrote: I have not checked the details of all the changes; however, the basic idea is okay as a stop-gap measure. Ok, thanks. I guess this means the onus is now on me to split up ohci-hcd into a central library and separate bus drivers, like ehci-hcd...

[PATCH v4 1/6] USB: EHCI: make ehci-orion a separate driver

2013-03-30 Thread Arnd Bergmann
ehci_orion_overrides is removed. In V2: Tegra patch related changes removed from this patch. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Jason Cooper ja...@lakedaemon.net Tested-by: Andrew Lunn and...@lunn.ch Cc: Greg KH g...@kroah.com Cc

[PATCH v4 5/6] USB: EHCI: make ehci-msm a separate driver

2013-03-30 Thread Arnd Bergmann
.com Cc: Bryan Huntsman bry...@codeaurora.org Cc: Brian Swetland swetl...@google.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig| 2 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hcd.c | 6

[PATCH v4 3/6] USB: EHCI: make ehci-s5p a separate driver

2013-03-30 Thread Arnd Bergmann
: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Kukjin Kim kgene@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: linux-...@vger.kernel.org Signed-off-by: Arnd Bergmann

[PATCH v4 2/6] USB: EHCI: make ehci-spear a separate driver

2013-03-30 Thread Arnd Bergmann
. - to_spear_ehci() macro modified for spear_ehci. In V2: - Replaced spear as SPEAr everywhere, leaving functions/variables/config options. Signed-off-by: Deepak Saxena dsax...@linaro.org Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de

[PATCH v4 4/6] USB: EHCI: make ehci-atmel a separate driver

2013-03-30 Thread Arnd Bergmann
Victor li...@maxim.org.za Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig | 8 drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci

[PATCH v4 0/6] USB EHCI multiplatform conversion

2013-03-30 Thread Arnd Bergmann
Hi Alan, This is a quick update to v3, addressing all issues you pointed in yesterday's review. Thanks for taking a thorough look on short notice on a public holiday! Arnd Arnd Bergmann (1): USB: OHCI: avoid conflicting platform drivers Manjunath Goudar (5): USB: EHCI: make ehci

[PATCH v4 6/6] USB: OHCI: avoid conflicting platform drivers

2013-03-30 Thread Arnd Bergmann
code size and cleanliness after this patch, not for correctness. While we're here, this fixes the incorrectly sorted error path for the OMAP1 and OMAP3 backends to ensure we always unregister the exact set of drivers that were registered before erroring out. Signed-off-by: Arnd Bergmann

Re: [PATCH v3 2/7] USB: EHCI: make ehci-spear a separate driver

2013-03-31 Thread Arnd Bergmann
On Saturday 30 March 2013, Arnd Bergmann wrote: In V3: -Detailed commit message added here about why this patch is required. -Eliminated ehci_spear_setup routine beacuse hcd registers directly setting in spear_ehci_hcd_drv_probe function. Fix the grammar, please. Done. I

[GIT PULL] arm-soc fixes for 3.9-rc5

2013-04-02 Thread Arnd Bergmann
orion5x.dtsi gpio parameters arm: orion5x: correct IRQ used in dtsi for mv_cesa Arnd Bergmann (8): Merge tag 'msm-fix-3.9' of git://git.kernel.org/.../davidb/linux-msm into fixes Merge tag 'renesas-fbdev-fixes-for-v3.9' of git://git.kernel.org/.../horms/renesas into fixes Merge

[PATCH V5 3/6] USB: EHCI: make ehci-s5p a separate driver

2013-04-02 Thread Arnd Bergmann
jg1@samsung.com Acked-by: Alan Stern st...@rowland.harvard.edu Cc: Kukjin Kim kgene@samsung.com Cc: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig| 5 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hcd.c

[PATCH V5 5/6] USB: EHCI: make ehci-msm a separate driver

2013-04-02 Thread Arnd Bergmann
-by: David Brown dav...@codeaurora.org Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig| 2 +- drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hcd.c | 6 +-- drivers/usb/host/ehci-msm.c | 89 + 4 files changed, 44

[PATCH V5 6/6] USB: OHCI: avoid conflicting platform drivers

2013-04-02 Thread Arnd Bergmann
code size and cleanliness after this patch, not for correctness. While we're here, this fixes the incorrectly sorted error path for the OMAP1 and OMAP3 backends to ensure we always unregister the exact set of drivers that were registered before erroring out. Signed-off-by: Arnd Bergmann

[PATCH V5 0/6] USB: EHCI multiplatform for 3.10

2013-04-02 Thread Arnd Bergmann
was incomplete. Arnd Arnd Bergmann (1): USB: OHCI: avoid conflicting platform drivers Manjunath Goudar (5): USB: EHCI: make ehci-orion a separate driver USB: EHCI: make ehci-spear a separate driver USB: EHCI: make ehci-s5p a separate driver USB: EHCI: make ehci-atmel a separate driver

[PATCH V5 2/6] USB: EHCI: make ehci-spear a separate driver

2013-04-02 Thread Arnd Bergmann
. - to_spear_ehci() macro modified for spear_ehci. In V2: - Replaced spear as SPEAr everywhere, leaving functions/variables/config options. Signed-off-by: Deepak Saxena dsax...@linaro.org Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de

[PATCH V5 1/6] USB: EHCI: make ehci-orion a separate driver

2013-04-02 Thread Arnd Bergmann
of ehci_orion_overrides because ehci_orion_overrides is removed. In V2: - Tegra patch related changes removed from this patch. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Jason Cooper ja...@lakedaemon.net Tested-by: Andrew Lunn

[PATCH V5 4/6] USB: EHCI: make ehci-atmel a separate driver

2013-04-02 Thread Arnd Bergmann
nicolas.fe...@atmel.com Cc: Andrew Victor li...@maxim.org.za Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Signed-off-by: Arnd Bergmann a...@arndb.de --- drivers/usb/host/Kconfig | 8 drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-atmel.c | 88

Re: [PATCH 1/2] dmaengine: mpc512x_dma: use generic DMA DT bindings

2013-04-02 Thread Arnd Bergmann
On Tuesday 02 April 2013, Vinod Koul wrote: On Sun, Mar 31, 2013 at 06:17:59PM +0200, Anatolij Gustschin wrote: Add generic DMA bindings and register the DMA controller to DT DMA helpers. I need someone who understands DT better than me to comment/ack... Arnd...? +struct

Re: [GIT PULL] at91: soc for 3.10 #2

2013-04-03 Thread Arnd Bergmann
On Wednesday 03 April 2013, Nicolas Ferre wrote: Also, USE_OF isn't set at that point (it's controlled by the next section), so it can't be used as a replacement. Also, isn't it a bit backwards in the first place to first set ATAGS vs no-ATAGS, and then get to choose what hardware you

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

[PATCH] sysfs: fix crash_notes_size build warning

2013-04-03 Thread Arnd Bergmann
From b60d17603df3225d9f51c4f8168e8e00a1090911 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann a...@arndb.de Date: Wed, 3 Apr 2013 17:14:32 +0200 Subject: [PATCH] sysfs: fix crash_notes_size build warning commit eca4549f57 sysfs: Add crash_notes_size to export percpu note size adds a printk

[PATCH] block: avoid using uninitialized value in from queue_var_store

2013-04-03 Thread Arnd Bergmann
in this function [-Wmaybe-uninitialized] Unlike most other such warnings, this one is not a false positive, writing any non-number string into the sysfs files indeed has an undefined result, rather than returning an error. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Jens Axboe jax...@fusionio.com

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-14 Thread Arnd Bergmann
On Thursday 14 March 2013, Fabio Porcedda wrote: This patch converts the drivers to use the module_platform_driver_probe() macro which makes the code smaller and a bit simpler. Signed-off-by: Fabio Porcedda fabio.porce...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Arnd

Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-14 Thread Arnd Bergmann
On Thursday 14 March 2013, Alexandre Courbot wrote: On Thu, Mar 14, 2013 at 11:14 PM, Linus Walleij linus.wall...@linaro.org wrote: For submitting the pull request to Torvalds in the end you will need to create a signed tag. Do you have a signed GPG key? Else it's about time to create a

[PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-14 Thread Arnd Bergmann
the dependency on !SPARC, which is also implied by that. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Karsten Keil i...@linux-pingi.de Cc: net...@vger.kernel.org --- Please apply for 3.9 or 3.10, this one is not urgent drivers/isdn/hisax/Kconfig | 6 -- 1 file changed, 4 insertions(+), 2

[PATCH 1/3] mfd: remove __exit_p annotation for twl4030_madc_remove

2013-03-14 Thread Arnd Bergmann
. In order for the twl4030_madc_remove to work correctly in built-in code, we have to remove the __exit_p. Cc: Bill Pemberton wf...@virginia.edu Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Arnd Bergmann a...@arndb.de --- Please apply to MFD

[PATCH] vfio: include linux/slab.h for kmalloc

2013-03-14 Thread Arnd Bergmann
The vfio drivers call kmalloc or kzalloc, but do not include linux/slab.h, which causes build errors on ARM. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Alex Williamson alex.william...@redhat.com Cc: k...@vger.kernel.org --- Please apply for 3.9 drivers/vfio/pci/vfio_pci_config.c | 1

[PATCH] [media] ir: IR_RX51 only works on OMAP2

2013-03-14 Thread Arnd Bergmann
This driver can be enabled on OMAP1 at the moment, which breaks allyesconfig for that platform. Let's mark it OMAP2PLUS-only in Kconfig, since that is the only thing it builds on. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Timo Kokkonen

[PATCH] ethernet/tulip: DE4x5 needs VIRT_TO_BUS

2013-03-14 Thread Arnd Bergmann
-off-by: Arnd Bergmann a...@arndb.de Cc: Grant Grundler grund...@parisc-linux.org Cc: net...@vger.kernel.org --- Please apply for 3.9 or 3.10, this one is not urgent drivers/net/ethernet/dec/tulip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/dec/tulip/Kconfig b

[PATCH 2/3] mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error

2013-03-14 Thread Arnd Bergmann
to `power_supply_get_by_name' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin axel@ingics.com Acked-by: Lee Jones lee.jo...@linaro.org Cc: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Arnd Bergmann a...@arndb.de --- Please apply to MFD tree for 3.9 drivers/mfd/Kconfig | 1 + 1 file

[PATCH 3/3] mfd: ab8500: kill reg property from binding

2013-03-14 Thread Arnd Bergmann
of the failed attempt to clean up prcmu mailbox handling, and we can simply remove it. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Samuel Ortiz sa...@linux.intel.com Acked-by: Lee Jones lee.jo...@linaro.org --- Please apply to MFD tree for 3.9 Documentation/devicetree/bindings/mfd/ab8500.txt

[PATCH] Turn off -Wmaybe-uninitialized when building with -Os

2013-03-14 Thread Arnd Bergmann
there is no effect on older compilers. A side effect is that when building with CONFIG_CC_OPTIMIZE_FOR_SIZE, we might now see /fewer/ warnings about possibly uninitialized warnings than with -O2, but that is still much better than seeing warnings known to be bogus. Signed-off-by: Arnd Bergmann a...@arndb.de

[PATCH 0/6] ARM platform spring cleaning

2013-03-14 Thread Arnd Bergmann
We have discussed cleaning these up before, but we never actually removed them. For all I can tell, none of these have any users in the upstream kernel, so they can be removed. If you know of anyone using them, please yell now, or send a revert patch later if you really want them back. Arnd

[PATCH 5/6] ARM: kill Hynix h720x platform

2013-03-14 Thread Arnd Bergmann
The platform was merged about 10 years ago, and has seen few updates for most of the time since. The people that merged the code seem no longer interested in it either, so let's remove it now. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Thomas Gleixner t...@linutronix.de Cc: Robert Schwebel

[PATCH 1/6] ARM: gemini: get platform to build again

2013-03-14 Thread Arnd Bergmann
There is no defconfig file for gemini, which has lead to a lot of bitrot. This makes the broken board files, the gpio implementation and the reset logic work again, and fixes the build warnings that got introduced with the changes to the readl/writel prototypes. Signed-off-by: Arnd Bergmann

[PATCH 6/6] mtd: remove h720x flash support

2013-03-14 Thread Arnd Bergmann
The h720x platform support is going away in linux-3.10, so the MTD driver will also not be needed any more. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: linux-...@lists.infradead.org Cc: Artem Bityutskiy dedeki...@gmail.com Cc: David Woodhouse dw...@infradead.org --- drivers/mtd/maps/Kconfig

[PATCH 2/6] ARM: gemini: remove platform support

2013-03-14 Thread Arnd Bergmann
that confuses physical and virtual addresses. This removes gemini support entirely under the assumption that nobody uses it on mainline kernels. Of course, if there are still active users out there, they should let us know so we can put support back in and get it better tested. Signed-off-by: Arnd

[PATCH 3/6] ARM: remove fa526 CPU support

2013-03-14 Thread Arnd Bergmann
, otherwise we will remove it now. Of course there is always the option to revert this patch if we need it again later. Signed-off-by: Arnd Bergmann a...@arndb.de --- MAINTAINERS | 7 -- arch/arm/Kconfig | 2 +- arch/arm/Makefile | 1

[PATCH 4/6] ARM: l7200: remove zombie file

2013-03-14 Thread Arnd Bergmann
The l7200 platform was removed in 2.6.35, but one file came back due to a failed merge conflict resolution. Let's kill it again. Signed-off-by: Arnd Bergmann a...@arndb.de --- arch/arm/mach-l7200/include/mach/debug-macro.S | 38 -- 1 file changed, 38 deletions(-) delete

Re: [GIT PULL] at91: fixes for 3.9-rc #1

2013-03-14 Thread Arnd Bergmann
On Thursday 14 March 2013, Nicolas Ferre wrote: Here is a little pull-request for 3.9-rc (I guess it if -rc4 now that you've just sent the one for -rc3). I have other material but it is related to the AT91 framebuffer and we are currently discussing it so I hold them back for now. Thanks,

Re: [PATCH 0/5] at91: atmel_lcdfb: regression fixes and cpu_is removal

2013-03-14 Thread Arnd Bergmann
On Wednesday 13 March 2013, Nicolas Ferre wrote: In case we end-up with an agreement on the path those fixes should follow, here is the location of my updated material rebased on top of 3.9-rc2: The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Geert Uytterhoeven wrote: On Thu, Mar 14, 2013 at 10:56 PM, Arnd Bergmann a...@arndb.de wrote: Disabling CONFIG_VIRT_TO_BUS on ARM showed that the hisax netjet driver depends on this deprecated functionality but is not marked so in Kconfig. Rather than adding

Re: [PATCH 2/3] mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Samuel Ortiz wrote: On Thu, Mar 14, 2013 at 10:56:39PM +0100, Arnd Bergmann wrote: Please apply to MFD tree for 3.9 Already applied to mfd-fixes. For some reason I did not see it when I rebased my patches on top of linux-next to make sure I don't send any patches

Re: [PATCH] ARM: Scorpion is a v7 architecture, not v6

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Stephen Boyd wrote: Can you pick this patch up from the mailing list? Otherwise I can try to route it through David's msm tree. Ok, applied to the fixes branch now. Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: Re[2]: [PATCH v7 2/2] mfd: syscon: Add non-DT support

2013-03-15 Thread Arnd Bergmann
drivers, syscon_regmap_lookup_by_pdevname function was added. Signed-off-by: Alexander Shiyan shc_w...@mail.ru Acked-by: Dong Aisheng dong.aish...@linaro.org (both patches) Acked-by: Arnd Bergmann a...@arndb.de There remains only one question. Who can commit the patch to the kernel

Re: [Suggestion] Latest randconfig build errors for Head.S

2013-03-15 Thread Arnd Bergmann
? I'd just ignore them and hope that the toolchain people fix it. AFAIK Arnd is aware and waiting for feedback about his patch: ARM: compressed/head.S: work around new binutils warning Arnd Bergmann http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/144846.html Right

Re: [PATCH] ARM: mach-moxart: platform port for MOXA ART SoC

2013-03-15 Thread Arnd Bergmann
On Wednesday 13 March 2013, Daniel Mack wrote: On 13.03.2013 16:37, Jonas Jensen wrote: I ask for feedback and to submit (if possible) a new ARM SoC platform port. This is now near complete (I think) (tested on UC-7112-LX Plus) and applies to 2.6.34.14. First of all - thanks for

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Fabio Porcedda wrote: * Regarding the use of module_platform_driver_probe, I'm a little worried about the interactions with deferred probing. I don't think there are any regressions, but we should probably make people aware that one cannot return

Re: [Suggestion] Latest randconfig build errors for Head.S

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Chen Gang F T wrote: excuse me, my English is not quite well. I guess your meaning is: that bug means the toolchain's bug (need toolchain people fix it). prefer to apply your patch, before that bug is fixed (we don't know when) is it correct ?

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, David Miller wrote: I do not want to see us add such a Kconfig dependency knob. Then the real tendency will exist to make new drivers little-endian only, refuse to fix endian-broken old drivers, etc. Which means that allmodconfig on my architecture will have build

Re: [PATCH] isdn: hisax: netjet requires VIRT_TO_BUS

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, David Miller wrote: The first usage seems reason, but the temtation is going to be quite strong to misuse to block out drivers when there is no value in spending time necessary to simply make them endian clean instead. Right. I'll let someone else start that discussion

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, H Hartley Sweeten wrote: Arnd, Ill look at converting the ep93xx pwm driver to the PWM subsystem. The only issue is the current driver exposes a sysfs interface that I think is not available in that subsystem. You can probably keep providing that interface if you

Re: [GIT PULL] clocksource cleanup for 3.10

2013-03-15 Thread Arnd Bergmann
On Monday 11 March 2013, Rob Herring wrote: Please pull. This improves the clocksource init to avoid double matching to the DT device node. The clocksource init function changes are needed for any other clocksource conversions to CLKSRC_OF, so we need to make sure any other conversions use

Re: [GIT PULL] at91: framebuffer enhancements for 3.10

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Nicolas Ferre wrote: Arnd, Olof, Following our conversation about these framebuffer patches for Atmel LCD driver, here are the remaining three patches that can be pushed for 3.10. As suggested by Arnd, I have kept them on top of last commit concerning this topic

Re: [GIT PULL] at91: cleanup + soc for 3.10 #1

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Nicolas Ferre wrote: This is a pull-request targeted to do some cleanup in AT91 Kconfig and board-dt-xxx.c files. It will prepare the coming introduction of our SAMA5D3 family (Atmel new Cortex-A5) that we will stack on top of these modifications soon. Pulled into

Re: [PATCH] clk: add DT test clock consumer driver

2013-03-16 Thread Arnd Bergmann
On Saturday 16 March 2013, Sebastian Hesselbarth wrote: This driver adds a DT test clock consumer that exposes debugfs files to enable/disable and set/get rate of the attached programmable clock. During development of a i2c-attached clock generator I found it useful to debug the clock

Re: [PATCH 3/3] misc: ep93xx_pwm.c: fix section mismatch and use module_platform_driver

2013-03-16 Thread Arnd Bergmann
...@visionengravers.com Cc: Ryan Mallon rmal...@gmail.com Cc: Arnd Bergmann a...@arndb.de Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Arnd Bergmann a...@arndb.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH 3.9-rc1] clk: vt8500: Fix variable name '*prate' compile error

2013-03-17 Thread Arnd Bergmann
On Sunday 17 March 2013, Mike Turquette wrote: Yes it is. I haven't pushed a new branch out since 3.9-rc1 due to LCE and vacation after that. This fix and other pending patches will get pulled in this week. I've actually put it into the arm-soc bug fix queue now, since I did not hear back

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Fabio Porcedda wrote: Since by using platform_driver_probe() the function ep93xx_pwm_probe() is freed after initialization, is better to use module_platform_drive_probe(). IMHO i don't see any good reason to use module_platform_driver() for this driver. As I

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Fabio Porcedda wrote: On Mon, Mar 18, 2013 at 11:58 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 18 March 2013, Fabio Porcedda wrote: Since by using platform_driver_probe() the function ep93xx_pwm_probe() is freed after initialization, is better to use

Re: request line field in the generic slave config structure

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Shevchenko, Andriy wrote: Hello! It seems the one (as I think good) question was left unanswered: http://www.spinics.net/lists/arm-kernel/msg186120.html What is your opinions, comments? I'm not sure I understand what the question was. Is this about whether we

Re: request line field in the generic slave config structure

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Shevchenko, Andriy wrote: Hello! It seems the one (as I think good) question was left unanswered: http://www.spinics.net/lists/arm-kernel/msg186120.html What is your opinions, comments? I'm not sure I understand what the question was. Is this about whether we

[GIT PULL] arm-soc fixes for v3.9-rc3

2013-03-18 Thread Arnd Bergmann
Please note that the branch is based on the previous fixes tag that got pulled into v3.9-rc3, since some of the patches were applied before the old tag got merged. Arnd Bergmann (12): Merge tag 'davinci-for-v3.9-rc

Re: [PATCH] ARM: mach-moxart: platform port for MOXA ART SoC

2013-03-18 Thread Arnd Bergmann
On Sunday 17 March 2013, Jonas Jensen wrote: Thank you for the feedback. Some of the changes are sure to be a challenge for me, but I want to move this forward, and having a list helps. 3.2.40 is as far as it'll go right now, nothing prints to UART starting with 3.3.8 (last tested, it's

Re: linux-next: manual merge of the tegra tree with the arm-soc tree

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Stephen Warren wrote: On 03/17/2013 10:31 PM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/clocksource/tegra20_timer.c between commit 1d16cfb3aeba (clocksource: tegra20: use the device_node pointer

Re: [GIT PULL] arm-soc fixes for v3.9-rc3

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Linus Torvalds wrote: On Mon, Mar 18, 2013 at 7:22 AM, Arnd Bergmann a...@arndb.de wrote: are available in the git repository at: git+ssh://gitol...@ra.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes What the heck happened to your script

USB: simplify clock lookup for mv ehci/otg/udc

2013-03-19 Thread Arnd Bergmann
that is a valid operation on a NULL clk pointer if the platform has not attacked a clk to the device. Signed-off-by: Arnd Bergmann a...@arndb.de --- Haojian, does this look reasonable to you? arch/arm/mach-mmp/aspenite.c | 5 - arch/arm/mach-mmp/clock-pxa168.c | 2 +- arch/arm/mach

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-19 Thread Arnd Bergmann
On Tuesday 19 March 2013, Geert Uytterhoeven wrote: Hmm, so we may have drivers that (now) work perfectly fine with module_platform_driver_probe()/platform_driver_probe(), but will start failing suddenly in the future? They will fail if someone changes the initialization order. That would

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-19 Thread Arnd Bergmann
On Tuesday 19 March 2013, Fabio Porcedda wrote: On Tue, Mar 19, 2013 at 5:48 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 19 March 2013, Geert Uytterhoeven wrote: Hmm, so we may have drivers that (now) work perfectly fine with module_platform_driver_probe()/platform_driver_probe

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-20 Thread Arnd Bergmann
On Wednesday 20 March 2013, Fabio Porcedda wrote: I think we can check inside the deferred_probe_work_func() if the dev-probe function pointer is equal to platform_drv_probe_fail(). I think it's too late by then, because that would only warn if we try to probe it again, but when

Re: [PATCH 10/10] drivers: misc: use module_platform_driver_probe()

2013-03-20 Thread Arnd Bergmann
On Wednesday 20 March 2013, Fabio Porcedda wrote: On Wed, Mar 20, 2013 at 11:20 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 20 March 2013, Fabio Porcedda wrote: I think we can check inside the deferred_probe_work_func() if the dev-probe function pointer is equal

Re: [PATCH 00/11] sp804 and integrator timer CLKSRC_OF support

2013-03-21 Thread Arnd Bergmann
On Wednesday 20 March 2013, Rob Herring wrote: This series is dependent on my CLKSRC_OF clean-up in arm-soc, my sched_clock selection series[1], and Arnd's default machine descriptor patch (for default clocksource_of_init call). The full series is available here: All your patches look good to

[BONUS PATCH] dmaengine: dw_dmac: simplify master selection

2013-03-21 Thread Arnd Bergmann
it for 3.10 after testing and refining it. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Vinod Koul vinod.k...@linux.intel.com Cc: linux-arm-ker...@lists.infradead.org --- drivers/dma/dw_dmac.c

Re: [PATCH] stallion: final cleanup

2013-03-21 Thread Arnd Bergmann
On Thursday 21 March 2013, Paul Bolle wrote: Support for the Stallion multiport serial drivers was removed in v3.1. Clean up their last references in the tree: mainly an outdated Kconfig entry and unneeded documentation. Signed-off-by: Paul Bolle pebo...@tiscali.nl Acked-by: Arnd Bergmann

Re: [GIT PULL] at91: dt for 3.10 #1

2013-03-21 Thread Arnd Bergmann
On Thursday 21 March 2013, Nicolas Ferre 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://github.com/at91linux/linux-at91.git tags/at91-dt Pulled into next/dt,

Re: [PATCH 5/5] arm: dts: Convert mvebu device tree files to 64 bits

2013-03-21 Thread Arnd Bergmann
On Thursday 21 March 2013, Rob Herring wrote: soc { - #address-cells = 1; - #size-cells = 1; + #address-cells = 2; + #size-cells = 2; If all the addresses for the soc bus are below 4GB or even within a 4GB range if using the

Re: [PATCH] USB: EHCI: fix for leaking isochronous data

2013-03-21 Thread Arnd Bergmann
On Thursday 21 March 2013, Jason Cooper wrote: On Thu, Mar 21, 2013 at 06:04:59PM +0100, Soeren Moch wrote: Now I found out what is going on here: In itd_urb_transaction() we allocate 9 iTDs for each URB with number_of_packets == 64 in my case. The iTDs are added to sched-td_list.

<    2   3   4   5   6   7   8   9   10   11   >