[PATCH 2/2] input: edt-ft5x06: Perform register read from the very beginning (reg 0x0)

2015-04-21 Thread Rostislav Lisovy
(X and Y coordinated are at the offset 3), valid data are read and the interrupt event is properly handled. Signed-off-by: Rostislav Lisovy --- drivers/input/touchscreen/edt-ft5x06.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/edt-ft5x0

[PATCH 1/2] input: edt-ft5x06: Do not hardcode register numbers in code, use #define

2015-04-21 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- drivers/input/touchscreen/edt-ft5x06.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index e6aef3e..c938d4b 100644 --- a/drivers/input

[PATCH 3/3] ARM: dts: am335x: Add Chiliboard DTS

2015-02-09 Thread Rostislav Lisovy
Chiliboard uses ChiliSOM as its base. Hardware specification: * ChiliSOM (am335x, PMIC, DRAM, NAND) * Ethernet PHY (id 0) * USB host (usb1) * microSD slot * 2x GPIO LED Signed-off-by: Rostislav Lisovy --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/am335x-chiliboard.dts

[PATCH 1/3] ARM: dts: Add vendor prefix for Grinn

2015-02-09 Thread Rostislav Lisovy
Grinn is a company located in Poland, Europe producing System on Modules. Webpage: http://www.grinn-global.com/ Signed-off-by: Rostislav Lisovy --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor

[PATCH 2/3] ARM: dts: am335x: Add DTS for ChiliSOM module

2015-02-09 Thread Rostislav Lisovy
NAND Flash (8x interface, cs0) * UART0 * PMIC * I2C0 (for PMIC) * 1x Ethernet MAC Signed-off-by: Rostislav Lisovy --- arch/arm/boot/dts/am335x-chilisom.dtsi | 239 + 1 file changed, 239 insertions(+) create mode 100644 arch/arm/boot/dts/am335x-chilisom.dtsi diff -

[PATCH] iw: Add OCB mode handling

2015-01-12 Thread Rostislav Lisovy
e command for device type setting to support OCB mode. Add commands for "joining" and "leaving" the OCB mode network. When joining two arguments are mandatory -- frequency and channel bandwidth (5 or 10 MHz). Signed-off-by: Rostislav Lisovy --- Makefile| 2 +-

Re: [PATCH] cfg80211: Move join/leave_ocb comments to be in the correct order

2014-11-04 Thread Rostislav Lisovy
On Tue, 2014-11-04 at 13:55 +0100, Johannes Berg wrote: > On Tue, 2014-11-04 at 13:49 +0100, Rostislav Lisovy wrote: > > Use the same ordering in the comments section as it > > is in the structure below. > > Well, I think I confused you :-) > The report from Fengguang&

Re: [PATCH 0/2 v3] cfg80211: mac80211: 802.11p OCB mode support

2014-11-04 Thread Rostislav Lisovy
On Tue, 2014-11-04 at 10:25 +0100, Johannes Berg wrote: > On Mon, 2014-11-03 at 10:33 +0100, Rostislav Lisovy wrote: > > The IEEE 802.11p amendment (already part of IEEE 802.11-2012) > > specifies usage of 5 and 10 MHz wide channels in 5.9GHz band for > > vehicular environ

[PATCH] cfg80211: Move join/leave_ocb comments to be in the correct order

2014-11-04 Thread Rostislav Lisovy
Use the same ordering in the comments section as it is in the structure below. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 5c3acd0..af0ef26 100644

[PATCH 1/2] cfg80211: mac80211: 802.11p OCB mode handling

2014-11-03 Thread Rostislav Lisovy
n the following patch. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 14 +++ include/uapi/linux/nl80211.h | 11 ++ net/mac80211/cfg.c | 1 + net/mac80211/chan.c | 2 + net/mac80211/iface.c | 5 +++ net/mac80211/util.c | 3 ++ net

[PATCH 0/2 v3] cfg80211: mac80211: 802.11p OCB mode support

2014-11-03 Thread Rostislav Lisovy
network or not * Handle multiple consecutive calls to ocb_join * Many minor fixes Rostislav Lisovy (2): cfg80211: mac80211: 802.11p OCB mode handling mac80211: 802.11p OCB mode support include/net/cfg80211.h | 14 +++ include/net/mac80211.h | 2 + include/uapi/linux/nl80211.h

[PATCH 2/2] mac80211: 802.11p OCB mode support

2014-11-03 Thread Rostislav Lisovy
one in the similar way as in the IBSS mode -- through the deferred insertion. The OCB mode uses a periodic 'housekeeping task' for expiration of disconnected STAs (in the similar manner as in the MESH mode). New Kconfig option for verbose OCB debugging outputs is added. Signed-off-

