Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-27 Thread Lubomir Rintel
On Mon, 2013-01-21 at 01:12 +, Ben Hutchings wrote: > On Fri, 2013-01-18 at 08:33 +0100, Lubomir Rintel wrote: > > On Tue, 2013-01-08 at 22:35 -0800, Marcel Holtmann wrote: > > > Hi Lubomir, > > > > > > > > > > linux-firmware s

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-24 Thread Lubomir Rintel
On Wed, 2013-02-20 at 17:59 -0800, Bing Zhao wrote: > Hi Lubomir, > > > > > @@ -825,20 +825,6 @@ static void if_sdio_finish_power_on(struct > > > > if_sdio_card *card) > > > > > > > > sdio_release_host(func); > > > > > > > > - /* > > > > -* FUNC_INIT is required for SD8688 W

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-18 Thread Lubomir Rintel
On Fri, 2013-01-18 at 12:28 -0800, Bing Zhao wrote: > Hi Lubomir, > > > It actually times out on a 8688 present in GuruPlug with sd8688.bin > > (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in > > linux-firmware tree), but the adapter works fine. > > > > For that firmware times

[PATCH RESEND] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-03-13 Thread Lubomir Rintel
into mrvl/ now. Signed-off-by: Lubomir Rintel Acked-by: Marcel Holtmann --- Now that the relevant changes are in linux-firmware it makes sense to merge this to make the driver look for correct firmware files. drivers/bluetooth/btmrvl_sdio.c |8 1 files changed, 4 insertions(

[PATCH] [media] usbtv: Add S-Video input support

2013-07-12 Thread Lubomir Rintel
Alongside already existing Composite input. Signed-off-by: Lubomir Rintel Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org Cc: linux-me...@vger.kernel.org --- drivers/media/usb/usbtv/usbtv.c | 99 --- 1 files changed, 82

[PATCH] sysv: Add forgotten superblock lock init for v7 fs

2013-09-17 Thread Lubomir Rintel
Superblock lock was replaced with (un)lock_super() removal, but left uninitialized for Seventh Edition UNIX filesystem in the following commit (3.7): c07cb01 sysv: drop lock/unlock super Signed-off-by: Lubomir Rintel --- fs/sysv/super.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[PATCH] drm/radeon: Don't limit fb console on 32M cards to 8 bpp

2013-09-26 Thread Lubomir Rintel
sole would matter. Signed-off-by: Lubomir Rintel --- drivers/gpu/drm/radeon/radeon_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c index 665ced3..cef3bc7 100644 --- a/drivers/gpu/drm/radeon/radeon_

[PATCH 1/2] dma: mv_xor: use proper dma memory management functions

2012-12-27 Thread Lubomir Rintel
Caught by self-check with DMA_API_DEBUG: WARNING: at lib/dma-debug.c:878 check_unmap+0x37c/0x748() mv_xor mv_xor.0: DMA-API: device driver frees DMA memory with wrong function [device address=0x1f3a1a40] [size=2000 bytes] [mapped as single] [unmapped as page] Signed-off-by: Lubomir

[PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2012-12-27 Thread Lubomir Rintel
) now: mv_xor mv_xor.0: DMA-API: device driver frees DMA memory with different direction [device address=0x1dea4000] [size=4096 bytes] [mapped with DMA_FROM_DEVICE] [unmapped with DMA_BIDIRECTIONAL] Signed-off-by: Lubomir Rintel --- drivers/dma/mv_xor.c |9 +++-- 1 files changed

[PATCH] orion_wdt: Add platform alias

2013-01-04 Thread Lubomir Rintel
...so that it's automatically picked up on relevant platforms. Tested on Kirkwood-based GuruPlug. Signed-off-by: Lubomir Rintel --- drivers/watchdog/orion_wdt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
From: Lubomir Rintel = [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW - inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. NetworkManager/337 [HC0[0]:SC0[0]:HE1:SE1] ta

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
310/0x3c0) [] (netlink_sendmsg+0x310/0x3c0) from [] (sock_sendmsg+0xa8/0xd0) [] (sock_sendmsg+0xa8/0xd0) from [] (__sys_sendmsg+0x1d8/0x280) [] (__sys_sendmsg+0x1d8/0x280) from [] (sys_sendmsg+0x44/0x68) [] (sys_sendmsg+0x44/0x68) from [] (ret_fast_syscall+0x0/0x38) Signed-off-by: Lubomir Rin

[PATCH v3] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir

Re: [PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
hat do not > have any controls) and as such I really don't like seeing a workaround like > this in a driver, especially since this seems like it should be working fine > with the latest gstreamer. I was using GStreamer from RHEL6. I retried with Fedora 17 and it worked fine. Regard

[PATCH v4] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-17 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubo

Re: [PATCH v4] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-06-18 Thread Lubomir Rintel
Hi Wim, On Sun, 2013-05-26 at 16:22 +0200, Wim Van Sebroeck wrote: > Hi Lubomir, > > > On 03/27/2013 10:40 AM, Lubomir Rintel wrote: > > > This adds a driver for watchdog timer hardware present on Broadcom > > > BCM2835 SoC, > > > used in Raspberry Pi and

Re: [PATCH] hwrng: bcm2835: fix MODULE_LICENSE tag

2013-06-18 Thread Lubomir Rintel
modpost: GPL-incompatible module bcm2835-rng.ko uses GPL-only symbol > 'platform_driver_unregister' Thank you, obviously a typo of mine that slipped through. I'm wondering if this could get queued for 3.10; it definitely can't do any harm. Acked-by: Lubomir Rintel &g

[PATCH 1/3] pxa168_eth: Allocate receive queue initialized to zero

2013-06-18 Thread Lubomir Rintel
. Signed-off-by: Lubomir Rintel Cc: Kosta Zertsekel Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/net/ethernet/marvell/pxa168_eth.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c b/drivers/net

[PATCH] mv643xx_eth: Allocate receive queue initialized to zero

2013-06-18 Thread Lubomir Rintel
Zero pointer in rx_skb is how respective rxq_deinit() finds out out that a skb slot is unallocated. If rxq_refill() fails (e.g. on OOM condition), subsequent teardown would result in an attempt to kfree() invalid pointers. Signed-off-by: Lubomir Rintel Cc: Lennert Buytenhek Cc: net

[PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-18 Thread Lubomir Rintel
/0x80) from [] (memcpy+0x24/0x3a4) ---[ end trace 0c94555a37c67b61 ]--- Mapped at: [] debug_dma_map_page+0x48/0x11c [] mv643xx_eth_xmit+0x41c/0x5a8 [mv643xx_eth] [] dev_hard_start_xmit+0x308/0x6cc [] sch_direct_xmit+0x74/0x2d4 [] dev_queue_xmit+0x4b8/0x8dc Signed-off-by: Lubomir Rintel Cc: Le

[PATCH v5] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-06-18 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Tested-by: Stephen Warren Cc: Stephen Warren Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch

[PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir

Re: [PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported) Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK Total: 36, Succeeded: 36, Failed: 0, Warnings: 0 -- Lubomir Rintel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH] [media] usbtv: Add driver for Fushicai USBTV007 video frame grabber

2013-06-10 Thread Lubomir Rintel
Reverse-engineered driver for cheapo video digitizer, made from observations of Windows XP driver. The protocol is not yet completely understood, so far we don't provide any controls, only support a single format out of three and don't support the audio device. Signed-off-by: Lubomir

[PATCH 1/2] [media] usbtv: Fix deinterlacing

2013-07-02 Thread Lubomir Rintel
igned-off-by: Lubomir Rintel Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org Cc: linux-me...@vger.kernel.org --- drivers/media/usb/usbtv/usbtv.c | 36 +--- 1 files changed, 25 insertions(+), 11 deletions(-) diff --git a/drivers/medi

[PATCH 2/2] [media] usbtv: Throw corrupted frames away

2013-07-02 Thread Lubomir Rintel
Ignore out of order data and mark incomplete buffers as errored. This gets rid of annoying flicker due to occassional garbage from hardware. Signed-off-by: Lubomir Rintel Cc: Hans Verkuil Cc: Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org Cc: linux-me...@vger.kernel.org --- drivers

[PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-22 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Wim Van Sebroeck Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch...@vger.kernel.org --- arch/arm/configs/bcm2835_defconfig |4 + drivers/watchdog/Kconfig | 11 +++ drivers/watchdog/Makefile |1 + drivers

[PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-22 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Matt Mackall Cc: linux-rpi-ker...@lists.infradead.org --- arch/arm/boot/dts/bcm2835.dtsi |5 + arch/arm/configs/bcm2835_defconfig |3 +- drivers/char/hw_random/Kconfig | 12 +++ drivers/char/hw_random/Makefile

[PATCH] of: add managed version of of_iomap()

2013-03-24 Thread Lubomir Rintel
This introduces a routine devm_of_iomap(), which acts exactly like of_iomap() apart from that managed deivce resource subsystem takes care of reclaiming the resources wherever appropriate. Signed-off-by: Lubomir Rintel Cc: Grant Likely Cc: Rob Herring Cc: devicetree-disc...@lists.ozlabs.org Cc

Re: watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 06:56 -0700, Guenter Roeck wrote: Thank you for your response! On Fri Mar 22 09:56:01 EDT 2013, Guenter Roeck wrote: > On Fri, Mar 22, 2013 at 12:55:07PM -0000, Lubomir Rintel wrote: ... > > + writel_relaxed(PM_PASSWORD | (cur & PM_R

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 19:46 +0100, Arend van Spriel wrote: Thanks for your response! > On 03/22/2013 01:55 PM, Lubomir Rintel wrote: > > Signed-off-by: Lubomir Rintel > > Cc: Stephen Warren > > Cc: Wim Van Sebroeck > > Cc: linux-rpi-ker...@lists.infrad

Re: [PATCH] watchdog: Add Broadcom BCM2708 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:24 -0600, Stephen Warren wrote: Thank you for your response! > On 03/22/2013 06:55 AM, Lubomir Rintel wrote: > > Signed-off-by: Lubomir Rintel > > A commit description would be useful. I'll add a more descriptive one in next patch revision. &

[PATCH v2] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-24 Thread Lubomir Rintel
i-3.6.y" of git://github.com/raspberrypi/linux.git Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Wim Van Sebroeck Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch...@vger.kernel.org --- Changes for v2: - Use per-device structure instead of global variables for lock and memory ba

[PATCH v2] arm: Add Broadcom BCM2835 watchdog timer driver to bcm2835_defconfig

2013-03-24 Thread Lubomir Rintel
This enables a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from the driver changeset - Regenerated

[PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-24 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from the driver changeset

Re: [PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-24 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:44 -0600, Stephen Warren wrote: Thank you for your response! > On 03/22/2013 06:55 AM, Lubomir Rintel wrote: > > Signed-off-by: Lubomir Rintel > > A commit description would be useful. > > > arch/arm/boot/dts/bcm2835.dtsi |5

[PATCH v2] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-24 Thread Lubomir Rintel
This adds a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Matt Mackall Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Device tree and defconfig changes split

[PATCH v2] arm: Add Broadcom BCM2835 RNG driver to bcm2835_defconfig

2013-03-24 Thread Lubomir Rintel
This enables a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from the driver changeset arch/arm/configs

Re: [PATCH v2] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Lubomir Rintel
On Sun, 2013-03-24 at 09:12 -0700, Guenter Roeck wrote: > On Sun, Mar 24, 2013 at 03:22:53PM +0100, Lubomir Rintel wrote: > > This adds a driver for watchdog timer hardware present on Broadcom BCM2835 > > SoC, > > used in Raspberry Pi and Roku 2 devices. > > > >

[PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-26 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: linux-rpi-ker...@lists.infradead.org --- Changes for v2: - Split out from the driver changeset

[PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-26 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Cc: Stephen Warren Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-rpi-ker...@lists.infradead.org Cc: linux-watch...@vger.kernel.org

Re: [PATCH v2] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-26 Thread Lubomir Rintel
On Tue, 2013-03-26 at 18:48 +0100, Lubomir Rintel wrote: > This adds a device tree binding for random number generator present on > Broadcom > BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Please ignore this one; it has been re-sent here by accident. -- To unsubscribe from

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
On Tue, 2013-03-26 at 21:40 -0600, Stephen Warren wrote: > On 03/26/2013 11:50 AM, Lubomir Rintel wrote: > > This adds a driver for watchdog timer hardware present on Broadcom BCM2835 > > SoC, > > used in Raspberry Pi and Roku 2 devices. > > Since this patch defines a

Re: [PATCH v3] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
On Tue, 2013-03-26 at 14:03 -0700, Guenter Roeck wrote: > On Tue, Mar 26, 2013 at 06:50:00PM +0100, Lubomir Rintel wrote: > > This adds a driver for watchdog timer hardware present on Broadcom BCM2835 > > SoC, > > used in Raspberry Pi and Roku 2 devices. ... > > +st

[PATCH v4] watchdog: Add Broadcom BCM2835 watchdog timer driver

2013-03-27 Thread Lubomir Rintel
This adds a driver for watchdog timer hardware present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Signed-off-by: Dom Cobley Tested-by: Stephen Warren Cc: Stephen Warren Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-rpi-ker

[PATCH] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-03-27 Thread Lubomir Rintel
This adds a device tree binding for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Lubomir Rintel Tested-by: Stephen Warren Cc: Stephen Warren Cc: linux-rpi-ker...@lists.infradead.org Cc: devicetree-disc...@lists.ozlabs.org Cc

Re: [PATCH] hw_random: Add Broadcom BCM2835 RNG Driver

2013-03-27 Thread Lubomir Rintel
On Fri, 2013-03-22 at 20:44 -0600, Stephen Warren wrote: > On 03/22/2013 06:55 AM, Lubomir Rintel wrote: > > Signed-off-by: Lubomir Rintel > > A commit description would be useful. > > > arch/arm/boot/dts/bcm2835.dtsi |5 + > > arch/arm/conf

[PATCH v3] hw_random: Add Broadcom BCM2835 RNG driver

2013-03-27 Thread Lubomir Rintel
This adds a driver for random number generator present on Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Signed-off-by: Dom Cobley Signed-off-by: Lubomir Rintel Tested-by: Stephen Warren Cc: Herbert Xu Cc: Stephen Warren Cc: Matt Mackall Cc: linux-rpi-ker

[PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-19 Thread Lubomir Rintel
into mrvl/ now. Signed-off-by: Lubomir Rintel --- drivers/bluetooth/btmrvl_sdio.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 9959d4c..1cb5183 100644 --- a/drivers/bluetooth/btmrvl_sdio.c

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-13 Thread Lubomir Rintel
On Fri, 2013-01-04 at 17:10 +0100, Thomas Petazzoni wrote: > Dear Lubomir Rintel, > > On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: > > > dma_sync_single_for_cpu(dma_chan->device->dev, dest_dma, > > MV_

[PATCH 1/2] mtd: cmdlinepart: Make it into a module

2013-01-15 Thread Lubomir Rintel
All other partitioning schemes can be compiled as modules Signed-off-by: Lubomir Rintel --- drivers/mtd/Kconfig |4 ++-- drivers/mtd/cmdlinepart.c |8 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig index 73fcbbe

[PATCH 2/2] mtd: Allow removal of partitioning modules

2013-01-15 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel --- drivers/mtd/ar7part.c |6 ++ drivers/mtd/cmdlinepart.c |6 ++ drivers/mtd/ofpart.c |7 +++ 3 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/ar7part.c b/drivers/mtd/ar7part.c index 9453931..a98899f

[PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-01-17 Thread Lubomir Rintel
It actually times out on a 8688 present in GuruPlug with sd8688.bin (md5=7233401e9687f8c880da547beed4324e) firmware (that's present in linux-firmware tree), but the adapter works fine. For that firmware times out with libertas_uap [1] as well, though it succeeds with sd8688_ap.bin (md5=52cd8f8296b

Re: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-17 Thread Lubomir Rintel
t; > > both places > > > > > and so should we. > > > > > > > > > > Signed-off-by: Lubomir Rintel > > > > > --- > > > > > drivers/bluetooth/btmrvl_sdio.c | 24 ++-- > > > > > drivers/bluetooth/btm

[PATCH] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-01-17 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel --- drivers/bluetooth/btmrvl_sdio.c |8 drivers/bluetooth/btmrvl_sdio.h |6 -- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 3f4bfc8..bc27d01 100644 --- a

[PATCH] libertas sdio: look for 8688 firmware in common location

2013-01-17 Thread Lubomir Rintel
sd8688 is not only used by libertas WiFi, but shared with btmrvl bluetooth as well. Signed-off-by: Lubomir Rintel --- drivers/net/wireless/libertas/if_sdio.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
On Sun, 2013-01-13 at 14:18 +0100, Lubomir Rintel wrote: > On Fri, 2013-01-04 at 17:10 +0100, Thomas Petazzoni wrote: > > Dear Lubomir Rintel, > > > > On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: > > > > > dma_sync_single_for

[PATCH 1/3] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-17 Thread Lubomir Rintel
: Lubomir Rintel --- drivers/dma/mv_xor.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index e666983..8b81a04 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -960,8 +960,6 @@ static int mv_xor_memcpy_self_test

[PATCH 3/3] dma: mv_xor: get rid of a DMA-API sanity check warning

2013-01-17 Thread Lubomir Rintel
what mv_xor_run_tx_complete_actions() frees for multiple sources. Signed-off-by: Lubomir Rintel --- drivers/dma/mv_xor.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index d00a834..1e90f5d 100644 --- a/drivers/dma/mv_xor.c

[PATCH 2/3] dma: mv_xor: fix DMA-API error handling sanity check

2013-01-17 Thread Lubomir Rintel
Add error checking. --- drivers/dma/mv_xor.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 8b81a04..d00a834 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -939,9 +939,21 @@ stat

sd8688 firmware location

2013-01-08 Thread Lubomir Rintel
to keep in in libertas/, since the bluetooth hardware is not really marketed as "Libertas." I'm following up with patches to linux and linux-firmware and I'd be very thankful if you could pick one (not both of them). Have a nice day! -- Lubomir Rintel >o

[PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Lubomir Rintel
linux-firmware ships the sd8688* firmware images that are shared with libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both places and so should we. Signed-off-by: Lubomir Rintel --- drivers/bluetooth/btmrvl_sdio.c | 24 ++-- drivers/bluetooth

[PATCH] Move sd8688*.bin images away from libertas tree

2013-01-08 Thread Lubomir Rintel
. Signed-off-by: Lubomir Rintel --- libertas/sd8688.bin => sd8688.bin | Bin 259172 -> 259172 bytes libertas/sd8688_helper.bin => sd8688_helper.bin | Bin 2616 -> 2616 bytes 2 files changed, 0 insertions(+), 0 deletions(-) rename libertas/sd8688.bin => sd8688.bin

RE: [PATCH] Bluetooth: btmrvl_sdio: look for sd8688 firmware in alternate place

2013-01-08 Thread Lubomir Rintel
On Tue, 2013-01-08 at 18:43 -0800, Bing Zhao wrote: > > > linux-firmware ships the sd8688* firmware images that are shared with > > > libertas_sdio WiFi driver under libertas/. libertas_sdio looks in both > > > places > > > and so should we. >

[PATCH 04/14] ARM: mmp: add a pxa-usb-phy device

2018-08-22 Thread Lubomir Rintel
This is to replace the USB PHY initialization code (pxa_usb_phy_init(), pxa_usb_phy_deinit()) with a proper PHY driver. Signed-off-by: Lubomir Rintel --- arch/arm/mach-mmp/devices.c | 21 + arch/arm/mach-mmp/pxa910.h | 1 + 2 files changed, 22 insertions(+) diff --git a

Re: [PATCH] x86: czc-tablet: add driver that fixes the buttons on CZC P10T tablet

2018-07-29 Thread Lubomir Rintel
Hi. Many thanks for the response! Some replies inline. On Sun, 2018-07-22 at 22:42 +0300, Andy Shevchenko wrote: > On Sun, Jul 22, 2018 at 1:36 AM, Lubomir Rintel > wrote: > > This driver switches the P10T tablet to "Android" mode, where the > > Home > > button

[PATCH] x86: czc-tablet: add driver that fixes the buttons on CZC P10T tablet

2018-07-21 Thread Lubomir Rintel
Complementary hwdb patch with the scan code mapping: https://github.com/systemd/systemd/commit/40a3078b.patch Signed-off-by: Lubomir Rintel --- MAINTAINERS | 6 +++ drivers/platform/x86/Kconfig | 8 drivers/platform/x86/Makefile | 1 + drivers/platform/x86/cz

[PATCH] mac80211: a trivial open80211s web site URL fix

2018-07-12 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel --- net/mac80211/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig index 76e30f4797fb..7dc77fc91891 100644 --- a/net/mac80211/Kconfig +++ b/net/mac80211/Kconfig @@ -79,7 +79,7 @@ config

Re: [PATCH] Fonts: New Terminus large console font

2018-11-27 Thread Lubomir Rintel
Hi. On Sun, 2018-11-25 at 22:47 -0500, nimrud wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with the help

[PATCH v3 08/14] Revert "[media] marvell-ccic: reset ccic phy when stop streaming for stability"

2018-11-20 Thread Lubomir Rintel
This accesses the clock registers directly and thus is going to stay in the way of making the driver devicetree friendly. No boards seems to actually use this. If it's somehow actually needed it needs to be done differently. This reverts commit 7c269f454e7a51b151d94f99344120efa1cd0acb. --- .../m

[PATCH v3 14/14] [media] marvell-ccic: provide a clock for the sensor

2018-11-20 Thread Lubomir Rintel
nstance so that the sensor can ask us to enable the clock. Note that this is pretty dumb at the moment: the clock is hardwired to a particular frequency and parent. It was always the case. Signed-off-by: Lubomir Rintel --- Changes since v1: - [kbuild/ia64] depend on COMMON_CLK. - [smatch] fi

Re: [PATCH v3 01/14] media: ov7670: split register setting from set_fmt() logic

2018-11-28 Thread Lubomir Rintel
On Thu, 2018-11-22 at 19:37 +0100, jacopo mondi wrote: > Hi Lubomir, > > On Tue, Nov 20, 2018 at 11:03:06AM +0100, Lubomir Rintel wrote: > > This will allow us to restore the last set format after the device > > returns > > from a power off. > >

[PATCH v4 0/20] MMP platform fixes

2018-11-28 Thread Lubomir Rintel
Hi, this series contains contains a bunch of MMP2 platform fixes. Previous spins of the patch set were sent out over the course of last three months to the MMP platform maintainers, with Arnd and linux-arm-ker...@lists.infradead.org on copy. Unfortunatelly, MMP maintainers (Eric Miao and Haojian

[PATCH v4 02/20] DT: marvell,mmp2: fix the gpio interrupt cell number

2018-11-28 Thread Lubomir Rintel
gpio-pxa uses two cell to encode the interrupt source: the pin number and the trigger type. Adjust the device node accordingly. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot

[PATCH v4 07/20] DT: marvell,mmp2: add more TWSI controllers

2018-11-28 Thread Lubomir Rintel
I've gotten the base addresses, clocks and interrupts from an rusty and old out-of-tree driver. I haven't actually checked against the datasheet, since that one is reserved for the Marvell inner circle. Tested with an accelerometer on TWSI6 on an OLPC XO 1.75 machine. Signed-off-b

[PATCH v4 01/20] dt-bindings: mrvl,mmp-timer: add clock

2018-11-28 Thread Lubomir Rintel
The timer needs the timer clock to be enabled, otherwise it stops ticking. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring Acked-by: Pavel Machek --- Changes since v1: - Made the clock optional, to keep compatibility with DTs without it Documentation/devicetree/bindings/timer/mrvl

[PATCH v4 06/20] DT: marvell,mmp2: fix TWSI2

2018-11-28 Thread Lubomir Rintel
ere the RTC is on TWSI2. Signed-off-by: Lubomir Rintel Tested-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 1120fe6abbdc..c5787eea57c7 100644 --- a/arc

[PATCH v4 12/20] irqchip/mmp: do not use of_address_to_resource() to get mux regs

2018-11-28 Thread Lubomir Rintel
of_address_to_resource() won't work. We should treat the values as mere integers as opposed to bus addresses. Signed-off-by: Lubomir Rintel --- Changes since v3: - Added this patch drivers/irqchip/irq-mmp.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/

[PATCH v4 03/20] DT: marvell,mmp2: give gpio node a name

2018-11-28 Thread Lubomir Rintel
This will be useful for boards that actually use GPIO pins. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index db15d1186cd0

[PATCH v4 14/20] ARM: mmp/mmp2: use cpu_is_pj4() instead of cpu_is_mmp2()

2018-11-28 Thread Lubomir Rintel
rate that's 1/100 slower or so. Perhaps the other cpu_is_mmp2() uses are more benign, but still useless. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/mach-mmp/cputype.h | 9 - arch/arm/mach-mmp/mmp2.c| 2 +- arch/arm/mach-mmp/pm-mmp2.c | 2 +- arch/arm/mac

[PATCH v4 18/20] ARM: mmp: add an instance of pxa-usb-phy to ttc_dkb and aspenite

2018-11-28 Thread Lubomir Rintel
This will replace the *_pdata.phy_{de,}init() Signed-off-by: Lubomir Rintel --- Changes since v1: - Squashed patches with ttc_dkb and aspenite changes together. arch/arm/mach-mmp/aspenite.c | 4 arch/arm/mach-mmp/ttc_dkb.c | 4 2 files changed, 8 insertions(+) diff --git a/arch

[PATCH v4 17/20] ARM: mmp: add a pxa-usb-phy device

2018-11-28 Thread Lubomir Rintel
This is to replace the USB PHY initialization code (pxa_usb_phy_init(), pxa_usb_phy_deinit()) with a proper PHY driver. Signed-off-by: Lubomir Rintel --- arch/arm/mach-mmp/devices.c | 21 + arch/arm/mach-mmp/pxa910.h | 1 + 2 files changed, 22 insertions(+) diff --git a

[PATCH v4 15/20] ARM: mmp2: initialize clocks before the timer

2018-11-28 Thread Lubomir Rintel
The timer shall enable its clock. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/mach-mmp/mmp2-dt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c index 0341359b24a4..50c5e8b5be3d 100644 --- a

[PATCH v4 10/20] DT: marvell,mmp2: Add SSP controllers

2018-11-28 Thread Lubomir Rintel
Despite Marvel keeps their base addresses secret there's a good chance they're actually correct. SSP1 and SSP3 bases were taken from OLPC 1.75: OpenFirmware and kernel respectively. SSP2 and SSP4 addresses are from James Cameron who actually has a copy of the data sheet. Signed-off-b

[PATCH v4 19/20] USB: phy-mv-usb: use phy-pxa-usb

2018-11-28 Thread Lubomir Rintel
Use a proper PHY driver, instead of hooks to a board support package. Signed-off-by: Lubomir Rintel Tested-by: Pavel Machek --- arch/arm/mach-mmp/devices.c | 11 +--- drivers/usb/phy/phy-mv-usb.c | 123 --- drivers/usb/phy/phy-mv-usb.h | 8 ++- 3 files

[PATCH v4 13/20] gpio: pxa: avoid attempting to set pin direction via pinctrl on MMP2

2018-11-28 Thread Lubomir Rintel
Similarly to PXA3xx pinctrl-single can't set pin direction on MMP2 either. See also: commit 9dabfdd84bdfa ("gpio: pxa: disable pinctrl calls for PXA3xx") Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- drivers/gpio/gpio-pxa.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v4 11/20] irqchip/mmp: only touch the PJ4 & FIQ bits on enable/disable

2018-11-28 Thread Lubomir Rintel
_IRQ to be 1 << 4. When asked for a data sheet, Marvell was not helpful. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v1: - Adjusted wording & ack from Pavel drivers/irqchip/irq-mmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i

[PATCH v4 04/20] DT: marvell,mmp2: add clock to the timer

2018-11-28 Thread Lubomir Rintel
The timer needs the timer clock to be enabled, otherwise it stops ticking. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index f2a18779de7c

[PATCH v4 05/20] DT: marvell,mmp2: add MMC controllers

2018-11-28 Thread Lubomir Rintel
There's apparently four of them on a MMP2. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v3: - Fixed the mmc4 node name Changes since v1: - The controllers seem to be on AXI bus, not APB. Move them. - Remove aliases. arch/arm/boot/dts/mmp2.dtsi

[PATCH v4 16/20] ARM: mmp/mmp2: dt: enable the clock

2018-11-28 Thread Lubomir Rintel
The device-tree booted MMP2 needs to enable the timer clock, otherwise it would stop ticking when the boot finishes. It can also use the clock rate from the clk, the non-DT boards need to keep using the hardcoded rates. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v2

[PATCH v4 20/20] USB: gadget: mv-udc: use phy-pxa-usb

2018-11-28 Thread Lubomir Rintel
Use a proper PHY driver, instead of hooks to a board support package. Signed-off-by: Lubomir Rintel --- arch/arm/mach-mmp/devices.c | 11 +--- drivers/usb/gadget/udc/mv_udc.h | 7 - drivers/usb/gadget/udc/mv_udc_core.c | 38 3 files changed

[PATCH v4 08/20] DT: marvell,mmp2: add OTG PHY

2018-11-28 Thread Lubomir Rintel
The USB OTG PHY chip. To be used by the OTG controller. Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index c48d17a38d6b..57f6248f17cd

[PATCH v4 09/20] DT: marvell,mmp2: add USB OTG host controller

2018-11-28 Thread Lubomir Rintel
Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/boot/dts/mmp2.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi index 57f6248f17cd..0c5a51b98c3f 100644 --- a/arch/arm/boot/dts/mmp2.dtsi +++ b/arch

[PATCH v2] spi: pxa2xx: Fix '"CONFIG_OF" is not defined' warning

2018-11-15 Thread Lubomir Rintel
A careless oversight. Sorry. Fixes: 0a897143b7c9 ("spi: pxa2xx: Add slave mode support") Signed-off-by: Lubomir Rintel --- Changes since v1: - Applied Robert Jarzmik's wise suggestion to remove useless conditionals and thus reduce this into a single line. drivers/spi/s

Re: [PATCH 12/15] power: supply: olpc_battery: Use DT to get battery version

2018-11-15 Thread Lubomir Rintel
On Fri, 2018-10-19 at 16:45 +0300, Andy Shevchenko wrote: > On Wed, Oct 10, 2018 at 8:23 PM Lubomir Rintel > wrote: > > Avoid using the x86 OLPC platform specific call to get the board > > version. It won't work on FDT-based ARM MMP2 platform. > > >

Re: [PATCH 12/15] power: supply: olpc_battery: Use DT to get battery version

2018-11-15 Thread Lubomir Rintel
On Sun, 2018-11-04 at 13:37 +0100, Pavel Machek wrote: > On Wed 2018-10-10 19:22:57, Lubomir Rintel wrote: > > Avoid using the x86 OLPC platform specific call to get the board > > version. It won't work on FDT-based ARM MMP2 platform. > > > > Signed-off-by: Lubom

Re: [PATCH 02/15] Revert "platform/olpc: Make ec explicitly non-modular"

2018-11-15 Thread Lubomir Rintel
On Fri, 2018-11-02 at 23:16 +0100, Pavel Machek wrote: > On Wed 2018-10-10 19:22:47, Lubomir Rintel wrote: > > It doesn't make sense to always have this built-in, e.g. on ARM > > multiplatform kernels. A better way to address the problem the > > original > > commit

Re: Regression in next with spi return from transfer_one()

2018-11-16 Thread Lubomir Rintel
On Thu, 2018-11-15 at 16:07 -0800, Tony Lindgren wrote: > * Mark Brown [181116 00:02]: > > On Thu, Nov 15, 2018 at 03:44:00PM -0800, Tony Lindgren wrote: > > > > > It seems to be caused because of the now missing "if (ret > 0) {" > > > line somehow that was there earlier. New code sets ms to 200

[PATCH v2 01/17] power: supply: olpc_battery: correct the temperature units

2018-11-16 Thread Lubomir Rintel
laptops. [1] include/linux/power_supply.h [2] Documentation/power/power_supply_class.txt Fixes: fb972873a767 ("[BATTERY] One Laptop Per Child power/battery driver") Cc: sta...@vger.kernel.org Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v1: - Add Fixes tag

[PATCH v2 02/17] dt-bindings: olpc,xo1.75-ec: Add OLPC XO-1.75 EC bindings

2018-11-16 Thread Lubomir Rintel
perty). Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- Changes since v1: - s/cmd-gpio/cmd-gpios/ - s/ready-gpio/ready-gpios/ in the documentation paragraph - Remove status = "okay" from the example .../bindings/misc/olpc,xo1.75-ec.txt | 23 +++ 1 f

  1   2   3   4   5   6   7   8   9   10   >