[GIT PULL] at91: cleanup/soc for 3.20 #3

2015-01-23 Thread Nicolas Ferre
to remove SOC_AT91SAM9263 usage Nicolas Ferre (3): ARM: at91: fix Kconfig.debug by adding DEBUG_AT91_UART option ARM: at91: fix PM initialization for newer SoCs ARM: at91: fix ordering of SRAM and PM initialization arch/arm/Kconfig.debug | 13 ++- arc

Re: [PATCH] net: macb: Remove CONFIG_PM ifdef because of compilation warning

2015-01-26 Thread Nicolas Ferre
e/macb.c:2432:12: warning: 'macb_resume' > defined but not used [-Wunused-function] > static int macb_resume(struct device *dev) > > when CONFIG_PM=y, CONFIG_PM_SLEEP=n are used. > > Signed-off-by: Michal Simek okay: Acked-by: Nicolas Ferre > --- > > drive

[PATCH v2] ARM: at91: fix Kconfig.debug by adding DEBUG_AT91_UART option

2015-01-26 Thread Nicolas Ferre
The DEBUG_AT91_UART Kconfig option was forgotten when moving the AT91 debug-macro.S file. Add it and use it for the at91.S compilation. Reported-by: Paul Bolle Signed-off-by: Nicolas Ferre --- Hi Olof, This is the second revision of my patch and it must implement your advices described in your

[GIT PULL] at91: cleanup/soc for 3.20 #3 (bis)

2015-01-26 Thread Nicolas Ferre
nused mach/system_rev.h ARM: at91: pm: remove warning to remove SOC_AT91SAM9263 usage Nicolas Ferre (3): ARM: at91: fix Kconfig.debug by adding DEBUG_AT91_UART option ARM: at91: fix PM initialization for newer SoCs ARM: at91: fix ordering of SRAM and PM initialization

Re: [PATCH v2 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-26 Thread Nicolas Ferre
nk it has DDR2 memories >> during the self-refresh period, as the DDR2 self-refresh spec is >> equivalent to LPDDR1, and is correctly implemented in the >> controller. >> >> Assume that the second controller has the same fault, but that is >> untested. >> >

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-26 Thread Nicolas Ferre
t; So, when I submit the patch and keep the code as simple as possible. > > Thanks. > > Best Regards, > Bo Shen I don't understand what's keeping this patch from being applied. Voice, do you mind re-sending? On my side, I take the two patches that apply on AT91 DT (2/3 and 3/

Re: [PATCH] ARM: dts: re-fromat AT91 part to match other entries

2015-01-26 Thread Nicolas Ferre
Le 14/01/2015 10:05, Arnd Bergmann a écrit : > On Wednesday 14 January 2015 00:47:59 Alexandre Belloni wrote: >> >> On 13/01/2015 at 15:09:56 -0800, Olof Johansson wrote : >>> On Tue, Jan 13, 2015 at 03:43:00PM +0100, Nicolas Ferre wrote: >>>> The entries are

Re: [PATCH v2 02/12] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories.

2015-01-26 Thread Nicolas Ferre
Le 26/01/2015 16:58, Peter Rosin a écrit : > Sylvain Rochet wrote: >> Hello Nicolas, >> >> On Mon, Jan 26, 2015 at 02:34:38PM +0100, Nicolas Ferre wrote: >>> Le 26/01/2015 11:36, Sylvain Rochet a écrit : >>>> >>>> I think we should explai

[GIT PULL] at91: dt for 3.20 #2

2015-01-26 Thread Nicolas Ferre
etree/bindings/sound/atmel_ac97c.txt -- 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 the FAQ at http://www.tux.org/lkml/

[PATCH] ARM: dts: re-fromat AT91 part to match other entries

2015-01-13 Thread Nicolas Ferre
The entries are separated as ARM V4/V5 and ARM V7 as some other per-SoC config options may be removed in the near future. Signed-off-by: Nicolas Ferre --- Hi Olof, This is an attempt to match other ARM SoC families format. If you feel that the patch can be good, do not hesitate to take it

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-13 Thread Nicolas Ferre
/* sentinel */ > + } > +}; > +MODULE_DEVICE_TABLE(of, wm8904_of_match); > +#endif > + > static struct i2c_driver wm8904_i2c_driver = { > .driver = { > .name = "wm8904", > .owner = THIS_MODULE, > + .of_match_table = of_match_p

Re: [PATCH 6/7] ARM: at91: remove useless at91rm9200_dt_initialize()

2015-01-13 Thread Nicolas Ferre
c b/arch/arm/mach-at91/setup.c >> index ce25e85720fb..acb8d7724609 100644 >> --- a/arch/arm/mach-at91/setup.c >> +++ b/arch/arm/mach-at91/setup.c >> @@ -429,13 +429,6 @@ static void at91_dt_ramc(void) >> at91_pm_set_standby(standby); >> } >> >> -v

Re: [PATCH] ata: pata_at91: depend on !ARCH_MULTIPLATFORM

