Re: [PATCH 4/4] iio: lps331ap: Add support for DT

2013-07-16 Thread Maxime Ripard
node? Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https

Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings

2013-07-12 Thread Maxime Ripard
: On Fri, Jun 28, 2013 at 1:03 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Fri, Jun 28, 2013 at 06:15:32PM +0100, Lorenzo Pieralisi wrote: The patch above should already be queued in next/dt right ? Indeed. Then why the latest patch of your patchset got

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

2013-06-27 Thread Maxime Ripard
. The probing of this hwmon driver doesn't really belong to the DT, it's not really realistic to probe it from the machine definition, and it really is the IP that is wired that way. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

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

2013-06-07 Thread Maxime Ripard
On Fri, Jun 07, 2013 at 07:26:49PM +0100, luke.leighton wrote: maxime: we need to talk :) please tell me in 4 or 5 sentences what you've managed to do so far, expanding a little on what thomas says below, more specifically what it achieves and/or allows rather than technically what it does

Re: [PATCH 10/10] arm: add basic support for Rockchip RK3066a boards

2013-06-05 Thread Maxime Ripard
-mvebu, mach-bcm2835, mach-bcm, mach-highbank, etc. Cc'ing Maxime Ripard, since I see that mach-sunxi does have a Makefile.boot, even though I believe it is not needed. Yes, it is a left-over and should be removed obviously. Thanks for reminding it to me :) Maxime

Re: [PATCH -next] net: sun4i-emac: fix a typo in emac_probe()

2013-06-04 Thread Maxime Ripard
-by: Maxime Ripard maxime.rip...@free-electrons.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 1/5] i2c: sunxi: Add Allwinner A1X i2c driver

2013-05-25 Thread Maxime Ripard
Hi Tomasz, On Sat, May 25, 2013 at 02:06:51PM +0200, Tomasz Figa wrote: Hi Maxime, Overall the driver looks good, just some minor nitpicks inline. Thanks for the review! I'll fix the comments you had and send a new version. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

Re: [PATCH -next] pinctrl: sunxi: fix error return code in sunxi_pinctrl_probe()

2013-05-24 Thread Maxime Ripard
-- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

[PATCH] irq-sun4i: Fix trivial build errors

2013-05-12 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: Thomas Gleixner t...@linutronix.de Cc: Russell King - ARM Linux li...@arm.linux.org.uk Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr...@calxeda.com Cc: Rob Landley r...@landley.net Cc: Arnd Bergmann a...@arndb.de

Re: [patch 8/8] irqchip: sun4i: Convert to generic irq chip

2013-05-12 Thread Maxime Ripard
Hi Thomas, Le 06/05/2013 16:30, Thomas Gleixner a écrit : Proof of concept patch to demonstrate the new irqdomain support for the generic irq chip. Untested !! Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Maxime Ripard maxime.rip...@free-electrons.com I just tested

Re: [patch 8/8] irqchip: sun4i: Convert to generic irq chip

2013-05-12 Thread Maxime Ripard
Le 12/05/2013 16:08, Maxime Ripard a écrit : Hi Thomas, Le 06/05/2013 16:30, Thomas Gleixner a écrit : Proof of concept patch to demonstrate the new irqdomain support for the generic irq chip. Untested !! Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Maxime Ripard maxime.rip

[PATCH 1/5] i2c: sunxi: Add Allwinner A1X i2c driver

2013-05-03 Thread Maxime Ripard
This patch implements a basic driver for the I2C host driver found on the Allwinner A10, A13 and A31 SoCs. Notable missing feature is 10-bit addressing. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-sunxi.txt | 19 + drivers/i2c

[PATCH 1/5] i2c: sunxi: Add Allwinner A1X i2c driver

2013-05-02 Thread Maxime Ripard
This patch implements a basic driver for the I2C host driver found on the Allwinner A10, A13 and A31 SoCs. Notable missing feature is 10-bit addressing. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-sunxi.txt | 19 + drivers/i2c

[PATCH 1/2] clk: sun5i: Add compatibles for Allwinner A13

2013-04-30 Thread Maxime Ripard
The A13 has a lot less clocks than the one found in the Allwinner A10. Add these stripped down clocks to the clock driver and in the documentation. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 117

[PATCH 2/6] net: Add MDIO bus driver for the Allwinner EMAC

