Re: [patch 2.6.20-rc1 6/6] input: ads7846 directly senses PENUP state

2007-01-04 Thread Nicolas Ferre
if the hrtimer framework has an issue on at91 or do I have to code something to have a low res timer support in the hrtimer framework ? Cheers, -- Nicolas Ferre - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

[PATCH] input/spi: add ads7843 support to ads7846 touchscreen driver

2006-12-15 Thread Nicolas FERRE
Add support for the ads7843 touchscreen controller to the ads7846 driver code. The pen down information is managed quite differently as we do not have a touch-pressure measurement on the ads7843. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- I add a ads7843_rx function to manage the end

Re: [PATCH] input/spi: add ads7843 support to ads7846 touchscreen driver

2006-12-21 Thread Nicolas Ferre
Andrew Morton a écrit : On Fri, 15 Dec 2006 15:45:08 +0100 Nicolas FERRE [EMAIL PROTECTED] wrote: Add support for the ads7843 touchscreen controller to the ads7846 driver code. Generates a lot of errors when applied to the current mainline kernel. Please prepare and test patches against

Re: [PATCH] input/spi: add ads7843 support to ads7846 touchscreen driver

2006-12-21 Thread Nicolas Ferre
David Brownell a écrit : On Friday 15 December 2006 7:20 am, Nicolas FERRE wrote: Add support for the ads7843 touchscreen controller to the ads7846 driver code. Glad to see this! Is this for AT91sam9261-EK board support, maybe? Indeed ! An also for the AT91sam9263-EK which has the same

Re: [PATCH] input/spi: add ads7843 support to ads7846 touchscreen driver

2006-12-21 Thread Nicolas Ferre
Nicolas Ferre a écrit : As the SPI underlying code behaves quite differently from a controller driver to another whan not having a tx_buf filled, I have add a zerroed buffer to give to the spi layer while receiving data. You must be working with a buggy controller driver then. That part

