Re: [PATCH 3/4] net/macb: fix capabilities configuration

2015-03-30 Thread Nicolas Ferre
Le 28/03/2015 00:02, Boris Brezillon a écrit : > Hi Nicolas, > > On Fri, 27 Mar 2015 16:34:11 +0100 > Nicolas Ferre wrote: > >> Capabilities configuration by macb_configure_caps() was moved far too late by >> 421d9df0628b (net/macb: merge at91_ether driver into macb

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

2015-03-30 Thread Nicolas Ferre
Le 27/03/2015 17:24, Cyrille Pitchen a écrit : > Hi Nicolas, > > There is a little mistake in this patch, which will prevent the GEM from > working properly: > > Le 27/03/2015 16:34, Nicolas Ferre a écrit : >> When merging at91_ether and macb driver during 421d9

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

2015-03-27 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 --- drivers/net/ethernet/cadence/macb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

[PATCH 3/4] net/macb: fix capabilities configuration

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

[PATCH 2/4] net/macb: add comment in macb_probe_queues

2015-03-27 Thread Nicolas Ferre
As we access the MID register directly, we need to tell why we don't use the macb_is_gem() dedicated function. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb

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

2015-03-27 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 Cc: Cyrille Pitchen Cc: Boris Brezillon --- drivers/net/ethernet/cadence/macb.c | 9 - drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 5 insertions

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

2015-03-27 Thread Nicolas Ferre
The recent modifications to the macb driver lead to issues with the probe function code flow. Here are some attempt to fix them. The series is written on top of net-next. Nicolas Ferre (4): net/macb: only probe queues once and use stored values net/macb: add comment in macb_probe_queues net

Re: [PATCH 07/13] clocksource: tcb_clksrc: make IO endian agnostic

2015-03-26 Thread Nicolas Ferre
is one ? Do you ack it ? Yes: Acked-by: Nicolas Ferre We were discussing about having a common macro for this... But we will think more about it later. So, let's go for it. Bye, >> -- >> CC: Daniel Lezcano >> CC: Thomas Gleixner >> CC: Linux Kernel >> CC:

[PATCH] devicetree: Add vendor prefix for Foxlink Group

2015-03-24 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- Thierry, Boris added the support for a Foxlink panel in this commit: 102932b0e474 (drm/panel: add support for Foxlink FL500WVR00-A0T panel). Here is the vendor prefix. Bye, Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1

[PATCH] devicetree: Add vendor prefix for Shelly, Inc.

2015-03-24 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- Thierry, Here it is ;-) Bye, Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

Re: [PATCH 2/5] USB: host: ohci-at91: remove useless uclk clock

2015-03-23 Thread Nicolas Ferre
t;> >> Signed-off-by: Boris Brezillon > > Acked-by: Alan Stern Acked-by: Nicolas Ferre Hi Alan, As I don't have any other "drivers" patch for 4.1, would you mind taking this patch with your tree? I'll take care of the remaining ones dealing with Device Tree: they

[GIT PULL] at91: dt for 4.1 #2

2015-03-23 Thread Nicolas Ferre
ARM: at91/dt: add alternative pin muxing for sama5d3 lcd pins ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs ARM: at91/dt: sama5d4: add lcdc pin definitions ARM: at91/dt: sama5d4: add hlcdc node Nicolas Ferre (6): ARM: at91/dt: at91sam9x5cm: enable RTC

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

[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 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

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 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 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 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] 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 +++ >

