[PATCH 10/16] avr32: MRMT: use generic leds_pwm driver

2014-03-19 Thread Alexandre Belloni
Switch to the generic leds_pwm driver instead of leds-atmel-pwm. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/avr32/boards/atngw100/mrmt.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/arch/avr32/boards

[PATCH 13/16] avr32: update defconfig to use the generic PWM framework

2014-03-19 Thread Alexandre Belloni
Now that all boards have switch to the generic PWM framework, update the defconfigs to use it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/avr32/configs/atngw100_mrmt_defconfig | 5 +++-- arch/avr32/configs/atstk1002_defconfig | 5 +++-- arch/avr32/configs

[PATCH 14/16] backlight: atmel-pwm-bl: remove obsolete driver

2014-03-19 Thread Alexandre Belloni
The atmel-pwm-bl driver is now obsolete. It is not used by any mainlined boards and is replaced by the generic pwm_bl with the pawm-atmel driver using the generic PWM framework. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/video/backlight/Kconfig| 11

[PATCH 06/16] ARM: at91: remove useless at91_pwm_leds()

2014-03-19 Thread Alexandre Belloni
Now that all at91 boards using leds-atmel-pwm switched to leds-pwm, the at91_pwm_leds() function is not used anymore. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/board.h | 1 - arch/arm/mach-at91/leds.c | 37

[PATCH 16/16] misc: atmel_pwm: remove obsolete driver

2014-03-19 Thread Alexandre Belloni
The misc/atmel_pwm is not used by any mainlined boards and has been replaced by the pwm-driver using the generic PWM framework. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/misc/Kconfig | 9 -- drivers/misc/Makefile | 1 - drivers/misc

[PATCH 15/16] leds: atmel-pwm: remove obsolete driver

2014-03-19 Thread Alexandre Belloni
The leds-atmel-pwmdriver is now obsolete. It is not used by any mainlined boards and is replaced by the generic leds_pwm with the pawm-atmel driver using the generic PWM framework. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/leds/Kconfig | 8

[PATCH 02/16] ARM: at91: sam9m10g45ek: use generic leds_pwm driver

2014-03-19 Thread Alexandre Belloni
Switch to the generic leds_pwm driver instead of leds-atmel-pwm. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/board-sam9m10g45ek.c | 43 ++--- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/arch/arm/mach

[PATCH 12/16] avr32: favr-32: use generic pwm_bl driver

2014-03-19 Thread Alexandre Belloni
Switch to the generic pwm_bl driver instead of atmel-pwm-bl. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/avr32/boards/favr-32/setup.c| 49 +++- arch/avr32/configs/favr-32_defconfig | 6 ++--- 2 files changed, 34 insertions

[PATCH 11/16] avr32: merisc: use generic leds_pwm driver

2014-03-19 Thread Alexandre Belloni
Switch to the generic leds_pwm driver instead of leds-atmel-pwm. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/avr32/boards/merisc/setup.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/arch/avr32/boards

[PATCH 01/16] ARM: at91: at91sam9g45: switch to generic PWM framework

2014-03-19 Thread Alexandre Belloni
Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9g45.c | 1 + arch/arm/mach-at91/at91sam9g45_devices.c | 11 ++- 2 files changed, 3 insertions(+), 9 deletions

[PATCH 07/16] PWM: atmel: allow building for AVR32

2014-03-19 Thread Alexandre Belloni
The Atmel PWM IP can be found on avr32 chips. This allows selecting and building the driver on avr32. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers

[PATCH 09/16] avr32/at32ap: switch to the generic PWM framework

2014-03-19 Thread Alexandre Belloni
Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/avr32/mach-at32ap/at32ap700x.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/avr32/mach-at32ap/at32ap700x.c b/arch/avr32

[PATCH 08/16] backlight: pwm_bl: set pwm polarity when using platform data

2014-03-19 Thread Alexandre Belloni
Set inversed polarity when .pwm_active_low is set in the platform_data. With device tree, this is taken care of by of_pwm_xlate_with_flags(), called from of_pwm_get(). Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/video/backlight/pwm_bl.c | 8 include

[PATCH 00/16] move at91 and avr32 to the PWM framework, remove obsolete drivers