2015-01-14 Thread Nicolas Ferre
Le 13/01/2015 19:25, Alexandre Belloni a écrit : > Until the driver is corrected to stop using mach/at91isam9_smc.h, it won't > compile in a ARCH_MULTIPLATFORM configuration. > > Suggested-by: Arnd Bergmann > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre

Re: [PATCH] pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM

2015-01-14 Thread Nicolas Ferre
Le 13/01/2015 19:28, Alexandre Belloni a écrit : > Until the driver is corrected to stop including mach/at91_ramc.h and using > mach/io.h, it won't compile in a ARCH_MULTIPLATFORM configuration. > > Suggested-by: Arnd Bergmann > Signed-off-by: Alexandre Belloni Ack

Re: [GIT PULL] drm: Add Atmel HLCDC driver

2015-01-14 Thread Nicolas Ferre
u/drm/atmel-hlcdc/Makefile > create mode 100644 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > create mode 100644 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c > create mode 100644 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h > create mode 100644 drivers/gpu/drm/atmel-hlcdc/atmel

Re: [PATCH v2 4/5] ARM: at91/dt: add AIC irq1 muxed peripheral id definitions

2015-01-14 Thread Nicolas Ferre
> +#define AIC_IRQ1_DDRSDRC 6 > +#define AIC_IRQ1_RSTC7 > +#define AIC_IRQ1_PMERRLOC8 > +#define AIC_IRQ1_PMECC 9 > + > +#define AIC_IRQ_MASK(x) (1 << x) > + > +#endif > -- Nicolas Ferre -- To unsubscribe from this

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Nicolas Ferre
irq, flags); > > + return retval; > +} > + > +irqreturn_t > +handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action) > +{ > + irqreturn_t retval; > + > + retval = handle_irq_event_percpu_no_spurious_check(desc, action); > + > if (!noirqdebug) >

Re: [PATCH v2 4/5] ARM: at91/dt: add AIC irq1 muxed peripheral id definitions

2015-01-14 Thread Nicolas Ferre
Le 14/01/2015 14:34, Boris Brezillon a écrit : > On Wed, 14 Jan 2015 14:21:47 +0100 > Nicolas Ferre wrote: > >> Le 13/01/2015 19:46, Boris Brezillon a écrit : >>> These ids will be used to define irqs multiplexed on the first irq line. >>> >>> Signed-of

Re: [PATCH v2 2/5] irqchip: Add DT binding doc for dumb demuxer chips

2015-01-14 Thread Nicolas Ferre
Le 13/01/2015 19:46, Boris Brezillon a écrit : > Add documentation for the dumb demuxer. > > Signed-off-by: Boris Brezillon Acked-by: Nicolas Ferre > --- > .../bindings/interrupt-controller/dumb-demux.txt | 34 > ++ > 1 file changed, 34 inserti

Re: [PATCH v2 3/5] ARM: at91/dt: select DUMB_IRQ_DEMUX for all at91 SoCs

2015-01-14 Thread Nicolas Ferre
> Signed-off-by: Boris Brezillon As the newer SoCs don't need it, we can't select this option for the whole CONFIG_ARCH_AT91, so indeed: Acked-by: Nicolas Ferre > --- > arch/arm/mach-at91/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/m

Re: [PATCH v2 5/5] ARM: at91/dt: define a dumb irq demultiplexer chip connected on irq1

2015-01-14 Thread Nicolas Ferre
uot;irqchip-dumb-demux"; > + interrupt-controller; > + #interrupt-cells = <1>; > + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; > + irqs = <(AIC_IRQ_MASK(AIC_IRQ1_PMC) | > + AIC_IRQ_MASK(AIC_IRQ1_PIT) |

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-14 Thread Nicolas Ferre
Le 14/01/2015 15:03, Boris Brezillon a écrit : > On Wed, 14 Jan 2015 14:36:42 +0100 > Nicolas Ferre wrote: > >> Le 13/01/2015 19:46, Boris Brezillon a écrit : >>> Some interrupt controllers are multiplexing several peripheral IRQs on >>> a single interrupt line

Re: [PATCH 1/2] net/macb: Adding comments to various #defs to make interpretation easier

2015-01-14 Thread Nicolas Ferre
EM registers as documented > in Xilinix's "Zynq-7000 All Programmable SoC TechnicalReference Manual, v1.9.1 > (UG-585)" > > Signed-off-by: Xander Huff For the record: Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.h | 269 >

Re: [PATCH 2/2] net/macb: improved ethtool statistics support

2015-01-14 Thread Nicolas Ferre
ABCNT, "rx_jabbers", > + GEM_BIT(NDS_RXERR)|GEM_BIT(NDS_RXLENERR)), > + GEM_STAT_TITLE_BITS(RXFCSCNT, "rx_frame_check_sequence_errors", > + GEM_BIT(NDS_RXERR)|GEM_BIT(NDS_RXCRCERR)), > + GEM_STAT_TITLE_BITS(RXL

Re: [PATCH RESEND] pm: at91: Workaround DDRSDRC self-refresh bug with LPDDR1 memories

2015-01-14 Thread Nicolas Ferre
e and the scope of this issue and your implementation makes perfect sense. Acked-by: Nicolas Ferre Peter, Thanks for your patch. You will probably see it appearing in 3.20 or 3.21. Wenyou, Can you please integrate the patch from Peter in your current rework of the PM routines (keeping his auth

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-15 Thread Nicolas Ferre
and deal with the fallout? > > And in case of AT91 the new kernel will simply work with the old DT > and just emit the same warning vs. the IRQF_NO_SUSPEND mismatch. Older > kernels won't work with a new DT, but that's about it. > > Aside of that, I'm quite amused ab

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-15 Thread Nicolas Ferre
like a ping-pong game and Boris tried hard to explore both options. I suspect that he already made his best to solve this problem. In the meantime, we begin to see people using our (old, badly designed, okay-okay) hardware and have the surprise of hitting this warning on Mainline kernel. As we have several set of timers, they may even not be affected by the core issue by selecting a timer which doesn't have a shared interrupt line. I mean, we discovered this when it was already written (in linux-next actually) and tried to address the issue quickly. But now, we urgently need a solution or a temporary workaround and Boris wrote two. I have the feeling that we have to move on by selecting one. Clearly, if the only issue remaining is that one solution may cause DT changes for AT91, well, we can cope with this and accept it. If we don't come to a conclusion quickly, maybe we would have to consider removing this warning while we are working on the issue: believe me, it's frightening and sometimes even inappropriate when people select a different set of timers for their clocksource/clockevent after boot time. Best regards, > [1]https://lkml.org/lkml/2014/12/15/551 > -- 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 the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 1/2] fixup! net/macb: Adding comments to various #defs to make interpretation easier

2015-01-15 Thread Nicolas Ferre
28 /* Operation. 10 is > read. 01 > - * is write. > - */ > +#define MACB_RW_OFFSET 28 /* Operation. 10 is > read. 01 is write. */ > #define MACB_RW_SI

Re: [PATCH v2 2/2] fixup! net/macb: improved ethtool statistics support

2015-01-15 Thread Nicolas Ferre
* Receive Overrun > Counter */ > +#define GEM_RXIPCCNT 0x01a8 /* IP header Checksum > Error Counter */ > +#define GEM_RXTCPCCNT0x01ac /* TCP Checksum > Error Counter */ > +#define GEM_RXUDPCCNT0x

Re: [PATCH 00/12] Atmel matrix, SMC and UDC rework

2015-01-15 Thread Nicolas Ferre
gadget: at91_udc: Remove non-DT handling code > usb: gadget: at91_udc: Simplify probe and remove functions > usb: gadget: at91_udc: Rework for multi-platform kernel support > usb: gadget: at91_udc: Update DT binding documentation > usb: gadget: at91_udc: Allocate udc instance I

Re: [PATCH 0/7] AT91 cleanup for 3.20 #1

2015-01-15 Thread Nicolas Ferre
ce the switch to DT only. >> >> Patch 5 is moving mach/debug-macro.S to include/debug/at91.S to prepare the >> upcoming switch to multiplatform. >> > > Thanks for those cleanup changes. > > To the whole series: > > Acked-by: Boris Brezillon Acked-by:

Re: [PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-15 Thread Nicolas Ferre
Le 09/01/2015 14:20, Nicolas Ferre a écrit : > Add a README file to describe Atmel SoCs (aka AT91) support in Mainline Linux: > - SoC list + datasheet web links > - Basic but useful information > - Device Tree conventions and Work In Progress statement. > > Signed-off-by: Nicola

Re: [PATCH v3 0/6] AT91 DT for 3.20 #1

2015-01-15 Thread Nicolas Ferre
gt; ARM: at91/dt: add SRAM nodes > ARM: at91/dt: Add a dtsi for at91sam9xe > ARM: at91/dt: ethernut5: use at91sam9xe.dtsi Acked-by: Nicolas Ferre With the corrected at91sam9rl sram size (0x1), whole series stacked on top of at91-3.20-dt. Thanks. > .../devicetree/bindin

[GIT PULL] at91: cleanup for 3.20 #1

2015-01-15 Thread Nicolas Ferre
() ARM: at91: remove useless at91rm9200_set_type() Boris Brezillon (1): ARM: at91: remove useless header file includes Nicolas Ferre (3): ARM: at91/Documentation: add a README for Atmel SoCs rtc: at91/Kconfig: remove useless options ARM: at91: remove unneeded header

[GIT PULL] at91: dt for 3.20 #1

2015-01-15 Thread Nicolas Ferre
rm/boot/dts/sama5d3xmb.dtsi | 40 +-- arch/arm/boot/dts/sama5d4.dtsi | 10 17 files changed, 227 insertions(+), 13 deletions(-) create mode 100644 arch/arm/boot/dts/at91sam9xe.dtsi -- Nicolas Ferre -- To unsubscribe from this list: send t

[GIT PULL] at91: drivers for 3.20 #1

2015-01-15 Thread Nicolas Ferre
/atmel-smc.txt create mode 100644 include/linux/mfd/syscon/atmel-matrix.h create mode 100644 include/linux/mfd/syscon/atmel-smc.h -- 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 majordo

[GIT PULL] at91: defconfig for 3.20 #1

2015-01-15 Thread Nicolas Ferre
: enable atmel-isi and ov2640 in defconfig Maxime Ripard (1): ARM: at91/config: sama5: Remove DEBUG_LL arch/arm/configs/sama5_defconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [PATCH] net/at91_ether: prepare and unprepare clock

2015-01-08 Thread Nicolas Ferre
isable_unprepare() to handle the clock. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/at91_ether.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/ethernet/cadence/at91

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-09 Thread Nicolas Ferre
Le 08/01/2015 23:41, Olof Johansson a écrit : > On Mon, Jan 05, 2015 at 12:14:37PM +0100, Nicolas Ferre wrote: >> Arnd, Olof, Kevin, >> >> This is the rebase of my previous pull-request on top of 3.19-rc1. As said at >> the time of my early messages, I was waiting fo

[PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-09 Thread Nicolas Ferre
Add a README file to describe Atmel SoCs (aka AT91) support in Mainline Linux: - SoC list + datasheet web links - Basic but useful information - Device Tree conventions and Work In Progress statement. Signed-off-by: Nicolas Ferre Cc: ARM Maintainers --- Documentation/arm/Atmel/README | 120

Re: [PATCH 2/5] tty/serial: at91: enable peripheral clock before accessing I/O registers

2015-01-09 Thread Nicolas Ferre
nd > Control registers for RS485 support then the Name and Version registers, > through a call to > atmel_get_ip_name(), but at that moment the peripheral clock was still > disabled. > > Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre and you can add also: Cc: # 3.12

Re: [PATCH 1/5] tty/serial: at91: use correct type for dma_sync_*_for_cpu() and dma_sync_*_for_device()

2015-01-09 Thread Nicolas Ferre
Le 09/12/2014 14:31, Cyrille Pitchen a écrit : > dma_sync_*_for_cpu() and dma_sync_*_for_device() use 'enum > dma_data_direction', > not 'enum dma_transfer_direction' > > Signed-off-by: Cyrille Pitchen Sure: Acked-by: Nicolas Ferre Here it's difficul

Re: [PATCH 3/5] tty/serial: at91: fix error handling in atmel_serial_probe()

2015-01-09 Thread Nicolas Ferre
e second time, it used to fail on > the test_and_set_bit() function then returning -EBUSY. > > When atmel_serial_probe() fails, this patch make it clear the port bit in the > "atmel_ports_in_use" mask, if needed, before returning the error code. > > Signed-off-by:

Re: [PATCH 5/5] tty/serial: at91: fix typo and indentation

2015-01-09 Thread Nicolas Ferre
Le 09/12/2014 14:31, Cyrille Pitchen a écrit : > Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre thanks Cyrille. Bye. > --- > drivers/tty/serial/atmel_serial.c | 40 > +-- > 1 file changed, 22 insertions(+), 18 deletions(-) &g

Re: [PATCH 4/5] tty/serial: at91: fix RTS line management when hardware handshake is enabled

2015-01-09 Thread Nicolas Ferre
rk with > DMA controller since it cannot control the RTS line. > Future designs with FIFOs will introduce a new feature: the RTS line will be > controlled by the RX FIFO using thresholds. This patch was tested with this > new > design. > > Signed-off-by: Cyrille Pitchen Ind

[RESEND PATCH] USB: gadget: udc: atmel: fix possible oops when unloading module

2015-01-09 Thread Nicolas Ferre
g_cleanup [g_hid]) from [] (SyS_delete_module+0x118/0x19c) [] (SyS_delete_module) from [] (ret_fast_syscall+0x0/0x30) Code: bad PC value Signed-off-by: Songjun Wu [nicolas.fe...@atmel.com: reworked the commit message] Signed-off-by: Nicolas Ferre Fixes: 914a3f3b3754 ("USB: add atmel_usba_udc

Re: [PATCH] avr32: remove fake at91 cpu identification

2015-01-12 Thread Nicolas Ferre
ll request for 3.20. > > I have another patch in the pipe wiring up syscalls for AVR32, so I'll push > this through my tree for 3.20. Okay, so you can add my: Acked-by: Nicolas Ferre Bye, >> arch/avr32/mach-at32ap/include/mach/cpu.h | 26 +- >&g

Re: [PATCH v3 0/5] usb: atmel_usba_udc: Rework errata handling

2015-01-12 Thread Nicolas Ferre
er in commit message of patch 2 > > Changes since v1: > - cache INT_ENB value to speedup INT_ENB read operations To the whole series: Acked-by: Nicolas Ferre Thanks. > Boris Brezillon (5): > usb: atmel_usba_udc: Rework at91sam9rl errata handling > usb: atmel_usba_udc: Add

Re: [PATCH] ARM: at91: sama5d3: dt: correct the sound route

2015-01-12 Thread Nicolas Ferre
Le 09/01/2015 10:18, Bo Shen a écrit : > The MICBIAS is a supply, should route to MIC while not IN1L. > > Signed-off-by: Bo Shen Acked-by: Nicolas Ferre I stack it up in at91-3.19-fixes. Thanks. Bye. > --- > > arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- > 1 file chang

Re: [PATCH] clocksource: timer-atmel-pit: don't suspend/resume if unused

2015-01-12 Thread Nicolas Ferre
Le 18/12/2014 15:05, Nicolas Ferre a écrit : > From: Sylvain Rochet > > Waiting for PIT to stop counting takes a long time: > 1/(Master clock/prescaler/PIVR) > = 1/(133 MHz /16 /2^20) > = 126 ms > > Up to 126 ms if master clock is set to 133 MHz, skipping

Re: [PATCH] ARM: at91: board-dt-sama5: add phy_fixup to override NAND_Tree which improperly strapp-in during the reset period.

2015-01-12 Thread Nicolas Ferre
; > +IS_ENABLED(CONFIG_PHYLIB)) { > + phy_register_fixup_for_id("fc028000.etherne:00", > + ksz8081_phy_fixup); > + } > + > of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); > } > > --

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-12 Thread Nicolas Ferre
Le 11/01/2015 22:12, Olof Johansson a écrit : > On Fri, Jan 09, 2015 at 10:02:50AM +0100, Nicolas Ferre wrote: >> Le 08/01/2015 23:41, Olof Johansson a écrit : >>> On Mon, Jan 05, 2015 at 12:14:37PM +0100, Nicolas Ferre wrote: >>>> Arnd, Olof, Kevin, >>>&

[GIT PULL] at91: fixes for 3.19 #1 (ter)

2015-01-12 Thread Nicolas Ferre
/dts/at91sam9263.dtsi | 2 ++ arch/arm/boot/dts/sama5d3xmb.dtsi | 2 +- arch/arm/boot/dts/sama5d4.dtsi | 2 +- arch/arm/mach-at91/board-dt-sama5.c | 18 ++ 4 files changed, 22 insertions(+), 2 deletions(-) -- Nicolas Ferre -- To unsubscribe from this list: send the line

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-12 Thread Nicolas Ferre
Le 12/01/2015 16:59, Arnd Bergmann a écrit : > On Monday 12 January 2015 16:08:14 Nicolas Ferre wrote: >> Le 11/01/2015 22:12, Olof Johansson a écrit : >>> On Fri, Jan 09, 2015 at 10:02:50AM +0100, Nicolas Ferre wrote: >>>> Le 08/01/2015 23:41, Olof Johansson a écri

Re: [PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-13 Thread Nicolas Ferre
Le 09/01/2015 14:20, Nicolas Ferre a écrit : > Add a README file to describe Atmel SoCs (aka AT91) support in Mainline Linux: > - SoC list + datasheet web links > - Basic but useful information > - Device Tree conventions and Work In Progress statement. > > Signed-off-by: Nicola

Re: [PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-13 Thread Nicolas Ferre
Le 13/01/2015 03:03, Olof Johansson a écrit : > On Fri, Jan 09, 2015 at 02:20:31PM +0100, Nicolas Ferre wrote: >> Add a README file to describe Atmel SoCs (aka AT91) support in Mainline >> Linux: >> - SoC list + datasheet web links >> - Basic but useful information &

Re: [PATCH] Asoc: sam9x5_wm8731: depend on ARCH_AT91 instead of SOC_AT91SAM9X5

2015-01-13 Thread Nicolas Ferre
Le 13/01/2015 13:27, Alexandre Belloni a écrit : > The SOC_AT91SAM9X5 option is going to be removed, only depend on ARCH_AT91 > like > for the other drivers. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > sound/soc/atmel/Kconfig | 2 +- > 1 f

Re: [PATCH] ARM: at91/Documentation: add a README for Atmel SoCs

2015-01-13 Thread Nicolas Ferre
Le 13/01/2015 12:36, Alexandre Belloni a écrit : > On 13/01/2015 at 12:26:04 +0100, Nicolas Ferre wrote : >> Le 09/01/2015 14:20, Nicolas Ferre a écrit : >>> Add a README file to describe Atmel SoCs (aka AT91) support in Mainline >>> Linux: >>> - SoC list +

Re: [PATCH v2 0/8] AT91 cleanup for 3.20 #2

2015-01-16 Thread Nicolas Ferre
RM: at91: move at91rm9200_idle() to clk/at91/pmc.c Okay for the whole series. I'm looking forward including the upcoming one as well. Acked-by: Nicolas Ferre All stacked on top of at91-3.20-cleanup. Thanks, bye. > arch/arm/mach-at91/Kconfig | 1 + > arch/arm/mach-at9

[GIT PULL] at91: cleanup for 3.20 #2

2015-01-16 Thread Nicolas Ferre
- arch/arm/mach-at91/sama5d3.c | 6 -- arch/arm/mach-at91/sama5d4.c | 1 - arch/arm/mach-at91/setup.c | 20 --- drivers/clk/at91/pmc.c | 9 +++ 18 files changed, 145 insertions(+), 150 deletions(-) -- Nicolas Ferre -- To unsubscribe from this

[PATCH v2] ARM: at91: merge SOC_AT91SAM9xxx

2015-01-26 Thread Nicolas Ferre
SAM9 config options] Signed-off-by: Nicolas Ferre --- arch/arm/configs/at91_dt_defconfig| 10 +--- arch/arm/mach-at91/Kconfig| 92 ++- arch/arm/mach-at91/Makefile | 7 --- arch/arm/mach-at91/at91sam9260.c | 26 -- arch/arm/mach

[PATCH v2] ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()

2015-01-26 Thread Nicolas Ferre
series] Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/at91rm9200.c | 14 -- arch/arm/mach-at91/board-dt-rm9200.c | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index

[PATCH 0/7] AT91 cleanup rework for 3.20/3.21

2015-01-27 Thread Nicolas Ferre
200: set idle and restart from rm9200_dt_device_init() ARM: at91: merge all SOC_AT91SAM9xxx ARM: at91: remove at91_boot_soc ARM: at91: remove at91_dt_initialize and machine init_early() Nicolas Ferre (3): ARM: at91: move alternative initial mapping to board-dt-sama5.c ARM: at91: change b

[PATCH 1/7] ARM: at91: at91rm9200: set idle and restart from rm9200_dt_device_init()

2015-01-27 Thread Nicolas Ferre
series] Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/at91rm9200.c | 14 -- arch/arm/mach-at91/board-dt-rm9200.c | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index

