Hi,
On 12/19/2013 09:18 AM, Carlo Caione wrote:
On Wed, Dec 11, 2013 at 9:27 AM, Hans de Goede hdego...@redhat.com wrote:
Hi All,
Together with Oliver and Tsvetan I'm organizing a Fosdem
dinner for sunxi developers on Saturday evening.
in the subject s/2nd/1st/ :)
Oh yes, you're
Hi,
On 12/19/2013 10:49 PM, Юрий Пухальский wrote:
Good UTC night!
Got somewhat further, yet still there are problems.
Is there anything i should change in kernel cmdline maybe?
Is this a sun5i device, iow A10s or A13 SOC based ? If so you
need to build and boot with my sunxi-next u-boot
Hi,
On 12/20/2013 04:30 PM, Jonathan Aquilina wrote:
Hey guys I am getting these errors
3[mmc-err] smc 0 err, cmd 52, RTO
[4.099702] [mmc-err] smc 0 err, cmd 52, RTO
3[mmc-err] smc 0 err, cmd 52, RTO
[4.108190] [mmc-err] smc 0 err, cmd 52, RTO
6[mmc-msg] sdc0 set ios: clk 40Hz
Hi,
On 12/23/2013 08:28 AM, Olliver Schinagl wrote:
On 21-12-13 13:15, Hans de Goede wrote:
Hi,
On 12/20/2013 11:52 PM, Maxime Ripard wrote:
Hi Hans,
On Fri, Dec 20, 2013 at 08:22:56PM +0100, Hans de Goede wrote:
Hi,
On 12/20/2013 09:33 AM, Maxime Ripard wrote:
Hi Hans,
On Fri, Dec 20
Hi,
On 12/26/2013 06:37 PM, Tomas Novotny wrote:
Interrupt definitions are taken from the A10s datasheet. Tested on
A10s-OLinuXino-MICRO.
Signed-off-by: Tomas Novotny novo...@rehivetech.com
Looks good:
Acked-by: Hans de Goede hdego...@redhat.com
Regards,
Hans
---
drivers/gpio/gpio
straight forward, reliable single
touch functionality only.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../bindings/input/touchscreen/sun4i.txt | 15 ++
drivers/input/touchscreen/Kconfig | 10 +
drivers/input/touchscreen/Makefile | 1 +
drivers
Hi Dimitri et al,
Here is v2 of my sun4i-ts patch-set.
Changes since v1:
-Use devm_kzalloc and devm_hwmon_device_register_with_groups as suggested
by Guenter Roeck
-Various small cleanups suggested by Thomas Petazzoni
-Add open/close methods and enable/disable the input related interrupts from
:
Acked-by: Hans de Goede hdego...@redhat.com
Regards,
Hans
---
arch/arm/plat-sunxi/include/plat/memory.h | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/arch/arm/plat-sunxi/include/plat/memory.h
b/arch/arm/plat-sunxi/include/plat/memory.h
index 20c27bd..42a4afa
Hi,
On 12/31/2013 12:11 PM, Tim Fletcher wrote:
On 31/12/13 09:39, Hans de Goede wrote:
Hi,
On 12/30/2013 07:51 PM, Tim Fletcher wrote:
On 22/12/13 12:57, Hans de Goede wrote:
Hi,
On 12/22/2013 12:21 AM, Michal Suchanek wrote:
Actually sun7i smp conflicts badly with the sun6i smp .. so
Hi,
On 12/31/2013 12:51 PM, Tim Fletcher wrote:
On 31/12/13 11:36, Hans de Goede wrote:
Hi,
On 12/31/2013 12:11 PM, Tim Fletcher wrote:
On 31/12/13 09:39, Hans de Goede wrote:
Hi,
On 12/30/2013 07:51 PM, Tim Fletcher wrote:
On 22/12/13 12:57, Hans de Goede wrote:
Hi,
On 12/22/2013 12:21
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 3231789..68e825a 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm
Signed-off-by: Hans de Goede hdego...@redhat.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 502f3e2..88f119a 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm
there
are no boards known to use chan1. The devicetree properties are already
prefixed with chan0 as preparation for chan1 support in the future.
This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and
a20-olinuxino-micro.
Signed-off-by: Hans de Goede hdego...@redhat.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 7 +++
arch/arm/boot/dts/sun5i-a10s.dtsi| 7 +++
arch/arm/boot/dts/sun5i-a13-olinuxino.dts| 7 +++
arch/arm/boot/dts/sun5i-a13.dtsi | 7
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 7 +++
arch/arm/boot/dts/sun7i-a20.dtsi| 7 +++
2 files changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
b/arch/arm/boot/dts/sun7i
Hi,
On 01/02/2014 12:57 AM, Siarhei Siamashka wrote:
snip
Maybe just send a mail to the relevant upstream list explaining
we've an ip block which (seems) to be limited to dma below
256MB and needs cma, so we want a cma block below 256MB, but we
don't want to set the DMA_ZONE for the entire
Hi,
On 01/01/2014 09:56 PM, Dmitry Torokhov wrote:
Hi Hans,
On Wed, Jan 01, 2014 at 08:30:07PM +0100, Hans de Goede wrote:
+Required properties:
+ - compatible: allwinner,sun4i-lradc-keys
+ - reg: mmio address range of the chip
+ - interrupts: interrupt to which the chip is connected
Hi Dimitri et al,
Here is v2 of the sun4i-lradc-keys driver, changes since v1:
- Use include/dt-bindings/input/input.h
- Rename the keycodes property to linux,chan0-keycodes
Regards,
Hans
--
You received this message because you are subscribed to the Google Groups
linux-sunxi group.
To
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 8
arch/arm/boot/dts/sun5i-a10s.dtsi| 7 +++
arch/arm/boot/dts/sun5i-a13-olinuxino.dts| 8
arch/arm/boot/dts/sun5i-a13.dtsi | 7
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 9 +
arch/arm/boot/dts/sun7i-a20.dtsi| 7 +++
2 files changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
b/arch/arm/boot/dts
there
are no boards known to use chan1. The devicetree properties are already
prefixed with chan0 as preparation for chan1 support in the future.
This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and
a20-olinuxino-micro.
Signed-off-by: Hans de Goede hdego...@redhat.com
Hi,
On 01/02/2014 06:42 AM, Ma Haijun wrote:
Hi,
This patch fix non-boot CPU bringing up failure due to lack of PSCI node,
which is reported by Tim Fletcher.
It is patched against the sunxi-next branch of
https://github.com/jwrdegoede/u-boot-sunxi.git
Thanks, added to my sunxi-next branch
Hi,
On 01/02/2014 12:59 PM, Heiko Stübner wrote:
Hi Hans, Dmitry,
Am Donnerstag, 2. Januar 2014, 10:37:47 schrieb Hans de Goede:
Hi,
On 01/01/2014 09:56 PM, Dmitry Torokhov wrote:
Hi Hans,
On Wed, Jan 01, 2014 at 08:30:07PM +0100, Hans de Goede wrote:
+Required properties:
+ - compatible
Hi,
On 01/02/2014 02:09 AM, David Lanzendörfer wrote:
Hi Hans, Maxime et al,
I've made a first approach to incorporate the changes we've disscussed.
I'm not quite done yet.
You can have a look at it under:
http://git.o2s.ch/?p=linux-next.git;a=shortlog;h=refs/heads/20131224
My recent issue: I
Hi All,
I've just updated:
https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel
to 3.13-rc6. Also new is an updated version of the mmc driver (mostly cosmetic
fixes
to get it ready for upstream) and a sun4i-lradc-keys driver
The sunxi-devel branch now contains 3.13-rc6
+ the
Hi,
On 01/02/2014 12:37 PM, Luc Verhaegen wrote:
Signed-off-by: Luc Verhaegen l...@skynet.be
Thanks, added to the u-boot-sunxi git repo sunxi branch.
Regards,
Hans
---
board/sunxi/Makefile |1 +
board/sunxi/dram_inet_k70hc.c | 31 +++
Hi,
On 01/01/2014 10:55 PM, Oliver Schinagl wrote:
On 01/01/14 14:13, Tim Fletcher wrote:
On 01/01/14 13:06, Oliver Schinagl wrote:
Hey list,
as you should remember, I applied for FOSDEM and got accepted. As I'm
working on the presentation, I am curious what you guys think others
would be
Hi,
On 01/02/2014 09:20 PM, Maxime Ripard wrote:
On Thu, Jan 02, 2014 at 02:45:29PM +0100, Hans de Goede wrote:
Also, instead of inventing yet another vendor-specific property, why not re-use
a button binding similar to gpio-keys like:
lradc: lradc@01c22800
Hi,
On 01/03/2014 02:05 AM, Luc Verhaegen wrote:
On Fri, Jan 03, 2014 at 02:01:54AM +0100, Luc Verhaegen wrote:
Signed-off-by: Luc Verhaegen l...@skynet.be
---
sys_config/a20/inet_k70hc.fex |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
With this patch on top, i think
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 hdego
by Hans de Goede.
Signed-off-by: Olliver Schinagl oli...@schinagl.nl
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/ata/ahci-sunxi.txt | 24 ++
drivers/ata/Kconfig| 9 +
drivers/ata/Makefile | 1
This patch adds sunxi sata support to A20 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 hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20
Hi,
On 01/03/2014 10:51 PM, David Lanzendörfer wrote:
Hi
Hi David, in the patch Hans noted, it seems you missed mmc3 when
renaming compatibles for sun7i-a20.dtsi.
Looking forward to this getting into mainline. Need it for WiFi. :)
I've uploaded the changes you've requested:
Hi,
On 01/04/2014 10:39 PM, Arnd Bergmann wrote:
On Saturday 04 January 2014 10:14:36 Hans de Goede wrote:
diff --git a/Documentation/devicetree/bindings/ata/ahci-sunxi.txt
b/Documentation/devicetree/bindings/ata/ahci-sunxi.txt
new file mode 100644
index 000..0792fa5
--- /dev/null
+++ b
Hi Arokux et al,
So I've been working on cleaning up the sunxi-ehci support by
writing a separate phy driver for the usbphy part of the SoC.
This is turning out quite nicely, for those interested you
can find my wip here:
Note only tested on sun7i sofar, and the sun4i / sun5i dt
bits aren't
Hi,
On 01/05/2014 11:56 AM, Arokux X wrote:
Hello Hans,
On Sun, Jan 5, 2014 at 12:48 AM, Hans de Goede hdego...@redhat.com wrote:
Hi Arokux et al,
So I've been working on cleaning up the sunxi-ehci support by
writing a separate phy driver for the usbphy part of the SoC.
This is turning out
Hi,
On 01/05/2014 01:42 PM, Olliver Schinagl wrote:
On 01/04/14 22:47, Arnd Bergmann wrote:
On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote:
+Required properties:
+- compatible : compatible list, contains allwinner,sun4i-a10-ahci
+- reg: registers mapping
+-
Hi,
On 01/06/2014 08:16 AM, Arnd Bergmann wrote:
On Monday 06 January 2014, Hans de Goede wrote:
+Required properties:
+ - compatible: Should be platform-ohci
+ - reg: Address range of the ohci registers.
+ - interrupts: Should contain the ohci interrupt.
+
+Optional properties:
+ - clocks
Hi,
On 01/08/2014 02:19 AM, Ma Haijun wrote:
Hi,
I think there is no much reason to use dummy clock names.
It is better to access them by index, and use clock-names for documentation
only.
Then it can support arbitrary number of clocks easily.
num_clks = of_count_phandle_with_args(np, clocks,
Hi,
On 01/08/2014 12:49 PM, Carlo Caione wrote:
On Wed, Jan 8, 2014 at 12:29 PM, Arnd Bergmann a...@arndb.de wrote:
On Monday 06 January 2014, Carlo Caione wrote:
+Allwinner Sunxi NMI Controller
+==
+
+Required properties:
+
+- compatible : should be
Hi,
On 01/08/2014 03:21 PM, Boris BREZILLON wrote:
Hello,
This series add the sunxi NFC support with up to 8 NAND chip connected.
I'm still in the early stages drivers development and some key features are
missing, but it's usable (I tested it on the cubietruck board).
Here's what's missing:
Hi All,
Here is v2 of my ohci and ehci-platform clks, phy and dt support patch-set.
Changes since v1:
-Various improvements to dt-bindings as suggested by various people
-Support up-to 3 clocks
Regards,
Hans
--
You received this message because you are subscribed to the Google Groups
for the
ehci controller on Allwinner sunxi SoCs.
Somehow we've ended up with 2 device-bindings documents for ehci-platform.c,
this patch renames and updates one to platform-ehci.txt to reflect that this
is a generic platform driver, and removes the other.
Signed-off-by: Hans de Goede hdego
Hi All,
Here is v3 of my ohci and ehci-platform clks, phy and dt support patch-set.
This version is mostly the result of some discussions on irc with Maxime to
improve the dt-bindings. This has resulted in 2 changes:
1) Drop the clock-names from the dt-bindings, instead get clocks by index.
for the ohci controller found
on Allwinner sunxi SoCs.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/usb/mmio-ohci.txt | 22 +++
drivers/usb/host/ohci-platform.c | 150 ++---
2 files changed, 152 insertions(+), 20 deletions
for the
ehci controller on Allwinner sunxi SoCs.
Somehow we've ended up with 2 device-bindings documents for ehci-platform.c,
this patch renames and updates one to mmio-ehci.txt to reflect that this
is a generic ehci driver, and removes the other.
Signed-off-by: Hans de Goede hdego...@redhat.com
Hi,
On 01/09/2014 09:36 PM, Alan Stern wrote:
On Thu, 9 Jan 2014, Hans de Goede wrote:
Add support for ohci-platform instantiation from devicetree, including
optionally getting clks and a phy from devicetree, and enabling / disabling
those on power_on / off.
This should allow using ohci
Hi,
On 01/09/2014 11:28 PM, Oliver Schinagl wrote:
Hey Hans,
mind helping me find my fault please?
I can boot your Fedora r3 image fine from MMC, whilst running that I can mount
/dev/sda3 just fine and modify/copy files.
Rebooting after editing uEnv.txt to say root=/dev/sda3 instead of
for the ohci controller found
on Allwinner sunxi SoCs.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/usb/mmio-ohci.txt | 22 +++
drivers/usb/host/ohci-platform.c | 164 ++---
2 files changed, 162 insertions(+), 24 deletions
for the
ehci controller on Allwinner sunxi SoCs.
Somehow we've ended up with 2 device-bindings documents for ehci-platform.c,
this patch renames and updates one to mmio-ehci.txt to reflect that this
is a generic ehci driver, and removes the other.
Signed-off-by: Hans de Goede hdego...@redhat.com
Hi,
On 01/11/2014 12:50 AM, Sergei Shtylyov wrote:
Hello.
On 01/11/2014 01:46 AM, Hans de Goede wrote:
Here is v4 of my ohci and ehci-platform clks, phy and dt support patch-set,
this version should be 100% ready for merging upstream.
I see you've decided to completely ignore my
Hi,
On 01/11/2014 01:10 AM, Sergei Shtylyov wrote:
On 01/11/2014 01:52 AM, Hans de Goede wrote:
Here is v4 of my ohci and ehci-platform clks, phy and dt support patch-set,
this version should be 100% ready for merging upstream.
I see you've decided to completely ignore my opinion. NAK
From: arokux aro...@gmail.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun5i-a10s.dtsi | 9 +
arch/arm/boot/dts/sun5i-a13.dtsi | 9 +
2 files changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi
b/arch/arm/boot/dts/sun5i
Hi Emilio,
Here is a patch-set adding support for USB clocks and reset bits, can you
please review this and add it to your sunxi-clk branch for 3.15 ?
Thanks Regards,
Hans
--
You received this message because you are subscribed to the Google Groups
linux-sunxi group.
To unsubscribe from
The usb-clk register is special in that it not only contains clk gate bits,
but also has a few reset bits. This commit adds support for this by allowing
gates type sunxi clks to also register a reset controller.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/clk/sunxi/clk-sunxi.c
From: arokux aro...@gmail.com
Add register definitions for the usb-clk register found on sun4i, sun5i and
sun7i SoCs.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
Documentation/devicetree/bindings/clock/sunxi.txt | 5 +
drivers/clk/sunxi/clk-sunxi.c | 12
From: arokux aro...@gmail.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 6f0f12c..620f482 100644
--- a/arch/arm/boot
From: arokux aro...@gmail.com
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/boot/dts/sun4i-a10.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index ba416f8..003968f 100644
--- a/arch/arm/boot
Hi,
Thanks for the review. Note I did my best to ensure my patches
would not break vt8500 support, but if you could run some tests
with them that would be great.
On 01/11/2014 09:37 AM, Tony Prisk wrote:
On 11/01/14 11:46, Hans de Goede wrote:
Add support for ohci-platform instantiation from
Hi,
On 01/12/2014 02:04 PM, Tomasz Figa wrote:
Hi,
[Cc'ing DT maintainers directly]
snip
Alan Stern Wrote:
I prefer the -generic option, although generic- is equally fine - Having
said that, I don't really care if it's called mmio either (although this
does seem less 'descriptive').
I
Hi all,
And here is v5 of my ohci and ehci-platform clks, phy and dt support patch-set.
New since the last version is that the compatibility strings now are
usb-ohci and usb-ehci, which should make everyone happy I hope.
Other then that there are no changes compared to v4.
Regards,
Hans
--
Hi,
On 01/15/2014 09:08 AM, TsvetanUsunov wrote:
I was not going to sugar-coat anything here. And I understand that
using the 16-bit memory bus width was a side effect of extreme cost
reduction. The primary LIME competitors are likely not high end
ARM devices, but Raspberry Pi
Hi,
On 01/14/2014 08:08 PM, Alan Stern wrote:
On Mon, 13 Jan 2014, Hans de Goede wrote:
Add support for ohci-platform instantiation from devicetree, including
optionally getting clks and a phy from devicetree, and enabling / disabling
those on power_on / off.
This should allow using ohci
,
even though it mostly is ibm,usb-ehci-440epx specific. ehci-platform.c is
not needed on ppc platforms, so add a !PPC_OF dependency to it to avoid
2 drivers claiming the same compatibility string getting build on ppc.
Signed-off-by: Hans de Goede hdego...@redhat.com
Acked-by: Alan Stern st
for the ohci controller found
on Allwinner sunxi SoCs.
Signed-off-by: Hans de Goede hdego...@redhat.com
Acked-by: Alan Stern st...@rowland.harvard.edu
---
Documentation/devicetree/bindings/usb/usb-ohci.txt | 22 +++
drivers/usb/host/ohci-platform.c | 164 ++---
2 files
Hi,
On 01/15/2014 05:30 PM, Alan Stern wrote:
On Wed, 15 Jan 2014, Hans de Goede wrote:
+static int ohci_platform_power_on(struct platform_device *dev)
+{
+ struct usb_hcd *hcd = platform_get_drvdata(dev);
+ struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
+ int clk
for the ohci controller found
on Allwinner sunxi SoCs.
Signed-off-by: Hans de Goede hdego...@redhat.com
Acked-by: Alan Stern st...@rowland.harvard.edu
---
Documentation/devicetree/bindings/usb/usb-ohci.txt | 22 +++
drivers/usb/host/ohci-platform.c | 164 ++---
2 files
Hi All,
This version of my ohci and ehci-platform clks, phy and dt support patch-set,
really fixes the 2 small bugs Alan found.
Regards,
Hans
--
You received this message because you are subscribed to the Google Groups
linux-sunxi group.
To unsubscribe from this group and stop receiving
Hi,
On 01/16/2014 08:07 AM, Chen-Yu Tsai wrote:
Hi Hans,
On Wed, Jan 15, 2014 at 11:48 PM, Hans de Goede hdego...@redhat.com wrote:
Hi,
On 01/15/2014 04:00 PM, Kishon Vijay Abraham I wrote:
On Wednesday 15 January 2014 04:28 AM, Hans de Goede wrote:
[...]
+static int sun4i_usb_phy_init
Hi,
On 01/17/2014 06:12 PM, Alan Stern wrote:
On Thu, 16 Jan 2014, Florian Fainelli wrote:
Le mercredi 15 janvier 2014, 15:26:21 Alan Stern a �crit :
On Wed, 15 Jan 2014, Hans de Goede wrote:
Hi All,
This version of my ohci and ehci-platform clks, phy and dt support
patch-set, really fixes
The sata-highbank driver is a complete standalone sata driver, which does
not use ahci_platform.c / ahci_platform_data in any way.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/sata_highbank.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/ata/sata_highbank.c b
it is ok to disable / enable the
clock at of-node index 0 as well, I've ordered a wandboard to be able to
test these changes.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
arch/arm/mach-spear/spear1340.c | 6 ++
drivers/ata/ahci_imx.c | 4 +---
drivers/ata/ahci_platform.c | 2
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree/bindings/ata/ahci-platform.txt | 1 +
drivers/ata/ahci.h | 2 ++
drivers/ata/ahci_platform.c| 39 +++---
3 files changed, 38 insertions(+), 4
of having a platform device which probe method
creates a new child platform device which gets driven by ahci_platform.c,
as done by ahci_imx.c .
v2, by Hans de Goede:
Stand-alone platform driver based on Olliver's work
v3, by Hans de Goede:
patch-series, with 4 different parts
a) Make ahci_platform.c
Instead only provide platform_data through of_device_id, like the ahci-sunxi
driver does.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/Kconfig | 4 +-
drivers/ata/Makefile | 3 +-
drivers/ata/ahci_imx.c| 118
This patch adds sunxi sata support to A20 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 hdego...@redhat.com
---
arch/arm/boot/dts/sun7i-a20
ahci_platform manages all 3 clocks now, so enabling / disabling them from
ahci_imx just results in the sata_ref clock getting enabled / disabled twice.
Note untested, I've ordered a wandboard to be able to test these changes.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
.../devicetree
Hi,
On 01/19/2014 12:14 PM, Tejun Heo wrote:
On Sun, Jan 19, 2014 at 12:48:45AM +0100, Hans de Goede wrote:
For devices where ahci_platform_data provides suspend() there is an unbalance
in clk enable/disable calls. The suspend path does not disable the clk, but
the resume path enables
Hi,
On 01/19/2014 05:46 AM, Tejun Heo wrote:
Hello, Hans.
On Sun, Jan 19, 2014 at 12:48:43AM +0100, Hans de Goede wrote:
void ahci_start_engine(struct ata_port *ap)
{
void __iomem *port_mmio = ahci_port_base(ap);
+ struct ahci_host_priv *hpriv = ap-host-private_data
Hi,
On 01/19/2014 12:30 PM, Tejun Heo wrote:
On Sun, Jan 19, 2014 at 12:48:47AM +0100, Hans de Goede wrote:
Some ahci_platform_data-init methods need access to the ahci_host_priv data.
Note:
When calling ahci_platform_data-init the ata_host has not been allocated yet,
so access
Hi,
On 01/19/2014 01:22 PM, Russell King - ARM Linux wrote:
On Sun, Jan 19, 2014 at 12:48:51AM +0100, Hans de Goede wrote:
+ timeout = 0x10;
+ do {
+ reg_val = sunxi_getbits(reg_base + AHCI_PHYCS0R, 0x7, 28);
+ } while (--timeout (reg_val != 0x2
Hi,
On 01/19/2014 01:25 PM, Russell King - ARM Linux wrote:
On Sun, Jan 19, 2014 at 12:48:53AM +0100, Hans de Goede wrote:
Instead only provide platform_data through of_device_id, like the ahci-sunxi
driver does.
It looks like the whole of ahci_imx.c (apart from the inclues) is
enclosed
Hi,
On 01/16/2014 01:58 AM, Ma Haijun wrote:
Hi
-Original Message-
From: linux-sunxi@googlegroups.com [mailto:linux-sunxi@googlegroups.com]
On Behalf Of Alan Stern
Sent: Wednesday, January 15, 2014 3:18 AM
To: Hans de Goede
Cc: Tony Prisk; linux-arm-ker...@lists.infradead.org
Hi,
On 01/19/2014 08:32 PM, Russell King - ARM Linux wrote:
On Sun, Jan 19, 2014 at 08:30:37PM +0100, Hans de Goede wrote:
Hi,
On 01/19/2014 01:41 PM, Russell King - ARM Linux wrote:
On Sun, Jan 19, 2014 at 12:48:52AM +0100, Hans de Goede wrote:
+enum {
+ CLK_SATA
Hi,
On 01/19/2014 08:15 PM, Tejun Heo wrote:
Hey,
On Sun, Jan 19, 2014 at 07:47:06PM +0100, Hans de Goede wrote:
As I see it either doing clks, regulator and sata-core things in a common
place makes sense, and then it goes for suspend and resume too, or we
opt for always following
Hi,
On 01/19/2014 08:42 PM, Tejun Heo wrote:
On Sun, Jan 19, 2014 at 08:34:51PM +0100, Hans de Goede wrote:
Well the current error handling still re-disables the clks on resume failure,
if you want to proceed with resume as far as possible, rather then return to
Let's put it as put
Hi,
On 01/19/2014 08:17 PM, Tejun Heo wrote:
On Sun, Jan 19, 2014 at 07:51:48PM +0100, Hans de Goede wrote:
Yes, but they are part of arch/arm/mach-foo, so moving them is non trivial, and
I don't want to go make these kinda changes without hardware to test. Please
keep
in mind that I'm
Hi,
On 01/20/2014 09:24 AM, Sascha Hauer wrote:
On Sun, Jan 19, 2014 at 12:48:50AM +0100, Hans de Goede wrote:
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci_platform.c | 41 +
1 file changed, 29 insertions(+), 12 deletions
Hi,
On 01/20/2014 04:45 PM, selsin...@gmail.com wrote:
On 10/01/14 07:00, Chen-Yu Tsai wrote:
Hi,
This is v2 of the Allwinner A20 GMAC glue layer for stmmac.
The clock and DT patches should be applied after my clock
rename[1] series.
Using Hans sunxi-devel branch and patched u-boot I have
Hi,
On 01/20/2014 05:32 PM, selsin...@gmail.com wrote:
On 20/01/14 15:52, Hans de Goede wrote:
This is a known issue, with the current sunxi-devel branch you need to have
u-boot configured for GMAC for things to work. This is fixed in a later version
of Chen's patches but I still need
to override ahci_start_engine behavior for use by
the Allwinner AHCI driver (and potentially other drivers in the future).
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci.c | 6 --
drivers/ata/ahci.h | 3 ++-
drivers/ata/libahci.c | 27
Split suspend / resume code into host suspend / resume functionality and
resource enable / disabling phases, and export the new suspend_ / resume_host
functions.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci_platform.c | 55
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 idea is that drivers using
the new exported utility functions will not use ahci_platform_data at all,
and hopefully in the future ahci_platform_data can go away entirely.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci_platform.c | 158
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
---
arch/arm/mach
device which gets
driven by ahci_platform.c, as done by ahci_imx.c .
Refactored by Hans de Goede to add most of the non sunxi specific functionality
to ahci_platform.c and use a platform_data pointer from of_device_id for the
sunxi specific bits.
Signed-off-by: Olliver Schinagl oli...@schinagl.nl
of having a platform device which probe method
creates a new child platform device which gets driven by ahci_platform.c,
as done by ahci_imx.c .
v2, by Hans de Goede:
Stand-alone platform driver based on Olliver's work
v3, by Hans de Goede:
patch-series, with 4 different parts
a) Make ahci_platform.c
Hi,
On 01/21/2014 02:42 AM, Ma Haijun wrote:
Hi
-Original Message-
From: linux-sunxi@googlegroups.com [mailto:linux-sunxi@googlegroups.com]
On Behalf Of Hans de Goede
Sent: Tuesday, January 21, 2014 12:45 AM
To: Tejun Heo
Cc: Oliver Schinagl; Maxime Ripard; Richard Zhu; Roger Quadros
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 hdego
, the idea is that drivers using
the new exported utility functions will not use ahci_platform_data at all,
and hopefully in the future ahci_platform_data can go away entirely.
Signed-off-by: Hans de Goede hdego...@redhat.com
---
drivers/ata/ahci_platform.c | 158
1 - 100 of 2101 matches
Mail list logo