Hi Hans,
On Tue, Feb 18, 2014 at 09:49:21PM +0100, Hans de Goede wrote:
Hi,
On 02/18/2014 04:37 PM, Maxime Ripard wrote:
snip
+
+ for (i = 0; i data-sg_len; i++) {
+ pdes[i].config = SDXC_IDMAC_DES0_CH | SDXC_IDMAC_DES0_OWN |
+
Hi all,
Here is v6 of my patchset for adding ahci-sunxi support. This has been
tested with Allwinner A10, Allwinner A20 and Freeware imx6x SoCs, including
suspend / resume. Note that since my last revision the ahci_imx driver has
also grown imx53 sata support, it would be good if some-one could
Some ahci_platform_data-init methods need access to the ahci_host_priv data.
When calling ahci_platform_data-init the ata_host has not been allocated yet,
so access to ahci_host_priv through the dev argument is not possible.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
With the ahci-platform.c changes later in this patch-set, some
arch/arm/mach-foo/*.c sata drivers need access to ahci_host_priv, so move
its declaration outside of drivers/ata.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci.h | 20 +---
Allwinner A10 and A20 ARM SoCs have an AHCI sata controller which needs a
special register to be poked before starting the DMA engine.
This register gets reset on an ahci_stop_engine call, so there is no other
place then ahci_start_engine where this poking can be done.
This commit allows drivers
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/ata/ahci-platform.txt | 1 +
drivers/ata/ahci_platform.c| 35 --
include/linux/ahci.h | 2 ++
3 files changed, 36 insertions(+), 2
The allwinner-sun4i AHCI controller needs 2 clocks to be enabled and the
imx AHCI controller needs 3 clocks to be enabled.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/ata/ahci-platform.txt | 1 +
drivers/ata/ahci_platform.c| 97
ahci_probe consists of 3 steps:
1) Get resources (get mmio, clks, regulator)
2) Enable resources, handled by ahci_platform_enable_resouces
3) The more or less standard ahci-host controller init sequence
This commit refactors step 1 and 3 into separate functions, so the platform
drivers for AHCI
From: Olliver Schinagl oli...@schinagl.nl
This patch adds support for the ahci sata controler found on Allwinner A10
and A20 SoCs to the ahci_platform driver.
Orignally written by Olliver Schinagl using the approach of having a platform
device which probe method creates a new child platform
From: Roger Quadros rog...@ti.com
Some platforms have a PHY hooked up to the
SATA controller. The PHY needs to be initialized
and powered up for SATA to work. We do that
using the PHY framework.
CC: Balaji T K balaj...@ti.com
Signed-off-by: Roger Quadros rog...@ti.com
Signed-off-by: Hans de
From: Roger Quadros rog...@ti.com
Add compatible string snps,dwc-ahci, which should be used
for Synopsis Designware SATA cores. e.g. on TI OMAP5 and DRA7 platforms.
Signed-off-by: Roger Quadros rog...@ti.com
Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Hans de
From: Roger Quadros rog...@ti.com
On OMAP platforms the device needs to be runtime resumed before
it can be accessed. The OMAP HWMOD framework takes care of
enabling the module and its resources based on the
device's runtime PM state.
In this patch we runtime resume during .probe() and runtime
From: Roger Quadros rog...@ti.com
There is no easy way to access 'struct device' from 'struct ahci_host_priv'
so add an explicit argument for 'struct device'. We will need it
to call Runtime PM APIs.
Signed-off-by: Roger Quadros rog...@ti.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
This avoids the ugliness of creating a nested platform device from probe.
While moving it around anyways, move the mk6q phy init code from probe
to imx_sata_enable, as the phy needs to be re-initialized on resume too,
otherwise the drive won't be recognized after resume.
Tested on a wandboard
From: Roger Quadros rog...@ti.com
The ahci_platform driver supports snps,dwc-ahci.
Add this to the DT binding information.
Signed-off-by: Roger Quadros rog...@ti.com
Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
From: Oliver Schinagl oli...@schinagl.nl
This patch adds sunxi sata support to A10 boards that have such a connector.
Some boards also feature a regulator via a GPIO and support for this is also
added.
Signed-off-by: Olliver Schinagl oli...@schinagl.nl
Signed-off-by: Hans de Goede
According to Documentation/devicetree/bindings/regulator/regulator.txt
regulator nodes should not be placed under 'simple-bus'.
Mark Rutland also explains about it at:
http://www.spinics.net/lists/linux-usb/msg101497.html
Signed-off-by: Hans de Goede hdego...@redhat.com
---
On Tue, Feb 18, 2014 at 03:35:13PM -0500, jonsm...@gmail.com wrote:
On Tue, Feb 18, 2014 at 3:09 PM, Andre Renaud an...@bluewatersys.com wrote:
Hi,
Does anyone know of a reliable supplier who sells the AllWinner A20
chips? I was hoping to find them on digikey, mouser or avnet, but it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
On 02/19/2014 10:46 AM, Maxime Ripard wrote:
Hi Hans,
On Tue, Feb 18, 2014 at 09:49:21PM +0100, Hans de Goede wrote:
Hi,
On 02/18/2014 04:37 PM, Maxime Ripard wrote:
snip
+ +for (i = 0; i data-sg_len; i++) { +
On Fri, Feb 14, 2014 at 10:00:39AM -0800, Marcos Cruz wrote:
Hi,
This is a digital signage board based on A20 SoC, here the website:
http://www.merrii.com/en/detail.asp?id=157
I managed to modify and install the Cubian distribution to function on
it but
I'm having problems
On Sun, Feb 16, 2014 at 04:06:07AM +0200, Siarhei Siamashka wrote:
On Fri, 14 Feb 2014 17:05:32 +0200
Siarhei Siamashka siarhei.siamas...@gmail.com wrote:
On Fri, 14 Feb 2014 01:54:25 -0800 (PST)
dudo dgoru...@gmail.com wrote:
Hi there.
After compiling latest version of 3.4.79
Ühel kenal päeval, K, 19.02.2014 kell 13:01, kirjutas Hans de Goede:
ahci_probe consists of 3 steps:
1) Get resources (get mmio, clks, regulator)
2) Enable resources, handled by ahci_platform_enable_resouces
3) The more or less standard ahci-host controller init sequence
...
diff --git
Ühel kenal päeval, K, 19.02.2014 kell 13:01, kirjutas Hans de Goede:
From: Olliver Schinagl oli...@schinagl.nl
This patch adds support for the ahci sata controler found on Allwinner A10
and A20 SoCs to the ahci_platform driver.
Orignally written by Olliver Schinagl using the approach of
Hi Puneet,
Can you see if there are any objects/kernel modules in your
sound/soc/sunxi/i2s directory?, it looks like that is a description that
needs updating as there doesn't seem to be any platform checks in the
KConfig. There is also no mention of i2s any of the sunxi def configs. So
if you've
Hello,
On Wed, Feb 19, 2014 at 01:01:43PM +0100, Hans de Goede wrote:
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
index 2289efd..2c04211 100644
--- a/drivers/ata/ahci.h
+++ b/drivers/ata/ahci.h
@@ -323,6 +323,8 @@ struct ahci_host_priv {
u32 em_msg_type;
On Wed, Feb 19, 2014 at 01:01:47PM +0100, Hans de Goede wrote:
@@ -268,6 +281,9 @@ pdata_exit:
pdata-exit(dev);
disable_unprepare_clk:
ahci_disable_clks(hpriv);
+disable_regulator:
+ if (hpriv-target_pwr)
+ regulator_disable(hpriv-target_pwr);
The same
On Wed, Feb 19, 2014 at 01:01:48PM +0100, Hans de Goede wrote:
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci_platform.c | 83
---
include/linux/ahci_platform.h | 2 ++
2 files changed, 48 insertions(+), 37 deletions(-)
On Wed, Feb 19, 2014 at 01:01:49PM +0100, Hans de Goede wrote:
ahci_probe consists of 3 steps:
1) Get resources (get mmio, clks, regulator)
2) Enable resources, handled by ahci_platform_enable_resouces
3) The more or less standard ahci-host controller init sequence
This commit refactors
Hello,
On Wed, Feb 19, 2014 at 01:01:42PM +0100, Hans de Goede wrote:
Here is v6 of my patchset for adding ahci-sunxi support. This has been
tested with Allwinner A10, Allwinner A20 and Freeware imx6x SoCs, including
suspend / resume. Note that since my last revision the ahci_imx driver has
On Wed, Feb 19, 2014 at 09:11:52AM -0500, jonsm...@gmail.com wrote:
On Wed, Feb 19, 2014 at 7:13 AM, Luc Verhaegen l...@skynet.be wrote:
On Tue, Feb 18, 2014 at 03:35:13PM -0500, jonsm...@gmail.com wrote:
On Tue, Feb 18, 2014 at 3:09 PM, Andre Renaud an...@bluewatersys.com
wrote:
Hi,
On Wed, Feb 19, 2014 at 10:10 AM, Luc Verhaegen l...@skynet.be wrote:
On Wed, Feb 19, 2014 at 09:11:52AM -0500, jonsm...@gmail.com wrote:
On Wed, Feb 19, 2014 at 7:13 AM, Luc Verhaegen l...@skynet.be wrote:
On Tue, Feb 18, 2014 at 03:35:13PM -0500, jonsm...@gmail.com wrote:
On Tue, Feb 18,
Hi,
On 02/19/2014 04:02 PM, Tejun Heo wrote:
Hello,
On Wed, Feb 19, 2014 at 01:01:42PM +0100, Hans de Goede wrote:
Here is v6 of my patchset for adding ahci-sunxi support. This has been
tested with Allwinner A10, Allwinner A20 and Freeware imx6x SoCs, including
suspend / resume. Note that
Hello, Hans.
On Wed, Feb 19, 2014 at 04:26:43PM +0100, Hans de Goede wrote:
The devres usage are really 2 different issues:
1) There is the issue that we're getting clocks by index (this is by design as
clk-names are not generic), but there is no devm_get_clk_by_index (or some
such), this
Hi,
On 02/19/2014 05:25 PM, Tejun Heo wrote:
Hello, Hans.
On Wed, Feb 19, 2014 at 04:26:43PM +0100, Hans de Goede wrote:
The devres usage are really 2 different issues:
1) There is the issue that we're getting clocks by index (this is by design
as
clk-names are not generic), but there
driver has
also grown imx53 sata support, it would be good if some-one could test that
with this series.
basic file system tests on an imx53-qsb look fine with sata changes..
Using v3.14-rc3 + 20140219 (next) + shawn.guo's imx for-next branch which
wasn't in today next tree..
debian@arm
On Wed, Feb 19, 2014 at 06:18:09PM +0100, Hans de Goede wrote:
Most of the resources are already devres managed (I use devm functions
to get them), the problem is not in freeing our reference to the resources,
the problem is that we've sequences like this:
devm_get_foo
enable_foo
This patch was suggested to prevent the mali drivers from rebuild
every time the modules are built. It simply creates symlinks to
sources used by both ump.ko and mali.ko so that their objects are built
in separate directories; otherwise, there is a ping-pong effect between
the ump.ko objects and
Hi CodeKipper,
ls sound/soc/sunxi/i2s
built-in.o Makefile modules.order sndi2s.h sunxi-i2sdma.c
sunxi-i2s.h sunxi-sndi2s.h
Kconfig modules.builtin sndi2s.c sunxi-i2s.c sunxi-i2sdma.h
sunxi-sndi2s.c
in menuconfig if i select ARCH_SUN7i then there is no option
Hi all,
I am using A20 humming bird board.
i want to boot android from NAND.
i booted android from sd card successfully.
i want to know boot0 and boot1 , is it common for all A20 board.
and to which sector i need to flash this.
Regards
Punith
--
You received this message because you are
Hi Puneet,
I'm not sure if I2S is currently supported on the sun7i. Looking at
sound/soc/Kconfig I see this:
if SOUND_SUNXI
source sound/soc/sunxi/Kconfig
source sound/soc/sunxi/hdmiaudio/Kconfig
source sound/soc/sunxi/spdif/Kconfig
# i2s needs various adjustments for sun7i
if ARCH_SUN4I ||
Hi Puneet,
ignore what I said it was my spdif changes on my branch that broke the
build. I've now switched to the stage/sunxi branch, added this change
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index adafead..2334cab 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -60,7 +60,7 @@
41 matches
Mail list logo