[PATCH 2/7] ARM: at91: merge all SOC_AT91SAM9xxx

2015-01-27 Thread Nicolas Ferre
he patches] Signed-off-by: Nicolas Ferre --- arch/arm/configs/at91_dt_defconfig| 10 +--- arch/arm/mach-at91/Kconfig| 92 ++- arch/arm/mach-at91/Makefile | 7 --- arch/arm/mach-at91/at91sam9260.c | 26 -- arch/arm/mach-at91/at9

[PATCH 3/7] ARM: at91: move alternative initial mapping to board-dt-sama5.c

2015-01-27 Thread Nicolas Ferre
For sama5d4, remove an indirection and the remaining need for at91_boot_soc structure. This will allow further cleanup. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/board-dt-sama5.c | 37 - arch/arm/mach-at91/sama5d4.c| 33

[PATCH 6/7] ARM: at91: remove at91_dt_initialize and machine init_early()

2015-01-27 Thread Nicolas Ferre
patch to newer series] Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/at91rm9200.c | 1 - arch/arm/mach-at91/at91sam9.c | 3 --- arch/arm/mach-at91/generic.h| 3 --- arch/arm/mach-at91/pm.c | 44 arch/arm/mach-at91/sama5.c | 2

[PATCH 5/7] ARM: at91: change board files into SoC files