[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

[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

[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 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 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] MAINTAINERS: change Atmel ssc driver entry

2015-03-19 Thread Nicolas Ferre
I take over the maintainship from Voice. Signed-off-by: Nicolas Ferre Cc: Bo Shen Cc: Mark Brown Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 679b2d0cb2d1..6f133f2179ed 100644

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

2015-03-19 Thread Nicolas Ferre
I take over the the maintainship of Atmel alsa drivers from Voice. Thanks for your work! Signed-off-by: Nicolas Ferre Cc: Bo Shen Cc: Mark Brown --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ddc5a8cf9a8a..679b2d0cb2d1

Re: [PATCH] net: macb: fix endian code for avr32

2015-03-18 Thread Nicolas Ferre
r the CONFIG_AVR32 case (and also >> remove the change to the DMA descriptor endian). > > Thank you for spotting this. > >> Signed-off-by: Ben Dooks >> Reported-by: Arnd Bergmann > > Acked-by: Hans-Christian Egtvedt Acked-by: Nicolas Ferre >> --

Re: [PATCH 1/5] USB: ehci-atmel: rework clk handling

2015-03-18 Thread Nicolas Ferre
prepared >> 2/ The EHCI driver was retrieving and preparing/enabling the uhpck >>clock which was in turn preparing its parent clock (the usb clock), >>thus preventing any rate change because of 1/ >> >> Signed-off-by: Boris Brezillon > > Acked-by: Alan S

[PATCH] rtc: at91rm9200: double locking bug in at91_rtc_interrupt()

2015-03-17 Thread Nicolas Ferre
From: Dan Carpenter There is a typo here so we deadlock. Fixes: dd1f1f391dd7 ('rtc: at91rm9200: rework wakeup and interrupt handling') Signed-off-by: Dan Carpenter Acked-by: Boris Brezillon Reported-also-by: David Dueck Signed-off-by: Nicolas Ferre --- Hi Andrew, Can you please

[GIT PULL] at91: cleanup for 4.1 #3

2015-03-16 Thread Nicolas Ferre
/include/mach/at91_st.h rename arch/arm/mach-at91/at91rm9200_time.c => drivers/clocksource/timer-atmel-st.c (73%) create mode 100644 include/linux/mfd/syscon/atmel-st.h -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

[GIT PULL] at91: cleanup for 4.1 #2

2015-03-13 Thread Nicolas Ferre
create mode 100644 arch/arm/mach-at91/soc.c create mode 100644 arch/arm/mach-at91/soc.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

Re: [PATCH v2 5/7] ARM: at91: sama5d4: remove useless map_io

2015-03-13 Thread Nicolas Ferre
Le 05/03/2015 20:17, Alexandre Belloni a écrit : > All the peripheral remapped at io_map are taken care of by their respective > drivers. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Nice: I take this one with the at91-cleanup2 tag. So I'll skip this one wh

Re: [PATCH v5 02/10] mfd: syscon: Add atmel system timer registers definition

2015-03-13 Thread Nicolas Ferre
planning to take the whole series with me to limit the number of merge conflicts and dependencies. Do you mind if I take this patch with the other AT91 cleanup patches through the arm-soc tree? If you are okay, can you remove this patch already applied on your tree? Thanks, bye. -- Nicolas Ferre -

Re: [PATCH v5 00/10] Atmel System Timer cleanups

2015-03-13 Thread Nicolas Ferre
tml >>> >>> >>> Hi Alexandre, >>> >>> through which tree do you want this patchset to be merged ? >>> >> >> I'd say through the at91 tree as I have another series that depend on >> that one > > Ok. Absolutely. To

Re: [PATCH v4 0/9] ARM: at91 cleanups for 4.1 #1

2015-03-13 Thread Nicolas Ferre
use SoC detection infrastructure > ARM: at91: sama5 use SoC detection infrastructure > ARM: at91: remove old setup > > Arnd Bergmann (1): > ARM: at91: remove NEED_MACH_IO_H > > Boris BREZILLON (1): > ARM: at91: add soc detection infrastructure Fully satisfi

Re: [PATCH v4 8/9] ARM: at91: sama5 use SoC detection infrastructure

2015-03-13 Thread Nicolas Ferre
CIDR_MATCH 0x329aa3a0 > > +#define SAMA5D3_CIDR_MATCH 0x0a5c07c0 > +#define SAMA5D31_EXID_MATCH 0x00444300 > +#define SAMA5D33_EXID_MATCH 0x00414300 > +#define SAMA5D34_EXID_MATCH 0x00414301 > +#define SAMA5D35_EXID_MATCH 0x0058430

Re: [PATCH v2.0 0/2] ARM: AT91: pm: add support to disable the DDR's clock

2015-03-13 Thread Nicolas Ferre
arm/mach-at91/sama5.c|8 ++- > include/linux/clk/at91_pmc.h | 1 + > 8 files changed, 135 insertions(+), 1 deletion(-) > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCH v2.0 0/2] ARM: at91: Add pm support for sama5d3 and sama5d4

2015-03-13 Thread Nicolas Ferre
m improvement for 4.1 > > Change log for v2.0: > - remove the patch already stacked. > - rebase. > > Wenyou Yang (2): > pm: at91: pm_suspend: add the WFI instruction support for ARMv7 > pm: at91: flush data cache and clean, invalidate and disable the L2 > cache

[GIT PULL] at91: cleanup for 4.1 #1

2015-03-13 Thread Nicolas Ferre
ch-at91/pm_slowclock.S create mode 100644 arch/arm/mach-at91/pm_suspend.S -- 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.0 0/6] ARM: AT91: pm improvement for 4.1

