Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-07 Thread Carlo Caione
On Wed, May 7, 2014 at 5:25 AM, Maxime Ripard wrote: > On Tue, May 06, 2014 at 10:03:19AM +0200, Carlo Caione wrote: >> On Tue, May 6, 2014 at 8:36 AM, Chen-Yu Tsai wrote: >> > Hi, >> >> Hi, >> >> > On Tue, May 6, 2014 at 6:55 AM, Maxime Ripard >> > wrote: >> >> On Sun, May 04, 2014 at 04:02:38P

[linux-sunxi] Re: [PATCH 0/7] Add Allwinner A31 USB support

2014-05-07 Thread Hans de Goede
Hi, On 05/07/2014 05:50 AM, Maxime Ripard wrote: > Hi everyone, > > This patchset adds support for the USB controllers found in the > Allwinner A31. > > While the design is similar to the earlier Allwinner SoCs that are > already supported, a few details here and there change, like the fact > th

Re: [linux-sunxi] sata multiplier with A20

2014-05-07 Thread mike . valk
On Tuesday, May 6, 2014 9:38:23 AM UTC+2, Hans de Goede wrote: > Hi, > > > > On 05/06/2014 09:17 AM, Mike wrote: > > > On Tuesday, May 6, 2014 8:37:53 AM UTC+2, Hans de Goede wrote: > > >> Hi, > > >> > > >> On 05/05/2014 11:22 PM, hase nase wrote: > > >>> Hi, > > >>> > > >>> is it possib

Re: [linux-sunxi] sata multiplier with A20

2014-05-07 Thread Henrik Nordström
ons 2014-05-07 klockan 02:19 -0700 skrev mike.v...@gmail.com: > So the question is: > - What is supported by which Allwinner hardware? Unspecified. No documentation other than driver source available. > - And what's implemented (active/inactive) in the drivers? The sunxi driver is mostly PH

Re: [linux-sunxi] sata multiplier with A20

2014-05-07 Thread Hans de Goede
Hi, On 05/07/2014 11:19 AM, mike.v...@gmail.com wrote: > On Tuesday, May 6, 2014 9:38:23 AM UTC+2, Hans de Goede wrote: >> Hi, >> >> >> >> On 05/06/2014 09:17 AM, Mike wrote: >> >>> On Tuesday, May 6, 2014 8:37:53 AM UTC+2, Hans de Goede wrote: >> Hi, >> >> On 05/05/2014 11:22 PM, h

Re: [linux-sunxi] Re: gslx680 driver ported to sunxi

2014-05-07 Thread Joe Burmeister
Hi Hunter, Had a quick look. The firmware seams to be extracted correctly. It all looks like what I'd expect. There is something else starting at 000a5f00 offset in the android driver, it looks like it could be some other firmware. But it's not very big, and doesn't fit what I think I know a

[linux-sunxi] sunxi-bsp and missing A20 support

2014-05-07 Thread jonsm...@gmail.com
sunxi-bsp is missing support for the A20. Has it not been implemented, or did it get broken? Anyone have a good build system for making Cubietruck images? On Fri, May 2, 2014 at 7:33 AM, Puneet B wrote: > sunxi-bsp is not working for cubietruck board. > > because i dont have any A20 folder in a

Re: [linux-sunxi] sunxi-bsp and missing A20 support

2014-05-07 Thread Emilio López
Hi, El 07/05/14 10:22, jonsm...@gmail.com escribió: sunxi-bsp is missing support for the A20. Has it not been implemented, or did it get broken? Anyone have a good build system for making Cubietruck images? A20 support on the BSP should be working, with the exception of livesuit image build