2015-01-27 Thread Nicolas Ferre
As board files are now DT only and can address all aspects of the SoC family, we can rename them so that the mach-at91 directory looks cleaner. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/Makefile | 11 ++--- arch/arm/mach-at91/at91rm9200.c | 68

[PATCH 7/7] ARM: at91/trivial: unify functions and machine names

2015-01-27 Thread Nicolas Ferre
at91 prefix anymore. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/at91rm9200.c | 8 arch/arm/mach-at91/at91sam9.c | 28 ++-- arch/arm/mach-at91/generic.h| 16 arch/arm/mach-at91/pm.c | 8 arch/arm/mach-at91/sama5.c

[PATCH 4/7] ARM: at91: remove at91_boot_soc

2015-01-27 Thread Nicolas Ferre
From: Alexandre Belloni at91_boot_soc and at91_init_soc structures are not used by any SoC, remove their use. Also remove all the now empty SoC files. Signed-off-by: Alexandre Belloni [nicolas.fe...@atmel.com: different organization of the patches] Signed-off-by: Nicolas Ferre --- arch/arm

[PATCH 1/2] drm/panel: simple: Add support for Shelly SCA07010-BFN-LNN

2015-03-19 Thread Nicolas Ferre
From: Boris BREZILLON The Shelly SCA07010-BFN-LNN is a 7.0" WVGA TFT LCD panel. This panel with backlight is found in PDA 7" LCD screen (TM70xx series for instance). Signed-off-by: Boris BREZILLON Signed-off-by: Nicolas Ferre --- .../bindings/panel/shelly,sca07010-bfn-lnn.tx