2015-03-13 Thread Nicolas Ferre
name: pm_slowclock.S -->pm_suspend.S > pm: at91: rename function name: > at91_slow_clock()-->at91_pm_suspend_sram_fn > pm: at91: remove unused void (*at91_pm_standby)(void) Whole series: Acked-by: Nicolas Ferre And stacked on top of at91-4.1-cleanup Thanks. BTW, I had to

Re: [PATCH v2.0 0/3] ARM: AT91: pm cleanup for 4.1

2015-03-13 Thread Nicolas Ferre
; under SOC_AT91SAM9 and SOC_SAMA5 > pm: at91: remove CONFIG_AT91_SLOW_CLOCK config option Whole series: Acked-by: Nicolas Ferre And stacked on top of at91-4.1-cleanup: thanks for your patience Wenyou ;-) > > arch/arm/mach-at91/Kconfig| 17 +++-- > arc

Re: [PATCH 2/3] pm: at91: pm_slowclock: remove clocks which are already stopped when entering slow clock mode

2015-03-12 Thread Nicolas Ferre
Le 03/03/2015 23:50, Sylvain Rochet a écrit : > Hello Nicolas, > > On Tue, Mar 03, 2015 at 07:42:26PM +0100, Nicolas Ferre wrote: >> Le 05/02/2015 07:01, Wenyou Yang a écrit : >>> From: Sylvain Rochet >>> >>> Assume USB PLL and PLL B are already stopp

Re: [PATCH v2.0 0/3] ARM: AT91: pm cleanup for 4.1

2015-03-12 Thread Nicolas Ferre
; under SOC_AT91SAM9 and SOC_SAMA5 > pm: at91: remove CONFIG_AT91_SLOW_CLOCK config option Acked-by: Nicolas Ferre Whole series stacked on at91-4.1-cleanup. Thanks. > > arch/arm/mach-at91/Kconfig| 17 +++-- > arch/arm/mach-at91/Makefile |2 +- > arch/

Re: [PATCH] ARM: at91: pm: change at91_pm_set_standby() to static

2015-03-12 Thread Nicolas Ferre
1_pm_set_standby(void (*at91_standby)(void)) These 3 lines are not needed > Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre Thanks, I add this to the at91-4.1-cleanup branch. Bye, > --- > arch/arm/mach-at91/pm.c |2 +- > arch/arm/mach-at91/pm.h |6 -- > 2 files

Re: [PATCH v5 00/10] Atmel System Timer cleanups

2015-03-12 Thread Nicolas Ferre
s/clocksource > clocksource: atmel-st: use syscon/regmap > clocksource: atmel-st: remove mach/hardware dependency > ARM: at91: remove useless include I'm okay with the whole series: Acked-by: Nicolas Ferre But anyway, I'm waiting for a couple of more Ack. Tha