2013-04-29 Thread Maxime Ripard
This patch adds a separate driver for the MDIO interface of the Allwinner ethernet controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/net/allwinner,sun4i-mdio.txt | 26 +++ drivers/net/ethernet/allwinner/Kconfig | 8 + drivers/net

[PATCH 1/6] net: Add EMAC ethernet driver found on Allwinner A10 SoC's

2013-04-29 Thread Maxime Ripard
been heavily cleaned up. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/net/allwinner,sun4i-emac.txt | 22 + drivers/net/ethernet/Kconfig | 1 + drivers/net/ethernet/Makefile

Re: [RFC PATCH v2 11/13] ARM: mach-sunxi: cpus/cpu nodes dts updates

2013-04-24 Thread Maxime Ripard
insertions(+) Just to let you know, this file won't exist anymore in 3.10, and has been split out in sun4i-a10.dtsi and sun5i-a13.dtsi. You'll obviously need to change both when rebasing. Other than that, Acked-By: Maxime Ripard maxime.rip...@free-electrons.com Maxime -- Maxime Ripard, Free

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

2013-04-22 Thread Maxime Ripard
be at all in the device tree anyway. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo

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

2013-04-22 Thread Maxime Ripard
); + client-irq = 0; + /* + * We are polling, use the fastest sample rate by + * default + */ + st-sample_rate = 0x7; Ditto. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

[PATCH 1/2] video: ssd1307fb: Add support for SSD1306 OLED controller

2013-04-22 Thread Maxime Ripard
The Solomon SSD1306 OLED controller is very similar to the SSD1307, except for the fact that the power is given through an external PWM for the 1307, and while the 1306 can generate its own power without any PWM. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree

[PATCH 1/2] video: ssd1307fb: Add support for SSD1306 OLED controller

2013-04-12 Thread Maxime Ripard
The Solomon SSD1306 OLED controller is very similar to the SSD1307, except for the fact that the power is given through an external PWM for the 1307, and while the 1306 can generate its own power without any PWM. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree

Re: [PATCH 1/2] video: ssd1307fb: Add support for SSD1306 OLED controller

2013-03-29 Thread Maxime Ripard
Hi Jean Christophe, Le 29/03/2013 19:38, Jean-Christophe PLAGNIOL-VILLARD a écrit : On 17:44 Wed 06 Mar , Maxime Ripard wrote: [snip] static int ssd1307fb_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct fb_info *info; -u32

[PATCH 04/10] clocksource: sunxi: Rename sunxi to sun4i

2013-03-26 Thread Maxime Ripard
for this kind of compability, we just use the oldest SoC name that has this IP, so let's do just this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- ...r,sunxi-timer.txt = allwinner,sun4i-timer.txt} |4 +-- arch/arm/mach-sunxi/Kconfig|4 +-- drivers

[PATCH 07/10] irqchip: sunxi: Rename sunxi to sun4i

2013-03-26 Thread Maxime Ripard
for this kind of compability, we just use the oldest SoC name that has this IP, so let's do just this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- ...lwinner,sunxi-ic.txt = allwinner,sun4i-ic.txt} |4 +- drivers/irqchip/Makefile |2 +- drivers/irqchip

[PATCH 09/10] ARM: sunxi: Rework the restart code

2013-03-26 Thread Maxime Ripard
-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../watchdog/{sunxi-wdt.txt = sun4i-wdt.txt} |6 +- arch/arm/mach-sunxi/sunxi.c| 58 2 files changed, 38 insertions(+), 26 deletions(-) rename Documentation/devicetree/bindings/watchdog

[PATCH 1/5] net: Add EMAC ethernet driver found on Allwinner A10 SoC's

2013-03-23 Thread Maxime Ripard
been heavily cleaned up. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/net/allwinner,sun4i-emac.txt | 19 + drivers/net/ethernet/Kconfig |1 + drivers/net/ethernet/Makefile

Re: doubt about where to put pin-mux in MX28 based platform DT

2013-03-22 Thread Maxime Ripard
Hi Hector, Le 21/03/2013 17:57, Hector Palacios a écrit : On 03/07/2013 02:06 PM, Maxime Ripard wrote: Hi Hector, Le 06/03/2013 18:02, Hector Palacios a écrit : I'm creating the DT for a custom platform based on Freescale MX28 CPU and I have some doubts about where to add some pin mux

Re: [PATCH 1/5] net: Add davicom wemac ethernet driver found on Allwinner A10 SoC's