[linux-sunxi] Re: [PATCH 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-07 Thread Kishon Vijay Abraham I
Hi, On Wednesday 07 May 2014 09:20 AM, Maxime Ripard wrote: > The USB phy controller in the A31 differs mostly from the older controllers > because it has a clock dedicated for each phy, while the older ones were > having > a single clock for all the phys. > > Signed-off-by: Maxime Ripard > ---

Re: [linux-sunxi] sunxi-bsp and missing A20 support

2014-05-07 Thread jonsm...@gmail.com
On Wed, May 7, 2014 at 9:28 AM, Emilio López wrote: > Hi, > > El 07/05/14 10:22, jonsm...@gmail.com escribió: > >> sunxi-bsp is missing support for the A20. Has it not been >> implemented, or did it get broken? >> >> Anyone have a good build system for making Cubietruck images? > > > A20 support

[linux-sunxi] Re: [PATCH 4/7] usb: ehci-platform: add optional reset controller retrieval

2014-05-07 Thread Alan Stern
On Tue, 6 May 2014, Maxime Ripard wrote: > From: Boris BREZILLON > > On the Allwinner's A31 SoC the reset line connected to the EHCI IP has to > be deasserted for the EHCI block to be usable. > > Add support for an optional reset controller that will be deasserted on > power off and asserted on

[linux-sunxi] Re: [PATCH 5/7] usb: ohci-platform: Enable optional use of reset controller

2014-05-07 Thread Sergei Shtylyov
Hello. On 07-05-2014 7:50, Maxime Ripard wrote: The OHCI controllers used in the Allwinner A31 are asserted in reset using a s/asserted/powered up/? global reset controller. Add optional support for such a controller in the OHCI platform driver. Signed-off-by: Maxime Ripard ---

[linux-sunxi] Re: [PATCH 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

2014-05-07 Thread Boris BREZILLON
On 29/04/2014 01:40, Maxime Ripard wrote: > On Mon, Apr 28, 2014 at 04:58:48PM +0200, Boris BREZILLON wrote: >> The PRCM (Power/Reset/Clock Management) unit provides several clock >> devices: >> - AR100 clk: used to clock the Power Management co-processor >> - AHB0 clk: used to clock the AHB0 bus

[linux-sunxi] [PATCH v2 0/7] mfd: add basic sun6i A31 PRCM support

2014-05-07 Thread Boris BREZILLON
Hello, This patch series adds support for some functions provided by the PRCM (Power/Reset/Clock Management) unit: - AR100, AHB0 and APB0 clocks - APB0 reset controller These functions are needed to get the P2WI driver working, but more subdevices might be added later. Best Regards, Boris Chan

[linux-sunxi] [PATCH v2 1/7] reset: sunxi: document sunxi's reset controllers bindings

2014-05-07 Thread Boris BREZILLON
Add DT bindings documentation for sunxi's reset controllers. Signed-off-by: Boris BREZILLON --- .../bindings/reset/allwinner,sunxi-clock-reset.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/allwinner,sunxi-clock-rese

[linux-sunxi] [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-07 Thread Boris BREZILLON
The PRCM (Power/Reset/Clock Management) block exposes several subdevices in different subsystems (clk, reset ...) Add basic support for the PRCM unit with clk (AR100, AHB0, and APB0 clks) and reset controller subdevices. Other subdevices might be added later (if needed). Signed-off-by: Boris BRE

[linux-sunxi] [PATCH v2 6/7] clk: sunxi: document PRCM clock compatible strings

2014-05-07 Thread Boris BREZILLON
Document new compatible strings for clock provided by the PRCM (Power/Reset/Clock Management) unit. Signed-off-by: Boris BREZILLON --- Documentation/devicetree/bindings/clock/sunxi.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Do

[linux-sunxi] [PATCH v2 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

2014-05-07 Thread Boris BREZILLON
The PRCM (Power/Reset/Clock Management) unit provides several clock devices: - AR100 clk: used to clock the Power Management co-processor - AHB0 clk: used to clock the AHB0 bus - APB0 clk and gates: used to clk peripherals connected to the APB0 bus Add support for these clks in a separate driver s

[linux-sunxi] [PATCH v2 2/7] reset: sunxi: allow MFD subdevices probe

2014-05-07 Thread Boris BREZILLON
The current implementation uses sunxi_reset_init function for both early init and platform device probe. The sunxi_reset_init function uses DT to retrieve device resources, which will be an issue if reset controllers are registered from an MFD device that define resources from mfd_cell definition.

[linux-sunxi] [PATCH v2 7/7] ARM: sunxi: dt: add PRCM clk and reset controller subdevices

2014-05-07 Thread Boris BREZILLON
Add DT definitions for PRCM (Power/Reset/Clock Management) clock and reset controller subdevices. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sun6i-a31.dtsi | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun6

[linux-sunxi] [PATCH v2 4/7] mfd: sun6i-prcm: document DT bindings

2014-05-07 Thread Boris BREZILLON
Document DT bindings of the PRCM (Power/Reset/Clock Management) unit. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/mfd/sun6i-prcm.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/sun6i-prcm.txt diff

Re: [linux-sunxi] uboot for Mele M3 A20

2014-05-07 Thread Rajesh Mallah
On Sun, Mar 23, 2014 at 4:21 PM, Rajesh Mallah wrote: > Oops I am so sorry saw this message today!. Yes i can contribute the > pictures. But > the bad news is that the RJ45 on the mele was flaky and i do not know if > it was > problem with that peice or in general. Hence i am considering some othe

[linux-sunxi] MELE EDID question

2014-05-07 Thread Rajesh Mallah
Dear List , the MELE-M3 bears a blue VGA connector . The fbdev or fbturbo does not seems to be getting any EDID data as there is not sign of it in the log files. please suggest how to investigate further ? multimeter the PCB ? regds mallah -- You received this message because you are subscribe

[linux-sunxi] Re: [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-05-07 Thread Ian Campbell
On Sat, 2014-02-15 at 13:36 +, Marc Zyngier wrote: > @@ -32,5 +33,11 @@ int arch_fixup_fdt(void *blob) > size[bank] = bd->bi_dram[bank].size; > } > > - return fdt_fixup_memory_banks(blob, start, size, CONFIG_NR_DRAM_BANKS); > + ret = fdt_fixup_memory_banks(blob, st

[linux-sunxi] Re: [PATCH v2 1/6] wdt: sunxi: Move restart code to the watchdog driver

2014-05-07 Thread Guenter Roeck
On Tue, May 06, 2014 at 09:44:19PM -0500, 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

[linux-sunxi] Re: [PATCH 3/7] phy: usb: sunxi: Introduce Allwinner A31 USB PHY support

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:05:30PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 07 May 2014 09:20 AM, Maxime Ripard wrote: > > The USB phy controller in the A31 differs mostly from the older controllers > > because it has a clock dedicated for each phy, while the older ones were >

[linux-sunxi] Re: [PATCH 5/7] usb: ohci-platform: Enable optional use of reset controller

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 08:26:39PM +0400, Sergei Shtylyov wrote: > Hello. > > On 07-05-2014 7:50, Maxime Ripard wrote: > > >The OHCI controllers used in the Allwinner A31 are asserted in reset using a > >s/asserted/powered up/? No. There's an external reset controller that maintains these d

[linux-sunxi] Re: [PATCH 4/7] usb: ehci-platform: add optional reset controller retrieval

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 10:25:55AM -0400, Alan Stern wrote: > On Tue, 6 May 2014, Maxime Ripard wrote: > > > From: Boris BREZILLON > > > > On the Allwinner's A31 SoC the reset line connected to the EHCI IP has to > > be deasserted for the EHCI block to be usable. > > > > Add support for an opti

Re: [linux-sunxi] MELE EDID question

2014-05-07 Thread Luc Verhaegen
On Wed, May 07, 2014 at 11:53:23PM +0530, Rajesh Mallah wrote: > Dear List , > > the MELE-M3 bears a blue VGA connector . The fbdev or fbturbo does not > seems to be getting any EDID data as there is not sign of it in the log > files. > > please suggest how to investigate further ? > multimeter t

Re: [linux-sunxi] State of MTD driver

2014-05-07 Thread Boris BREZILLON
Hi Dmitry, Stefan, On 06/05/2014 23:14, Dmitriy B. wrote: > 2014-05-06 21:08 GMT+04:00 Stefan Monnier >: > > I remember discussion of an MTD driver for sunxi a while back. > I can't find it in sunxi-devel, tho. Is it only available for > sunxi-3.4, o

[linux-sunxi] Re: State of MTD driver

2014-05-07 Thread Stefan Monnier
> A quick update on the driver status: Thanks Boris, Shouldn't such code be in sunxi-devel? Or where else is there a branch for "the most complete sunxi support in an uptodate kernel"? Stefan -- You received this message because you are subscribed to the Google Groups "linux-sunxi" g

Re: [linux-sunxi] MELE EDID question

2014-05-07 Thread Rajesh Mallah
Dear Luc , Its not there at this moment in our wiki. I am in a position to put it as i have plenty of them at my disposal. regds mallah. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from

[linux-sunxi] Re: [PATCH 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:12:30PM +0200, Boris BREZILLON wrote: > > On 29/04/2014 01:40, Maxime Ripard wrote: > > On Mon, Apr 28, 2014 at 04:58:48PM +0200, Boris BREZILLON wrote: > >> The PRCM (Power/Reset/Clock Management) unit provides several clock > >> devices: > >> - AR100 clk: used to clock

Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 10:19:19AM +0200, Carlo Caione wrote: > On Wed, May 7, 2014 at 5:25 AM, Maxime Ripard > wrote: > > On Tue, May 06, 2014 at 10:03:19AM +0200, Carlo Caione wrote: > >> On Tue, May 6, 2014 at 8:36 AM, Chen-Yu Tsai wrote: > >> > Hi, > >> > >> Hi, > >> > >> > On Tue, May 6, 201

[linux-sunxi] Re: [PATCH v2 1/7] reset: sunxi: document sunxi's reset controllers bindings

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:25:48PM +0200, Boris BREZILLON wrote: > Add DT bindings documentation for sunxi's reset controllers. > > Signed-off-by: Boris BREZILLON Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://fre

[linux-sunxi] Re: [PATCH v2 2/7] reset: sunxi: allow MFD subdevices probe

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:25:49PM +0200, Boris BREZILLON wrote: > The current implementation uses sunxi_reset_init function for both early > init and platform device probe. > > The sunxi_reset_init function uses DT to retrieve device resources, which > will be an issue if reset controllers are re

Re: [linux-sunxi] Re: [PATCH v5 8/8] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-05-07 Thread Maxime Ripard
On Tue, May 06, 2014 at 09:38:23AM +0200, Carlo Caione wrote: > On Tue, May 6, 2014 at 12:51 AM, Maxime Ripard > wrote: > > On Sat, May 03, 2014 at 02:21:06PM +0200, Carlo Caione wrote: > >> On Sat, May 3, 2014 at 3:09 AM, Maxime Ripard > >> wrote: > >> > Hi, > >> > > >> > On Thu, May 01, 2014 at

[linux-sunxi] Re: [PATCH v2 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:25:52PM +0200, Boris BREZILLON wrote: > The PRCM (Power/Reset/Clock Management) unit provides several clock > devices: > - AR100 clk: used to clock the Power Management co-processor > - AHB0 clk: used to clock the AHB0 bus > - APB0 clk and gates: used to clk peripherals c

[linux-sunxi] Re: [PATCH v2 7/7] ARM: sunxi: dt: add PRCM clk and reset controller subdevices

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:25:54PM +0200, Boris BREZILLON wrote: > Add DT definitions for PRCM (Power/Reset/Clock Management) clock and reset > controller subdevices. > > Signed-off-by: Boris BREZILLON > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 39 ++- > 1 fil

[linux-sunxi] Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 07:25:50PM +0200, Boris BREZILLON wrote: > The PRCM (Power/Reset/Clock Management) block exposes several subdevices > in different subsystems (clk, reset ...) > > Add basic support for the PRCM unit with clk (AR100, AHB0, and APB0 clks) > and reset controller subdevices. >

[linux-sunxi] Re: [PATCH v7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-05-07 Thread Maxime Ripard
On Fri, May 02, 2014 at 10:04:29PM +0530, Vinod Koul wrote: > On Wed, Apr 30, 2014 at 02:53:22PM -0700, Maxime Ripard wrote: > > Hi Vinod, > > > > On Wed, Apr 30, 2014 at 12:34:08PM +0530, Vinod Koul wrote: > > > On Thu, Apr 24, 2014 at 04:22:44PM +0200, Maxime Ripard wrote: > > > > +static inline

[linux-sunxi] Re: [PATCH v2 7/7] ARM: sunxi: dt: add PRCM clk and reset controller subdevices

2014-05-07 Thread Chen-Yu Tsai
On Thu, May 8, 2014 at 11:17 AM, Maxime Ripard wrote: > On Wed, May 07, 2014 at 07:25:54PM +0200, Boris BREZILLON wrote: >> Add DT definitions for PRCM (Power/Reset/Clock Management) clock and reset >> controller subdevices. >> >> Signed-off-by: Boris BREZILLON >> --- >> arch/arm/boot/dts/sun6i-

Re: [linux-sunxi] Re: State of MTD driver

2014-05-07 Thread Maxime Ripard
On Wed, May 07, 2014 at 08:40:45PM -0400, Stefan Monnier wrote: > > A quick update on the driver status: > > Thanks Boris, > > Shouldn't such code be in sunxi-devel? > Or where else is there a branch for "the most complete sunxi support in > an uptodate kernel"? sunxi-devel has never been create

Re: [linux-sunxi] sata multiplier with A20

2014-05-07 Thread hase nase
> > > > > > You could try building a kernel with the AHCI_HFLAG_NO_PMP flag removed > > > > from the sunxi-ahci driver, and see if the support the silicon claims > > > > maybe actually works. > > but I only found this about sata in the defconfig # CONFIG_SATA_PMP is not set # # Controllers

Re: [linux-sunxi] Re: [PATCH 0/2] ARM: sunxi: Enable syscon for the system controller

2014-05-07 Thread Carlo Caione
On Thu, May 8, 2014 at 5:04 AM, Maxime Ripard wrote: >> >> > I believe this will be used for toggling the SRAM mappings. (Am I >> >> > right?) >> >> >> >> Definitely right. >> >> >> >> > The second register toggles mappings for MUSB FIFO, EMAC, and a few of >> >> > the other IP blocks we curre

[linux-sunxi] Re: [PATCH v3 10/13] ARM: HYP/non-sec/PSCI: emit DT nodes

2014-05-07 Thread Marc Zyngier
Hi Ian, On 2014-05-07 20:24, Ian Campbell wrote: On Sat, 2014-02-15 at 13:36 +, Marc Zyngier wrote: @@ -32,5 +33,11 @@ int arch_fixup_fdt(void *blob) size[bank] = bd->bi_dram[bank].size; } - return fdt_fixup_memory_banks(blob, start, size, CONFIG_NR_DRAM_BANKS); +