Re: [PATCH 5/6] ARM: at91: remove SoC headers

2015-03-12 Thread Nicolas Ferre
can be removed as well. >> > > Yeah, that is still something I need to investigate. Nicolas told me it > doesn't work without it. My guess is that it has something to do with > secure booting. These io mapping were from the time when we did have all the recently developed dri

Re: [PATCH v3 0/9] ARM: at91 cleanups for 4.1 #1

2015-03-12 Thread Nicolas Ferre
arch/arm/mach-at91/include/mach/at91sam9n12_matrix.h > delete mode 100644 arch/arm/mach-at91/include/mach/at91sam9rl_matrix.h > delete mode 100644 arch/arm/mach-at91/include/mach/at91sam9x5_matrix.h > delete mode 100644 arch/arm/mach-at91/include/mach/io.h > delete mode 100644 arch/arm

Re: [PATCH v3 5/9] ARM: at91: add soc detection infrastructure

2015-03-12 Thread Nicolas Ferre
AT91_SOC(__cidr, __exid, __name, __subname) \ > + { \ > + .cidr_match = (__cidr), \ > + .exid_match = (__exid), \ > + .name = (__name),

Re: [PATCH] ARM: at91/dt: fix USB high-speed clock to select UTMI

2015-03-11 Thread Nicolas Ferre
Le 09/03/2015 16:51, Nicolas Ferre a écrit : > The UTMI clock must be selected by any high-speed USB IP. The logic behind it > needs this particular clock. > So, correct the clock in the device tree files affected. > > Reported-by: Bo Shen > Signed-off-by: Nicolas Ferre In

Re: [PATCH] pm: at91: pm_slowclock: fix the compilation error

2015-03-11 Thread Nicolas Ferre
`str > r0,.saved_lpr' > --->8 > > Add the .arm directive in the assembly files related to power management. > > Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre Stacked on at91-4.0-fixes. Thanks. > --- > arch/arm/mach-at91/pm_slowclock.S |2 ++ > 1

Re: [PATCH v2 1/1] DT: video: atmel_lcdc: Add example of fixed framebuffer memory

2015-03-11 Thread Nicolas Ferre
Le 05/03/2015 08:35, Alexander Stein a écrit : > This drivers allows a fixed framebuffer memory to be set by an additional > IORESOURCE_MEM resource. Thus add an example to the DT documentation. > > Signed-off-by: Alexander Stein > Acked-by: Nicolas Ferre Queued in at91

[GIT PULL] at91: fixes for 4.0 #3

2015-03-11 Thread Nicolas Ferre
definition ARM: at91/dt: declare matrix node as a syscon device ARM: at91/dt: fix at91 udc compatible strings Nicolas Ferre (1): ARM: at91/dt: fix USB high-speed clock to select UTMI Wenyou Yang (1): ARM: at91: pm_slowclock: fix the compilation error arch/arm/boot/dts

Re: [PATCH] backlight: pwm: handle EPROBE_DEFER while requesting the PWM

2015-03-11 Thread Nicolas Ferre
Le 19/02/2015 10:30, Nicolas Ferre a écrit : > When trying to request the PWM device with devm_pwm_get(), the EPROBE_DEFER > flag is not handled properly. It can lead to the PWM not being found. > > Signed-off-by: Boris Brezillon > Signed-off-by: Nicolas Ferre Any comment on thi

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-11 Thread Nicolas Ferre
> Nicolas can confirm this). Yes, the HW bug that we address in these functions: at91sam9260_restart() and at91sam9g45_restart(). We have this issue because of NAND flash lines shared with DDR that are driven during product reboot on old products (Cf. these functions comments). T

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-03-10 Thread Nicolas Ferre
piochip_lock_as_irq call failed. >> >> Signed-off-by: Boris Brezillon > > Patch applied with all the ACKs. Hi Linus, As suggested earlier, do you think it can be scheduled for the 4.0-rc phase as a "fix"? Bye, > Happy new year J-C! > > Yours, > Linus Walleij >

[PATCH] ARM: at91/dt: fix USB high-speed clock to select UTMI

2015-03-09 Thread Nicolas Ferre
The UTMI clock must be selected by any high-speed USB IP. The logic behind it needs this particular clock. So, correct the clock in the device tree files affected. Reported-by: Bo Shen Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9g45.dtsi | 2 +- arch/arm/boot/dts/at91sam9x5.dtsi

[GIT PULL] at91: dt for 4.1 #1

2015-03-07 Thread Nicolas Ferre
: at91/dt: sama5d4: add dts for sama5d4 xplained board ARM: at91/dt: sama5d4: add ISI dt support Leilei Zhao (1): ARM: at91/dt: sama5d4: add aes, sha and tdes nodes Nicolas Ferre (3): ARM: at91/dt/trivial: correct file headers for SAMA5D3 SoC peripherals ARM: at91/dt: gpio-

Re: [PATCH 2/2] net: macb: Fix multi queue support for xilinx ZynqMP soc

2015-03-06 Thread Nicolas Ferre
ichal Simek Ok then: Acked-by: Nicolas Ferre > --- > > 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/macb.c > index 24b1eb466e52..049

Re: [PATCH v2 1/3] net/macb: Update DT bindings documentation

2015-03-06 Thread Nicolas Ferre
Le 06/03/2015 11:24, Boris Brezillon a écrit : > Add missing "cdns,at91sam9260-macb", "atmel,sama5d3-gem" and > "atmel,sama5d4-gem" compatible strings. > > Signed-off-by: Boris Brezillon > Reviewed-by: Alexandre Belloni Acked-by: Nicolas Ferre &

Re: [PATCH 1/2] net: macb: Include multi queue support for xilinx ZynqMP ethernet version

2015-03-06 Thread Nicolas Ferre
*/ >> mid = __raw_readl(mem + MACB_MID); >> -if (MACB_BFEXT(IDNUM, mid) != 0x2) >> +if (MACB_BFEXT(IDNUM, mid) < 0x2) >> return; >> >> /* bit 0 is never set but queue 0 always exists */ >> > > Can you please check thi

Re: [PATCH v2 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

2015-03-06 Thread Nicolas Ferre
a CLKEN bit in USRIO register. > Then define the appropriate config for IPs embedded in at91 SoCs. > > Signed-off-by: Boris Brezillon > Reviewed-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 32 +--- >

Re: [PATCH v2 2/3] ARM: at91/dt: fix macb compatible strings

2015-03-06 Thread Nicolas Ferre
Le 06/03/2015 11:24, Boris Brezillon a écrit : > Some at91 SoCs embed a 10/100 Mbit Ethernet IP, that is based on the > at91sam9260 SoC. > Fix at91 DTs accordingly. > > Signed-off-by: Boris Brezillon > Reviewed-by: Alexandre Belloni Acked-by: Nicolas Ferre > ---

Re: [PATCH v2 0/3] net: macb: rework at91 specific handling

2015-03-06 Thread Nicolas Ferre
is found. > > Best Regards, > > Boris I'm okay with the whole series: Acked-by: Nicolas Ferre > > Changes since v1: > - avoid changing existing behavior as Alexandre suggested > > Boris Brezillon (3): > net/macb: Update DT bindings documentation > A

[GIT PULL] at91: fixes for 4.0 #2

2015-03-05 Thread Nicolas Ferre
ma5d4.dtsi| 6 +++--- arch/arm/include/debug/at91.S | 5 - arch/arm/mach-at91/pm_slowclock.S | 2 ++ 3 files changed, 9 insertions(+), 4 deletions(-) -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH] ARM: at91: debug: fix non MMU debug

2015-03-05 Thread Nicolas Ferre
Le 04/03/2015 15:41, Alexandre Belloni a écrit : > Linux may be used without MMU on atmel SoCs, fix debug in this configuration. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre and stacked on top of at91-4.0-fixes. Thanks! > --- > arch/arm/include/debug/at91.S

[PATCH] ARM: at91/dt: gpio-keys: address-cells and size-cells properties are not needed

2015-03-04 Thread Nicolas Ferre
Gpio-keys nodes are not using the "reg" property in their sub nodes. So, there is no need to define #address-cells and #size-cells properties in gpio-keys nodes: we remove them in these new boards. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d4ek.dts | 2 -- arch/ar

[PATCH] ARM: at91/dt: at91-sama5d3_xplained: add gpio-key pinctrl property

2015-03-04 Thread Nicolas Ferre
From: Wenyou Yang Signed-off-by: Wenyou Yang Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts index fec1fca2ad66

[PATCH] ARM: at91/dt/trivial: correct file headers for SAMA5D3 SoC peripherals

2015-03-04 Thread Nicolas Ferre
File name had at91 prefix, which is not the case anymore for SAMA5D3. AT91SAM9x5 was mentioned instead of SAMA5D3 SoC. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3_can.dtsi | 2 +- arch/arm/boot/dts/sama5d3_emac.dtsi | 2 +- arch/arm/boot/dts/sama5d3_gmac.dtsi | 2 +- arch/arm

Re: [PATCH] ARM: at91/dt: add uart0 to sama5d3 DT

2015-03-04 Thread Nicolas Ferre
Le 04/03/2015 17:26, Nicolas Ferre a écrit : > Signed-off-by: Nicolas Ferre Please, forget this patch. It is handled by arch/arm/boot/dts/sama5d3_uart.dtsi file. Sorry for the noise ;-) Bye, > --- > arch/arm/boot/dts/sama5d3.dtsi | 26 ++ > 1 file

[PATCH] ARM: at91/dt: add uart0 to sama5d3 DT

2015-03-04 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index e30fee2edd55..def05e20e9d6 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/arch

[PATCH 2/2] ARM: at91/dt: sama5d4: fix lcdck parent clk

2015-03-04 Thread Nicolas Ferre
From: Boris BREZILLON lcdck takes mck (not smd) as its parent. Signed-off-by: Boris BREZILLON Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi

[PATCH 1/2] ARM: at91/dt: sama5d4: rename lcd_clk into lcdc_clk

2015-03-04 Thread Nicolas Ferre
From: Boris BREZILLON Rename lcd_clk into lcdc_clk to be consistent with sama5d3 clock definitions. Signed-off-by: Boris BREZILLON Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d4

[PATCH] ARM: at91/dt: sama5d4: add ISI dt support

2015-03-04 Thread Nicolas Ferre
From: Josh Wu Add ISI dt node and pinctrl settings in sama5d4.dtsi. Signed-off-by: Josh Wu [nicolas.fe...@atmel.com: sort nodes in order. remove useless comments] Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 42 ++ 1 file changed

[PATCH] ARM: at91/dt: sama5d4: add pwm device node

2015-03-04 Thread Nicolas Ferre
From: Bo Shen Signed-off-by: Bo Shen Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index 93dc4e374b64..3041baaa19a1 100644 --- a/arch/arm/boot/dts

[PATCH] ARM: at91/dt: sama5d4: add aes, sha and tdes nodes

2015-03-04 Thread Nicolas Ferre
From: Leilei Zhao Signed-off-by: Leilei Zhao Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts

Re: [PATCH 0/4] ARM: at91: sama5d4ek: enable audio support

2015-03-04 Thread Nicolas Ferre
+++ > arch/arm/boot/dts/sama5d4.dtsi | 70 > > 2 files changed, 101 insertions(+) > -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH 1/4] ARM: at91: dt: sama5d4: add ssc nodes

2015-03-04 Thread Nicolas Ferre
pinctrl_ssc1_rx: ssc1_rx { > + atmel,pins = > + AT91_PERIPH_B AT91_PINCTRL_NONE /* PC24 periph B RK1 */ > + AT91_P

Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device

2015-03-04 Thread Nicolas Ferre
>>- Add pinctrl for usb1 vbus sense. >> >> Bo Shen (2): >>ARM: at91: dt: at91sam9n12: add udp device node >>ARM: at91: dt: at91sam9n12ek: enable udp > > Any comments for this patch series? (aka ping?) Hi, For the 2 patches: Acked-by: Nicolas Ferre

[PATCH] ARM: at91/dt: sama5d4 xplained: add i2c0

2015-03-04 Thread Nicolas Ferre
Add i2c0 aka twi0 on sama5d4 xplained board. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index f95ba32e29a5

Re: [PATCH v4 2/2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-03-04 Thread Nicolas Ferre
eg = <0x18 0x8>; > + }; > + > + kernel@20 { > + label = "kernel"; > + reg = <0x20 0x60>; > + }; > + > + rootfs@8

Re: [PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node

2015-03-04 Thread Nicolas Ferre
Le 09/02/2015 10:40, Josh Wu a écrit : > Add the leds DT node in the dts file. > In the leds, d10 is set as heartbeat led. > > Signed-off-by: Josh Wu Acked-by: Nicolas Ferre added to at91-4.1-dt branch. Thanks. > --- > > arch/arm/boot/dts/at

[GIT PULL] at91: fixes for 4.0 #1

2015-03-04 Thread Nicolas Ferre
): ARM: at91/defconfig: remove CONFIG_SYSFS_DEPRECATED Jonas Andersson (1): ARM: at91/dt: at91sam9260: fix usart pinctrl Michel Marti (1): ARM: at91/dt: keep watchdog running in idle mode Nicolas Ferre (1): ARM: at91/dt: sama5d4: add missing alias for i2c0 Peter Rosin (1

Re: [PATCH] ARM: at91: pm: fix at91rm9200 standby

2015-03-03 Thread Nicolas Ferre
ect at91_ramc_base[0] instead. > > Fixes: 00482a4078f4 (ARM: at91: implement the standby function for pm/cpuidle) > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre and immediately added to at91-4.0-fixes. Thanks. Bye, > --- > arch/arm/mach-at91/pm.h | 2 +- > 1

Re: [PATCH] ARM: configs: at91_dt: add rm9200 ethernet support

2015-03-03 Thread Nicolas Ferre
Le 05/01/2015 12:53, Alexandre Belloni a écrit : > There is now only on defconfig for the at91rm9200 and at91sam9. Add ethernet > support for the rm9200. > > Signed-off-by: Alexandre Belloni > --- Acked-by: Nicolas Ferre and addedd to at91-4.0-fixes branch. >

Re: [PATCH 2/3] pm: at91: pm_slowclock: remove clocks which are already stopped when entering slow clock mode

2015-03-03 Thread Nicolas Ferre
> - tst tmp1, #(AT91_PMC_MUL & ~0xff) > - beq 2f > -1: > - wait_pllblock > -2: > - > /* Restore PLLA setting */ > ldr tmp1, .saved_pllar > str tmp1, [pmc, #AT91_CKGR_PLLAR] > @@ -294,9 +266,6 @@ ram_restored: >

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

2015-03-03 Thread Nicolas Ferre
to LPDDR1, and is correctly implemented in the > controller. > > Assume that the second controller has the same fault, but that is > untested. > > Signed-off-by: Peter Rosin > Acked-by: Nicolas Ferre Stacked in at91-4.0-fixes. Bye, > --- &g

Re: [PATCH 1/3] pm: at91: pm_slowclock: fix suspend/resume hang up in timeouts

2015-03-03 Thread Nicolas Ferre
d-off-by: Sylvain Rochet > Acked-by: Wenyou.Yang Acked-by: Nicolas Ferre and stacked in at91-4.0-fixes. thanks! > --- > arch/arm/mach-at91/pm_slowclock.S | 33 - > 1 file changed, 4 insertions(+), 29 deletions(-) > > diff --git a/arch/arm/mach-at91

Re: [PATCH v3 2/2] dma: at_hdmac: Add support for memory to memory sg transfers

2015-03-03 Thread Nicolas Ferre
of 'desc->tx_width' that is needed to calculate the > residue. > > Signed-off-by: Torsten Fleischer Acked-by: Nicolas Ferre Thanks! > --- > drivers/dma/at_hdmac.c | 175 > + > 1 file changed, 164 insertions

Re: [PATCH v3 1/2] dma: at_hdmac: Fix calculation of the residual bytes

2015-03-03 Thread Nicolas Ferre
se of a "memory_to_memory_sg" transfer (part of this patch > series) the transfer width of both descriptors may differ. Thus it is > required to additionally set 'tx_width' of the last descriptor. >* Added functions for m

Re: [PATCH v2] ARM: at91: pm: fix SRAM allocation

2015-03-03 Thread Nicolas Ferre
by: Alexandre Belloni > Tested-by: Wenyou Yang Acked-by: Nicolas Ferre and added to at91-4.0-fixes. Thanks. > --- > Changes in v2: > - initialize pdev to NULL > > arch/arm/mach-at91/pm.c | 22 ++ > 1 file changed, 10 insertions(+), 12 deletions(-) &

Re: [PATCH v2 0/6] ARM: at91: fix irq_pm_install_action WARNING

2015-03-03 Thread Nicolas Ferre
ine as a wakeup source. > The first patch of this series exports the pm_system_wakeup symbol so > that drivers can call pm_system_wakeup from their interrupt handler. > > This series then patches all at91 drivers that can have devices sharing > their IRQ line with a timer. > > Th

Re: [PATCH] pinctrl: at91: move lock/unlock_as_irq calls into request/release resources methods

2015-02-26 Thread Nicolas Ferre
ated to address this > problem. > > Move gpiochip_lock/unlock_as_irq calls into > irq_request/release_resources functions to prevent using a gpio as an irq > if the gpiochip_lock_as_irq call failed. > > Signed-off-by: Boris Brezillon If it can speed up things: Acked-by: Ni

Re: [PATCH v3] net: macb: Add big endian CPU support

2015-02-26 Thread Nicolas Ferre
nfigured in big endian mode. > > Signed-off-by: Arun Chandran It seems okay: Acked-by: Nicolas Ferre > --- > This patch is tested on xilinx ZC702 evaluation board with > CONFIG_CPU_BIG_ENDIAN=y and booting NFS rootfs > > changes since initial version: > > * Added on the

[PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver

2015-02-25 Thread Nicolas Ferre
Remove this configuration bit in crtc driver as the rising edge clock is widely used. Signed-off-by: Boris BREZILLON Signed-off-by: Nicolas Ferre --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc

Re: [PATCH] net: macb: Add big endian CPU support

2015-02-24 Thread Nicolas Ferre
w_writel((value), (port)->regs + GEM_##reg) > + writel_relaxed((value), (port)->regs + GEM_##reg) > #define queue_readl(queue, reg) \ > - __raw_readl((queue)->bp->regs + (queue)->reg) > + readl_relaxed((queue)->bp->regs + (

Re: [PATCH] net: cadence: Enable MACB driver for ARM64

2015-02-24 Thread Nicolas Ferre
Le 24/02/2015 08:45, Michal Simek a écrit : > This driver is used on new Xilinx ZynqMP SoC. > > Signed-off-by: Michal Simek > Acked-by: Sören Brinkmann I see no objection on my side: Acked-by: Nicolas Ferre > --- > > drivers/net/ethernet/cadence/Kconfig | 4 ++--

Re: [PATCH] net: macb: Add big endian CPU support

2015-02-23 Thread Nicolas Ferre
-TRM.pdf > > I tried writing to dma_cfg (0x0010) and reading from design_cfg5 > (0x0290) > Its not reflecting anything(design_cfg5 always reads same value); It > is not helping. 0kay, here you mean that the design_cfg5 (@0x290) and its bit 16:15 "gem_endian_swap_def&

<    4   5   6   7   8   9   10   11   12   13   >