Re: [linux-sunxi] Re: xen on sun7i successful

2015-09-23 Thread ghl . bhrt
On Wednesday, August 12, 2015 at 1:28:20 PM UTC+5:30, Ian Campbell wrote: > On Tue, 2015-08-11 at 03:39 -0700, ghl.b...@gmail.com wrote: > > On Tuesday, August 11, 2015 at 1:10:45 PM UTC+5:30, Ian Campbell > > wrote: > > > On Mon, 2015-08-10 at 12:27 +0200, Michal Suchanek wrote: > > > > >> I

Re: [linux-sunxi] Re: Voltage settings A20-SOM

2015-09-23 Thread tandresen1977
Hi Am Mittwoch, 23. September 2015 15:43:02 UTC+2 schrieb Siarhei Siamashka: > > On Wed, 23 Sep 2015 01:25:01 -0700 (PDT) > tandre...@gmail.com wrote: > > > Am Sonntag, 20. September 2015 11:14:29 UTC+2 schrieb > tandre...@gmail.com: > > > > > > Hi, > > > > > > does anyone know the

Re: [linux-sunxi] Re: Voltage settings A20-SOM

2015-09-23 Thread Siarhei Siamashka
On Wed, 23 Sep 2015 01:25:01 -0700 (PDT) tandresen1...@gmail.com wrote: > Am Sonntag, 20. September 2015 11:14:29 UTC+2 schrieb tandre...@gmail.com: > > > > Hi, > > > > does anyone know the "right" voltage settings for A20-SOM modules or can > > someone > > explain why the seetings in u-boot as

Re: [linux-sunxi] A20: move from kernel 3.4.10x to 4.2.x - will MALI work?

2015-09-23 Thread Siarhei Siamashka
On Wed, 23 Sep 2015 11:50:28 +0300 "Dmitriy B." wrote: > 2015-09-23 7:04 GMT+03:00 Siarhei Siamashka : > > > > > > 2. Somebody needs to adapt the Mali kernel driver to sunxi > >hardware. It is not too difficult and I can do this myself > >or

Re: [linux-sunxi] A20: move from kernel 3.4.10x to 4.2.x - will MALI work?

2015-09-23 Thread Trevor Woerner
Hi Siarhei, Thank you for taking the time to offer your advice and explanations! On 09/23/15 00:11, Siarhei Siamashka wrote: > On Tue, 22 Sep 2015 13:36:38 -0400 > Trevor Woerner wrote: > >> Hi Thomas, >> >> On 09/20/15 11:26, daga...@gmail.com wrote: >>> I'm considering

[linux-sunxi] [PATCH v4 1/5] soc: sunxi: Add Allwinner Reduced Serial Bus (RSB) controller bindings

2015-09-23 Thread Chen-Yu Tsai
Reduced Serial Bus is a proprietary 2-line push-pull serial bus supporting multiple slave devices. It was developed by Allwinner, Inc. and used by Allwinner and X-Powers, Inc. for their line of PMICs and other peripheral ICs. Recent Allwinner SoCs, starting with the A23, have an RSB controller.

[linux-sunxi] [PATCH v4 3/5] ARM: dts: sun8i: Add Reduced Serial Bus controller device node to A23/A33 dtsi

2015-09-23 Thread Chen-Yu Tsai
This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A23/A33 dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Chen-Yu Tsai --- Changes since v3: - Changed

[linux-sunxi] [PATCH v4 0/5] ARM: sunxi: Add Reduced Serial Bus support

2015-09-23 Thread Chen-Yu Tsai
Hi everyone, This is my fourth attempt at adding support for Allwinner's Reduced Serial Bus (RSB), which is used to communicate with PMICs and other peripherals on their newer SoCs, such as the A23/A33/A80. RSB is a simplified two wire interface using push-pull outputs, supporting multiple

Re: [linux-sunxi] Re: Voltage settings A20-SOM

2015-09-23 Thread tandresen1977
Just to make sure about which board i am talking: Olimex A20-SOM Am Mittwoch, 23. September 2015 16:50:26 UTC+2 schrieb tandre...@gmail.com: > > Hi > > Am Mittwoch, 23. September 2015 15:43:02 UTC+2 schrieb Siarhei Siamashka: >> >> On Wed, 23 Sep 2015 01:25:01 -0700 (PDT) >> tandre...@gmail.com

[linux-sunxi] [PATCH v4 4/5] ARM: dts: sun8i: ippo-q8h-v5: Enable Reduced Serial Bus controller