2013-03-19 Thread Maxime Ripard
); +if (reg_val != 0x0143414d) { Where is that magic value coming from? The original code. Maybe I should define it to something like UNDOCUMENTED_VOODOO_MAGIC1, or something like that, but I have no idea what it relates to in the hardware :S Thanks for your review, Maxime -- Maxime Ripard, Free

[PATCH 1/5] net: Add davicom wemac ethernet driver found on Allwinner A10 SoC's

2013-03-15 Thread Maxime Ripard
heavily cleaned up. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/net/davicom-wemac.txt | 20 + drivers/net/ethernet/Makefile |2 +- drivers/net/ethernet/davicom/Kconfig

Re: [PATCH 1/5] net: Add davicom wemac ethernet driver found on Allwinner A10 SoC's

2013-03-15 Thread Maxime Ripard
Le 15/03/2013 21:50, Maxime Ripard a écrit : From: Stefan Roese s...@denx.de The Allwinner A10 has an ethernet controller that is advertised as coming from Davicom. The exact feature set of this controller is unknown, since there is no public documentation for this IP, and this driver

Re: doubt about where to put pin-mux in MX28 based platform DT

2013-03-07 Thread Maxime Ripard
view on this. Maxime -- Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https

[PATCH 1/2] video: ssd1307fb: Add support for SSD1306 OLED controller

2013-03-06 Thread Maxime Ripard
The Solomon SSD1306 OLED controller is very similar to the SSD1307, except for the fact that the power is given through an external PWM for the 1307, and while the 1306 can generate its own power without any PWM. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree

[PATCH 1/3] fb: backlight: Add the Himax HX-8357B LCD controller

2013-01-25 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: Andrew Morton a...@linux-foundation.org --- drivers/video/backlight/Kconfig |7 + drivers/video/backlight/Makefile |1 + drivers/video/backlight/hx8357.c | 482 ++ 3 files changed, 490

[PATCH 1/3] fb: backlight: Add the Himax HX-8357B LCD controller

2013-01-22 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/Kconfig |7 + drivers/video/backlight/Makefile |1 + drivers/video/backlight/hx8357.c | 482 ++ 3 files changed, 490 insertions(+) create mode 100644 drivers

[PATCH 2/7] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2013-01-18 Thread Maxime Ripard
, the gpio part will come eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 60 +++ arch/arm/mach-sunxi/Kconfig|1 + drivers/pinctrl/Kconfig|5 + drivers

Re: [PATCH 1/2] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-12 Thread Maxime Ripard
Hi Linus, On 10/01/2013 12:06, Linus Walleij wrote: On Fri, Jan 4, 2013 at 5:45 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: +static int __devinit +sunxi_pinctrl_register_gpio_ranges(struct sunxi_pinctrl *pctl) +{ + int id = 0, base = 0, npins = 1, i, prev_pin = -1

[PATCH 2/7] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2013-01-08 Thread Maxime Ripard
, the gpio part will come eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 60 +++ arch/arm/mach-sunxi/Kconfig|1 + drivers/pinctrl/Kconfig|5 + drivers

Re: [PATCH 1/6] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2013-01-07 Thread Maxime Ripard
Hi Linus, Le 07/01/2013 00:46, Linus Walleij a écrit : On Wed, Dec 19, 2012 at 9:18 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The Allwinner SoCs have an IP module that handle both the muxing and the GPIOs. Sorry for very slow review :-( :-( That's fine, at that time

Re: [PATCH 1/6] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2012-12-19 Thread Maxime Ripard
Hi Linus, Le 11/12/2012 01:28, Linus Walleij a écrit : On Mon, Dec 10, 2012 at 11:08 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: This IP has 8 banks of 32 bits, with a number of pins actually useful for each of these banks varying from one to another, and depending on the SoC

[PATCH 2/6] ARM: pinctrl: sunxi: Add the pinctrl pin set for sun5i

2012-12-19 Thread Maxime Ripard
Since the Allwinner SoCs variants don't have the same set of pins to handle, we need to declare the pin ranges available. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: Linus Walleij linus.wall...@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr

[PATCH 1/6] ARM: sunxi: Add pinctrl driver for Allwinner SoCs

2012-12-19 Thread Maxime Ripard
, the gpio part will come eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: Linus Walleij linus.wall...@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: devicetree-discuss@lists.ozlabs.org --- .../bindings/pinctrl/allwinner