2014-03-19 Thread Alexandre Belloni
before feeding the pwm controller. Those features are not used by anything in the mainline. I'm not sure we can implement the first one. We'll get back the second one once all the boards have swtiched to the common clock framework. Alexandre Belloni (16): ARM: at91: at91sam9g45: switch

[PATCH 03/16] ARM: at91: at91sam9263: switch to generic PWM framework

2014-03-19 Thread Alexandre Belloni
Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9263.c | 1 + arch/arm/mach-at91/at91sam9263_devices.c | 11 ++- 2 files changed, 3 insertions(+), 9 deletions

[PATCH 05/16] ARM: at91: at91sam9rl: switch to generic PWM framework

2014-03-19 Thread Alexandre Belloni
Switch to the pwm/pwm-atmel driver instead of misc/atmel_pwm Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9rl.c | 1 + arch/arm/mach-at91/at91sam9rl_devices.c | 11 ++- 2 files changed, 3 insertions(+), 9 deletions(-) diff

[PATCH 04/16] ARM: at91: sam9263ek: use generic leds_pwm driver

2014-03-19 Thread Alexandre Belloni
Switch to the generic leds_pwm driver instead of leds-atmel-pwm. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/board-sam9263ek.c | 56 ++-- 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach

Re: [PATCH 10/11] ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models

