back to the default controller
behaviour.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/mxsfb.c |5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 76c..2cfaf8b 100644
--- a/drivers/video/mxsfb.c
+++ b
be at all in
the device tree anyway.
Maxime
--
Maxime Ripard, 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...@vger.kernel.org
More majordomo info at http
Hi Linus,
Le 27/03/2013 14:12, Maxime Ripard a écrit :
The pin functions associated to the ethernet controller were introduced
with the label wemac, which was the name of the ethernet driver in the
allwinner source tree, while the real name of the IP is actually emac,
as advertised in several
let's see if I get it to Torvalds in time.
Can I have some ACK from Maxime?
Sure,
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send
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
The SSD1307 was used in an early prototype that will never get
distributed. The final board now has a SSD1306 instead, that has its own
power generation unit and thus doesn't need any PWM. The panel attached
to it also changed.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
a v2 with the suggested change.
Thanks!
Maxime
--
Maxime Ripard, 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...@vger.kernel.org
More majordomo
Hi Simon,
Le 28/03/2013 13:42, Simon Horman a écrit :
On Thu, Mar 28, 2013 at 10:41:44AM +0100, Maxime Ripard wrote:
Now that the arm core code calls irqchip_init, we can remove it from all
the machines that were using it.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
More and more sub-architectures are using only the irqchip_init
function. Make the core code call this function if no init_irq field is
provided in the machine description to remove some boilerplate code.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/kernel/irq.c
Now that the arm core code calls irqchip_init, we can remove it from all
the machines that were using it.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Simon Horman horms+rene...@verge.net.au
---
arch/arm/mach-bcm/board_bcm.c |1 -
arch/arm/mach-msm
Hi Greg,
Le 29/03/2013 00:03, Greg Kroah-Hartman a écrit :
On Wed, Mar 27, 2013 at 01:35:48PM +0100, Maxime Ripard wrote:
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
Signed-off-by: Maxime Ripard maxime.rip...@free
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
--
Maxime Ripard, 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...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Both A10 and A13 Allwinner SoCs have a Synopsys APB uart3 device
available, so add it to the sunxi.dtsi file
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sunxi.dtsi | 10 ++
1 file changed, 10 insertions
We previously relied on the bootloader to do the muxing of the UART for
the Hackberry. Don't rely on it anymore and use pinctrl.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i-a10-hackberry.dts |2 ++
1
It will be especially useful when we will have the clock definitions in
the device tree.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
Tested-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sunxi.dtsi |4 ++--
1 file
The UART0 is only available on the Allwinner A10 SoCs, and not on the
A13, so move the uart0 node to sun4i-a10.dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
Tested-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i
The Allwinner A10 SoC has 8 available UARTs, which is 6 more than on the
A13, so add the missing UARTs to the sun4i-a10 dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i-a10.dtsi | 51
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
Signed-off-by: Maxime Ripard maxime.rip...@free
From: Stefan Roese s...@denx.de
Signed-off-by: Stefan Roese s...@denx.de
---
arch/arm/boot/dts/sun4i-a10-cubieboard.dts |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 88e2dc1..7a3872d
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10-hackberry.dts | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-hackberry.dts
b/arch/arm/boot/dts/sun4i-a10-hackberry.dts
index f84549a..3808c1a
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
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 03d2b53..f3c2158 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index f3c2158..fc4ce45 100644
--- a/arch/arm/boot/dts/sun4i-a10
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
The other architecture use serial@address for their uart nodes, so
rename our uart dt nodes to be consistent
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10-cubieboard.dts |4 ++--
arch/arm/boot/dts/sun4i-a10-hackberry.dts |2 +-
arch/arm
Both A10 and A13 Allwinner SoCs have a Synopsys APB uart3 device
available, so add it to the sunxi.dtsi file
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sunxi.dtsi | 10 ++
1 file changed, 10 insertions
We previously relied on the bootloader to do the muxing of the UART for
the Hackberry. Don't rely on it anymore and use pinctrl.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i-a10-hackberry.dts |2 ++
1
The Allwinner A10 SoC has 8 available UARTs, which is 6 more than on the
A13, so add the missing UARTs to the sun4i-a10 dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i-a10.dtsi | 50
The UART0 is only available on the Allwinner A10 SoCs, and not on the
A13, so move the uart0 node to sun4i-a10.dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
Tested-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sun4i
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
---
drivers/tty/serial/8250/8250_dw.c | 33
It will be especially useful when we will have the clock definitions in
the device tree.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Emilio López emi...@elopez.com.ar
Tested-by: Emilio López emi...@elopez.com.ar
---
arch/arm/boot/dts/sunxi.dtsi |4 ++--
1 file
Hi,
Le 19/03/2013 11:35, Maxime Ripard a écrit :
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
---
drivers/tty/serial/8250/8250_dw.c | 33
);
+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
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-at91/setup.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 4b67847..6b4608d 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/regulator/core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index da9782b..edfa223 100644
--- a/drivers/regulator/core.c
+++ b/drivers
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 03d2b53..a6bd36a 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
From: Stefan Roese s...@denx.de
Signed-off-by: Stefan Roese s...@denx.de
---
arch/arm/boot/dts/sun4i-a10-cubieboard.dts |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts
index 88e2dc1..9bf4b4f
The Hackberry has a PHY that needs to be powered up through a GPIO, so
we need to use a fixed regulator here.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10-hackberry.dts | 32 +
1 file changed, 32 insertions(+)
diff
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
The EMAC only has one pinset available for muxing, so hopefully, we
cover all cases.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm
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
---
arch/arm/mach-sunxi/Kconfig |4 +-
drivers/clocksource/Kconfig |2 +-
drivers/clocksource/Makefile |2
-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c | 58 ++-
1 file changed, 35 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index 634e335..e6f5101 100644
--- a/arch
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
This allows to remove some boilerplate code. At the same time, call the
set_handle_irq function in the initialization function of the irqchip,
so that we can remove it from the machine declaration.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c
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
---
drivers/irqchip/Makefile|2 +-
drivers/irqchip/irq-sun4i.c | 149 +++
drivers/irqchip/irq
The timer code was not exact to some aspects, since most of this code
was written wihout any datasheet. Make the needed corrections to match
the datasheet.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/clocksource/sunxi_timer.c | 48
In the early days, the A10 and A13 shared quite some code. Nowadays it
shares less and less code, the A31 diverging even more, so it doesn't
make much sense to continue to maintain this structure, just use one
DTSI for every SoC, and that's it.
Signed-off-by: Maxime Ripard maxime.rip...@free
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
Using CLKSRC_OF allows to remove the SoC specific sunxi_timer.h header,
and instead of using a custom init function in the machine definition
use the standard clocksource_of_init function.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Kconfig |1
Hi Rob,
Le 25/03/2013 14:50, Rob Herring a écrit :
On 03/25/2013 08:30 AM, Maxime Ripard wrote:
Using CLKSRC_OF allows to remove the SoC specific sunxi_timer.h header,
and instead of using a custom init function in the machine definition
use the standard clocksource_of_init function.
Signed
Hi Rob,
Le 25/03/2013 14:59, Rob Herring a écrit :
On 03/25/2013 08:30 AM, Maxime Ripard wrote:
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2
In the early days, the A10 and A13 shared quite some code. Nowadays it
shares less and less code, the A31 diverging even more, so it doesn't
make much sense to continue to maintain this structure, just use one
DTSI for every SoC, and that's it.
Signed-off-by: Maxime Ripard maxime.rip...@free
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
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
Using CLKSRC_OF allows to remove the SoC specific sunxi_timer.h header,
and instead of using a custom init function in the machine definition
use the standard clocksource_of_init function.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Kconfig |1
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi |2 +-
arch/arm/boot/dts/sun5i-a13.dtsi |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index
-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
This allows to remove some boilerplate code. At the same time, call the
set_handle_irq function in the initialization function of the irqchip,
so that we can remove it from the machine declaration.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c
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
The timer code was not exact to some aspects, since most of this code
was written wihout any datasheet. Make the needed corrections to match
the datasheet.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/clocksource/sunxi_timer.c | 48
Hi Greg,
Le 21/03/2013 09:47, Heikki Krogerus a écrit :
On Tue, Mar 19, 2013 at 11:52:49AM +0100, Maxime Ripard wrote:
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clk api; this lets us use
the clocks property with device tree, instead of having to use
clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
---
drivers/tty/serial/8250/8250_dw.c | 33
of the device tree bindings, and that these part of
the bindings have not yet be released in a kernel version, it seems like
the good timing to change it and assure consistency.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/pinctrl/pinctrl-sunxi.c | 36
More and more sub-architectures are using only the irqchip_init
function. Make the core code call this function if no init_irq field is
provided in the machine description to remove some boilerplate code.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/kernel/irq.c
Now that the arm core code calls irqchip_init, we can remove it from all
the machines that were using it.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-bcm/board_bcm.c |1 -
arch/arm/mach-msm/board-dt-8660.c |1 -
arch/arm
Commit 1fe42740 (ARM: dts: mxs: Add the LCD to the 10049 board) seem
to have been applied with some fuzzyness, and the framebuffer
initialisation code for the CFA-10049 ended up in the CFA-10037
initialisation function.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm
[2.396110] [c000e8e4] (__irq_svc+0x44/0x54) from [c000fd58]
(cpu_idle+0x60/0xec)
[2.403990] [c000fd58] (cpu_idle+0x60/0xec) from [c04e970c]
(start_kernel+0x260/0x2a0)
[2.412291] [c04e970c] (start_kernel+0x260/0x2a0) from [40008040]
(0x40008040)
--
Maxime Ripard, Free Electrons
Hi Alexander,
Thanks for your reply.
Le 06/03/2013 14:43, Alexander Shishkin a écrit :
On 6 March 2013 12:33, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Just noticed this in 3.9-rc1 on an iMX28 (ARM) board with a config
based on mxs_defconfig. I'm using the patchset Add tested
build, with the following configuration
file: http://code.bulix.org/m4y7se-83102?raw
Reverting commit 1b66e0fd (kernel: Replace timeconst.pl with a bc
script) make the compilation go on as usual.
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
The initial driver contained only a limited set of pins functions
because we lacked of documentation on it.
Now that we have such documentation, finish to fill the array.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/pinctrl/pinctrl-sunxi.c | 733
The initial driver contained only a limited set of pins functions
because we lacked of documentation on it.
Now that we have such documentation, finish to fill the array.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/pinctrl/pinctrl-sunxi.c | 239
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
The SSD1307 was used in an early prototype that will never get
distributed. The final board now has a SSD1306 instead, that has its own
power generation unit and thus doesn't need any PWM. The panel attached
to it also changed.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Hi Peter,
Le 07/03/2013 09:08, Peter Chen a écrit :
On Wed, Mar 06, 2013 at 11:33:02AM +0100, Maxime Ripard wrote:
[2.149645] other info that might help us debug this:
[2.149645]
[2.157667] Possible unsafe locking scenario:
[2.157667]
[2.163598]CPU0
Hi,
Le 07/03/2013 04:41, H. Peter Anvin a écrit :
On 03/06/2013 06:36 AM, Maxime Ripard wrote:
I'm compiling the kernel for an iMX28(ARM) board, and since 3.9-rc1, I
get the following error at compilation time:
make[3]: *** No rule to make target
`/home/max/Work/2012/crystalfontz/rewrite
Le 07/03/2013 16:06, H. Peter Anvin a écrit :
On 03/07/2013 02:42 AM, Maxime Ripard wrote:
I triggered this issue when switching to 3.9-rc1, and oldconfig runs at
that time, and now, running menuconfig doesn't generates it either.
I am not sure what you mean with clean out-of-tree, however
From: Emilio López emi...@elopez.com.ar
This commit implements support for using the clocks DT property, instead
of having to use clock-frequency.
Signed-off-by: Emilio López emi...@elopez.com.ar
---
drivers/tty/serial/8250/8250_dw.c | 32 ++--
1 file changed, 22
It will be especially useful when we will have the clock definitions in
the device tree.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sunxi.dtsi |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sunxi.dtsi b/arch
The UART0 is only available on the Allwinner A10 SoCs, and not on the
A13, so move the uart0 node to sun4i-a10.dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi | 10 ++
arch/arm/boot/dts/sunxi.dtsi | 10 --
2 files
Both A10 and A13 Allwinner SoCs have a Synopsys APB uart3 device
available, so add it to the sunxi.dtsi file
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sunxi.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts
The Allwinner A10 SoC has 8 available UARTs, which is 6 more than on the
A13, so add the missing UARTs to the sun4i-a10 dtsi.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10.dtsi | 51 ++
1 file changed, 51
We previously relied on the bootloader to do the muxing of the UART for
the Hackberry. Don't rely on it anymore and use pinctrl.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/boot/dts/sun4i-a10-hackberry.dts |2 ++
1 file changed, 2 insertions(+)
diff --git
Cartwright josh.cartwri...@ni.com
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
---
Fixes multiplatform build error seen with today's linux-next-20121129.
arch/arm/mach-sunxi/sunxi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach
the codes less error prone
and gain some positive diff stat.
Signed-off-by: Shawn Guo shawn@linaro.org
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
Maxime
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training
Le 02/12/2012 15:40, Axel Lin a écrit :
The of_device_id table is supposed to be zero-terminated.
Applied, thanks.
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from
Le 02/12/2012 16:08, Axel Lin a écrit :
The of_device_id table is supposed to be zero-terminated.
Applied, thanks
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from
Thanks,
Maxime
--
Maxime Ripard, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More
Moving from void* to u8* removes the need for castslater on in the
function.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/video/backlight/hx8357.c b/drivers
In case of a failing allocation, a dump stack will be printed anyway, so
the dev_err is redundant.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/backlight
This allows a smaller and less error-prone code by using static arrays
and the ARRAY_SIZE macro.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c | 173 +-
1 file changed, 95 insertions(+), 78 deletions
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c
index 7c82561..6da8ebe 100644
--- a/drivers/video/backlight
The element size and the number of elements was inverted in the kcalloc
call.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/video/backlight/hx8357.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/backlight/hx8357.c b/drivers/video
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index 1dc8a92..f9555c3 100644
--- a/arch/arm/mach
Hi Linus,
Le 29/01/2013 23:38, Linus Walleij a écrit :
On Mon, Jan 28, 2013 at 9:33 PM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
The IP responsible for the muxing on the Allwinner SoCs are also
handling the GPIOs on the system. This patch adds the needed driver that
relies
Le 29/01/2013 23:41, Linus Walleij a écrit :
On Sun, Jan 27, 2013 at 8:02 PM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
Since the pin controller of sunxi chips is represented as a single bank
in the driver.
Since this is neither convenient nor represented that way
1 - 100 of 12711 matches
Mail list logo