Re: [PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-31 Thread Rostislav Lisovy
On Fri, 2014-10-31 at 14:13 +0100, Johannes Berg wrote: > On Thu, 2014-10-30 at 11:42 +0100, Rostislav Lisovy wrote: > > @@ -2093,6 +2102,7 @@ enum nl80211_iftype { > > NL80211_IFTYPE_P2P_CLIENT, > > NL80211_IFTYPE_P2P_GO, > > NL80211_IFTYPE_P2P_DEVICE,

[PATCH 2/2] mac80211: 802.11p OCB mode support

2014-10-30 Thread Rostislav Lisovy
one in the similar way as in the IBSS mode -- through the deferred insertion. The OCB mode uses a periodic 'housekeeping task' for expiration of disconnected STAs (in the similar manner as in the MESH mode). New Kconfig option for verbose OCB debugging outputs is added. Signed-off-

[PATCH 0/2 v2] cfg80211: mac80211: 802.11p OCB mode support

2014-10-30 Thread Rostislav Lisovy
secutive calls to ocb_join * Many minor fixes Rostislav Lisovy (2): cfg80211: 802.11p OCB mode handling mac80211: 802.11p OCB mode support include/net/cfg80211.h | 14 +++ include/net/mac80211.h | 2 + include/uapi/linux/nl80211.h | 10 ++ net/mac80211/Kconfig

[PATCH 1/2] cfg80211: 802.11p OCB mode handling

2014-10-30 Thread Rostislav Lisovy
'center frequency' and 'channel width (5/10 MHz)'. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 14 +++ include/net/mac80211.h | 2 + include/uapi/linux/nl80211.h | 10 + net/wireless/Makefile| 2 +- net/wireless/chan.c

[PATCH v4] mtd: nand: omap: Synchronize the access to the ECC engine

2014-10-29 Thread Rostislav Lisovy
_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Use global 'struct nand_hw_control' among multiple NAND instances to synchronize the access to the single ECC Engine. Tested with custom AM335x board using 2x NAND flash chips. S

Re: [PATCH v3 2/2] mtd: nand: omap: Synchronize the access to the ECC engine

2014-10-29 Thread Rostislav Lisovy
On Thu, 2014-10-02 at 16:16 +0200, Rostislav Lisovy wrote: > The AM335x Technical Reference Manual (spruh73j.pdf) says > "Because the ECC engine includes only one accumulation context, > it can be allocated to only one chip-select at a time ... " > (7.1.3.3.12.3). Since t

[PATCH v2] mtd: spi-nor: Add support for Fujitsu MB85RS1MT FRAM

2014-10-29 Thread Rostislav Lisovy
Tested with this particular FRAM chip Signed-off-by: Rostislav Lisovy Acked-by: Marek Vasut --- Changes since v1: * Rebased to the newest linux-next drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi

Re: [PATCH 1/4] mac80211: OCB mode + join and leave handling

2014-10-16 Thread Rostislav Lisovy
On Thu, 2014-10-16 at 18:33 +0200, Rostislav Lisovy wrote: > > > + mutex_lock(&sdata->local->mtx); > > > + ieee80211_vif_release_channel(sdata); > > > + mutex_unlock(&sdata->local->mtx); > > > + > > > + skb_queue_

Re: [PATCH 1/4] mac80211: OCB mode + join and leave handling

2014-10-16 Thread Rostislav Lisovy
Hello Johannes; Thanks for the thorough review. On Thu, 2014-10-09 at 10:23 +0200, Johannes Berg wrote: > On Thu, 2014-09-11 at 16:30 +0200, Rostislav Lisovy wrote: > > +++ b/net/mac80211/cfg.c > > @@ -229,6 +229,7 @@ static int ieee80211_add_key(struct wiphy *wiphy, > > s

Re: [PATCH] drivers/staging/comedi/Kconfig: Let COMEDI_II_PCI20KC depend on HAS_IOMEM

2014-10-02 Thread Rostislav Lisovy
; > ---help--- > > Enable support for Intelligent Instruments PCI-20001C carrier > > PCI-20001, PCI-20006 and PCI-20341 > > This seems appropriate. > > Reviewed-by: H Hartley Sweeten > Since "egrep -irn "ioremap" drivers/staging/comedi/

[PATCH v3 2/2] mtd: nand: omap: Synchronize the access to the ECC engine

2014-10-02 Thread Rostislav Lisovy
_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Use global 'struct nand_hw_control' among multiple NAND instances to synchronize the access to the single ECC Engine. Tested with custom AM335x board using 2x NAND flash chips. S

Re: [PATCH v2 2/2] mtd: nand: omap: Synchronize access to the ECC engine

2014-10-02 Thread Rostislav Lisovy
Hello Roger; Thanks for the review. On Čt, 2014-10-02 at 15:51 +0300, Roger Quadros wrote: > Don't you think this approach is racy? > > IMHO the lock must be held across the entire page operation I still think it is done in this way. > i.e. > hold ecc lock > ecc.hwctl > chip->read/write_buf > e

[PATCH v2 1/2] mtd: nand: omap: Do not use global variables

2014-10-02 Thread Rostislav Lisovy
Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Remove global variable to make the code thread-safe. Signed-off-by: Rostislav Lisovy --- Changes sinc

[PATCH v2 2/2] mtd: nand: omap: Synchronize access to the ECC engine

2014-10-02 Thread Rostislav Lisovy
_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Use mutexes to restrict access to the ECC engine for single read/write operation at a time. Tested with custom AM335x board using 2x NAND flash chips. Signed-off-by: Rostislav Lisovy --- Chang

[PATCH 1/2] mtd: nand: omap: Do not use global variables

2014-10-01 Thread Rostislav Lisovy
Since the commit 97a288ba2cfa ("ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Remove global variable to make the code thread-safe. Signed-off-by: Rostislav Lisovy --- drivers/mtd/

[PATCH 2/2] mtd: nand: omap: Synchronize access to the ECC engine

2014-10-01 Thread Rostislav Lisovy
_alloc()") gpmc-nand driver supports multiple NAND flash devices connected to the single controller. Use spinlocks to restrict access to the ECC engine for single read/write operation at a time. Tested with custom AM335x board using 2x NAND flash chips. Signed-off-by: Rostislav Lisovy --- dr

Re: [PATCH v2] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-23 Thread Rostislav Lisovy
On Čt, 2014-09-18 at 21:12 -0700, Guenter Roeck wrote: > How about reading the OMAP_WATCHDOG_SPR register ? Unfortunately this would be not only extremely fragile (someone writes correct start sequence followed by some garbage -- WD is running and we are reading garbage) but according to some expe

[PATCH RESEND] mtd: spi-nor: Add support for Fujitsu MB85RS1MT FRAM

2014-09-23 Thread Rostislav Lisovy
Tested with this particular FRAM chip Signed-off-by: Rostislav Lisovy Acked-by: Marek Vasut --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index b5ad6be..a914be9 100644 --- a/drivers/mtd/spi

Re: [PATCH v2] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-17 Thread Rostislav Lisovy
Hello Guenter; Thanks for the review. On Út, 2014-09-16 at 08:49 -0700, Guenter Roeck wrote: > How do you know that the watchdog was already running ? > Seems to me you are just making an assumption that it is running > without really knowing for sure. You are definitely right, however the OMAP W

[PATCH v2] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-16 Thread Rostislav Lisovy
ialization. This new feature is highly inspired by the w83627hf_wdt.c Signed-off-by: Rostislav Lisovy --- Changes since v1: * Fix Runtime PM device usage counter leaking (Guenter Roeck) * Remove the unnecessary message informing about "stopping the watchdog" (Guenter Roeck) * F

[PATCH 3/4] cfg80211: Join and Leave handling for OCB mode

2014-09-11 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 11 +++ net/wireless/Makefile | 2 +- net/wireless/chan.c | 8 + net/wireless/core.h | 10 ++ net/wireless/ocb.c | 88 + net/wireless/rdev-ops.h | 21

[PATCH 1/4] mac80211: OCB mode + join and leave handling

2014-09-11 Thread Rostislav Lisovy
there are no extra configuration options besides the channel (center frequency and width) used for the communication. The channel must be known a priori. This is set when joining the network explicitly with the 'ocb join' command. Signed-off-by: Rostislav Lisovy --- include/net/mac8021

[PATCH 2/4] mac80211: Use different EDCA config for OCB

2014-09-11 Thread Rostislav Lisovy
The IEEE 802.11p specifies different EDCA parameters for the OCB mode. Signed-off-by: Rostislav Lisovy --- net/mac80211/util.c | 27 ++- net/mac80211/wme.c | 4 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/net/mac80211/util.c b/net/mac80211

[PATCH 0/4] 802.11p OCB mode

2014-09-11 Thread Rostislav Lisovy
* Actually restricting the OCB mode to the 5.9 GHz band Tested with the ath9k card with slightly modified driver. User-space configuration utilities are not part of this patch. Rostislav Lisovy (4): mac80211: OCB mode + join and leave handling mac80211: Use different EDCA config for OCB cfg80211

[PATCH 4/4] nl80211: Join and Leave handling for OCB mode

2014-09-11 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- include/uapi/linux/nl80211.h | 8 net/wireless/nl80211.c | 47 2 files changed, 55 insertions(+) diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index cdf9ba4..4b39455

[PATCH] mtd: spi-nor: Add support for Fujitsu MB85RS1MT FRAM

2014-09-10 Thread Rostislav Lisovy
Tested with this particular FRAM chip Signed-off-by: Rostislav Lisovy --- drivers/mtd/spi-nor/spi-nor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index b5ad6be..a914be9 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b

[PATCH] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-09 Thread Rostislav Lisovy
ialization. This new feature is highly inspired by the w83627hf_wdt.c Signed-off-by: Rostislav Lisovy --- drivers/watchdog/omap_wdt.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/omap_wdt.c b/drivers/watchdog/omap_wdt.c index 3691b15..8f4c

[PATCH RESEND] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-09-08 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy Reviewed-by: Yijing Wang --- The header file include/linux/pci_ids.h defines #define PCI_CLASS_BRIDGE_OTHER  0x0680 #define PCI_CLASS_SYSTEM_DMA    0x0801 ((struct pci_dev*)dev)->class corresponds to the 3 bytes Class code in the PCI Configurat

Re: [PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-25 Thread Rostislav Lisovy
On Mon, 2014-08-04 at 11:31 +0200, Rostislav Lisovy wrote: > On Sun, 2014-08-03 at 09:16 -0400, Sasha Levin wrote: > > > - /* FIXME: add defines for class 0x68000 and 0x80103 */ > > > if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || > &g

Re: [PATCH] mac80211: Parse IEEE80211_RADIOTAP_RATE on TX

2014-08-25 Thread Rostislav Lisovy
On Mon, 2014-07-21 at 12:20 +0200, Johannes Berg wrote: > On Thu, 2014-07-10 at 14:27 +0200, Rostislav Lisovy wrote: > > Add support for parsing radiotap field IEEE80211_RADIOTAP_RATE > > for transmitted frames. Use the provided datarate value in > > info->control.rates[]

Re: [PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-04 Thread Rostislav Lisovy
On Sun, 2014-08-03 at 09:16 -0400, Sasha Levin wrote: > > - /* FIXME: add defines for class 0x68000 and 0x80103 */ > > if ((dev->class >> 8) == PCI_CLASS_BRIDGE_HOST || > > - dev->class == 0x68000 || > > - dev->class == 0x80103) { > > + dev->class == (PCI_CLASS_BRI

[PATCH] ARM: PCI: Use PCI_CLASS_* defines for PCI class

2014-08-01 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- arch/arm/kernel/bios32.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 17a26c1..e511ad1 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c @@ -255,10

Re: [PATCH v2] cfg80211: Try multiple bandwidths when checking usable channels.

2014-07-24 Thread Rostislav Lisovy
On Thu, 2014-07-24 at 14:43 +0200, Rostislav Lisovy wrote: > diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h > index e46c437..919f759 100644 > --- a/include/net/cfg80211.h > +++ b/include/net/cfg80211.h > @@ -3679,6 +3679,8 @@ void wiphy_apply_custom_regulatory(stru

[PATCH v2] cfg80211: Try multiple bandwidths when checking usable channels.

2014-07-24 Thread Rostislav Lisovy
en someone will try to use that particular channel with the maximum bandwidth allowed (e.g. 20 MHz), the resulting channel will not be in the range of the band anymore (will overlap the border). Signed-off-by: Rostislav Lisovy --- Patch applies to the mac80211 repository (since the fau

[PATCH] cfg80211: Try multiple bandwidths when checking usable channels.

2014-07-10 Thread Rostislav Lisovy
en someone will try to use that particular channel with the maximum bandwidth allowed (e.g. 20 MHz), the resulting channel will not be in the range of the band anymore. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 8 +- net/wireless/reg.c

[PATCH] mac80211: Parse IEEE80211_RADIOTAP_RATE on TX

2014-07-10 Thread Rostislav Lisovy
Add support for parsing radiotap field IEEE80211_RADIOTAP_RATE for transmitted frames. Use the provided datarate value in info->control.rates[] array so it will be used for transmission. Signed-off-by: Rostislav Lisovy --- This feature is essential for Transmit Datarate Control (TDC) in fut

[PATCH RESEND] ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()

2014-07-09 Thread Rostislav Lisovy
se up to 8 NAND devices connected to the GPMC controller. Signed-off-by: Rostislav Lisovy --- Tested on custom AM335x board with two different NAND chips (128 + 256 MiB) using GPMC configuration in FDT -- behaves correctly. arch/arm/mach-omap2/gpmc-nand.c | 79 +++---

[RFC] Try multiple bandwidths when checking usable channels.

2014-06-27 Thread Rostislav Lisovy
flags -- because the maximum allowed bandwidth for the band 2402--2472 is 40 MHz, we allowed 20 MHz operation which is completely wrong since "2467 MHz" (Channel 12) + "10 MHz" (1/2 of the BW) is no more within the allowed 2402--2472. Rostislav Lisovy (1): Try explicitly bandwi

[RFC] Try multiple bandwidths when checking usable channels.

2014-06-27 Thread Rostislav Lisovy
bandwidth allowed by the particular regulatory rule (which may be greater than the 5 MHz). When someone will try to use the channel with the maximum bandwidth allowed (e.g. 20 MHz), the resulting channel will not be in the range of the band anymore. Signed-off-by: Rostislav Lisovy --- include/net

Re: [PATCH 2/2] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-06-23 Thread Rostislav Lisovy
On Mon, 2014-06-23 at 16:46 +0200, Felix Fietkau wrote: > On 2014-06-23 16:38, Rostislav Lisovy wrote: > > On Mon, 2014-06-23 at 12:05 +0200, Johannes Berg wrote: > >> On Mon, 2014-06-23 at 12:04 +0200, Felix Fietkau wrote: > >> > On 2014-06-23 11:08, Johannes Berg w

Re: [PATCH 2/2] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-06-23 Thread Rostislav Lisovy
On Mon, 2014-06-23 at 12:05 +0200, Johannes Berg wrote: > On Mon, 2014-06-23 at 12:04 +0200, Felix Fietkau wrote: > > On 2014-06-23 11:08, Johannes Berg wrote: > > > On Sun, 2014-06-22 at 13:41 +0200, Felix Fietkau wrote: > > >> On 2014-04-15 14:37, Rostislav Lisov

Re: [RFC 1/4] cfg80211: Add channel flags limiting availability to OCB mode only

2014-06-09 Thread Rostislav Lisovy
Dear Luis; Thank you for the introduction in the wireless-regdb mailing-list. On Wed, 2014-06-04 at 00:18 +0200, Luis R. Rodriguez wrote: > Rostislav, can you provide documentation references which would > clarify > the stance on 802.11p and restrictions for only allowing OCB mode? If I may cite

Re: [RFC 0/4 v2] cfg80211/mac80211: Add new interface type for OCB (Outside the Context of a BSS) mode

2014-06-09 Thread Rostislav Lisovy
On Tue, 2014-06-03 at 22:15 +0200, Johannes Berg wrote: > it's unclear to me how the bitrate is > selected, are there even different bitrates? My understanding is that since we are using OFDM we have to support at least 3, 6, 12 Mb/s data rates (says 802.11-2012, Chapter 18.1.1, second paragraph).

[PATCH] ARM: omap2+: gpmc-nand: Use dynamic platform_device_alloc()

2014-06-04 Thread Rostislav Lisovy
se up to 8 NAND devices connected to the GPMC controller. Signed-off-by: Rostislav Lisovy --- Tested on custom AM335x board with two different NAND chips (128 + 256 MiB) using GPMC configuration in FDT -- behaves correctly. arch/arm/mach-omap2/gpmc-nand.c | 79 +++---

[RFC 3/4] nl80211: Do not ignore 5/10MHz wide channels in nl80211_send_chandef()

2014-05-30 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- net/wireless/nl80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 79bae31..3a50d1a 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -2281,6 +2281,8 @@ static int

[RFC 2/4] cfg80211: Add new interface type for OCB mode

2014-05-30 Thread Rostislav Lisovy
Add new OCB mode (outside the context of the BSS) interface type as well as functions necessary to configure the interface when 'joining' such network. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 7 + include/uapi/linux/nl80211.h | 3 ++ net/wireles

[RFC 4/4] mac80211: OCB mode interface configuration

2014-05-30 Thread Rostislav Lisovy
Add functions necessary for OCB mode interface configuration used in interface bring-up and when 'joining' the network. Signed-off-by: Rostislav Lisovy --- net/mac80211/Makefile | 3 ++- net/mac80211/cfg.c | 22 ++ net/mac80211/chan.c|

[RFC 0/4 v2] cfg80211/mac80211: Add new interface type for OCB (Outside the Context of a BSS) mode

2014-05-30 Thread Rostislav Lisovy
e. Changes v1 --> v2: * Added proper (__)cfg80211_join_ocb function * Removed the infrastructure for ocb_housekeeping (has to be reworked and added in the future) * OCB_ONLY channel flags are checked in __cfg80211_join_ocb() Rostislav Lisovy (4): cfg80211: Add channel flags limiting availabilit

[RFC 1/4] cfg80211: Add channel flags limiting availability to OCB mode only

2014-05-30 Thread Rostislav Lisovy
IEEE 802.11p operates in its own 5.9GHz band. When there will be a record for the 5.9GHz band in the regulatory daemon, it must be limited to the OCB mode only -- using the newly added flags. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 2 ++ include/uapi/linux/nl80211.h

Re: [RFC 1/2] cfg80211: Add channel flags limiting availability to OCB mode only

2014-05-26 Thread Rostislav Lisovy
mp; IEEE80211_CHAN_OCB_ONLY)) { + ret = -EINVAL; + goto out; + } + if (chandef->width == NL80211_CHAN_WIDTH_20_NOHT || sdata->vif.bss_conf.chandef.width == NL80211_CHAN_WIDTH_20_NOHT) { ret = -EINVAL; -- Best regards; Rostislav Lisov

[RFC 2/2] mac80211: Add new interface type for OCB mode

2014-05-19 Thread Rostislav Lisovy
ff-by: Rostislav Lisovy --- include/uapi/linux/nl80211.h | 3 ++ net/mac80211/Makefile| 3 +- net/mac80211/cfg.c | 1 + net/mac80211/chan.c | 2 + net/mac80211/driver-ops.h| 3 +- net/mac80211/ieee80211_i.h | 38 ++ net/mac80211/if

[RFC 1/2] cfg80211: Add channel flags limiting availability to OCB mode only

2014-05-19 Thread Rostislav Lisovy
IEEE 802.11p operates in its own 5.9GHz band. When there will be a record for the 5.9GHz band in the regulatory daemon, it must be limited to the OCB mode only -- using the newly added flags. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 2 ++ include/uapi/linux/nl80211.h

[RFC 0/2] mac80211: Add new interface type for OCB (Outside the Context of a BSS) mode

2014-05-19 Thread Rostislav Lisovy
TA in range and transmits to every STA tuned to the same channel. The communication is taking place in a reserved frequency band (5.9 GHz). Rostislav Lisovy (2): cfg80211: Add channel flags limiting availability to OCB mode only mac80211: Add new interface type for OCB mode include/net/cfg8021

[PATCH 1/2] cfg80211: Add attributes describing prohibited channel bandwidth

2014-04-15 Thread Rostislav Lisovy
restriction flags in cfg80211_chandef_usable() to comply with the restrictions. Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 6 ++ include/uapi/linux/nl80211.h | 6 ++ net/wireless/chan.c | 2 ++ net/wireless/nl80211.c | 13 + 4 files ch

[PATCH 0/2 v3] cfg80211: The very first steps to support 5/10MHz channels in 5.9Ghz band

2014-04-15 Thread Rostislav Lisovy
implementation of 802.11p. Changes since v2: * Rebased to jberg/mac80211-next * Squashed patches 1+2 Rostislav Lisovy (2): cfg80211: Add attributes describing prohibited channel bandwidth cfg80211: Use 5MHz bandwidth by default when checking usable channels include/net/cfg80211.h | 6

[PATCH 2/2] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-04-15 Thread Rostislav Lisovy
than 5MHz, the channel is disabled. Otherwise the channel is used and the flags are set according to the bandwidth allowed by the channel. Signed-off-by: Rostislav Lisovy --- net/wireless/reg.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/net/wireless

[PATCH 1/4] cfg80211: Add attributes describing prohibited channel bandwidth

2014-04-02 Thread Rostislav Lisovy
p' is enabled, report the extra attributes (if present) describing the bandwidth restrictions. If the 'split wiphy dump' is not enabled, completely omit those channels that have flags set to either IEEE80211_CHAN_NO_10MHZ or IEEE80211_CHAN_NO_20MHZ. Signed-off-by: Rostislav Lisovy ---

[PATCH 2/4] cfg80211: Take the BW restrictions into account when checking the channel

2014-04-02 Thread Rostislav Lisovy
Since there are frequency bands restricting maximum channel bandwidth to 5MHz or 10MHz, check the particular bandwidth flags in cfg80211_chandef_usable() to comply with the restrictions. Signed-off-by: Rostislav Lisovy --- net/wireless/chan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 0/5] cfg80211: Add channel attributes to be used with 5/10MHz channels

2014-04-02 Thread Rostislav Lisovy
27;d also be good to have some text in the empty commit logs of patches > 3 and 5. Thank you for the review. I just sent the v2 patch. Regards; Rostislav Lisovy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

[PATCH 3/4] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-04-02 Thread Rostislav Lisovy
than 5MHz, the channel is disabled. Otherwise the channel is used and the flags are set according to the bandwidth allowed by the channel. Signed-off-by: Rostislav Lisovy --- net/wireless/reg.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/net/wireless

[PATCH 4/4] mac80211: Update conf_is_ht() to work properly with 5/10MHz channels

2014-04-02 Thread Rostislav Lisovy
The channels with 5/10MHz bandwidth are not HT. We have to reflect this in conf_is_ht() function which returns whether the particular channel is HT or not. Signed-off-by: Rostislav Lisovy --- include/net/mac80211.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include

[PATCH 0/4 v2] cfg80211: The very first steps to support 5/10MHz channels in 5.9Ghz band

2014-04-02 Thread Rostislav Lisovy
implementation of 802.11p. Changes since v1: * Rebased to 3.14 * Squashed patches 1+2 * All patches have long commit message Rostislav Lisovy (4): cfg80211: Add attributes describing prohibited channel bandwidth cfg80211: Take the BW restrictions into account when checking the channel cfg80211

[PATCH 1/5] cfg80211: Add attributes describing prohibited channel bandwidth

2014-03-11 Thread Rostislav Lisovy
Since there are channels which have only 10 or 5 MHz bandwidth, we have to keep track about this information (and be able to report it via netlink to userspace). Signed-off-by: Rostislav Lisovy --- include/net/cfg80211.h | 6 ++ include/uapi/linux/nl80211.h | 6 ++ 2 files changed

[PATCH 0/5] cfg80211: Add channel attributes to be used with 5/10MHz channels

2014-03-11 Thread Rostislav Lisovy
implementation of 802.11p. Rostislav Lisovy (5): cfg80211: Add attributes describing prohibited channel bandwidth nl80211: Support for 5/10 MHz channels when reporting BW restrictions cfg80211: Take the BW restrictions into account when checking the channel cfg80211: Use 5MHz bandwidth by default

[PATCH 2/5] nl80211: Support for 5/10 MHz channels when reporting BW restrictions

2014-03-11 Thread Rostislav Lisovy
eventing breaking of old user-space tools. Signed-off-by: Rostislav Lisovy --- net/wireless/nl80211.c | 13 + 1 file changed, 13 insertions(+) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 4fe2e6e..c62c572 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless

[PATCH 5/5] mac80211: Update conf_is_ht() to work properly with 5/10MHz channels

2014-03-11 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- include/net/mac80211.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/net/mac80211.h b/include/net/mac80211.h index f4ab2fb..f56e45b 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -4585,7 +4585,9

[PATCH 3/5] cfg80211: Take the BW restrictions into account when checking the channel

2014-03-11 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- net/wireless/chan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/wireless/chan.c b/net/wireless/chan.c index 78559b5..87e1576 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c @@ -531,12 +531,14 @@ bool cfg80211_chandef_usable(struct

[PATCH 4/5] cfg80211: Use 5MHz bandwidth by default when checking usable channels

2014-03-11 Thread Rostislav Lisovy
channel is disabled. Otherwise the channel is used and the flags are set according to the BW allowed by the channel. Signed-off-by: Rostislav Lisovy --- net/wireless/reg.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/net/wireless/reg.c b/net/wireless

Re: [PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-09 Thread Rostislav Lisovy
On Wed, 2014-01-08 at 10:47 +0300, Dan Carpenter wrote: > On Tue, Jan 07, 2014 at 11:24:57PM +0100, Rostislav Lisovy wrote: > > This patch adds Comedi driver for Humusoft MF634 (PCIe) and > > MF624 (PCI) data acquisition cards. The legacy card Humusoft > > MF614 is not suppo

[PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-09 Thread Rostislav Lisovy
. Just the basic functionality of the card (DIO, ADC, DAC) is supported by this driver. Signed-off-by: Rostislav Lisovy --- create mode 100644 drivers/staging/comedi/drivers/mf6x4.c diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index bfa27e7..89e25b4 100644 --- a

[PATCH v3] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-09 Thread Rostislav Lisovy
Changes since v2: * Removed one unused constant * Corrected commit message Changes since v1: * Implemented all the small and big remarks pointed out by Hartley Sweeten, Dan Carpenter and Ian Abbott Rostislav Lisovy (1): comedi: Humusoft MF634 and MF624 DAQ cards driver drivers/staging

Re: [PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-08 Thread Rostislav Lisovy
Hello Dan; On Wed, 2014-01-08 at 10:47 +0300, Dan Carpenter wrote: > On Tue, Jan 07, 2014 at 11:24:57PM +0100, Rostislav Lisovy wrote: > > This patch adds Comedi driver for Humusoft MF634 (PCIe) and > > MF624 (PCI) data acquisition cards. The legacy card Humusoft > > MF614 i

[PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-07 Thread Rostislav Lisovy
. Just the basic functionality of the card (DIO, ADC, DAC) is supported by this driver. Signed-off-by: Rostislav Lisovy create mode 100644 drivers/staging/comedi/drivers/mf6x4.c diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index bfa27e7..89e25b4 100644 --- a/drivers

[PATCH v2] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-07 Thread Rostislav Lisovy
Changes since v1: * Implemented all the small and big remarks pointed out by Hartley Sweeten, Dan Carpenter and Ian Abbott Rostislav Lisovy (1): comedi: Humusoft MF634 and MF624 DAQ cards driver drivers/staging/comedi/Kconfig | 6 + drivers/staging/comedi/comedidev.h | 1

Re: [PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-05 Thread Rostislav Lisovy
Hello Hartley (and Dan); Thank you for the review. I do agree with most of the things, however I would like to explain/discuss a few of them... On Thu, 2014-01-02 at 18:38 +, Hartley Sweeten wrote: > On Monday, December 30, 2013 6:37 PM, Rostislav Lisovy wrote: > > > > cre

[PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2013-12-30 Thread Rostislav Lisovy
. Just the basic functionality of the card (DIO, ADC, DAC) is supported by this driver. I hope I will be able to add some more functionality soon. Rostislav Lisovy (1): comedi: Humusoft MF634 and MF624 DAQ cards driver drivers/staging/comedi/Kconfig | 6 + drivers/staging/comedi/drivers

[PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2013-12-30 Thread Rostislav Lisovy
F634, Humusoft MF624 + * Author: Rostislav Lisovy + * Status: works + * Updated: + * Configuration Options: none + */ + +#include +#include +#include "../comedidev.h" + +/* PCI Vendor ID, Device ID */ +#define PCI_VENDOR_ID_HUMUSOFT 0x186

Re: [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module

2013-10-24 Thread Rostislav Lisovy
I saw that most of the vendor prefixes are somehow shortened (e.g. Freescale -- fsl, etc.). Rostislav Lisovy On Thu, 2013-10-24 at 14:49 -0500, Matt Sealey wrote: > On Thu, Oct 24, 2013 at 2:12 PM, Rostislav Lisovy wrote: > > Dear Shawn; > > Thank you for your comments. > &

Re: [PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module

2013-10-24 Thread Rostislav Lisovy
Dear Shawn; Thank you for your comments. Should I also add Voipac to Documentation/devicetree/bindings/vendor-prefixes.txt? Best regards; Rostislav Lisovy On Wed, 2013-10-23 at 15:27 +0800, Shawn Guo wrote: > On Tue, Oct 22, 2013 at 07:07:22PM +0200, Rostislav Lisovy wrote: > > Ena

[PATCH 0/4] Devicetree description for Voipac i.MX53 module

2013-10-22 Thread Rostislav Lisovy
://www.voipac.com/#X25-BSB-000 Working peripherals are: * UART0 * Ethernet * Buttons (with keyboard controller) * Sound (headphone output) * SD-card * LEDs (through GPIOs) Rostislav Lisovy (4): ARM: dts: i.MX53: Add alternate pinmux option for i2c_3 ARM: dts: i.MX53: Internal keyboard controller

[PATCH 2/4] ARM: dts: i.MX53: Internal keyboard controller

2013-10-22 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 55e83d1..362eca0 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -281,6 +281,14 @@ #interrupt-cells = &l

[PATCH 3/4] ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module

2013-10-22 Thread Rostislav Lisovy
Enable UART1 and FEC Signed-off-by: Rostislav Lisovy create mode 100644 arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi diff --git a/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi b/arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi new file mode 100644 index 000..04695c9 --- /dev/null +++ b/arch/arm

[PATCH 1/4] ARM: dts: i.MX53: Add alternate pinmux option for i2c_3

2013-10-22 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 4307e80..55e83d1 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -599,6 +599,13

[PATCH 4/4] ARM: dts: i.MX53: Devicetree for Voipac Baseboard using x53-dmm-668 module

2013-10-22 Thread Rostislav Lisovy
Supported peripherals: Audio -- headphone output, LEDs, Buttons (using keyboard controller), SD-card. Signed-off-by: Rostislav Lisovy create mode 100644 arch/arm/boot/dts/imx53-voipac-bsb.dts diff --git a/arch/arm/boot/dts/imx53-voipac-bsb.dts b/arch/arm/boot/dts/imx53-voipac-bsb.dts new

[PATCH] drivers: uio: mf624_disable_interrupt() can be static

2013-09-02 Thread Rostislav Lisovy
From: Fengguang Wu Signed-off-by: Fengguang Wu Signed-off-by: Rostislav Lisovy --- drivers/uio/uio_mf624.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio_mf624.c b/drivers/uio/uio_mf624.c index a1768b2..92cf6a9 100644 --- a/drivers/uio/uio_mf624.c

[PATCH 1/1] drivers: uio: Add driver for Humusoft MF624 DAQ PCI card

2013-08-30 Thread Rostislav Lisovy
Signed-off-by: Rostislav Lisovy --- drivers/uio/Kconfig | 13 +++ drivers/uio/Makefile|1 + drivers/uio/uio_mf624.c | 247 +++ 3 files changed, 261 insertions(+) create mode 100644 drivers/uio/uio_mf624.c diff --git a/drivers/uio

[PATCH 0/1] Humusoft MF624 DAQ PCI card driver

2013-08-30 Thread Rostislav Lisovy
from git: git://rtime.felk.cvut.cz/mf6xx.git Rostislav Lisovy (1): drivers: uio: Add driver for Humusoft MF624 DAQ PCI card drivers/uio/Kconfig | 13 +++ drivers/uio/Makefile|1 + drivers/uio/uio_mf624.c | 247 +++ 3 files changed, 261