[PATCH 2/2] drm/panel: simple: Add support for Innolux AT043TN24

2015-03-19 Thread Nicolas Ferre
The Innolux AT043TN24 4.3" WQVGA TFT LCD panel. This panel with backlight is found in PDA 4.3" LCD screen (TM43xx series for instance). Signed-off-by: Nicolas Ferre --- .../bindings/panel/innolux,at043tn24.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c

[PATCH] ARM: at91/dt: at91sam9x5cm: enable RTC

2015-03-19 Thread Nicolas Ferre
Enable RTC for all the at91sam9x5 CPU Modules: this will enable it for all the EK boards. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9x5cm.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi index

[PATCH] ARM: at91/dt: at91sam9n12ek: enable RTC

2015-03-19 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9n12ek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index 6123109f14ff..6e067c8a3502 100644 --- a/arch/arm/boot/dts/at91sam9n12ek.dts +++ b/arch/arm

[GIT PULL] at91: multiplatform for 4.1 #1

2015-03-19 Thread Nicolas Ferre
m/mach-at91/include/mach/hardware.h delete mode 100644 arch/arm/mach-at91/include/mach/sama5d3.h delete mode 100644 arch/arm/mach-at91/include/mach/sama5d4.h delete mode 100644 arch/arm/mach-at91/include/mach/uncompress.h -- Nicolas Ferre -- To unsubscribe from this list: send the line "un

