Re: [PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops

2013-04-02 Thread Boris BREZILLON
On 31/03/2013 05:15, Axel Lin wrote: Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Boris BREZILLON linux-...@overkiz.com --- drivers/pwm/pwm-atmel-tcb.c |1 + 1 file

[PATCH] ARM: at91/tc: fix clock source id for tc block 1

2013-04-02 Thread Boris BREZILLON
This patch fixes wrong clock request for TC block 2. The second block was using t0_clk, t1_clk and t2_clk clks instead of t3_clk, t4_clk and t5_clk clks. Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- drivers/misc/atmel_tclib.c | 24 1 file changed, 16

[PATCH RESEND] pwm: pwm-atmel-tcb: pinctrl support

2013-04-02 Thread Boris BREZILLON
Setup tcb pins using pinctrl subsystem. Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- drivers/pwm/pwm-atmel-tcb.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c index 16cb530..985b7bf 100644 --- a/drivers/pwm

Re: [PATCH] ARM: at91/tc: fix clock source id for tc block 1

2013-04-03 Thread Boris BREZILLON
On 03/04/2013 09:26, Nicolas Ferre wrote: On 04/03/2013 06:45 AM, Jean-Christophe PLAGNIOL-VILLARD : On 18:46 Tue 02 Apr , Boris BREZILLON wrote: This patch fixes wrong clock request for TC block 2. The second block was using t0_clk, t1_clk and t2_clk clks instead of t3_clk, t4_clk

[PATCH 1/1] pwm: atmel: add Timer Counter Block PWM driver

2012-12-06 Thread Boris BREZILLON
Add TCB PWM driver. Add device tree binding. Signed-off-by: Boris BREZILLON linux-...@overkiz.com -- create mode 100644 Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt create mode 100644 drivers/pwm/pwm-atmel-tcb.c diff --git a/Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt b

[PATCH 0/1] pwm: atmel: TCB pwm driver

2012-12-06 Thread Boris BREZILLON
Hello, This patch adds support for Timer Counter Block PWM. TCB PWM chip provides 6 pwm devices. This PWM devices are grouped by 2 (0/1, 2/3 and 4/5). The PWM devices in a given group must use the same period_ns value. Regards, Boris -- Boris BREZILLON (1): pwm: atmel: add Timer Counter

[PATCH v2] pwm: atmel: add Timer Counter Block PWM driver

2012-12-07 Thread Boris BREZILLON
issues. - Cleanup code and add some comments. Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- create mode 100644 Documentation/devicetree/bindings/pwm/atmel-tcb-pwm.txt create mode 100644 drivers/pwm/pwm-atmel-tcb.c diff --git a/Documentation/devicetree/bindings/pwm/atmel-tcb

Re: [PATCH v3] pwm: atmel: add Timer Counter Block PWM driver

2012-12-19 Thread Boris BREZILLON
On 19/12/2012 12:26, Thierry Reding wrote: On Mon, Dec 17, 2012 at 12:13:30PM +0100, Boris BREZILLON wrote: Hello, This patch adds a PWM driver based on Atmel Timer Counter Block. Timer Counter Block is used in Waveform generator mode. A Timer Counter Block provides up to 6 PWM devices

[PATCH v4] pwm: atmel: add Timer Counter Block PWM driver

2012-12-19 Thread Boris BREZILLON
is given by tc-block field in an atmel,tcb-pwm compatible node. This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds. Regards, Boris Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- Changes since v1: - Fix device tree binding Documentation - Fix Kconfig

[PATCH v4 RESEND] pwm: atmel: add Timer Counter Block PWM driver

2012-12-20 Thread Boris BREZILLON
. Regards, Boris Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- Changes since v1: - Fix device tree binding Documentation - Fix Kconfig issues (missing OF dependency, deprecated HAVE_PWM select, ...) - Fix various coding style

[PATCH v3] pwm: atmel: add Timer Counter Block PWM driver

2012-12-17 Thread Boris BREZILLON
is given by tc-block field in an atmel,pwm-tcb compatible node. This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds. Regards, Boris Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- Changes since v1: - Fix device tree binding Documentation - Fix Kconfig

Re: [PATCH v4 RESEND] pwm: atmel: add Timer Counter Block PWM driver

2013-01-08 Thread Boris BREZILLON
On 08/01/2013 08:10, Thierry Reding wrote: On Thu, Dec 20, 2012 at 10:12:56AM +0100, Boris BREZILLON wrote: Hi, Sorry for resend. The previous version still has alignment issues on atmel_tcb_pwm_set_polarity, atmel_tcb_pwm_request and atmel_tcb_pwm_config function parameters. This patch

Re: [PATCH v4 RESEND] pwm: atmel: add Timer Counter Block PWM driver

2013-01-08 Thread Boris BREZILLON
On 08/01/2013 08:10, Thierry Reding wrote: On Thu, Dec 20, 2012 at 10:12:56AM +0100, Boris BREZILLON wrote: Hi, Sorry for resend. The previous version still has alignment issues on atmel_tcb_pwm_set_polarity, atmel_tcb_pwm_request and atmel_tcb_pwm_config function parameters. This patch

[PATCH v5] pwm: atmel: add Timer Counter Block PWM driver

2013-01-08 Thread Boris BREZILLON
is given by tc-block field in an atmel,tcb-pwm compatible node. This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds. Regards, Boris Signed-off-by: Boris BREZILLON linux-...@overkiz.com --- Changes since v1: - Fix device tree binding Documentation - Fix Kconfig

Re: [PATCH v5] pwm: atmel: add Timer Counter Block PWM driver

2013-01-09 Thread Boris BREZILLON
On 09/01/2013 08:46, Thierry Reding wrote: On Tue, Jan 08, 2013 at 04:36:42PM +0100, Boris BREZILLON wrote: Hi, This patch adds a PWM driver based on Atmel Timer Counter Block. Timer Counter Block is used in Waveform generator mode. A Timer Counter Block provides up to 6 PWM devices grouped

[PATCH] ARM: at91/dt: split sama5d3 definition

2013-08-07 Thread Boris BREZILLON
representation of the real hardware (drop unneed dt nodes) and avoids peripheral id conflict (which is not the case for current sama5d3 SoCs, but could be if other SoCs of this family are released). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3.dtsi | 203

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-07 Thread boris brezillon
Hello Richard, On 07/08/2013 12:38, Richard Genoud wrote: 2013/8/7 Boris BREZILLON b.brezil...@overkiz.com: This patch splits the sam9x5 peripheral definitions into: - a common base for all sam9x5 SoCs (at91sam9x5.dtsi) - several optional peripheral definitions which will be included

[PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-07 Thread Boris BREZILLON
(drop unneeded dt nodes) and avoids future peripheral id conflict (lcdc and isi both use peripheral id 25). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91sam9g25.dtsi |2 + arch/arm/boot/dts/at91sam9g35.dtsi |1 + arch/arm/boot/dts/at91sam9x25

[PATCH] ARM: at91: add missing uart clocks DT entries

2013-08-07 Thread Boris BREZILLON
Add clocks to clock lookup table for uart DT entries. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/mach-at91/at91sam9x5.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..916e5a1

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-07 Thread boris brezillon
Hello Thomas, Sorry for the noise, this mail was filtered by LKML and LAKML beacause thunderbird added HTML contents. On 07/08/2013 18:08, Thomas Petazzoni wrote: Dear Boris BREZILLON, On Wed, 7 Aug 2013 12:14:26 +0200, Boris BREZILLON wrote: This patch splits the sam9x5 peripheral

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-26 Thread boris brezillon
On 26/07/2013 16:10, Richard Genoud wrote: On 17/07/2013 15:34, Boris BREZILLON wrote: Hello, This patch series is a proposal to move at91 clock implementation to common clk framework. Most of the clock provided by the PMC (Power Management Controller) are implemented : - main clock (main

Re: [PATCH v2 02/42] ARM: at91: add PMC main clock

2013-07-26 Thread boris brezillon
On 17/07/2013 15:40, Boris BREZILLON wrote: This is the at91 main oscillator clock implementation using common clk framework. If rate is not provided during clock registraction it is computed using the slow clock (main clk parent in this case) rate and the MCFR register. Signed-off-by: Boris

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-26 Thread boris brezillon
On 26/07/2013 17:44, boris brezillon wrote: On 26/07/2013 16:10, Richard Genoud wrote: On 17/07/2013 15:34, Boris BREZILLON wrote: Hello, This patch series is a proposal to move at91 clock implementation to common clk framework. Most of the clock provided by the PMC (Power Management

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-26 Thread boris brezillon
from you on the clk implementations and dt bindings... Berst Regards, Boris Le 17/07/2013 15:34, Boris BREZILLON a écrit : Hello, This patch series is a proposal to move at91 clock implementation to common clk framework. Most of the clock provided by the PMC (Power Management Controller

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-29 Thread boris brezillon
On 29/07/2013 16:18, Richard Genoud wrote: 2013/7/29 boris brezillon b.brezil...@overkiz.com: On 29/07/2013 10:00, Richard Genoud wrote: 2013/7/26 boris brezillon b.brezil...@overkiz.com: On 26/07/2013 17:44, boris brezillon wrote: I found 2 bugs: 1) the main frequency ready test

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-29 Thread boris brezillon
On 29/07/2013 17:09, Richard Genoud wrote: 2013/7/29 boris brezillon b.brezil...@overkiz.com: On 29/07/2013 16:18, Richard Genoud wrote: 2013/7/29 boris brezillon b.brezil...@overkiz.com: On 29/07/2013 10:00, Richard Genoud wrote: 2013/7/26 boris brezillon b.brezil...@overkiz.com: On 26/07

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-07-29 Thread boris brezillon
On 29/07/2013 17:42, Linus Walleij wrote: On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON b.brezil...@overkiz.com wrote: The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays

Re: [PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-29 Thread boris brezillon
On 29/07/2013 17:09, Richard Genoud wrote: 2013/7/29 boris brezillon b.brezil...@overkiz.com: On 29/07/2013 16:18, Richard Genoud wrote: 2013/7/29 boris brezillon b.brezil...@overkiz.com: On 29/07/2013 10:00, Richard Genoud wrote: 2013/7/26 boris brezillon b.brezil...@overkiz.com: On 26/07

[PATCH] net/cadence/macb: fix kernel Oops if no PHY were discovered during probe

2013-08-24 Thread Boris BREZILLON
Test the presence of a PHY device before printing attached PHY informations. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/ethernet/cadence/macb.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers

[RFC PATCH 0/3] pinctrl: at91: add support for generic pinconf

2013-08-24 Thread Boris BREZILLON
? The third patch migrate sama5 dt boards to the new generic config syntax. Please feel free to share your thoughts. Best Regards, Boris Boris BREZILLON (3): pinctrl: add new generic pinconf config for deglitch filter pinctrl: at91: add support for generic pinconf ARM: at91/dt: move sama5

[RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-24 Thread Boris BREZILLON
Add a new parameter to support deglitch filter configuration. A deglitch filter works like a debounce filter but with a smaller delay (nanoseconds). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../bindings/pinctrl/pinctrl-bindings.txt |1 + drivers/pinctrl/pinconf

[RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-24 Thread Boris BREZILLON
Add support for generic pin configuration to pinctrl-at91 driver. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../bindings/pinctrl/atmel,at91-pinctrl.txt| 43 +++- drivers/pinctrl/Kconfig|2 +- drivers/pinctrl/pinctrl-at91.c

[RFC PATCH 3/3] ARM: at91/dt: move sama5 to generic pinconf

2013-08-24 Thread Boris BREZILLON
Add generic pinconf definitions and reference appropriate configs in atmel,pins properties. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3.dtsi| 363 +++-- arch/arm/boot/dts/sama5d3xdm.dtsi |2 +- arch/arm/boot/dts

Re: [RFC PATCH 0/3] pinctrl: at91: add support for generic pinconf

2013-08-24 Thread boris brezillon
On 24/08/2013 23:32, Boris BREZILLON wrote: Hello, This patch series is an attempt to add support for generic pin config syntax to at91 pinctrl driver. My primary goal is to add support for output configuration from dt definition. This is needed to fully move at91rm9200ek board to dt (other

Re: [PATCH v4 2/5] mmc: atmel-mci: prepare clk before calling enable

2013-08-24 Thread boris brezillon
Hello Chris, On 25/08/2013 05:18, Chris Ball wrote: Hi, On Thu, Jul 18 2013, Boris BREZILLON wrote: Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Ludovic Desroches

Re: [PATCH] net/cadence/macb: fix kernel Oops if no PHY were discovered during probe

2013-08-26 Thread boris brezillon
Hello Bo, On 26/08/2013 11:09, Bo Shen wrote: Hi Boris, On 08/25/2013 03:21 AM, Boris BREZILLON wrote: Test the presence of a PHY device before printing attached PHY informations. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/ethernet/cadence/macb.c |6

[PATCH v2 0/2] net/cadence/macb: add support for dt phy definition

2013-08-26 Thread Boris BREZILLON
is discovered Boris BREZILLON (2): net/cadence/macb: add support for dt phy definition ARM: at91/dt: define phy available on sama5d3 mother board arch/arm/boot/dts/sama5d3xmb.dtsi |8 ++ drivers/net/ethernet/cadence/macb.c | 47 +++ 2 files changed, 45

[PATCH v2 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-26 Thread Boris BREZILLON
This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b

[PATCH v2 1/2] net/cadence/macb: add support for dt phy definition

2013-08-26 Thread Boris BREZILLON
to the autoscan procedure is added in case there is no phy devices defined in dt. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/ethernet/cadence/macb.c | 47 +++ 1 file changed, 37 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet

Re: [PATCH v2 2/4] watchdog: at91sam9_wdt: update device tree doc

2013-08-26 Thread boris brezillon
Hello, I missed Grant's ack on this patch: Acked-by: Grant Likelygrant.lik...@linaro.org Best Regards, Boris On 21/06/2013 09:23, Boris BREZILLON wrote: Add new at91sam9 watchdog properties to the documentation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../devicetree

Re: [PATCH v2 0/4] watchdog: at91sam9_wdt: handle already configured wdt

2013-08-26 Thread boris brezillon
Hello Yang, Did you test/review this series ? If you did, could you add your Acked, Reviewed and/or Tested-by. I'd really like to get this series merged to mainline. Thanks. Best Regards, Boris On 21/06/2013 09:19, Boris BREZILLON wrote: Hello, This patch series is a porposal to enhance

Re: [PATCH v2 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-26 Thread boris brezillon
Hello Sergei, On 26/08/2013 15:21, Sergei Shtylyov wrote: Hello. On 26-08-2013 16:35, Boris BREZILLON wrote: This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-26 Thread boris brezillon
Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new parameter to support deglitch filter configuration. A deglitch filter works like a debounce filter but with a smaller delay (nanoseconds). Why not use the existing debounce

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-26 Thread boris brezillon
On 26/08/2013 18:53, Stephen Warren wrote: On 08/24/2013 03:37 PM, Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver. diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-26 Thread boris brezillon
Hello Jean-Christophe, Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 23:37 Sat 24 Aug , Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../bindings/pinctrl/atmel

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-26 Thread boris brezillon
Le 26/08/2013 21:18, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 20:45 Mon 26 Aug , boris brezillon wrote: Hello Jean-Christophe, Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 23:37 Sat 24 Aug , Boris BREZILLON wrote: Add support for generic pin configuration

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-27 Thread boris brezillon
On 27/08/2013 05:54, Stephen Warren wrote: On 08/26/2013 12:45 PM, boris brezillon wrote: Hello Jean-Christophe, Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 23:37 Sat 24 Aug , Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-27 Thread boris brezillon
On 27/08/2013 05:55, Stephen Warren wrote: On 08/26/2013 11:01 AM, boris brezillon wrote: Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new parameter to support deglitch filter configuration. A deglitch filter works like

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-27 Thread boris brezillon
On 27/08/2013 05:57, Stephen Warren wrote: On 08/26/2013 11:17 AM, boris brezillon wrote: On 26/08/2013 18:53, Stephen Warren wrote: On 08/24/2013 03:37 PM, Boris BREZILLON wrote: Add support for generic pin configuration to pinctrl-at91 driver. diff --git a/Documentation/devicetree/bindings

[PATCH v3 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread Boris BREZILLON
wrong macb_mii_init return code when no PHY device is discovered Boris BREZILLON (2): net/cadence/macb: add support for dt phy definition ARM: at91/dt: define phy available on sama5d3 mother board arch/arm/boot/dts/sama5d3xmb.dtsi |8 ++ drivers/net/ethernet/cadence/macb.c | 48

[PATCH v3 1/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread Boris BREZILLON
to the autoscan procedure is added in case there is no phy devices defined in dt. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/ethernet/cadence/macb.c | 48 +++ 1 file changed, 38 insertions(+), 10 deletions(-) diff --git a/drivers/net/ethernet

[PATCH v3 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-27 Thread Boris BREZILLON
This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
Hello Dave, On 26/08/2013 22:04, David Miller wrote: From: Boris BREZILLON b.brezil...@overkiz.com Date: Thu, 22 Aug 2013 17:56:20 +0200 This patch series adds support for ethernet phy definition using device tree. This may help in moving some at91 boards to dt (some of them define

Re: [PATCH v3 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
Hello David, Sorry, I forgot to add your email in the cc list. Do you want me to send you the whole series ? Best Regards, Boris On 27/08/2013 09:36, Boris BREZILLON wrote: Hello, This patch series adds support for ethernet phy definition using device tree. This may help in moving some

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-27 Thread boris brezillon
On 27/08/2013 09:42, Nicolas Ferre wrote: On 27/08/2013 08:16, boris brezillon : On 27/08/2013 05:55, Stephen Warren wrote: On 08/26/2013 11:01 AM, boris brezillon wrote: Hello Stephen, On 26/08/2013 18:50, Stephen Warren wrote: On 08/24/2013 03:35 PM, Boris BREZILLON wrote: Add a new

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
On 27/08/2013 11:07, Florian Fainelli wrote: Hello Boris, 2013/8/27 boris brezillon b.brezil...@overkiz.com: Hello Dave, On 26/08/2013 22:04, David Miller wrote: From: Boris BREZILLON b.brezil...@overkiz.com Date: Thu, 22 Aug 2013 17:56:20 +0200 This patch series adds support for ethernet

[PATCH] ARM: at91/dt: fix phy address to match the reg register

2013-08-27 Thread Boris BREZILLON
Fix phy0 address to match the reg porperty defined in phy0 node. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH] net/cadence/macb: fix invalid 0 return if no phy is discovered on mii init

2013-08-27 Thread Boris BREZILLON
Replace misleading -1 (-EPERM) by a more appropriate return code (-ENXIO) in macb_mii_probe function. Save macb_mii_probe return before branching to err_out_unregister to avoid erronous 0 return. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe

[PATCH v2] ARM: at91/dt: fix phy address in sama5xmb to match the reg property

2013-08-27 Thread Boris BREZILLON
Fix phy0 address to match the reg property defined in phy0 node. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Changes since v1: - better commit message arch/arm/boot/dts/sama5d3xmb.dtsi |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2] ARM: at91/dt: fix phy address in sama5xmb to match the reg property

2013-08-27 Thread boris brezillon
Sorry for the noise, but the previous commit message was not clear enough. On 27/08/2013 14:41, Boris BREZILLON wrote: Fix phy0 address to match the reg property defined in phy0 node. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

[PATCH] pinctrl: at91: fix get_pullup/down function return

2013-08-27 Thread Boris BREZILLON
In PIO_PUSR and PIO_PPDSR register if a given bit is set 1 this means the pullup/down for this pin (pin is represented as a bit position) is disabled. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/pinctrl/pinctrl-at91.c |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] ARM: at91/at91-pinctrl documentation: add missing sam9x5 compatible string

2013-08-27 Thread Boris BREZILLON
Add missing atmel,at91sam9x5-pinctrl compatible string to the documentation. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../bindings/pinctrl/atmel,at91-pinctrl.txt|2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-27 Thread Boris BREZILLON
Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low) Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- .../bindings/pinctrl/atmel,at91-pinctrl.txt|2 ++ drivers

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-27 Thread boris brezillon
This was tested on sama5d31ek. On 27/08/2013 16:51, Boris BREZILLON wrote: Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low) Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

Re: [PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-27 Thread boris brezillon
On 27/08/2013 18:20, David Miller wrote: From: boris brezillon b.brezil...@overkiz.com Date: Tue, 27 Aug 2013 09:42:34 +0200 Could you apply, the 3rd version of this series instead ? There can never be an instead or reverting patches I've said I've applied already. If you want changes, you

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread boris brezillon
On 28/08/2013 09:31, Nicolas Ferre wrote: On 27/08/2013 16:51, Boris BREZILLON : Add support for pin output control through the pinctrl config: - support enabling/disabling output on a given pin - support output level setting (high or low) Signed-off-by: Boris BREZILLON b.brezil

[PATCH 1/9] ARM: at91/dt: add rm9200 spi0 chip select pins definitions

2013-08-28 Thread Boris BREZILLON
Add spi0 cs pinctrl pins definitions. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200.dtsi b/arch/arm/boot/dts/at91rm9200.dtsi index f770655

[PATCH 2/9] ARM: at91/dt: add ethernet phy to at91rm9200ek board

2013-08-28 Thread Boris BREZILLON
will launch a full scan on the mdio bus to discover the phy address. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index

[PATCH 3/9] ARM: at91/dt: add usb1 vbus and pullup pins

2013-08-28 Thread Boris BREZILLON
Add vbus and pullup pinctrl definitions. Request the vbus and pullup pins in usb1 node. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch

[PATCH 4/9] ARM: at91/dt: add atmel,pullup-gpio to at91rm9200ek usb1 definition

2013-08-28 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index 76f3e87..f2d6d79 100644 --- a/arch/arm/boot/dts/at91rm9200ek.dts

[PATCH 6/9] ARM: at91/dt: add spi0 support to at91rm9200ek board

2013-08-28 Thread Boris BREZILLON
Add spi0 cs3 switch pinctrl pin definitions: this pin is used to select between mmc0 slot0 and spi dataflash connected to cs3. Enable spi0 controller and define the mtd_dataflash connected to cs0. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts

[PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-08-28 Thread Boris BREZILLON
slot0). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index f2d6d79..2bad423 100644

[PATCH 7/9] ARM: at91/dt: add i2c devices connected to at91rm9200ek board

2013-08-28 Thread Boris BREZILLON
Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index b3e7425..fd2601a 100644 --- a/arch/arm/boot/dts

[PATCH 0/9] ARM: at91/dt: add missing devices to rm9200ek board

2013-08-28 Thread Boris BREZILLON
(the dt compilation passed), could someone owning this board test it ? In order to test it, you need to apply these series first: https://lkml.org/lkml/2013/8/27/58 pinctrl: at91: add support for OUTPUT config Best Regards, Boris Boris BREZILLON (9): ARM: at91/dt: rm9200: add spi0 chip select pins

[PATCH 8/9] ARM: at91/dt: add new at91rm9200ek_mmc board

2013-08-28 Thread Boris BREZILLON
Add a new at91rm9200ek_mmc board (based on at91rm9200ek board) which enables mmc0/slot0. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek_mmc.dts | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 arch/arm/boot/dts

[PATCH 9/9] ARM: at91/dt: add new at91rm9200ek_dataflash board

2013-08-28 Thread Boris BREZILLON
Add a new at91rm9200ek_dataflash board (based on at91rm9200ek board) which enables dataflash connected to cs3 of spi0. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/at91rm9200ek_dataflash.dts | 33 ++ 1 file changed, 33 insertions

Re: [RFC PATCH 3/3] ARM: at91/dt: move sama5 to generic pinconf

2013-08-28 Thread boris brezillon
Hello Linus, On 28/08/2013 14:28, Linus Walleij wrote: On Sat, Aug 24, 2013 at 11:40 PM, Boris BREZILLON b.brezil...@overkiz.com wrote: Add generic pinconf definitions and reference appropriate configs in atmel,pins properties. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

Re: [PATCH] pinctrl: at91: add support for OUTPUT config

2013-08-28 Thread boris brezillon
On 28/08/2013 15:48, Linus Walleij wrote: On Wed, Aug 28, 2013 at 3:46 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Aug 27, 2013 at 4:51 PM, Boris BREZILLON b.brezil...@overkiz.com wrote: Add support for pin output control through the pinctrl config: - support enabling

Re: [PATCH v3 00/19] ARM: at91: move to common clk framework

2013-08-20 Thread boris brezillon
and programmable clk dt bindings (1 master node and multiple child nodes each defining a system/peripheral or prog clock) - fix bugs in sama5 dt definition Boris BREZILLON (19): ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h ARM: at91: add Kconfig options for common clk support

Re: [PATCH v4 2/5] mmc: atmel-mci: prepare clk before calling enable

2013-08-22 Thread boris brezillon
Hello Chris, Could you take this patch ? It has been acked by Ludovic, and I need it in order to gracefully handle at91's SoCs migration to common clk framework. Thanks. Best Regards, Boris On 18/07/2013 09:38, Boris BREZILLON wrote: Replace clk_enable/disable with clk_prepare_enable

[RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread Boris BREZILLON
out what I should use to implement my fallback ? 1) use the register/unregister/register sequence 2) reimplement the for (i = 0; i PHY_MAX_ADDR; i++) mdiobus_scan loop Thanks. Best Regards, Boris Boris BREZILLON (1): phylib: mdio: handle register/unregister/register sequence drivers/net/phy

[RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread Boris BREZILLON
the device_register call with device_add in mdiobus_register and move the device struct initialization in the mdiobus_alloc_size function. Thus the device struct is only initialized once. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/phy/mdio_bus.c |6 -- 1 file

Re: [RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread boris brezillon
Hello Florian, Thanks for your answer. On 22/08/2013 14:43, Florian Fainelli wrote: Hello Boris, 2013/8/22 Boris BREZILLON b.brezil...@overkiz.com: Hello, This patch is a proposal to support the register/unregister/register sequence on a given mdio bus. I use the register/unregister

Re: [RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread boris brezillon
On 22/08/2013 15:15, Florian Fainelli wrote: 2013/8/22 boris brezillon b.brezil...@overkiz.com: Hello Florian, Thanks for your answer. On 22/08/2013 14:43, Florian Fainelli wrote: Hello Boris, 2013/8/22 Boris BREZILLON b.brezil...@overkiz.com: Hello, This patch is a proposal to support

Re: [RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread boris brezillon
On 22/08/2013 14:33, Boris BREZILLON wrote: Hello, This patch is a proposal to support the register/unregister/register sequence on a given mdio bus. I forgot to ask, if this limitation was made on purpose ? In other terms: no one should ever try to register, unregister and register again

Re: [RFC PATCH] phylib: mdio: handle register/unregister/register sequence

2013-08-22 Thread boris brezillon
On 22/08/2013 17:27, Greg Kroah-Hartman wrote: On Thu, Aug 22, 2013 at 02:33:56PM +0200, Boris BREZILLON wrote: Hello, This patch is a proposal to support the register/unregister/register sequence on a given mdio bus. I use the register/unregister/register sequence to add a fallback when

[PATCH 2/2] ARM: at91/dt: define phy available on sama5d3 mother board

2013-08-22 Thread Boris BREZILLON
This patch describe the phy used on atmel sama5d3 mother board: - phy address - phy interrupt pin Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- arch/arm/boot/dts/sama5d3xmb.dtsi |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b

Re: [PATCH 1/2] net/cadence/macb: add support for dt phy definition

2013-08-22 Thread boris brezillon
Hello Florian, On 22/08/2013 17:57, Boris BREZILLON wrote: The macb driver only handle PHY description through platform_data (macb_platform_data). Thus, when using dt you cannot define phy properties like phy address or phy irq pin. This patch makes use of the of_mdiobus_register to add

[PATCH 0/2] net/cadence/macb: add support for dt phy definition

2013-08-22 Thread Boris BREZILLON
Hello, This patch series adds support for ethernet phy definition using device tree. This may help in moving some at91 boards to dt (some of them define an interrupt pin). Tested on samad31ek. Best Regards, Boris Boris BREZILLON (2): net/cadence/macb: add support for dt phy definition ARM

[PATCH 1/2] net/cadence/macb: add support for dt phy definition

2013-08-22 Thread Boris BREZILLON
to the autoscan procedure is added in case there is no phy devices defined in dt. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/net/ethernet/cadence/macb.c | 41 +-- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet

[PATCH 1/8] ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare.

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/clocksource/tcb_clksrc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH 5/8] usb: gadget: at91_udc: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/usb/gadget/at91_udc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/usb

[PATCH 7/8] USB: ohci-at91: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/usb/host/ohci-at91.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host

[PATCH 0/8] ARM: at91: prepare the move to common clk framework

2013-06-19 Thread Boris BREZILLON
in atmel-mci (missing spin_unlock) - remove already applied patches (atmel-ssc and pwm-atmel-tcb) Boris BREZILLON (8): ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare. at_hdmac: prepare clk before calling enable mmc: atmel-mci: prepare clk

[PATCH 4/8] tty: atmel_serial: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/tty/serial/atmel_serial.c | 41 - 1 file changed, 31 insertions(+), 10 deletions

[PATCH 2/8] at_hdmac: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/dma/at_hdmac.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/dma

[PATCH 3/8] mmc: atmel-mci: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/mmc/host/atmel-mci.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git

[PATCH 6/8] ehci-atmel.c: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/usb/host/ehci-atmel.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host

[PATCH 2/8] at_hdmac: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/dma/at_hdmac.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/drivers/dma

[PATCH 8/8] at91/avr32/atmel_lcdfb: prepare clk before calling enable

2013-06-19 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/video/atmel_lcdfb.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video

  1   2   3   4   5   6   7   8   9   10   >