Re: [PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

2012-09-06 Thread Nicolas Ferre
On 09/06/2012 01:27 AM, Ben Hutchings : On Wed, 2012-09-05 at 11:00 +0200, Nicolas Ferre wrote: Add an indication about which revision of the hardware we are running in info-driver string. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c |4

[PATCH v2 09/10] net/macb: ethtool interface: add register dump feature

2012-09-06 Thread Nicolas Ferre
Add macb_get_regs() ethtool function and its helper function: macb_get_regs_len(). The version field is deduced from the IP revision which gives the MACB or GEM information. An additional version field is reserved. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- v2: - modify

Re: [PATCH 04/10] net/macb: Fix a race in macb_start_xmit()

2012-09-06 Thread Nicolas Ferre
On 09/05/2012 11:30 PM, David Miller : From: Nicolas Ferre nicolas.fe...@atmel.com Date: Wed, 5 Sep 2012 10:19:11 +0200 From: Havard Skinnemoen hav...@skinnemoen.net Fix a race in macb_start_xmit() where we unconditionally set the TSTART bit. If an underrun just happened (we do

Re: [PATCH 04/10] net/macb: Fix a race in macb_start_xmit()

2012-09-07 Thread Nicolas Ferre
On 09/06/2012 05:49 PM, Havard Skinnemoen : On Wed, Sep 5, 2012 at 11:30 PM, David Miller da...@davemloft.net wrote: From: Nicolas Ferre nicolas.fe...@atmel.com Date: Wed, 5 Sep 2012 10:19:11 +0200 From: Havard Skinnemoen hav...@skinnemoen.net Fix a race in macb_start_xmit() where we

Re: [PATCH 01/16] ARM: at91: move platform_data definitions

2012-09-11 Thread Nicolas Ferre
include directories Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Nicolas Ferre nicolas.fe...@atmel.com Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com --- arch/arm/mach-at91/at91sam9g45_devices.c

[PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()

2012-09-11 Thread Nicolas Ferre
s/dma_memcpy/slave_sg/ and it is sg length that we are talking about. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Stable sta...@vger.kernel.org [2.6.31+] --- drivers/dma/at_hdmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/at_hdmac.c b

[PATCH 2/2] dmaengine: at_hdmac: check that each sg data length is non-null

2012-09-11 Thread Nicolas Ferre
Avoid the construction of a malformed DMA request sent to the DMA controller. Log message is for debug only because this condition is unlikely to append and may only trigger at driver development time. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Stable sta...@vger.kernel.org [2.6.31

Re: [PATCH 02/24] ARM: at91: use __iomem pointers for MMIO

2012-09-17 Thread Nicolas Ferre
On 09/14/2012 11:34 PM, Arnd Bergmann : ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. Cc: Nicolas Ferre nicolas.fe...@atmel.com Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Signed-off-by: Arnd Bergmann a...@arndb.de

Re: [PATCH v3 04/15] dmaengine: Pass flags via device_prep_dma_cyclic() callback

2012-09-17 Thread Nicolas Ferre
the flags. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Nicolas Ferre nicolas.fe...@atmel.com CC: Barry Song baohua.s...@csr.com CC: Srinidhi Kasagar srinidhi.kasa...@stericsson.com CC: Russell King - ARM Linux li...@arm.linux.org.uk CC: Vista Silicon javier.mar...@vista-silicon.com

[GIT PULL] at91: one fix for 3.6

2012-09-18 Thread Nicolas Ferre
.dtsi | 4 5 files changed, 21 insertions(+) Thanks, best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH v2 0/9] net/macb: driver enhancement concerning GEM support, ring logic and cleanup

2012-09-19 Thread Nicolas Ferre
barriers cleanup net/macb: change debugging messages net/macb: clean up ring buffer logic net/macb: Offset first RX buffer by two bytes Nicolas Ferre (4): net/macb: remove macb_get_drvinfo() net/macb: tx status is more than 8 bits now net/macb: ethtool interface: add register dump

[PATCH v2 1/9] net/macb: Add support for Gigabit Ethernet mode

2012-09-19 Thread Nicolas Ferre
From: Patrice Vilchez patrice.vilc...@atmel.com Add Gigabit Ethernet mode to GEM cadence IP and enable RGMII connection. Signed-off-by: Patrice Vilchez patrice.vilc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 15

[PATCH v2 2/9] net/macb: memory barriers cleanup

2012-09-19 Thread Nicolas Ferre
From: Havard Skinnemoen hav...@skinnemoen.net Remove a couple of unneeded barriers and document the remaining ones. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: split patch in topics] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net

[PATCH v2 5/9] net/macb: tx status is more than 8 bits now

2012-09-19 Thread Nicolas Ferre
On some revision of GEM, TSR status register has more information. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence

[PATCH v2 4/9] net/macb: remove macb_get_drvinfo()

2012-09-19 Thread Nicolas Ferre
This function has little meaning so remove it altogether and let ethtool core fill in the fields automatically. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/net/ethernet

[PATCH v2 9/9] net/macb: Offset first RX buffer by two bytes

2012-09-19 Thread Nicolas Ferre
and purpose as NET_IP_ALIGN. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 23 --- 1 file changed, 16 insertions(+), 7

[RFC PATCH v2 8/9] net/macb: better manage tx errors

2012-09-19 Thread Nicolas Ferre
napi for RX for now. With this sequence, we do not need a special check during the xmit method as the packets will be caught by TX disable during workqueue execution. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- v2: - modify the tx error handling: now uses a workqueue Hi, I have

[PATCH v2 7/9] net/macb: ethtool interface: add register dump feature

2012-09-19 Thread Nicolas Ferre
Add macb_get_regs() ethtool function and its helper function: macb_get_regs_len(). The version field is deduced from the IP revision which gives the MACB or GEM information. An additional version field is reserved. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Reviewed-by: Ben Hutchings

[PATCH v2 6/9] net/macb: clean up ring buffer logic

2012-09-19 Thread Nicolas Ferre
to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 168 +++- drivers/net/ethernet/cadence/macb.h | 22 +++-- 2 files changed, 122 insertions(+), 68 deletions(-) diff --git a/drivers/net/ethernet/cadence

[PATCH v2 3/9] net/macb: change debugging messages

2012-09-19 Thread Nicolas Ferre
...@atmel.com: split patch in topics, add ISR status] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet

Re: [PATCH v2 0/9] net/macb: driver enhancement concerning GEM support, ring logic and cleanup

2012-09-20 Thread Nicolas Ferre
On 09/19/2012 07:50 PM, David Miller : From: Nicolas Ferre nicolas.fe...@atmel.com Date: Wed, 19 Sep 2012 13:55:13 +0200 This is an enhancement work that began several years ago. I try to catchup with some performance improvement that has been implemented then by Havard. The ring index

Re: [PATCH v11 0/4] AT91: replace old i2c-at91.c TWI driver

2012-09-12 Thread Nicolas Ferre
, I suspect that you were not in copy... In addition to the Tested-By tag by Ludovic, you can add my: Reviewed-by: Nicolas Ferre nicolas.fe...@atmel.com Nikolaus Voss (4): drivers/i2c/busses/i2c-at91.c: remove old polling driver Replace clk_lookup.con_id with clk_lookup.dev_id entries

[PATCH] USB: ohci-at91: fix PIO handling in relation with number of ports

2012-08-29 Thread Nicolas Ferre
0ee6d1e (USB: ohci-at91: change maximum number of ports) that did not modified the associatd board files. Reported-by: Klaus Falkner klaus.falk...@solectrix.de Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Greg Kroah-Hartman gre

Re: [PATCH] USB: ohci-at91: fix PIO handling in relation with number of ports

2012-09-04 Thread Nicolas Ferre
On 08/29/2012 11:49 AM, Nicolas Ferre : If the number of ports present on the SoC/board is not the maximum and that the platform data is not filled with all data, there is an easy way to mess the PIO setup for this interface. This quick fix addresses mis-configuration in USB host platform data

[PATCH 01/10] net/macb: Add support for Gigabit Ethernet mode

2012-09-05 Thread Nicolas Ferre
From: Patrice Vilchez patrice.vilc...@atmel.com Add Gigabit Ethernet mode to GEM cadence IP and enable RGMII connection. Signed-off-by: Patrice Vilchez patrice.vilc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 15

[PATCH 03/10] net/macb: change debugging messages

2012-09-05 Thread Nicolas Ferre
...@atmel.com: split patch in topics, add ISR status] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet

[PATCH 04/10] net/macb: Fix a race in macb_start_xmit()

2012-09-05 Thread Nicolas Ferre
, which is usually wrong. Restart the controller after error handling. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: split patch in topics] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 20 +++- 1

[PATCH 00/10] net/macb: driver enhancement concerning GEM support, ring logic and cleanup

2012-09-05 Thread Nicolas Ferre
buffer logic net/macb: Offset first RX buffer by two bytes Nicolas Ferre (4): net/macb: better manage tx errors net/macb: tx status is more than 8 bits now net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision net/macb: ethtool interface: add register dump feature

[PATCH 02/10] net/macb: memory barriers cleanup

2012-09-05 Thread Nicolas Ferre
From: Havard Skinnemoen hav...@skinnemoen.net Remove a couple of unneeded barriers and document the remaining ones. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: split patch in topics] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net

[PATCH 05/10] net/macb: clean up ring buffer logic

2012-09-05 Thread Nicolas Ferre
to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 170 ++- drivers/net/ethernet/cadence/macb.h | 22 +++-- 2 files changed, 123 insertions(+), 69 deletions(-) diff --git a/drivers/net/ethernet/cadence

[PATCH 07/10] net/macb: tx status is more than 8 bits now

2012-09-05 Thread Nicolas Ferre
On some revision of GEM, TSR status register is has more information. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet

[PATCH 06/10] net/macb: better manage tx errors

2012-09-05 Thread Nicolas Ferre
Handle all TX errors, not only underruns. Reinitialize the TX ring after skipping all remaining frames, and restart the controller when everything has been cleaned up properly. Original idea from a patch by Havard Skinnemoen. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net

[PATCH 09/10] net/macb: ethtool interface: add register dump feature

2012-09-05 Thread Nicolas Ferre
Add macb_get_regs() ethtool function and its helper function: macb_get_regs_len(). Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 40 +++ drivers/net/ethernet/cadence/macb.h |3 +++ 2 files changed, 43

[PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

2012-09-05 Thread Nicolas Ferre
Add an indication about which revision of the hardware we are running in info-driver string. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net

[PATCH 10/10] net/macb: Offset first RX buffer by two bytes

2012-09-05 Thread Nicolas Ferre
and purpose as NET_IP_ALIGN. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 23 --- 1 file changed, 16 insertions(+), 7

[GIT PULL] at91: soc update (for 3.6)

2012-08-07 Thread Nicolas Ferre
for chips and boards which can use it Nicolas Ferre (1): ARM: at91/defconfig: change the MCI driver to use in defconfigs Paul Bolle (1): ARM: at91: set i2c_board_info.type to ds1339 directly Richard Genoud (1): ARM: at91/defconfig: Remove unaffected config option arch/arm/configs

Re: [GIT PULL] at91: platform data for atmel-mci (for 3.5)

2012-08-10 Thread Nicolas Ferre
On 07/25/2012 10:06 PM, Arnd Bergmann : On Thursday 31 May 2012, Nicolas Ferre wrote: On 05/24/2012 05:12 PM, Nicolas Ferre : Hi Arnd, hi Olof, Ping? (or maybe you will have a look at this after the merge window...) I've just gone through all old pull requests that I had somewhere

Re: [PATCH 4/4] [RFC] ARM: treewide: manually change more mach-*/*.h includes

2012-08-23 Thread Nicolas Ferre
could not match with ** exactly one ARM platform: In fact, for *atmel* type of files, they usually match *both* AVR32 and ARM/AT91 devices: so, we have to be careful about them... Best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] ARM: at91/feature-removal-schedule: delay at91_mci removal

2012-08-23 Thread Nicolas Ferre
From: Ludovic Desroches ludovic.desroc...@atmel.com Delay sd/mmc driver at91_mci.c removal because of tight schedule to move platform data to new driver atmel-mci. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Hi, I plan

[GIT PULL] at91: fixes for 3.6 (take 1)

2012-08-24 Thread Nicolas Ferre
timer irq issue due to sparse irq support ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq support ARM: at91/feature-removal-schedule: delay at91_mci removal Nicolas Ferre (1): ARM: at91/clock: fix PLLA overclock warning Documentation/feature-removal-schedule.txt |2

Re: [GIT PULL] at91: fixes for 3.6 (take 1)

2012-08-27 Thread Nicolas Ferre
On 08/24/2012 05:59 PM, Nicolas Ferre : The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are available in the git repository at: git://github.com/at91linux/linux-at91.git tags/at91-fixes for you to fetch changes

[GIT PULL] at91: fixes for 3.6 (take 1 bis)

2012-08-27 Thread Nicolas Ferre
): ARM: at91: fix system timer irq issue due to sparse irq support ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq support ARM: at91/feature-removal-schedule: delay at91_mci removal Nicolas Ferre (1): ARM: at91/clock: fix PLLA overclock warning Documentation/feature

[PATCH] at91_mci: use generic GPIO calls

2008-02-04 Thread Nicolas Ferre
by the mmc core; and in one (rare) case would try freeing an IRQ that it didn't allocate. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Little update from previous patch to match the modification introduced by : http://lkml.org/lkml/2008/1/30/308 So

[PATCH] at91_mci: minor cleanup

2008-01-30 Thread Nicolas Ferre
From: Marc Pignat [EMAIL PROTECTED] MMC_POWER_ON is a noop, no need to set the power pin again. Signed-off-by: Marc Pignat [EMAIL PROTECTED] Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- MMC_POWER_OFF/MMC_POWER_UP turn the power OFF/ON, there is nothing to change when ios-power_mode

Re: [PATCH] AT91: correct at91sam9263ek LCD power gpio pin

2008-01-17 Thread Nicolas Ferre
Corrects GPIO pin assignment for the LCD power control (PCI) Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Simpler one. arch/arm/mach-at91/board-sam9263ek.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- linux-2.6-snapshot.orig/arch/arm/mach-at91/board-sam9263ek.c

[PATCH] atmel_lcdfb: backlight control

2008-01-18 Thread Nicolas Ferre
this control, letting screenblank and other operations actually take effect ... reducing the typically substantial power drain from the backlight. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Note that it's not fully cooked - doesn't force backlight

Re: [Linux-fbdev-devel] [PATCH] atmel_lcdfb: backlight control - tiny rework

2008-01-24 Thread Nicolas Ferre
Tiny patch that removes not needed inline and renames function : exit_contrast() - exit_backlight(). It adds the missing exit_backlight() in probe() error path. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Follows comments from Andrew Morton and Haavard Skinnemoen. Thanks to both of you

[GIT PULL] at91: a little dt pull request for 3.6

2012-07-09 Thread Nicolas Ferre
create mode 100644 arch/arm/boot/dts/ge863-pro3.dtsi Thanks, best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: at91sam9260 MACB problem with IP fragmentation

2012-12-06 Thread Nicolas Ferre
on the macb driver right now, so I will try to reproduce and track this issue on my side. Best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[GIT PULL v2] at91: fixes for 3.7-rc7

2012-11-20 Thread Nicolas Ferre
/arm/mach-at91/at91sam9263.c| 2 ++ arch/arm/mach-at91/at91sam9g45.c| 2 ++ arch/arm/mach-at91/at91sam9n12.c| 1 + arch/arm/mach-at91/at91sam9x5.c | 2 ++ 16 files changed, 157 insertions(+) Bye, -- Nicolas Ferre -- To unsubscribe from this list

Re: [GIT PULL v2] at91: fixes for 3.7-rc7

2012-11-21 Thread Nicolas Ferre
On 11/21/2012 08:03 AM, Olof Johansson : Hi, On Tue, Nov 20, 2012 at 09:59:27AM +0100, Nicolas Ferre wrote: Arnd, Olof, Just for the record, I do not want to put pressure at a such late time in the 3.7-rc process. So, I just reworked that pull-request because the previous one

[PATCH] net/macb: GEM DMA configuration register update

2012-11-23 Thread Nicolas Ferre
Add information to the DMA Configuration Register to maximize system performance: - rx/tx packet buffer full memory size - allow possibility to use INCR16 if supported Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 10 -- drivers/net

[PATCH] net/macb: Use non-coherent memory for rx buffers

2012-11-23 Thread Nicolas Ferre
the amount of copying done by the driver. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 206 +++- drivers/net

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

2012-11-26 Thread Nicolas Ferre
and commit e8d623986990 (Merge branch 'next/soc' into for-next) from the arm-soc tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). It seems to be the good way to fix it. Thanks Stephen, bye, - -- Nicolas Ferre -BEGIN PGP SIGNATURE- Version

Re: linux-next: manual merge of the arm-soc tree with the sound-asoc and pincrtl trees

2012-11-26 Thread Nicolas Ferre
/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45) from the arm-soc tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). Good fix. Thanks. Best regards, - -- Nicolas Ferre -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment

Re: linux-next: manual merge of the arm-soc tree with the arm-soc and pincrtl trees

2012-11-26 Thread Nicolas Ferre
/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45) from the arm-soc tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). Good fix. Thanks for your help Stephen. Best regards, - -- Nicolas Ferre -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11

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

2012-11-26 Thread Nicolas Ferre
bcd2360c1ff9 (arm: at91: move platfarm_data to include/linux/platform_data/atmel.h) from the arm-soc tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). Yes, good fix that has to be carried... Thanks, bye, - -- Nicolas Ferre -BEGIN PGP SIGNATURE

Re: [PATCH] net/macb: Use non-coherent memory for rx buffers

2012-11-26 Thread Nicolas Ferre
On 11/23/2012 05:12 PM, Joachim Eastwood : Hi Nicolas, On 23 November 2012 14:50, Nicolas Ferre nicolas.fe...@atmel.com wrote: From: Havard Skinnemoen hav...@skinnemoen.net Allocate regular pages to use as backing for the RX ring and use the DMA API to sync the caches. This should give

Re: at91sam9260 MACB problem with IP fragmentation

2012-12-20 Thread Nicolas Ferre
On 12/20/2012 10:17 AM, Erwin Rol : Hallo Nicolas, On 6-12-2012 14:27, Nicolas Ferre wrote: Erwin, On 12/06/2012 12:32 PM, Erwin Rol : Hello Nicolas, Havard, all, I have a very obscure problem with a at91sam9260 board (almost 1 to 1 copy of the Atmel EK). The MACB seems to stall when

[PATCH 0/3] at91/ssc: fixes on ASoC tree for 3.8

2012-12-17 Thread Nicolas Ferre
Hi Mark, This series goes on top of current Linus' git tree and fixes an error that we have while compiling DTBs for AT91: ERROR (phandle_references): Reference to non-existent node or label pinctrl_ssc0_tx ERROR: Input tree has errors, aborting (use -f to force output) make[3]: ***

[PATCH 1/3] ARM: at91/dts: fix typo in SSC status property

2012-12-17 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com Change the value of status to disabled to conform with property requirement. Signed-off-by: Bo Shen voice.s...@atmel.com [nicolas.fe...@atmel.com: commit subject line and typos] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts

[PATCH 2/3] ARM: at91/dts: add pinctrl support for SSC peripheral

2012-12-17 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com Add pinctrl support for SSC on AT91 dtsi files. Signed-off-by: Bo Shen voice.s...@atmel.com [nicolas.fe...@atmel.com: split dtsi and driver changes] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9260.dtsi | 18

[PATCH 3/3] ASoC: atmel-ssc: add pinctrl selection to driver

2012-12-17 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com Add default pinctrl selection to atmel-ssc driver. The pinctrl is mandatory. Signed-off-by: Bo Shen voice.s...@atmel.com [nicolas.fe...@atmel.com: split dtsi and driver changes] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/misc/atmel-ssc.c

[PATCH 0/3 v2] net/macb: RX path enhancement

2012-12-17 Thread Nicolas Ferre
but can be merged in a single patch. v2: - gave up the idea of using non-coherent memory for rx buffers - addition of the struct macb layout optimization Havard Skinnemoen (1): net/macb: Try to optimize struct macb layout Nicolas Ferre (2): net/macb: increase RX buffer size for GEM

[PATCH 1/3 v2] net/macb: increase RX buffer size for GEM

2012-12-17 Thread Nicolas Ferre
in DMA Configuration Register specification. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 45 ++--- drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH 2/3 v2] net/macb: change RX path for GEM

2012-12-17 Thread Nicolas Ferre
GEM is able to adapt its DMA buffer size, so change the RX path to take advantage of this possibility and remove all kind of memcpy in this path. This modification introduces function pointers for managing differences between MACB and GEM adapter type. Signed-off-by: Nicolas Ferre nicolas.fe

[PATCH 3/3 v2] net/macb: Try to optimize struct macb layout

2012-12-17 Thread Nicolas Ferre
they are usually used together. Signed-off-by: Havard Skinnemoen hav...@skinnemoen.net [nicolas.fe...@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.h | 25 + 1 file changed, 13 insertions(+), 12 deletions

Re: [PATCH RESEND 3/4] pinctrl: at91: Prevent NULL dereference if of_match_device returns NULL

2012-11-15 Thread Nicolas Ferre
On 11/15/2012 05:58 AM, Axel Lin : of_match_device() may return NULL. Signed-off-by: Axel Lin axel@ingics.com Seems sensible, Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- This resend CC Jean-Christophe. drivers/pinctrl/pinctrl-at91.c | 17 + 1 file

Re: [PATCH RESEND 3/4] pinctrl: at91: Prevent NULL dereference if of_match_device returns NULL

2012-11-16 Thread Nicolas Ferre
; at91_chip-pioc_idx = alias_idx; -- 1.7.9.5 ___ linux-arm-kernel mailing list linux-arm-ker...@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Nicolas Ferre -- To unsubscribe from this list: send

Re: [PATCH 1/5] ARM: AT91SAM9G45: fix crypto peripherals irq issue due to sparse irq support.

2012-11-16 Thread Nicolas Ferre
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Eric Bénard e...@eukrea.com Tested-by: Eric Bénard e...@eukrea.com Cc: sta...@vger.kernel.org # 3.6 ok will see if we can have it for 3.7 Queued in our at91-fixes pull request for 3.7-final. Thanks a lot, best regards, -- Nicolas Ferre

Re: [PATCH 09/11] watchdog/at91sam9_wdt: add support to device tree

2012-11-16 Thread Nicolas Ferre
at91wdt_driver = { .probe = at91wdt_probe, .remove = __exit_p(at91wdt_remove), .driver = { .name = at91_wdt, .owner = THIS_MODULE, + .of_match_table = of_match_ptr(at91wdt_match), }, }; -- Nicolas

Re: [PATCH 2/6] dma: at_hdmac: check direction properly for cyclic transfers

2012-11-16 Thread Nicolas Ferre
: Nicolas Ferre nicolas.fe...@atmel.com Whatever name of function is: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/dma/at_hdmac.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 13a02f4

[GIT PULL] at91: fixes for 3.7-rc6

2012-11-16 Thread Nicolas Ferre
/at91sam9263_devices.c | 2 +- arch/arm/mach-at91/at91sam9g45_devices.c | 12 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) Thanks, best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH] net/macb: move to circ_buf macros and fix initial condition

2012-11-19 Thread Nicolas Ferre
, tx_tail = 0 And hanginig forever... I remove the macb_tx_ring_avail() function and use the proven macros from circ_buf.h. CIRC_CNT() is used in the consumer part of the driver: macb_tx_interrupt() to match advice from Documentation/circular-buffers.txt. Signed-off-by: Nicolas Ferre nicolas.fe

[PATCH v2] net/macb: move to circ_buf macros and fix initial condition

2012-11-19 Thread Nicolas Ferre
-VILLARD plagn...@jcrosoft.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Tested-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- v2: - added tags from Jean-Christophe PLAGNIOL-VILLARD drivers/net/ethernet/cadence/macb.c | 17 +++-- 1 file changed, 7 insertions

[GIT PULL] at91: fixes for 3.7-rc7

2012-11-19 Thread Nicolas Ferre
/at91sam9g45.c| 2 ++ arch/arm/mach-at91/at91sam9n12.c| 1 + arch/arm/mach-at91/at91sam9x5.c | 2 ++ 16 files changed, 157 insertions(+) -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[GIT PULL] at91: header fix for 3.8

2012-11-19 Thread Nicolas Ferre
-at91/include/mach/hardware.h | 3 --- arch/avr32/mach-at32ap/include/mach/board.h | 1 - include/linux/platform_data/atmel.h | 6 ++ 3 files changed, 6 insertions(+), 4 deletions(-) Thanks, best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux

Re: [GIT PULL] at91: fixes for 3.7-rc7

2012-11-19 Thread Nicolas Ferre
On 11/19/2012 05:52 PM, Olof Johansson : Hi Nicolas, On Mon, Nov 19, 2012 at 8:31 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Arnd, Olof, Here is another fixes pull request for AT91. It enables the sd/mmc driver for Device Tree enabled platforms. Those patches where part of a series

[GIT PULL] at91: tiny cleanup for 3.8

2012-11-19 Thread Nicolas Ferre
. Nicolas Ferre (1): ARM: at91/atmel-mci: remove unused setup_dma_addr() macro arch/arm/mach-at91/include/mach/atmel-mci.h | 7 --- 1 file changed, 7 deletions(-) Thanks, bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[GIT PULL] at91: DT material for 3.8

2012-11-19 Thread Nicolas Ferre
100644 Documentation/devicetree/bindings/watchdog/atmel-wdt.txt Thanks, bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH 0/2 v2] at91/ssc: fixes on ASoC tree for 3.8

2013-01-11 Thread Nicolas Ferre
Hi Mark, Olof, Arnd, This series goes on top of Linus' v3.8-rc3 and fixes an error that we have while compiling DTBs for AT91: ERROR (phandle_references): Reference to non-existent node or label pinctrl_ssc0_tx ERROR: Input tree has errors, aborting (use -f to force output) make[3]: ***

[PATCH 1/2 v2] ARM: at91/dts: add pinctrl support for SSC peripheral

2013-01-11 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com Add pinctrl support for SSC on AT91 dtsi files. Signed-off-by: Bo Shen voice.s...@atmel.com [nicolas.fe...@atmel.com: split dtsi and driver changes] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9260.dtsi | 18

[PATCH 2/2 v2] ASoC: atmel-ssc: add pinctrl selection to driver

2013-01-11 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com Add default pinctrl selection to atmel-ssc driver. The pinctrl is mandatory. Signed-off-by: Bo Shen voice.s...@atmel.com [nicolas.fe...@atmel.com: split dtsi and driver changes] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/misc/atmel-ssc.c

Re: [PATCH RESEND 6/6 v13] gpio: Add block gpio to several gpio drivers

2013-01-15 Thread Nicolas Ferre
/pinctrl-nomadik.c +++ linux-2.6/drivers/pinctrl/pinctrl-nomadik.c [..] Otherwise, seems ok to me ; for AT91 part: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 22/25] usb/at91_udc: don't use [delayed_]work_pending()

2013-01-07 Thread Nicolas Ferre
-by: Tejun Heo t...@kernel.org Cc: Andrew Victor li...@maxim.org.za Cc: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Cc: Felipe Balbi ba...@ti.com Cc: linux-...@vger.kernel.org --- Please let

Re: [PATCH] mmc: at91_mci: fix hanging and rework to match flowcharts

2007-07-09 Thread Nicolas Ferre
Pierre Ossman : Nicolas Ferre wrote: Fixes hanging using multi block operations (seen during CMD25). Follows closely the datasheet flowcharts. This piece of code handles better big file writing. I had to take care of the notbusy signal during write (at91_mci_handle_cmdrdy function

[PATCH] mmc: at91_mci: fix hanging and rework to match flowcharts

2007-07-09 Thread Nicolas Ferre
and AT91_MCI_RXBUFF flag usage. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- This second patch is rebuild following Mariusz and Pierre comments. This patch is applied on top of the typo one : http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/broken-out/mmc-at91_mci

[PATCH] atmel_lcdfb: Fix STN LCD support

2007-07-12 Thread Nicolas Ferre
From: Nicolas Ferre [EMAIL PROTECTED] Fixes STN LCD support for the atmel_lcdfb framebuffer driver. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Take 2 with 1 minor modification (Kconfig entry depends on board switch). This patch is the result of a work from Jan Altenberg and has been

Re: [RFC] Orphaning MMC host drivers

2007-07-13 Thread Nicolas Ferre
below. Kind regards, -- Nicolas Ferre --- a/MAINTAINERS +++ b/MAINTAINERS @@ -662,7 +662,12 @@ S: Maintained ATMEL AT91 MCI DRIVER -S: Orphan +P: Nicolas Ferre +M: [EMAIL PROTECTED] +L: [EMAIL PROTECTED] (subscribers-only) +W: http://www.atmel.com/products/AT91/ +W

Re: [PATCH] atmel_lcdfb: Fix wrong line_length calculation

2007-06-15 Thread Nicolas Ferre
message. Haavard, can you check if the compute_hozval() function is ok on avr32 (I have reviewed with the at32ap7000 and hope that it is ok) ? Regards, -- Nicolas Ferre - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

[PATCH] atmel_lcdfb: Fix STN LCD support

2007-06-15 Thread Nicolas Ferre
From: Nicolas Ferre [EMAIL PROTECTED] Fixes STN LCD support for the atmel_lcdfb framebuffer driver. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- This patch is the result of a work from Jan Altenberg and has been tested on a Hitachi SP06Q002 on at91sam9261ek. It adds a Kconfig switch

[RFC] AT91: atmel_lcdfb: at91sam9261ek support for STN b/w display

2007-06-15 Thread Nicolas Ferre
From: Nicolas Ferre [EMAIL PROTECTED] Adds STN LCD support on at91sam9261ek. Uses a black and white screen from Hitachi : SP06Q002. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Submitted in linux-fbdev for a RFC but will make its way through the AT91 maintainer. Relies

[PATCH] mmc: at91_mci typo

2007-06-19 Thread Nicolas Ferre
Typo fix in at91_mci driver : standardized the typo (at91_mci everywhere) Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] --- Will not make the driver works better but will satisfy the most demanding typo specialists. drivers/mmc/host/at91_mci.c | 30 +++--- 1

Re: [PATCH] atmel_lcdfb: Fix STN LCD support

2007-06-20 Thread Nicolas Ferre
Haavard Skinnemoen : On Fri, 15 Jun 2007 10:50:12 +0200 Nicolas Ferre [EMAIL PROTECTED] wrote: From: Nicolas Ferre [EMAIL PROTECTED] Fixes STN LCD support for the atmel_lcdfb framebuffer driver. Signed-off-by: Nicolas Ferre [EMAIL PROTECTED] Looks correct to me. Although... Index: b

Oops in a driver while using SLUB as a SLAB allocator

2007-06-21 Thread Nicolas Ferre
SLUB ? Did I missed something or do I use a bad dma_xx or cache flush call in the driver ? Thanks, regards, -- Nicolas Ferre - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

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