Re: [PATCH] ARM: at91: fix pm_suspend.S compilation when ARMv6 is selected

2015-03-20 Thread Nicolas Ferre
x27; > > Enforce ARMv7 flags for pm_suspend.o when CPU_V7 is selected. > > Reported-by: fengguang...@intel.com Changed in: Reported-by: kbuild test robot > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Thanks. > --- > arch/arm/mach-at91/Makefile | 3 +++ >

Re: [PATCH v2] clocksource: atmel-st: select MFD_SYSCON

2015-03-20 Thread Nicolas Ferre
uang...@intel.com >> Signed-off-by: Alexandre Belloni >> --- >> Daniel, >> >> I think this should go through the at91 tree as the patch introducing that >> issue >> went there. > > Ok. > > Acked-by: Daniel Lezcano I take it: thanks! Acke

Re: [PATCH 05/10] mfd: syscon: Add Atmel MC (Memory Controller) registers definition

2015-03-23 Thread Nicolas Ferre
AT91_MC_BFC_PAGES_32 (2 << 8) > +#define AT91_MC_BFC_PAGES_64 (3 << 8) > +#define AT91_MC_BFC_PAGES_128(4 << 8) > +#define AT91_MC_BFC_PAGES_256(5 << 8) > +#define AT91_MC_BFC_PAGES_512(6 <<