2014-03-19 Thread Alexandre Belloni
{ + compatible = atmel,at91sam9x5-clk-slow; + #clock-cells = 0; + clocks = slow_rc_osc slow_osc; + }; + }; }; }; -- 1.7.9.5 -- Alexandre Belloni, Free

Re: [PATCH 11/11] ARM: at91/dt: define sam9rlek crystal frequencies

2014-03-19 Thread Alexandre Belloni
On 18/03/2014 at 21:18:44 +0100, Boris BREZILLON wrote : Define at91sam9rlek crystal frequencies. Signed-off-by: Boris BREZILLON b.brezillon@gmail.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rlek.dts |8 1 file

[PATCH] ARM: at91: panic when the mck rate is zero

2014-03-20 Thread Alexandre Belloni
-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam926x_time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/at91sam926x_time.c b/arch/arm/mach-at91/at91sam926x_time.c index 0f04ffe9c5a8..f060f6371392 100644 --- a/arch/arm/mach-at91

Re: [PATCH] Documentation: dt: list all compatible strings for at91

2014-03-20 Thread Alexandre Belloni
Hi Rob, On 19/03/2014 at 11:14:43 -0500, Rob Herring wrote : On Wed, Mar 19, 2014 at 5:26 AM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Avoids getting the newly introduced warning: WARNING: DT compatible string atmel,at91sam9g45-adc appears un-documented -- check

Re: [PATCH] ARM: at91: panic when the mck rate is zero

2014-03-20 Thread Alexandre Belloni
On 20/03/2014 at 17:34:09 +0100, Boris BREZILLON wrote : Le 20/03/2014 17:14, Alexandre Belloni a écrit : If the mck rate is zero, we'll hit the following warning: WARNING: CPU: 0 PID: 0 at arch/arm/mach-at91/at91sam926x_time.c:257 at91sam926x_pit_init+0x13c/0x260() But the kernel

Re: [PATCH 1/2] ARM: berlin: add scu and chipctrl device nodes for BG2/BG2Q

2014-03-20 Thread Alexandre Belloni
Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga

Re: [PATCH 2/2] ARM: berlin: add SMP support

2014-03-20 Thread Alexandre Belloni
and mach-prima2. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Cc: Russell King li...@arm.linux.org.uk Cc: Antoine Tenart antoine.ten...@free-electrons.com Cc: Alexandre Belloni alexandre.bell...@free

Re: [PATCH] Documentation: dt: list all compatible strings for at91

2014-03-21 Thread Alexandre Belloni
Hi, On 20/03/2014 at 17:21:00 +0100, Alexandre Belloni wrote : Hi Rob, On 19/03/2014 at 11:14:43 -0500, Rob Herring wrote : On Wed, Mar 19, 2014 at 5:26 AM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Avoids getting the newly introduced warning: WARNING: DT

[PATCH 5/5] ARM: berlin/dt: add cpupll and syspll support to BG2

2014-03-21 Thread Alexandre Belloni
This also moves the clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 56 +- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/arch

[PATCH 4/5] ARM: berlin/dt: add cpupll and syspll support to BG2CD

2014-03-21 Thread Alexandre Belloni
This also moves the clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 56 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/arch

[PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
This drivers allows to provide DT clocks for the cpu and system PLLs found on Marvell Berlin SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/Makefile | 1 + drivers/clk/berlin/Makefile | 1 + drivers/clk/berlin/clk.h

[PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 07452a7483fa..19d2c82b0664

[PATCH 0/5] berlin: initial support for the clocks

2014-03-21 Thread Alexandre Belloni
This series adds support for the berlin PLLs. This allows to remove the bogus fixed clocks that are used in the SoCs dts includes. For now, I have left out the AVPLL to ease reviewing. This is tested on a BG2Q DMP. Alexandre Belloni (5): clk: berlin: add support for berlin plls clk: berlin

[PATCH 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Alexandre Belloni
Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/clock/berlin-clock.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/berlin-clock.txt

Re: [PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 13:11:29 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: Alexandre, Thanks for starting this! I'll start with the most obvious things first and have a closer look on it later. I will rework and wait for your other comments before

Re: [PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
(current) knowledge of the berlin clock trees is almost as bad as mine, we can also ignore cpuclk mux if you prefer. Yeah, fact is I know there is a mux but I don't know yet how to get/set its state so I will ignore it until we have more info. -- Alexandre Belloni, Free Electrons Embedded Linux

Re: [PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
[all commentis I agree on are snipped] On 21/03/2014 at 13:49:32 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: obj-y += pll.o obj-$(CONFIG_MACH_BERLIN_BG2) += pll-berlin2.o obj-$(CONFIG_MACH_BERLIN_BG2CD) += pll-berlin2.o obj

Re: [PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 13:49:32 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index a367a9831717..4a2602737c27 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -29,6 +29,7 @@ obj

Re: [PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 16:45:39 +0100, Alexandre Belloni wrote : + .fbdiv_shift = 6, + .rfdiv_shift = 1, + .divsel_shift = 7, Have .foo_mask and .foo_shift together? This will make the struct larger but I don't really have an opinion. Forget that one, I'll take a break

Re: [PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 17:03:52 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 04:45 PM, Alexandre Belloni wrote: [all commentis I agree on are snipped] :) On 21/03/2014 at 13:49:32 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: obj-y += pll.o obj

[PATCH 2/2] ARM: multi_v7_defconfig: Select CONFIG_MACH_BERLIN_BG2Q

2014-03-21 Thread Alexandre Belloni
Now that we support Berlin BG2Q, select CONFIG_MACH_BERLIN_BG2Q so that we can boot BG2Q based boards like the BG2Q DMP. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm

[PATCH 1/2] ARM: berlin: add MACH_BERLIN_BG2Q symbol

2014-03-21 Thread Alexandre Belloni
Now that we start supporting the Marvell Berlin BG2Q, add a symbol allowing to differentiate that SoC from the other SoCs of the Berlin family. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-berlin/Kconfig | 7 +++ 1 file changed, 7 insertions

[PATCH v2 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
This drivers allows to provide DT clocks for the cpu and system PLLs found on Marvell Berlin SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/Makefile | 1 + drivers/clk/berlin/Makefile | 4 ++ drivers/clk/berlin/common.h

[PATCH v2 4/5] ARM: berlin/dt: add cpupll and syspll support to BG2CD

2014-03-21 Thread Alexandre Belloni
The Berlin BG2CD has two supported PLLs: CPU PLL and System PLL, add those to the SoC device tree. This also moves the remaining clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 48

[PATCH v2 5/5] ARM: berlin/dt: add cpupll and syspll support to BG2

2014-03-21 Thread Alexandre Belloni
The Berlin BG2 has two supported PLLs: CPU PLL and System PLL, add those to the SoC device tree. This also moves the remaining clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 48

[PATCH v2 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Alexandre Belloni
Document the device tree bindings for the PLLs found on the Marvell Berlin SoCs. Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/clock/berlin-clock.txt | 29 ++ 1 file changed, 29 insertions

[PATCH v2 0/5] berlin: initial support for the clocks

2014-03-21 Thread Alexandre Belloni
the void *data member of the struct berlin_pll by a struct berlin_pllmap *map Alexandre Belloni (5): clk: berlin: add support for berlin plls clk: berlin: add berlin clocks DT bindings documentation ARM: berlin/dt: add cpupll and syspll support to BG2Q ARM: berlin/dt: add cpupll and syspll

[PATCH v2 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
The Berlin BG2Q has two supported PLLs: CPU PLL and System PLL, add those to the SoC device tree. Note that support for the AVPLL is not yet available. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 22 +++--- 1 file

Re: [PATCH v2 4/5] ARM: berlin/dt: add cpupll and syspll support to BG2CD

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 22:35:26 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 09:08 PM, Alexandre Belloni wrote: The Berlin BG2CD has two supported PLLs: CPU PLL and System PLL, add those to the SoC device tree. This also moves the remaining clocks from the clocks container node to the root

Re: [PATCH v2 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 22:31:09 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 09:08 PM, Alexandre Belloni wrote: Document the device tree bindings for the PLLs found on the Marvell Berlin SoCs. Cc: devicet...@vger.kernel.org You forgot to add Mark Rutland's Reviewed-by. He didn't

Re: [PATCH v2 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 22:22:33 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 09:08 PM, Alexandre Belloni wrote: This drivers allows to provide DT clocks for the cpu and system PLLs found on Marvell Berlin SoCs. Alexandre, as mentioned on IRC, I now had a closer look on it. Some minor

Re: [PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-06-04 Thread Alexandre Belloni
not fool proofed enough. Maybe DT could help ? Arnd, do you have any input ? -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCHv2 1/3] net: phy: prevent linking breakage

2013-06-05 Thread Alexandre Belloni
will be. However, it is becoming urgent for Atmel to get the fix in 3.10 so that they never get a kernel compilation that breaks. Regards, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

[PATCHv4] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-06-05 Thread Alexandre Belloni
' arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' when CONFIG_PHYLIB is not selected. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 1 + arch

Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))

2013-06-07 Thread Alexandre Belloni
and Maxime told you that they are already working, at least discussing with them. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCHv2 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-22 Thread Alexandre Belloni
On 22/06/2013 14:02, Lars-Peter Clausen wrote: On 06/22/2013 01:55 PM, Jonathan Cameron wrote: On 06/20/2013 07:57 PM, Alexandre Belloni wrote: The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Sorry, somewhat low on time today so only a quick

Re: [PATCHv2 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-22 Thread Alexandre Belloni
On 22/06/2013 15:20, Lars-Peter Clausen wrote: On 06/22/2013 03:07 PM, Alexandre Belloni wrote: On 22/06/2013 14:02, Lars-Peter Clausen wrote: On 06/22/2013 01:55 PM, Jonathan Cameron wrote: On 06/20/2013 07:57 PM, Alexandre Belloni wrote: The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C

Re: [PATCHv2 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-24 Thread Alexandre Belloni
On 24/06/2013 08:41, Lars-Peter Clausen wrote: On 06/20/2013 08:57 PM, Alexandre Belloni wrote: The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard

[PATCHv2 0/2] HX8357 driver improvement

2013-06-24 Thread Alexandre Belloni
-10055 (hx8357) and CFA-10056 (hx8369). Alexandre Belloni (1): fb: backlight: HX8357: Add HX8369 support Maxime Ripard (1): video: hx8357: Make IM pins optional drivers/video/backlight/hx8357.c | 256 +-- 1 file changed, 219 insertions(+), 37 deletions

[PATCHv2 1/2] video: hx8357: Make IM pins optional

2013-06-24 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com The IM pins of the HX8357 controller are used to define the interface used to feed pixel stream to the LCD panel. Most of the time, these pins are directly routed to either the ground or the VCC to set their values. Remove the need to assign

[PATCHv2 2/2] fb: backlight: HX8357: Add HX8369 support

2013-06-24 Thread Alexandre Belloni
Add support for the Himax HX8369 controller as it is quite similar to the hx8357. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- changes since v1: - use the data element of of_device_id to select the correct initialization function drivers/video/backlight

[PATCHv3 3/3] ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree

2013-06-24 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com Since these ADCs share the same non-configurable address on the I2C bus, they have to be put behind a muxer. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[PATCHv3 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-24 Thread Alexandre Belloni
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/iio/adc/nuvoton-nau7802.txt | 18

[PATCHv3 0/3] Add support for the Nuvoton NAU7802 ADC to the cfa10049

2013-06-24 Thread Alexandre Belloni
in the DT as Jonathan seemed to be ok with that. If anybody is using a nau7802 with an external reference, it will still be time to add the fixed regulator. It shouldn't be difficult but I don't have any hardware to test. Regards, Alexandre Belloni (1): iio: Add Nuvoton NAU7802 ADC driver Maxime

[PATCHv3 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-06-24 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com The ADCs connected to this bus have been experiencing some timeout issues when using the iMX28 i2c controller. Switching back to bitbanging solves this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Signed-off-by: Alexandre

Re: [PATCHv2 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-24 Thread Alexandre Belloni
On 24/06/2013 18:41, Lars-Peter Clausen wrote: Ah, ok, makes sense. I just sent v3, thanks for your reviews ! -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH 2/4] arm: mxs: add lradc to cfa10036

2013-06-26 Thread Alexandre Belloni
The lradc is actually available on the Crystalfontz cfa-10036. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10036.dts | 4 arch/arm/boot/dts/imx28-cfa10049.dts | 1 - arch/arm/boot/dts/imx28-cfa10055.dts | 1 - 3 files changed, 4

[PATCH 1/4] arm: mxs: Add #io-channel-cells property to lradc

2013-06-26 Thread Alexandre Belloni
Adding #io-channel-cells property to lradc allows us to use the lradc as an iio provider. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/imx28.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts

[PATCH 0/4] Add an hwmon driver for the mxs soc internal sensor

2013-06-26 Thread Alexandre Belloni
defines the lradc as present on the cfa-10036 and thus removes it from i.mx28-cfa10049.dts and imx28-cfa10055.dts as they both include imx28-cfa10036.dts The third patch adds the driver itself. And the final patch adds the driver bindings to the cfa-10036. Alexandre Belloni (4): arm: mxs: Add #io

[PATCH 3/4] hwmon: Add a simple driver to read the MXS SoC temperature

2013-06-26 Thread Alexandre Belloni
The low resolution ADC of the mxs is able to read an internal temperature sensor, expose that using hwmon. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/hwmon/mxs-cputemp.txt | 18 +++ Documentation/hwmon/mxs-cputemp

[PATCH 4/4] arm: mxs: Add mxs internal temp sensor to cfa-10036

2013-06-26 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10036.dts | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts/imx28-cfa10036.dts index 802e0e9..5afb945 100644

[PATCH 2/3] ARM: mxs: dt: Add Crystalfontz CFA-10056 device tree

2013-06-26 Thread Alexandre Belloni
From: Brian Lilly br...@crystalfontz.com The CFA-10056 is a breakout board for the CFA-10036, and is basically a CFA-10037, with ai 4.3 screen. Signed-off-by: Brian Lilly br...@crystalfontz.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

[PATCH 3/3] ARM: mxs: dt: Add Crystalfontz CFA-10058 device tree

2013-06-26 Thread Alexandre Belloni
From: Brian Lilly br...@crystalfontz.com The CFA-10057 is a breakout board for the CFA-10036 that has Ethernet, USB and a 5 LCD screen on it. Signed-off-by: Brian Lilly br...@crystalfontz.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

[PATCH 0/3] ARM: mxs: Various Crystalfontz DT additions

2013-06-26 Thread Alexandre Belloni
Hi, This patch series add DT for the Crystalfontz CFA-10056 and Crystalfontz CFA-10058. The first patch simplifies board detection in mach-mxs.c as suggested by Thomas Petazzoni in his review of the precedent DT additions. The next patches are ading the DTs. Thanks, Alexandre Alexandre

[PATCH 1/3] ARM: mxs: Simplify detection of CrystalFontz boards

2013-06-26 Thread Alexandre Belloni
As all CrystalFontz boards are compatible with crystalfontz,cfa10036, make it easier to add future boards. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-mxs/mach-mxs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach

[PATCHv2 1/3] ARM: mxs: Simplify detection of CrystalFontz boards

2013-06-26 Thread Alexandre Belloni
As all CrystalFontz boards are compatible with crystalfontz,cfa10036, make it easier to add future boards. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-mxs/mach-mxs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach

[PATCHv2 0/3] ARM: mxs: Various Crystalfontz DT additions

2013-06-26 Thread Alexandre Belloni
the review from Maxime Ripard Thanks, Alexandre Alexandre Belloni (1): ARM: mxs: Simplify detection of CrystalFontz boards Brian Lilly (2): ARM: mxs: dt: Add Crystalfontz CFA-10056 device tree ARM: mxs: dt: Add Crystalfontz CFA-10058 device tree arch/arm/boot/dts/Makefile | 2

[PATCHv2 2/3] ARM: mxs: dt: Add Crystalfontz CFA-10056 device tree

2013-06-26 Thread Alexandre Belloni
From: Brian Lilly br...@crystalfontz.com The CFA-10056 is a breakout board for the CFA-10036, and is basically a CFA-10037, with a 4.3 screen. Signed-off-by: Brian Lilly br...@crystalfontz.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

[PATCHv2 3/3] ARM: mxs: dt: Add Crystalfontz CFA-10058 device tree

2013-06-26 Thread Alexandre Belloni
From: Brian Lilly br...@crystalfontz.com The CFA-10057 is a breakout board for the CFA-10036 that has Ethernet, USB and a 5 LCD screen on it. Signed-off-by: Brian Lilly br...@crystalfontz.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

Re: [PATCHv2 1/3] net: phy: prevent linking breakage

2013-05-29 Thread Alexandre Belloni
and is done only done for 2 platforms on a total of 6. I believe fixing that in phy.h is more foolproof. Regards, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] ARM: at91: Fix link breakage when !CONFIG_PHY

2013-05-24 Thread Alexandre Belloni
' arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/board-dt-sama5.c | 4 1 file changed, 4 insertions(+) diff

Re: [PATCH] ARM: at91: Fix link breakage when !CONFIG_PHY

2013-05-25 Thread Alexandre Belloni
Hi, Scrap that, I'll send a v2. Regards On 25/05/2013 00:19, Alexandre Belloni wrote: Fixes: arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup': :(.text+0x1174): undefined reference to `mdiobus_write' :(.text+0x1188): undefined reference to `mdiobus_write' :(.text+0x119c

[PATCH v2] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-25 Thread Alexandre Belloni
Fixes: arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup': :(.text+0x1174): undefined reference to `mdiobus_write' :(.text+0x1188): undefined reference to `mdiobus_write' :(.text+0x119c): undefined reference to `mdiobus_write' :(.text+0x11b0): undefined reference to `mdiobus_write'

Re: [PATCH v2] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Alexandre Belloni
On 27/05/2013 10:09, Ludovic Desroches wrote: On Sat, May 25, 2013 at 10:05:57PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 09:39 Sat 25 May , Alexandre Belloni wrote: Fixes: arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup': :(.text+0x1174): undefined reference

[PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Alexandre Belloni
' arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' when CONFIG_PHYLIB is not selected. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Ludovic Desroches ludovic.desroc

Re: [PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Alexandre Belloni
On 27/05/2013 14:05, Nicolas Ferre wrote: On 27/05/2013 12:48, Alexandre Belloni : Fixes: arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup': :(.text+0x1174): undefined reference to `mdiobus_write' :(.text+0x1188): undefined reference to `mdiobus_write' :(.text+0x119c

Re: [PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Alexandre Belloni
On 27/05/2013 13:26, Jean-Christophe PLAGNIOL-VILLARD wrote: On May 27, 2013, at 6:48 PM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Fixes: arch/arm/mach-at91/built-in.o: In function `ksz9021rn_phy_fixup': :(.text+0x1174): undefined reference to `mdiobus_write' :(.text

Re: [PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Alexandre Belloni
to understand what you were trying to explain. I'm sending a patch set now. I don't believe it will be taken in for 3.10 though. Regards, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

[PATCH 1/3] net: phy: prevent linking breakage

2013-05-27 Thread Alexandre Belloni
: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/phy/phy_device.c | 6 ++ include/linux/phy.h | 12 2 files changed, 18 insertions

[PATCH 3/3] arm: imx: don't check for CONFIG_PHYLIB as builtin

2013-05-27 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-imx/mach-imx6q.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 5536fd8..91c3cfb 100644

[PATCH 0/3] net: phy: prevent linking breakage

2013-05-27 Thread Alexandre Belloni
/powerpc/platforms/85xx/mpc85xx_mds.c arch/arm/mach-davinci/board-dm644x-evm.c arch/arm/mach-orion5x/dns323-setup.c arch/arm/mach-at91/board-dt-sama5.c Alexandre Belloni (3): net: phy: prevent linking breakage arm: mxs: don't check for CONFIG_PHYLIB as builtin arm: imx: don't check for CONFIG_PHYLIB

[PATCH 2/3] arm: mxs: don't check for CONFIG_PHYLIB as builtin

2013-05-27 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-mxs/mach-mxs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 5b62b64..91c2bd2 100644 --- a/arch/arm/mach-mxs/mach

Re: [PATCH 1/3] net: phy: prevent linking breakage

2013-05-27 Thread Alexandre Belloni
On 27/05/2013 18:39, Sascha Hauer wrote: On Mon, May 27, 2013 at 06:18:42PM +0200, Alexandre Belloni wrote: phy_register_fixup{,_for_uid,_for_id} are called from arch/, quite often, there is no protection to check whether CONFIG_PHYLIB=y which is the only case where this would work. Having

[PATCHv2 0/3] net: phy: prevent linking breakage

2013-05-28 Thread Alexandre Belloni
/powerpc/platforms/85xx/mpc85xx_mds.c arch/arm/mach-davinci/board-dm644x-evm.c arch/arm/mach-orion5x/dns323-setup.c arch/arm/mach-at91/board-dt-sama5.c Changes in v2: - indentation fixes - use static inline function instead of defines and return -ENOTSUPP Alexandre Belloni (3): net: phy: prevent

[PATCHv2 3/3] arm: imx: don't check for CONFIG_PHYLIB as builtin

2013-05-28 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-imx/mach-imx6q.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index 5536fd8..9094849 100644

[PATCHv2 2/3] arm: mxs: don't check for CONFIG_PHYLIB as builtin

2013-05-28 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-mxs/mach-mxs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 5b62b64..2dad553 100644 --- a/arch/arm/mach-mxs/mach

[PATCHv2 1/3] net: phy: prevent linking breakage

2013-05-28 Thread Alexandre Belloni
: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/net/phy/phy_device.c | 6 ++ include/linux/phy.h | 33 ++--- 2 files

[PATCH] mac802154: correct a typo in ieee802154_alloc_device() prototype

2013-10-21 Thread Alexandre Belloni
This has no other impact than a cosmetic one. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- include/net/mac802154.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/mac802154.h b/include/net/mac802154.h index d0d11df..807d6b7 100644

Re: [PATCH v2] PWM: atmel-pwm: use request/free instead of enable/disable

2013-10-09 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08/10/2013 14:05, Thierry Reding wrote: On Mon, Sep 30, 2013 at 05:22:33PM +0200, Alexandre Belloni wrote: I found that disabling a pwm while it is at a low level will actually put it back at a high level. The main symptom is that leds-pwm

Re: [PATCHv3 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-07-02 Thread Alexandre Belloni
On 02/07/2013 18:33, Marek Vasut wrote: Dear Alexandre Belloni, On 02/07/2013 13:50, Alexandre Belloni wrote: On 02/07/2013 13:45, Fabio Estevam wrote: Shouldn't this be i2c@1 { reg = 1; ? No, we have 4 devices on that mux and 2 pins to select

[PATCH] i2c: mxs: Better error handling

2013-07-03 Thread Alexandre Belloni
. In that case, we want to go through the MXS_I2C_CTRL1_CLR_GOT_A_NAK before returning. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/i2c/busses/i2c-mxs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-mxs.c b

Re: [PATCHv3 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-07-07 Thread Alexandre Belloni
On 06/07/2013 12:26, Jonathan Cameron wrote: On 06/24/2013 06:24 PM, Alexandre Belloni wrote: From: Maxime Ripard maxime.rip...@free-electrons.com The ADCs connected to this bus have been experiencing some timeout issues when using the iMX28 i2c controller. Switching back to bitbanging

Re: [PATCHv3 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-07-09 Thread Alexandre Belloni
Hi Jonathan, I don't actually see it in iio.git on kernel.org, am I doing something wrong ? On 06/07/2013 12:24, Jonathan Cameron wrote: On 07/04/2013 10:08 AM, Lars-Peter Clausen wrote: On 06/24/2013 07:24 PM, Alexandre Belloni wrote: The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC

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