Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-24 Thread Alexey Charkov
2015-12-24 0:48 GMT+03:00 Roman Volkov : > В Sat, 4 Apr 2015 15:27:20 +0300 > Roman Volkov пишет: > >> В Sun, 1 Mar 2015 23:39:11 +0300 >> Roman Volkov пишет: >> >> > В Sun, 01 Mar 2015 20:52:55 +0100 >> > Arnd Bergmann пишет: >> > >> > > On Sunday 01 March 2015 19:06:45 Roman Volkov wrote: >> >

Re: [PATCH v2 0/3] clocksource/vt8500: Fix hangs in small delays

2015-12-24 Thread Alexey Charkov
lta and fails with -ETIME. > > Google group discussion: > https://groups.google.com/forum/#!topic/vt8500-wm8505-linux-kernel/vDMF_mDOb1k > > v2: > Address comments by Alexey Charkov. Merge patches to get less amount of > changes (three patches instead of four). > > Tested

Re: [PATCH 0/4] clocksource/vt8500: Fix hangs in small delays

2015-12-22 Thread Alexey Charkov
2015-12-21 23:33 GMT+03:00 Roman Volkov : >> Roman Volkov mail.ru> writes: >> >> > >> > From: Roman Volkov v1ros.org> >> > >> > vt8500 timer requires special synchronization for accessing some of >> > its registers. Define special read and write functions to handle >> > this process transparently

Re: [PATCH 4/4] clocksource/vt8500: Add register R/W functions

2015-12-21 Thread Alexey Charkov
Roman Volkov mail.ru> writes: > > From: Roman Volkov v1ros.org> > > vt8500 timer requires special synchronization for accessing some of its > registers. Define special read and write functions to handle this process > transparently. Maybe introduce such accessor functions (conditionally) into

Re: [PATCH] mmc: wmt-sdmmc: fix unmatched release_mem_region

