On Tue, Apr 22, 2014 at 02:17:30PM +0200, Hans de Goede wrote:
Hi,
On 04/22/2014 02:07 PM, Emilio López wrote:
Hi Hans,
El 22/04/14 08:01, Hans de Goede escribió:
Hi All,
Here is v8 of the sunxi-mmc patch-set David Lanzendörfer and I have been
working on.
The first 2 patches
On Tue, Apr 22, 2014 at 01:01:30PM +0200, Hans de Goede wrote:
Add clk-nodes for the mmc clocks.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31.dtsi | 32
1 file changed, 32 insertions(+)
diff --git
On Tue, Apr 22, 2014 at 01:01:27PM +0200, Hans de Goede wrote:
From: David Lanzendörfer david.lanzendoer...@o2s.ch
Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc
controllers found on A13 SoCs.
Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch
On Tue, Apr 22, 2014 at 01:01:34PM +0200, Hans de Goede wrote:
Tested on a Mele A1000G Quad.
Signed-off-by: Hans de Goede hdego...@redhat.com
This patch can be merged with the previous one.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
Hi Hans,
On Tue, Apr 22, 2014 at 01:01:20PM +0200, Hans de Goede wrote:
Hi All,
Here is v8 of the sunxi-mmc patch-set David Lanzendörfer and I have been
working on.
The first 2 patches are depenencies which should go in through the clk tree,
Mike can you pick these 2 up please ? :
On Tue, Apr 22, 2014 at 01:01:31PM +0200, Hans de Goede wrote:
Add nodes for the 4 mmc controllers found on A31 SoCs to
arch/arm/boot/dts/sun6i-a31.dtsi.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31.dtsi | 52
Hi,
On 04/23/2014 11:44 AM, Maxime Ripard wrote:
On Tue, Apr 22, 2014 at 01:01:30PM +0200, Hans de Goede wrote:
Add clk-nodes for the mmc clocks.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31.dtsi | 32
1 file changed, 32
Testing the wifi on my cubietruck has shown that sometimes sdio-irqs get
missed, I've tried several approaches to fixing this, but all to no avail.
So remove MMC_CAP_SDIO_IRQ from the claimed caps. We keep the rest of
the sdio_irq code, so that it still can be enabled by setting cap-sdio-irq
in
Hi,
On 04/23/2014 11:48 AM, Maxime Ripard wrote:
On Tue, Apr 22, 2014 at 01:01:27PM +0200, Hans de Goede wrote:
From: David Lanzendörfer david.lanzendoer...@o2s.ch
Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc
controllers found on A13 SoCs.
Signed-off-by: David
Hi,
On 04/23/2014 11:50 AM, Maxime Ripard wrote:
On Tue, Apr 22, 2014 at 01:01:31PM +0200, Hans de Goede wrote:
Add nodes for the 4 mmc controllers found on A31 SoCs to
arch/arm/boot/dts/sun6i-a31.dtsi.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun6i-a31.dtsi
Hi Philipp,
On Mon, Apr 14, 2014 at 09:58:06AM +0200, Philipp Zabel wrote:
Am Sonntag, den 13.04.2014, 14:09 +0200 schrieb Hans de Goede:
of_reset_control_get is not declared static in drivers/reset/core.c, which
is correct as we want to use it elsewhere too. But it does not have a
protype
On Thursday 17 April 2014, Maxime Ripard wrote:
This will allow to add per-SoC hooks more easily.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Makefile | 6 +-
arch/arm/mach-sunxi/restart.c | 104 +++
On Thursday 13 March 2014, Maxime Ripard wrote:
Now that we have a DMA driver, we can add the DMA bindings in the DTSI for the
controller and the devices supported that can use DMA.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Arnd Bergmann a...@arndb.de
But why
On Thursday 17 April 2014, Maxime Ripard wrote:
The DT are supposed to be ordered by physical address. Move the NMI node where
it belongs.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Arnd Bergmann a...@arndb.de
--
You received this message because you are
On Thursday 17 April 2014, Maxime Ripard wrote:
Since we start to have a lot of clocks to protect, some of them in a few
boards
only, it becomes difficult to handle the clock protection without having to
add
per machine exceptions.
Move these where they belong, in the machine definition
On Wed, Apr 23, 2014 at 02:39:26PM +0200, Arnd Bergmann wrote:
On Thursday 17 April 2014, Maxime Ripard wrote:
The DT are supposed to be ordered by physical address. Move the NMI node
where
it belongs.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
Acked-by: Arnd
On Wed, Apr 23, 2014 at 02:35:03PM +0200, Arnd Bergmann wrote:
On Thursday 13 March 2014, Maxime Ripard wrote:
Now that we have a DMA driver, we can add the DMA bindings in the DTSI for
the
controller and the devices supported that can use DMA.
Signed-off-by: Maxime Ripard
On Wed, Apr 23, 2014 at 02:39:02PM +0200, Arnd Bergmann wrote:
On Thursday 17 April 2014, Maxime Ripard wrote:
Since we start to have a lot of clocks to protect, some of them in a few
boards
only, it becomes difficult to handle the clock protection without having to
add
per machine
On Wed, Apr 23, 2014 at 02:33:50PM +0200, Arnd Bergmann wrote:
On Thursday 17 April 2014, Maxime Ripard wrote:
This will allow to add per-SoC hooks more easily.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Makefile | 6 +-
On Wednesday 23 April 2014 15:17:20 Maxime Ripard wrote:
+#include linux/clk.h
#include linux/init.h
#include linux/of_platform.h
@@ -19,9 +20,17 @@
static void __init sun4i_dt_init(void)
{
+ struct clk *clk;
+
sunxi_setup_restart();
On Wednesday 23 April 2014 15:28:29 Maxime Ripard wrote:
On Wed, Apr 23, 2014 at 02:33:50PM +0200, Arnd Bergmann wrote:
On Thursday 17 April 2014, Maxime Ripard wrote:
This will allow to add per-SoC hooks more easily.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
On Tue, Apr 22, 2014 at 4:20 PM, Arnd Bergmann a...@arndb.de wrote:
Patch applied, and g we need to get rid of these static #gpios defines
in the long run.
Yes, that would be nice. I guess the gpio-descriptor framework should
have solved this, but we can't move everything over to that
On Tue, Apr 22, 2014 at 5:18 PM, Maxime Ripard
maxime.rip...@free-electrons.com wrote:
This patch has a dependency on the first patch of this serie, since it
uses a binding that was documented there.
Maybe you'll want to wait for the ACK from the DT maintainers to merge
this one.
Yeah I
That code used to be in the machine code, but it's more fit here with other
restart hooks.
That will allow to cleanup the machine directory, while waiting for a proper
watchdog driver for the A31.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/power/reset/Kconfig
Most of the watchdog code is duplicated between the machine restart code and
the watchdog driver. Add the restart hook to the watchdog driver, to be able to
remove it from the machine code eventually.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
drivers/watchdog/sunxi_wdt.c
Now that reset is handled either by the watchdog driver for the sun4i, sun5i
and sun7i, and by a driver of its own for sun6i, we can remove it from the
platform code.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c | 98
Make sure we have the restart hooks in the kernel by selecting them in Kconfig.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index
The sun4i and sun7i machines are nothing more than a generic machine now, we
can completely remove them.
Only stays the sun6i machine, that needs to have its reset controller enabled
before the timers.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/sunxi.c
Hi,
This serie moves the restart code out of the mach-sunxi directory to
either the watchdog driver or to a new driver in drivers/power/reset.
Since the reset code was pretty much all the code left in the
mach-sunxi directory for all the SoCs but the A31, we also can remove
the whole machine
On Wednesday 23 April 2014 17:04:32 Maxime Ripard wrote:
Most of the watchdog code is duplicated between the machine restart code and
the watchdog driver. Add the restart hook to the watchdog driver, to be able
to
remove it from the machine code eventually.
Signed-off-by: Maxime Ripard
On Wednesday 23 April 2014 17:04:34 Maxime Ripard wrote:
Make sure we have the restart hooks in the kernel by selecting them in
Kconfig.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
arch/arm/mach-sunxi/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git
On Wednesday 23 April 2014 17:04:35 Maxime Ripard wrote:
Now that reset is handled either by the watchdog driver for the sun4i, sun5i
and sun7i, and by a driver of its own for sun6i, we can remove it from the
platform code.
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com
---
On Wednesday 23 April 2014 17:04:36 Maxime Ripard wrote:
-static void __init sunxi_dt_init(void)
-{
- of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-}
-
-static const char * const sunxi_board_dt_compat[] = {
- allwinner,sun4i-a10,
-
On Wednesday 23 April 2014 17:04:33 Maxime Ripard wrote:
That code used to be in the machine code, but it's more fit here with other
restart hooks.
That will allow to cleanup the machine directory, while waiting for a proper
watchdog driver for the A31.
Signed-off-by: Maxime Ripard
What kernel config options do I need to enable the SATA port on my Olimex
A20 board? I did not see any sunxi specific options in in menuconfig
Dennis
--
You received this message because you are subscribed to the Google Groups
linux-sunxi group.
To unsubscribe from this group and stop
From: Marcus Cooper codekip...@gmail.com
Signed-off-by: Marcus Cooper codekip...@gmail.com
---
sound/soc/sunxi/hdmiaudio/sunxi-hdmiaudio.c | 4 +-
sound/soc/sunxi/hdmiaudio/sunxi-sndhdmi.c | 197 +---
2 files changed, 5 insertions(+), 196 deletions(-)
diff --git
From: Marcus Cooper codekip...@gmail.com
The HDMI driver has been copied from the I2S driver
and very little effort has been made to remove the
unneeded parts. Therefore the registers that are
used by the I2S hardware block are simply renamed
and they serve no purpose in providing a functioning
From: Marcus Cooper codekip...@gmail.com
There is a lot of code in the HDMI driver that does
nothing. This patch removes all the headers which
are deemed unnecessary.
Signed-off-by: Marcus Cooper codekip...@gmail.com
---
sound/soc/sunxi/hdmiaudio/sndhdmi.c | 3 +--
From: Marcus Cooper codekip...@gmail.com
The A23 SDK does not mention HDMI capture and
this seems to be left over from when this driver
was copied from the I2S driver. Remove from
codebase.
Signed-off-by: Marcus Cooper codekip...@gmail.com
---
sound/soc/sunxi/hdmiaudio/sunxi-hdmiaudio.c | 101
From: Marcus Cooper codekip...@gmail.com
The A23 SDK has additional parameter checks to ensure that
null pointers are not being used.
Signed-off-by: Marcus Cooper codekip...@gmail.com
---
sound/soc/sunxi/hdmiaudio/sndhdmi.c | 4
sound/soc/sunxi/hdmiaudio/sunxi-hdmiaudio.c | 10
From: Marcus Cooper codekip...@gmail.com
Hi,
There is a lot of code in the HDMI driver that does
nothing. These patches removes all the unnecessary
code, provides a clean up and some parameter checks
which came from the comparing the drivers released
under the A23 SDK.
I have tested this on my
On Mon, 2014-04-21 at 05:32 +0300, Siarhei Siamashka wrote:
+ if (clk = 540 clk 552) {
If you wanted I think you could replace this if/else tree with
switch (clk) {
case 540 ... 551:
/*stuff*/
case 512 ... 527:
/*stuff*/
case
On Fri, Apr 18, 2014 at 04:15:51PM +0100, Mark Brown wrote:
On Thu, Apr 17, 2014 at 12:06:34PM +0200, Carlo Caione wrote:
I'm fighting with a small issue when using the
regulator_bulk_register_supply_alias(). Problem is that when using the
.parent_supplies entry in the MFD driver, I hit
Signed-off-by: Chen-Yu Tsai w...@csie.org
---
fel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fel.c b/fel.c
index ba4212c..97f265e 100644
--- a/fel.c
+++ b/fel.c
@@ -166,6 +166,7 @@ void aw_fel_get_version(libusb_device_handle *usb)
case 0x1625: soc_name=A13;break;
case
44 matches
Mail list logo