2015-09-23 Thread Chen-Yu Tsai
The Reduced Serial Bus controller is used to talk to the onboard PMIC. Signed-off-by: Chen-Yu Tsai --- Changes since v3: None --- arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts

[linux-sunxi] [PATCH v4 5/5] ARM: dts: sun8i: sinlinx-sina33: Enable Reduced Serial Bus controller

2015-09-23 Thread Chen-Yu Tsai
The Reduced Serial Bus controller is used to talk to the onboard PMIC. Signed-off-by: Chen-Yu Tsai --- Changes since v3: None --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 1 file changed, 4 insertions(+) diff --git

[linux-sunxi] [PATCH v4 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-09-23 Thread Chen-Yu Tsai
Reduced Serial Bus (RSB) is an Allwinner proprietery interface used to communicate with PMICs and other peripheral ICs. RSB is a two-wire push-pull serial bus that supports 1 master device and up to 15 active slave devices. Signed-off-by: Chen-Yu Tsai --- Changes since v3: -

[linux-sunxi][alsa-devel][PATCH 0/3]Add SPDIF support for Allwinner SoCs

2015-09-23 Thread codekipper
From: Marcus Cooper This patch set adds support for the Allwinner SPDIF transceiver as present on the A10, A20 and A31 SoC boards. For now just the SPDIF transmitter has been tested on a Mele A2000. In order for this patch set to be functional we require audio clock

[linux-sunxi][alsa-devel][PATCH 1/3] dt-bindings: add sunxi SPDIF transceiver bindings

2015-09-23 Thread codekipper
From: Marcus Cooper Add devicetree bindings for the SPDIF transceiver found on found on Allwinners A10, A20 and A31 SoCs. Signed-off-by: Marcus Cooper --- .../devicetree/bindings/sound/sunxi,spdif.txt | 49 ++ 1 file

Re: [linux-sunxi][alsa-devel][PATCH 0/3]Add SPDIF support for Allwinner SoCs

2015-09-23 Thread Code Kipper
Hi All, I'm getting a "fatal: 'send-email'" response with the last patch(even though the dry run of the patch series worked) and I've not been able to work around it. I'll post it as soon as I can work out what the issue is, BR, CK On 23 September 2015 at 20:04, wrote: >

[linux-sunxi][alsa-devel][PATCH 2/3] dt-binding: Add sunxi SPDIF machine driver

2015-09-23 Thread codekipper
From: Marcus Cooper Add device tree bindings for the SPDIF machine driver for Allwinner SoC devices. Signed-off-by: Marcus Cooper --- .../bindings/sound/sunxi-audio-spdif.txt | 36 ++ 1 file changed, 36 insertions(+)

[linux-sunxi] [PATCH v2 1/4] ARM: dts: sun4i: gemei-g9: Add accelerometer (bma250) IRQ

2015-09-23 Thread Priit Laes
Add IRQ configuration for bma250 accelerometer. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts

[linux-sunxi] [PATCH v2 4/4] ARM: dts: sun4i: gemei-g9: Enable sun4i audio codec support

2015-09-23 Thread Priit Laes
Gemei G9 has internal speakers and headphone jack. Audio switching from internal speakers to headphones is automatically handled by extra FT2012Q audio amplifier chip that works out of the box. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 9 -

[linux-sunxi] [PATCH v2 3/4] ARM: dts: sun4i: gemei-g9: Use reg_ldo2 instead of reg_vcc3v0

2015-09-23 Thread Priit Laes
ADC seems to be using ldo2 for reference voltage. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts

[linux-sunxi] [PATCH v2 0/4] ARM: dts: sun4i: gemei-g9: Devicetree improvements

2015-09-23 Thread Priit Laes
Improvements to devicetree setup: - Added IRQ configuration for bma250 accelerometer - Converted to use axp209 regulator nodes - Fix invalid regulator for LRADC keys - Enabled audio codec Changes since v1: - Dropped NAND patch because driver is not yet ready - Dropped applied

[linux-sunxi] [PATCH v2 2/4] ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes

2015-09-23 Thread Priit Laes
Add regulator nodes for axp209 by including the axp209 dtsi. Changes in v2: - Add the ohci0 node. Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 39 1 file changed, 35 insertions(+), 4 deletions(-) diff --git

Re: [linux-sunxi] [PATCH 2/6] ARM: dts: sun7i: Enable USB DRC on Bananapi

2015-09-23 Thread Hans de Goede
Hi, On 23-09-15 10:07, Jens Thiele wrote: Hans de Goede writes: Enable the otg/drc usb controller on the Bananapi. would something similar apply to the a20 olimex olinuxino micro/lime2 boards? a20 olimex olinuxino micro already has this in 4.3-rc1, see:

Re: [linux-sunxi] A20: move from kernel 3.4.10x to 4.2.x - will MALI work?

2015-09-23 Thread Dmitriy B.
2015-09-23 7:04 GMT+03:00 Siarhei Siamashka : > > > 2. Somebody needs to adapt the Mali kernel driver to sunxi >hardware. It is not too difficult and I can do this myself >or provide some assistance. But I don't feel very motivated >at the moment :-) > 4.

[linux-sunxi] Re: Voltage settings A20-SOM

2015-09-23 Thread tandresen1977
Hi, thanks for these information. But most if the things stated in these threads are about overclocking. I think running the A20-SOM at 912 MHz and a DRAM clock of 384 is definitly not overclocking. Regards Tobias Am Sonntag, 20. September 2015 11:14:29 UTC+2 schrieb tandre...@gmail.com: > >

[linux-sunxi] Re: [PATCH] mmc: sunxi: Fix clk-delay settings

2015-09-23 Thread Ulf Hansson
On 23 September 2015 at 22:06, Hans de Goede wrote: > In recent allwinner kernel sources the mmc clk-delay settings have been > slightly tweaked, and for sun9i they are completely different then what > we are using. > > This commit brings us in sync with what allwinner does,

[linux-sunxi] Re: [PATCH v4 2/5] soc: sunxi: Add driver for Allwinner Reduced Serial Bus

2015-09-23 Thread Mark Brown
On Thu, Sep 24, 2015 at 12:05:18AM +0800, Chen-Yu Tsai wrote: > +static int sunxi_rsb_device_probe(struct device *dev) > +{ > + const struct sunxi_rsb_driver *drv = to_sunxi_rsb_driver(dev->driver); > + struct sunxi_rsb_device *rdev = to_sunxi_rsb_device(dev); > + int ret; > + > +

[linux-sunxi][PATCH v3] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-09-23 Thread codekipper
From: Marcus Cooper The A20-SOM-EVB is a reference design of a 2-layer board for the A20-SOM. It expands the features of A20-SOM by adding VGA connector, HDMI connector, audio In/Out, LCD connector, 2 Mpix camera, gigabit Ethernet, SATA, USB-OTG and 2 USB hosts.

[linux-sunxi] [PATCH] mmc: sunxi: Fix clk-delay settings

2015-09-23 Thread Hans de Goede
In recent allwinner kernel sources the mmc clk-delay settings have been slightly tweaked, and for sun9i they are completely different then what we are using. This commit brings us in sync with what allwinner does, fixing problems accessing sdcards on some A33 devices (and likely others). For pre

Re: [linux-sunxi] A20: move from kernel 3.4.10x to 4.2.x - will MALI work?

2015-09-23 Thread Siarhei Siamashka
On Wed, 23 Sep 2015 11:53:46 -0400 Trevor Woerner wrote: > I'm working with the cubietruck and I'm performing my builds using > OpenEmbedded. > > The OpenEmbedded recipe > (https://github.com/linux-sunxi/meta-sunxi/blob/master/recipes-kernel/linux/linux-sunxi_3.4.bb) >

Re: [linux-sunxi] [PATCH] Add meminfo file info A23 INET-D70 tablet.

2015-09-23 Thread Hans de Goede
Hi, On 22-09-15 18:35, Justin Swartz wrote: Signed-off-by: Justin Swartz Thanks, pushed. Regards, Hans --- meminfo/a23/inet_d70.txt | 259 +++ 1 file changed, 259 insertions(+) create mode 100644

[linux-sunxi] [PATCH] net: sun4i-emac: Properly free resources on probe failure and remove

2015-09-23 Thread Hans de Goede
Fix sun4i-emac not releasing the following resources: -iomapped memory not released on probe-failure nor on remove -clock not getting disabled on probe-failure nor on remove -sram not being released on remove And while at it also add error checking to the clk_prepare_enable call done on probe.

Re: [linux-sunxi] [PATCH v2 2/4] ARM: dts: sun4i: gemei-g9: Convert to use axp209 regulator nodes

2015-09-23 Thread Julian Calaby
Hi Priit, On Wed, Sep 23, 2015 at 5:38 PM, Priit Laes wrote: > Add regulator nodes for axp209 by including the axp209 dtsi. > > Changes in v2: > - Add the ohci0 node. Firstly, changelog stuff like this should be below the --- under your SOB. Also, shouldn't enabling the ohci0