Re: [PATCH 09/10] ARM: at91: remove mach/at91_ramc.h and mach/at91rm9200_mc.h

2015-03-23 Thread Nicolas Ferre
ress Advance Enable */ > -#define AT91_BFC_BFOEH (1 << 17) /* > Burst Flash Output Enable Handling */ > -#define AT91_BFC_MUXEN (1 << 18) /* > Multiplexed Bus Enable */ > -#define AT91_BFC_RD

Re: [PATCH 03/10] ata: at91: use syscon to configure the smc

2015-03-23 Thread Nicolas Ferre
+ return 0; > +} > + > static int pata_at91_probe(struct platform_device *pdev) > { > struct at91_cf_data *board = dev_get_platdata(&pdev->dev); > @@ -341,6 +383,14 @@ static int pata_at91_probe(struct platform_device *pdev) > > irq = board-&

Re: [PATCH 00/10] ARM: at91 cleanups for 4.1 #2

2015-03-23 Thread Nicolas Ferre
delete mode 100644 arch/arm/mach-at91/sam9_smc.h > create mode 100644 include/linux/mfd/syscon/atmel-mc.h > delete mode 100644 include/soc/at91/at91rm9200_sdramc.h > -- 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 the FAQ at http://www.tux.org/lkml/

Re: [PATCH 02/10] ARM: at91/pm: move AT91_MEMCTRL_* to pm.h

2015-03-23 Thread Nicolas Ferre
Le 16/03/2015 23:44, Alexandre Belloni a écrit : > the AT91_MEMCTRL_* defines are only used by the pm code, move them to pm.h > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > arch/arm/mach-at91/include/mach/at91_ramc.h | 4 > arch/

Re: [PATCH 01/10] ARM: at91/pm: move the standby functions to pm.c

2015-03-23 Thread Nicolas Ferre
Le 16/03/2015 23:44, Alexandre Belloni a écrit : > The standby functions are now only used in pm.c, move them there. > > Also, they are not inlined as a pointer to those functions is passed to the > cpuidle driver. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre

[GIT PULL] at91: cleanup for 4.1 #4

2015-03-23 Thread Nicolas Ferre
locksource/Kconfig | 1 + 5 files changed, 97 insertions(+), 96 deletions(-) -- 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/majord

Re: [PATCH 06/13] ARM: at91: PIT: make IO endian agnostic

2015-03-23 Thread Nicolas Ferre
Kernel > CC: Linux ARM Kernel > CC: Andrew Victor > CC: Nicolas Ferre Yes: Acked-by: Nicolas Ferre Daniel, do you want to take it? > CC: Jean-Christophe Plagniol-Villard > --- > drivers/clocksource/timer-atmel-pit.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

[PATCH] ARM: at91: add a Kconfig dependency on multi-platform

2015-04-02 Thread Nicolas Ferre
When building a legacy (non-multi) platforms and if the ARCH_AT91 config option is enabled there is a build error. We need AT91 to depend on multi-platform core type options. Reported-by: Arnd Bergmann Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/Kconfig | 1 + 1 file changed, 1

Re: [PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb1

2015-04-03 Thread Nicolas Ferre
Le 31/03/2015 10:56, Nicolas Ferre a écrit : > After 57a38effa598 (net: phy: micrel: disable broadcast for KSZ8081/KSZ8091) > the macb1 interface refuses to work properly because it tries > to cling to address 0 which isn't able to communicate in broadcast with > the mac anymore.

Re: [PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb1

2015-04-04 Thread Nicolas Ferre
Le 03/04/2015 23:56, Olof Johansson a écrit : > On Fri, Apr 03, 2015 at 01:55:07PM -0700, Olof Johansson wrote: >> On Fri, Apr 03, 2015 at 10:43:40AM +0200, Nicolas Ferre wrote: >>> Le 31/03/2015 10:56, Nicolas Ferre a écrit : >>>> After 57a38effa598 (net: phy:

[GIT PULL] at91: cleanup for 4.1 #4 (bis)

2015-04-05 Thread Nicolas Ferre
| 89 ++ arch/arm/mach-at91/pm.h | 96 ++--- 4 files changed, 96 insertions(+), 96 deletions(-) -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

[GIT PULL] at91: clocksource-driver for 4.1 #2

2015-04-05 Thread Nicolas Ferre
file changed, 1 insertion(+) -- 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 the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 16/17] video: fbdev: atmel_lcdfb: use ioremap_wc() for framebuffer

2015-04-22 Thread Nicolas Ferre
itled "x86 PAT: fix performance drop for glx, >use UC minus for ioremap(), ioremap_nocache() and >pci_mmap_page_range()") > > Cc: Nicolas Ferre Seems okay: Acked-by: Nicolas Ferre Thanks for having taking care of atmel_lcdfb driver. Bye, > Cc: Suresh Siddha

Re: [PATCH] tty/serial: at91: maxburst was missing for dma transfers

2015-04-16 Thread Nicolas Ferre
dovic Desroches > Cc: # 3.12 and later Indeed, thanks! Acked-by: Nicolas Ferre > --- > drivers/tty/serial/atmel_serial.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/tty/serial/atmel_serial.c > b/drivers/tty/serial/atmel_serial.c > index 4e959c4..6a

Re: [PATCH] ASoC: atmel-pcm-pdc: merge atmel-pcm back in

2015-03-31 Thread Nicolas Ferre
. > > Merge atmel-pcm.c in atmel-pcm-pdc.c as this is now the only user. > > Signed-off-by: Alexandre Belloni It seems okay: Acked-by: Nicolas Ferre > --- > sound/soc/atmel/Makefile| 2 - > sound/soc/atmel/atmel-pcm-pdc.c | 79 ++ &

Re: [PATCH 1/2] MAINTAINERS: change the Atmel audio alsa driver entry

2015-03-31 Thread Nicolas Ferre
Le 19/03/2015 10:51, Bo Shen a écrit : > Hi Nicolas, >Thanks. > > On 03/19/2015 05:48 PM, Nicolas Ferre wrote: >> I take over the the maintainship of Atmel alsa drivers from Voice. >> Thanks for your work! >> >> Signed-off-by: Nicolas Ferre >> Cc:

[PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb1

2015-03-31 Thread Nicolas Ferre
up at address 1. Adding the phy node and its real address fixes the issue. Signed-off-by: Nicolas Ferre Cc: Johan Hovold Cc: #3.19 --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts

[PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb0

2015-03-31 Thread Nicolas Ferre
Specify the phy address on macb0 node aka GEM. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index 6c4bc53cbf4e

[PATCH v2 0/8] net/macb: fixes after big driver update

2015-03-31 Thread Nicolas Ferre
comment about exit condition of queue configuration loop - add fixes for probe sequence related to clocks - add ethtool register dump - fix peripheral version test Nicolas Ferre (8): net/macb: only probe queues once and use stored values net/macb: add comment in macb_probe_queues net/macb: fix

[PATCH v2 1/8] net/macb: only probe queues once and use stored values

2015-03-31 Thread Nicolas Ferre
, add the queue_mask information to the private structure and use it when needed in macb_init(). Signed-off-by: Nicolas Ferre Acked-by: Boris Brezillon Cc: Cyrille Pitchen --- Changes in v2: - address Cyrille comment about exit condition of queue configuration loop drivers/net/ethernet/cadence

[PATCH v2 3/8] net/macb: fix capabilities configuration

2015-03-31 Thread Nicolas Ferre
retrieval is also moved to simplify the probe code flow. Signed-off-by: Nicolas Ferre Cc: Cyrille Pitchen Cc: Boris Brezillon --- Changes in v2: None drivers/net/ethernet/cadence/macb.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a

[PATCH v2 4/8] net/macb: trivial: correct wording for caps

2015-03-31 Thread Nicolas Ferre
As a non-native English speaker, I would correct "capacities" of the macb peripheral to "capabilities": correct me if I'm wrong! Signed-off-by: Nicolas Ferre --- Changes in v2: None drivers/net/ethernet/cadence/macb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

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