Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC

2016-12-26 Thread André Przywara
Hi, On 23/12/16 12:50, Icenowy Zheng wrote: > Based on the Allwinner H5 datasheet and the pinctrl driver of the > backward-compatible H3 this introduces the pin multiplex assignments for > the H5 SoC. > > H5 introduced some more pin functions (e.g. three more groups of TS > pins, and one more

[linux-sunxi] sunxi-ng clocks: leaving certain clocks alone?

2016-12-11 Thread André Przywara
Hi, I was observing that the new sunxi-ng clock code apparently explicitly turns off _all_ clocks that are not used or needed. I find this rather unfortunate, as I wanted to use the THS temperature sensor from ARM Trusted Firmware to implement emergency shutdown or DVFS throttling. That works

[linux-sunxi] Re: [PATCH v6 4/4] arm64: dts: add Pine64 support

2016-11-02 Thread André Przywara
On 02/11/16 21:50, Maxime Ripard wrote: > From: Andre Przywara > > The Pine64 is a cost-efficient development board based on the > Allwinner A64 SoC. > There are three models: the basic version with Fast Ethernet and > 512 MB of DRAM (Pine64) and two Pine64+ versions,

[linux-sunxi] Re: [U-Boot, 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-30 Thread André Przywara
On 29/10/16 18:42, Marek Vasut wrote: > On 10/29/2016 02:50 PM, Hans de Goede wrote: >> Hi, >> >> On 21-10-16 03:24, Andre Przywara wrote: >>> OHCI has a known limitation of allowing only 32-bit DMA buffer >>> addresses, so we have a lot of u32 variables around, which are assigned >>> to pointers

[linux-sunxi] Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-30 Thread André Przywara
On 30/10/16 08:48, Jagan Teki wrote: > On Fri, Oct 28, 2016 at 11:21 PM, Jagan Teki <ja...@openedev.com> wrote: >> On Thu, Oct 27, 2016 at 2:20 AM, André Przywara <andre.przyw...@arm.com> >> wrote: >>> On 26/10/16 19:51, Jagan Teki wrote: >>> Hi, &g

Re: [linux-sunxi] AMBA Bus

2016-10-26 Thread André Przywara
On 26/10/16 08:39, Mark L. wrote: Hi Mark, > I have a doubt I would like to clear. > When you buy a Allwinner H3, one doesn't have to mess with the AMBA > specification, right? > We just use the H3 interface we got (clock, secure memory) and that is it? > > Isn't this specification for

[linux-sunxi] Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-26 Thread André Przywara
On 26/10/16 19:51, Jagan Teki wrote: Hi, > On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara > wrote: >> The sun8i-emac driver works fine with the A64 Ethernet IP, but we are >> missing an alias entry to trigger the driver instantiation by U-Boot. >> Add the line to point

Re: [linux-sunxi] Re: [PATCH v5 1/7] drm: sunxi: Add a basic DRM driver for Allwinner DE2

2016-10-25 Thread André Przywara
On 25/10/16 15:14, Jean-Francois Moine wrote: > On Mon, 24 Oct 2016 16:04:19 +0200 > Maxime Ripard wrote: > >> Hi, > > Hi Maxime, > >> On Fri, Oct 21, 2016 at 09:26:18AM +0200, Jean-Francois Moine wrote: >>> Allwinner's recent SoCs, as A64, A83T and H3,

[linux-sunxi] Re: [U-Boot] [PATCH 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-24 Thread André Przywara
On 24/10/16 09:20, Jagan Teki wrote: > On Sun, Oct 23, 2016 at 3:22 AM, André Przywara <andre.przyw...@arm.com> > wrote: >> On 22/10/16 18:10, Jagan Teki wrote: >> >> Hi, >> >>> On Fri, Oct 21, 2016 at 6:54 AM, Andre Przywara <andre.przyw...@arm.c

[linux-sunxi] Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-24 Thread André Przywara
On 21/10/16 11:28, Hans de Goede wrote: > Hi, > > On 21-10-16 12:06, Andre Przywara wrote: >> Hi, >> >> On 21/10/16 10:31, Jagan Teki wrote: >>> On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara >>> wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but

[linux-sunxi] Re: [PATCH v5 2/4] arm64: dts: add Allwinner A64 SoC .dtsi

2016-10-23 Thread André Przywara
On 20/10/16 19:00, Maxime Ripard wrote: Hi Maxime, > From: Andre Przywara > > The Allwinner A64 SoC is a low-cost chip with 4 ARM Cortex-A53 cores > and the typical tablet / TV box peripherals. > The SoC is based on the (32-bit) Allwinner H3 chip, sharing most of > the

[linux-sunxi] Re: [U-Boot] [PATCH 1/2] drivers: USB: OHCI: allow compilation for 64-bit targets

2016-10-22 Thread André Przywara
On 22/10/16 18:10, Jagan Teki wrote: Hi, > On Fri, Oct 21, 2016 at 6:54 AM, Andre Przywara > wrote: >> OHCI has a known limitation of allowing only 32-bit DMA buffer >> addresses, so we have a lot of u32 variables around, which are assigned >> to pointers and vice

[linux-sunxi] Re: [PATCH v4 4/9] clk: sunxi-ng: Add minimums for all the relevant structures and clocks

2016-10-21 Thread André Przywara
Salut, On 11/10/16 15:28, Maxime Ripard wrote: > Modify the current clocks we have to be able to specify the minimum for > each clocks we support, just like we support the max. > > Signed-off-by: Maxime Ripard > --- > drivers/clk/sunxi-ng/ccu_mult.c | 7

[linux-sunxi] Re: [PATCH v2 3/4] arm64: dts: add Allwinner A64 SoC .dtsi

2016-09-14 Thread André Przywara
On 09/09/16 21:10, Maxime Ripard wrote: Hi Maxime, > From: Andre Przywara > > The Allwinner A64 SoC is a low-cost chip with 4 ARM Cortex-A53 cores > and the typical tablet / TV box peripherals. > The SoC is based on the (32-bit) Allwinner H3 chip, sharing most of > the

[linux-sunxi] Re: Some discussion about A64 clocks regulators support

2016-09-05 Thread André Przywara
... > > On Mon, Sep 05, 2016 at 01:25:36AM +0100, André Przywara wrote: >> From thinking more about this I think we can have both approaches >> implemented: >> - An embedded design for people who either want full control or who >> don't care too much about the potential d

[linux-sunxi] Re: Some discussion about A64 clocks regulators support

2016-09-04 Thread André Przywara
On 26/08/16 22:18, maxime.ripard wrote: > On Thu, Aug 25, 2016 at 12:55:44AM +0100, André Przywara wrote: >> On 24/08/16 20:28, maxime.ripard wrote: >> >> Hi, >> >>> On Sun, Aug 14, 2016 at 06:16:16PM +0800, Icenowy Zheng wrote: >>>> Hi, >>

[linux-sunxi] Re: [RFC PATCH 4/5] arm64: dts: sunxi: add SCPI driven clocks and nodes for A64 MMC

2016-08-10 Thread André Przywara
On 10/08/16 16:01, Icenowy Zheng wrote: Hi, > 09.08.2016, 19:58, "Andre Przywara" : >> The MMC controllers in the Allwinner A64 SoC are somewhat compatible >> with the versions used in other Allwinner SoCs. >> Tell Linux about the three MMC clocks that the firmware

[linux-sunxi] Re: [RFC PATCH 0/5] Allwinner MMC firmware clocks implementation

2016-08-10 Thread André Przywara
On 10/08/16 16:10, Icenowy Zheng wrote: > > > 09.08.2016, 19:57, "Andre Przywara" : >> Hi, >> >> this is a proof-of-concept series to demonstrate the usage of firmware >> driven clocks using the SCPI protocol for Allwinner SoCs. >> This aims to replace the tricky and

[linux-sunxi] Re: [RFC PATCH] clk: sunxi: Let divs clocks read the base factor clock name from devicetree

2016-04-12 Thread André Przywara
On 19/03/16 15:36, Chen-Yu Tsai wrote: Hi Chen-Yu, > Hi, > > On Fri, Mar 18, 2016 at 5:44 PM, Andre Przywara > wrote: >> From: Jens Kuske >> >> Currently, the sunxi clock driver gets the name for the base factor clock >> of divs clocks from the

[linux-sunxi] arch.arm64/defconfig changes for sunxi

2016-03-11 Thread André Przywara
Hi Maxime, I see that you merged the sun50i-a64 defconfig patch into -next, which is a good thing since the drivers get some compile testing. Not sure if you wanted to send this patch also as part of a pull request for the next merge window: if you planned so, please don't ;-) Will always gets a

[linux-sunxi] Re: [PATCH] clk: sunxi: allow PLL6 clock to be reused

2016-02-25 Thread André Przywara
On 25/02/16 18:11, Maxime Ripard wrote: > On Mon, Feb 22, 2016 at 09:38:53AM +, Andre Przywara wrote: diff --git a/drivers/clk/sunxi/clk-factors.h b/drivers/clk/sunxi/clk-factors.h index 1e63c5b..3a7da86 100644 --- a/drivers/clk/sunxi/clk-factors.h +++

[linux-sunxi] Re: [PATCH 00/11] arm64: Introduce Allwinner A64 and Pine64 support

2016-02-02 Thread André Przywara
On 02/02/16 07:57, lists.nick.betteri...@gmail.com wrote: > Just a quick question - will there be any support for enabling booting into > virtualisation mode to run xen and the like? This is a firmware issue. The SoC itself provides everything you need and even Allwinner choosing ARM Trusted

Re: [linux-sunxi] [PATCH 10/11] arm64: dts: add Allwinner A64 SoC .dtsi

2016-02-01 Thread André Przywara
On 01/02/16 19:05, Karsten Merker wrote: > Hello, > > a few tiny spelling nitpicks in case you should do a V2: Definitely! ;-) > > On Mon, Feb 01, 2016 at 05:39:29PM +, Andre Przywara wrote: > >> The Allwinner A64 SoC is low-cost SoC with 4 ARM Cortex-A53 cores > > s/is low-cost SoC/is a

Re: [linux-sunxi] [PATCH 11/11] arm64: dts: add Pine64 support

2016-02-01 Thread André Przywara
On 01/02/16 19:22, Karsten Merker wrote: Hi, > On Mon, Feb 01, 2016 at 05:39:30PM +, Andre Przywara wrote: >> The Pine64 is a cost-efficient development board based on the >> Allwinner A64 SoC. >> There are three models: the basic version with Fast Ethernet and >> 512 MB of DRAM (Pine64) and

[linux-sunxi] Re: [PATCH 05/11] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-01 Thread André Przywara
On 01/02/16 18:27, Karsten Merker wrote: Hi Karsten, thank you very much for your feedback! > On Mon, Feb 01, 2016 at 05:39:24PM +, Andre Przywara wrote: >> Based on the Allwinner A64 user manual and on the previous sunxi >> pinctrl drivers this introduces the pin multiplex assignments for

Re: [linux-sunxi] Re: [PATCH 05/11] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-01 Thread André Przywara
On 01/02/16 18:45, Karsten Merker wrote: > Hello, > > I by mistake pressed "send" on my previous mail when I intended > to further edit it, so here comes a followup. > I definitely need more coffee ;-). Or less? ;-) vv Thinking of twitchy fingers... > On Mon, Feb 01, 2016 at

[linux-sunxi] Re: [RFC PATCH 2/5] crypto: sunxi-ss: fix min3() call to match types

2015-12-22 Thread André Przywara
Hi Arnd, On 12/22/15 22:06, Arnd Bergmann wrote: > On Tuesday 22 December 2015, Andre Przywara wrote: >> The min3() macro expects all arguments to be of the same type (or >> size at least). While two arguments are ints or u32s, one is size_t, >> which does not match on 64-bit architectures. >>

<    1   2   3