2014-11-09 Thread Alexey Charkov
2014-11-10 1:18 GMT+03:00 lautriv : > On 11/09/2014 10:55 PM, Fabio Estevam wrote: >> >> On Sun, Nov 9, 2014 at 7:12 PM, Alexey Charkov wrote: >> >>> + res = platform_get_resource(pdev, IORESOURCE_MEM, 0); >>> + if (!res) { >>> +

[PATCH] mmc: wmt-sdmmc: fix unmatched release_mem_region

2014-11-09 Thread Alexey Charkov
bit simpler. Signed-off-by: Helmut Stengele (edited commit message) Signed-off-by: Alexey Charkov --- Dear Chris, Ulf, This is a pretty trivial fix to a bug in wmt-sdmmc.c that is only visible upon module unload. Is there any chance to get it merged to the current fixes tree? I think I'd

[PATCH 1/4] tty: vt8500_serial: add support for UART in WM8880 chips

2014-09-06 Thread Alexey Charkov
to software mode on affected chips (only WM8880 so far). Also remove the redundant copy of the binding doc, while we are here. Signed-off-by: Alexey Charkov --- .../devicetree/bindings/serial/via,vt8500-uart.txt | 17 -- .../devicetree/bindings/serial/vt8500-uart.txt | 3 +- drivers/tty

[PATCH 2/4] tty: vt8500_serial: add missing support for RTS setting

2014-09-06 Thread Alexey Charkov
Signed-off-by: Alexey Charkov --- drivers/tty/serial/vt8500_serial.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c index f225719..47e74f9 100644 --- a/drivers/tty/serial/vt8500_serial.c +++ b/drivers/tty

[PATCH 3/4] tty: vt8500_serial: explicitly calculate base baud rate

2014-09-06 Thread Alexey Charkov
nsure that break signal timing is updated when baud rate changes. Signed-off-by: Alexey Charkov --- drivers/tty/serial/vt8500_serial.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt850

[PATCH 4/4] tty: vt8500_serial: add polled console functions

2014-09-06 Thread Alexey Charkov
This adds simple polling functions for single-character transmit and receive, as used by kgdb. Signed-off-by: Alexey Charkov --- drivers/tty/serial/vt8500_serial.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers

[PATCH 0/4] tty: vt8500_serial: Changes for -next

2014-09-06 Thread Alexey Charkov
se changes have been tested on a WonderMedia WM8880 netbook (all), and on a VIA Springboard (WM8950) (all except KGDB). Greg, could you please merge these for -next, if they look fine? Thanks a lot, Alexey Alexey Charkov (4): tty: vt8500_serial: add support for UART in WM8880 chips tty

Re: [PATCH RESEND] irqchip: vt8500: Properly mask the interrupt in irq_mask()

2014-05-11 Thread Alexey Charkov
2014-05-11 23:29 GMT+04:00 lautriv : > Alexey, i wonder how you can tell "all works fine" since 8850 is still > vomiting a bunch when it comes to I2C or GPIO. Maybe i missed some changes > there ? I've never noticed anything like that on my machine... Note though that I don't use I2C actively (or

Re: [PATCH RESEND] irqchip: vt8500: Properly mask the interrupt in irq_mask()

2014-05-06 Thread Alexey Charkov
2014-05-04 7:14 GMT+04:00 Axel Lin : > Current code sets both irq_ack and irq_mask callbacks to vt8500_irq_mask(). > However, vt8500_irq_mask does not clear interrupt enable bit when the > interrupt > trigger mode is edge trigger. > > This patch moves the code clearing Interrupt Status Register bi

[PATCH] net: via-rhine: Convert #ifdef USE_MMIO to a runtime flag

2014-05-03 Thread Alexey Charkov
drivers/net/ethernet/via/via-rhine.c:916:22: warning: 'quirks' may be used uninitialized in this function [-Wmaybe-uninitialized] phy_id = rp->quirks & rqIntPHY ? 1 : 0; ^ drivers/net/ethernet/via/via-rhine.c:1026:6: note: 'quirks' was

Re: [PATCH] net: via-rhine: Fix compiler warning re: pointer casting on 64bit

2014-05-01 Thread Alexey Charkov
2014-05-01 13:30 GMT+04:00 David Laight : > From: Alexey Charkov [mailto:alch...@gmail.com] > ... >> This patch removes the cast altogether, and instead stores an actual >> pointer to u8 in match->data. All instances of 'revision' are also >> unified to u8

[PATCH] net: via-rhine: Drop revision property, use quirks instead

2014-04-30 Thread Alexey Charkov
ia-rhine: add OF bus binding"). Tested in platform configuration on a VIA WM8950 APC Rock board. Reported-by: Jan Moskyto Matejka Signed-off-by: Alexey Charkov --- This supercedes a previously submitted patch titled: net: via-rhine: Fix compiler warning re: pointer casting on 64bit I tho

[PATCH] net: via-rhine: Fix compiler warning re: pointer casting on 64bit

2014-04-30 Thread Alexey Charkov
nified to u8 instead of an assortment of different integer types, in line with the definition of 'revision' in struct pci_dev. Tested in platform configuration on a VIA WM8950 APC Rock board. Reported-by: Jan Moskyto Matejka Signed-off-by: Alexey Charkov --- drivers/net/ethernet/via/vi

Re: [PATCH] net: via-rhine: fix compiler warning

2014-04-30 Thread Alexey Charkov
2014-04-30 12:49 GMT+04:00 David Laight : > From: Jan Moskyto Matejka >> Fixed different size cast warning: >> >> drivers/net/ethernet/via/via-rhine.c: In function >> rhine_init_one_platform: >> drivers/net/ethernet/via/via-rhine.c:1132:13: warning: cast from >> pointer to integer of

[PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-29 Thread Alexey Charkov
off-by: Alexey Charkov --- drivers/pinctrl/vt8500/pinctrl-wmt.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/pinctrl/vt8500/pinctrl-wmt.c b/drivers/pinctrl/vt8500/pinctrl-wmt.c index 9802b67..2c61281 100644 --- a/drivers/pinctrl/vt8500/pinc

Re: [PATCH] net: via-rhine: fix compiler warning

2014-04-29 Thread Alexey Charkov
thanks a lot for catching this. Have to admit that I didn't compile it on 64bit. Acked-by: Alexey Charkov Looks like the same would apply to e.g. drivers/clk/samsung/clk.c and maybe some others... Also, a number of drivers cast OF data from (void *) to (int) or (unsigned int) - isn'

[PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-04-22 Thread Alexey Charkov
Remove legacy PCI DMA wrappers and instead use generic DMA functions directly in preparation for OF bus binding Signed-off-by: Alexey Charkov --- drivers/net/ethernet/via/via-rhine.c | 84 ++-- 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a

[PATCH 2/3] net: via-rhine: reduce usage of the PCI-specific struct

2014-04-22 Thread Alexey Charkov
Use more generic data structures instead of struct pci_dev wherever possible in preparation for OF bus binding Signed-off-by: Alexey Charkov --- drivers/net/ethernet/via/via-rhine.c | 116 +++ 1 file changed, 62 insertions(+), 54 deletions(-) diff --git a

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

2014-04-22 Thread Alexey Charkov
This should make the driver usable with VIA/WonderMedia ARM-based Systems-on-Chip integrated Rhine III adapters. Note that these are always in MMIO mode, and don't have any known EEPROM. Signed-off-by: Alexey Charkov --- .../devicetree/bindings/net/via-rhine.txt | 17 ++ arch/arm

[PATCH v2 0/3] net: via-rhine: add support for on-chip Rhine controllers

2014-04-22 Thread Alexey Charkov
Fixed indentation of function arguments - Switched to 'dev_is_pci' instead of string comparison on bus name - Dropped 'rhine,revision' DT attribute, put the revision into OF match table instead - Included actual device tree nodes where applicable Alexey Charkov (3):

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

2014-01-28 Thread Alexey Charkov
2014/1/29 Tony Prisk : > On 29/01/14 07:27, Alexey Charkov wrote: >> >> 2014/1/27 Rob Herring : >>> >>> On Mon, Jan 27, 2014 at 5:51 AM, Alexey Charkov >>> wrote: >>>> >>>> This should make the driver usable with VIA/WonderMedia

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

2014-01-28 Thread Alexey Charkov
2014/1/28 Ben Hutchings : > On Mon, 2014-01-27 at 19:34 +0400, Alexey Charkov wrote: >> 2014/1/27 Ben Hutchings : >> > On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: >> >> This should make the driver usable with VIA/WonderMedia ARM-based >> >

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

2014-01-28 Thread Alexey Charkov
2014/1/27 Rob Herring : > On Mon, Jan 27, 2014 at 5:51 AM, Alexey Charkov wrote: >> This should make the driver usable with VIA/WonderMedia ARM-based >> Systems-on-Chip integrated Rhine III adapters. Note that these >> are always in MMIO mode, and don't have any known E

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

2014-01-27 Thread Alexey Charkov
2014/1/27 Ben Hutchings : > On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: >> This should make the driver usable with VIA/WonderMedia ARM-based >> Systems-on-Chip integrated Rhine III adapters. Note that these >> are always in MMIO mode, and don't have any know

Re: [PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Alexey Charkov
2014/1/27 Ben Hutchings : > On Mon, 2014-01-27 at 15:51 +0400, Alexey Charkov wrote: >> Remove legacy PCI DMA wrappers and instead use generic DMA functions >> directly in preparation for OF bus binding >> >> Signed-off-by: Alexey Charkov >> Signed-off-by: Rog

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

2014-01-27 Thread Alexey Charkov
This should make the driver usable with VIA/WonderMedia ARM-based Systems-on-Chip integrated Rhine III adapters. Note that these are always in MMIO mode, and don't have any known EEPROM. Signed-off-by: Alexey Charkov Signed-off-by: Roger Luethi --- .../devicetree/bindings/net/via-rhin

[PATCH 2/3] net: via-rhine: reduce usage of the PCI-specific struct

2014-01-27 Thread Alexey Charkov
Use more generic data structures instead of struct pci_dev wherever possible in preparation for OF bus binding Signed-off-by: Alexey Charkov Signed-off-by: Roger Luethi --- drivers/net/ethernet/via/via-rhine.c | 116 +++ 1 file changed, 62 insertions(+), 54

[PATCH 1/3] net: via-rhine: switch to generic DMA functions

2014-01-27 Thread Alexey Charkov
Remove legacy PCI DMA wrappers and instead use generic DMA functions directly in preparation for OF bus binding Signed-off-by: Alexey Charkov Signed-off-by: Roger Luethi --- drivers/net/ethernet/via/via-rhine.c | 56 +++- 1 file changed, 29 insertions(+), 27

[PATCH 0/3] Resubmit: net: via-rhine: add support for on-chip Rhine controllers

2014-01-27 Thread Alexey Charkov
lieve it is cleaner this way). Not sure if it's appropriate for 3.14 at this point, but getting it merged to -next would be much appreciated. Best regards, Alexey Alexey Charkov (3): net: via-rhine: switch to generic DMA functions net: via-rhine: reduce usage of the PCI-specific struc

Re: [PATCH 0/3] net: via-rhine: add support for on-chip Rhine controllers

2013-11-30 Thread Alexey Charkov
2013/11/23, Alexey Charkov : > This series introduces platform bus (OpenFirmware) binding for via-rhine, > as used in various ARM-based Systems-on-Chip by VIA/WonderMedia. > > This has been tested on a WM8950-based VIA APC Rock development board > > Alexey Charkov (3): > n

Re: [PATCH 4/4] fb: vt8500: Add VGA output support to wm8505fb driver.

2013-05-18 Thread Alexey Charkov
2013/5/18 Tony Prisk : > The APC8750 does not support an LCD panel, but provides a VGA connector. > This patch adds support for the VGA interface, and defines an optional > devicetree property to specify the output interface. The default if not > specified is LCD for backward compatibility. > > Sig

Re: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-19 Thread Alexey Charkov
2012/7/19 Tony Prisk : > From: Arnd Bergmann [a...@arndb.de] > Sent: 19 July 2012 23:16 > To: vt8500-wm8505-linux-ker...@googlegroups.com > Cc: Tony Prisk; Alexey Charkov; devicetree-disc...@lists.ozlabs.org; Russell > King; linux-kernel@vger.kernel.org; linux-arm-ker...@list

Re: [PATCH 1/1] Add Wondermedia Technologies (wmt) to docs/devicetree/vendor-bindings.txt

2012-07-17 Thread Alexey Charkov
2012/7/17 Arnd Bergmann : > It would also be helpful to describe why the specific string is used here. > Normally we use the stock ticker symbol and "wmt" refers to Wal-Mart, > which would be unlikely but not impossible to produce their own hardware > in the future. The same thing applies to "via",