Re: [linux-sunxi] Chipone icn85xx TS polling driver

2016-05-04 Thread sergk . inbox
In addition: Actually - yes reading x,y differs between 8318 and 8528. Regards, Serge Kolotylo. On Wednesday, May 4, 2016 at 6:02:32 AM UTC, sergk...@gmail.com wrote: > Hi, > Sorry for brief answer - built in did not work for me. > As minimum in case of Chuwi Vi10 icn8528 you should

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I start performance tests for eMMC, SD/MMC, USB, SATA SSD devices and will post the result when ready. As a beginning I can say that eMMC is accessed via 4-bit bus without matter of the patch used. There you are the content of /sys/kernel/debug/mmcX/ios (where X is number of eMMC or

[linux-sunxi] Re: [PATCHv3] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Maxime Ripard
On Wed, May 04, 2016 at 03:17:33PM +0200, Olliver Schinagl wrote: > There are 3 kinds of OLinuXino Lime2 boards. > One without any on board storage, one with NAND storage and one with > eMMC storage. This patch adds the eMMC variant of boards. > > eMMC storage is different from a regular SD card i

[linux-sunxi] Re: [PATCH 2/2] ARM: sun7i: dt: Add pll3 and pll7 clocks

2016-05-04 Thread Maxime Ripard
Hi, On Tue, May 03, 2016 at 08:14:19PM +0300, Priit Laes wrote: > Enable pll3 and pll7 clocks that are needed by display clocks. Missing signed-off-by > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 41 > > 1 file changed, 41 insertions(+) > > diff --git a/

[linux-sunxi] Re: [PATCH 1/2] ARM: sun4i: dt: Add pll3 and pll7 clocks

2016-05-04 Thread Maxime Ripard
Hi, On Tue, May 03, 2016 at 08:14:18PM +0300, Priit Laes wrote: > Enable pll3 and pll7 clocks that are needed to drive display clocks. > > Signed-off-by: Priit Laes > --- > arch/arm/boot/dts/sun4i-a10.dtsi | 44 > > 1 file changed, 44 insertions(+) > >

[linux-sunxi] Re: [PATCH v2 1/1] add missing UARTs pins and I2C entriesfor AllWinner H3 DTSI

2016-05-04 Thread martinayotte
Bonjour Maxime, On Monday, May 2, 2016 at 2:46:57 AM UTC-4, Maxime Ripard wrote: > Hi, > > On Tue, Apr 19, 2016 at 03:50:39PM -0400, Martin Ayotte wrote: > > Hi everyone, > > > > This patch is submit to provide endusers access to additional UARTs on > > AllWinner H3 SoC along with I2C ports. >

[linux-sunxi] [PATCH v3 3/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals

2016-05-04 Thread Martin Ayotte
dts sun8i-h3: add i2c0/i2c1/i2c2 soc peripherals Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 79a3af6..c947360d 10064

[linux-sunxi] [PATCH v3 2/3] dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions

2016-05-04 Thread Martin Ayotte
dts: sun8i-h3: add i2c0/i2c1/i2c2 pins definitions Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 292ed59..79a3af6 100644 --- a/arc

[linux-sunxi] [PATCH v3 1/3] dts: sun8i-h3: add uart1/uart2/uart3 pins definitions

2016-05-04 Thread Martin Ayotte
dts: sun8i-h3: add uart1/uart2/uart3 pins definitions Signed-off-by: Martin Ayotte --- arch/arm/boot/dts/sun8i-h3.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 4a4926b..292ed59 100644 --- a/

Re: [linux-sunxi] Re: [PATCH v2 2/6] mfd: axp20x: Add register bits for axp20x-ac-power

2016-05-04 Thread Maxime Ripard
Hi, On Mon, May 02, 2016 at 09:35:01AM +0800, Chen-Yu Tsai wrote: > On Sun, May 1, 2016 at 10:24 PM, Michael Haas > wrote: > > On 05/01/2016 11:48 AM, Chen-Yu Tsai wrote: > >> Hi, > >> > >> On Sun, May 1, 2016 at 4:57 PM, Michael Haas > >> wrote: > >>> This change adds some register bit defini

[linux-sunxi] Re: [PATCH v4 00/11] drm: Add Allwinner A10 display engine support

2016-05-04 Thread Maxime Ripard
On Mon, Apr 25, 2016 at 03:22:41PM +0200, Maxime Ripard wrote: > Hi everyone, > > The Allwinner SoCs (except for the very latest ones) all share the > same set of controllers, loosely coupled together to form the display > pipeline. > > Depending on the SoC, the number of instances of the control

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Christo Radev
Hi to All, There you are the final patch I have used against kernel 4.5.2 to enable 'host' only mode on USB OTG on A20-Olinuxino-Lime2-eMMC: diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot /dts/sun7i-a20-olinuxino-lime2.dts index d5c796c..d09cebe 100644 --- a/arch/arm

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I have just tested your patch and the access to eMMC is working. There you are complete patch I have applied against kernel 4.5.2: index d5c796c..1f5339d 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -188,6 +188,15

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Christo Radev
Thanks David, I take a brief look on your .config file and do not see any important differences around USB OTG. In my opinion the problem most probably comes from device tree configuration or some recent changes in the driver (I use kernel 4.5.2). Could you send me yor dtb file used at boot ti

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread ddiss . dev
On Wednesday, May 4, 2016 at 4:24:32 PM UTC+2, Christo Radev wrote: > Hi to All, > > Following Michal Suchanek's post and applying Maxime Ripard's advice USB OTG > started working in host only mode. > > Unfortunately, it solves the problem in a half so any ideas are welcome. A different A20 boa

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Thanks Oliver, I find it and will be back with the test results. Best regards Chris On Wednesday, May 4, 2016 at 6:09:44 PM UTC+3, Olliver Schinagl wrote: > > Christo, > > On 04-05-16 16:31, Christo Radev wrote: > > Tanks Oliver, > > It could be the problem to get 8-bit access working. > > Unfor

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Christo, On 04-05-16 16:31, Christo Radev wrote: Tanks Oliver, It could be the problem to get 8-bit access working. Unfortunately, I do not see where to make this changes because original dts files

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Tanks Oliver, It could be the problem to get 8-bit access working. Unfortunately, I do not see where to make this changes because original dts files

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Christo Radev
Hi to All, Following Michal Suchanek's post and applying Maxime Ripard's advice USB OTG started working in host only mode. Unfortunately, it solves the problem in a half so any ideas are welcome. Best regards Chris On Wedn

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Christo, On 04-05-16 15:32, Christo Radev wrote: Hi Oliver, I do: that http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7359 The syntax error seen there was fixed and the result is: http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#ent

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Oliver, I do: that http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7359 The syntax error seen there was fixed and the result is: http://forum.armbian.com/index.php/topic/853-armbian-customization/page-2#entry7361 The same tests was done on legacy kernel 3.4.111

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Christo, On 04-05-16 15:07, Christo Radev wrote: Hi Olliver, I have already test it a few weeks ago and definitely can say that 8-bit bus did not work on A20-Olinuxino-Lime2-eMMC with mainline kernel. See may post here

[linux-sunxi] [PATCHv3] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant of boards. eMMC storage is different from a regular SD card in that it is soldered on the board and cannot be changed. Additionally, it s

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Hi Olliver, I have already test it a few weeks ago and definitely can say that 8-bit bus did not work on A20-Olinuxino-Lime2-eMMC with mainline kernel. See may post here . Best regards Chris On Wednesday, Ma

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Radoslav, On 04-05-16 14:30, Radoslav Kolev wrote: 2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of embedded SD card. On A20 as well? Our inve

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Christo Radev
Thanks again Michal, Proposed solution makes USB OTG to work in host only mode. "usb0-vbus: disabling" message is gone and usb0-vbus goes hi at boot. Unfortunately, it solves the problem on a half. Where could be the rest of the problem - USB OTG to work as device at dr_mode = "otg"? Thanks a l

[linux-sunxi] Re: [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Christo Radev
On Wednesday, August 5, 2015 at 12:26:18 AM UTC+3, Hans de Goede wrote: > > For some unclear reason sometimes we get VBus errors in host-only mode, > even though we do not have any vbus-detection then. Ignore these. > > Signed-off-by: Hans de Goede > > --- > drivers/usb/musb/sunxi.c | 4

[linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Radoslav Kolev
2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : > On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; >>> >>> Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of >>> embedded SD card. >> >> On A20 as well? Our investigations so far have concluded that

Re: [linux-sunxi] Does anyone have interest in porting allwinner cedarx decoder to vlc player?

2016-05-04 Thread Stefan Monnier
> I want to use your cedar plugin on android. I got a few problems. On of > them BLOCK_FLAG_END_OF_STREAM, there is no define in include/vlc_block.h. > Another problem is cedarfb. Can I use cedar with XCB? As mentioned at the bottom of http://linux-sunxi.org/CedarX/libve, this code is a dead-end

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Christo Radev
Thanks Michal, I will test proposed solution and will post the results. But in general I prefer to get full USB OTG functionality. For the moment: root@egpr:~# cat /boot/config-4.5.2-sunxi | grep CONFIG_USB_MUSB_HOST # CONFIG_USB_MUSB_HOST is not set and: usb@01c13000 {

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Christo Radev
Thanks CodeKipper, Yes, all the are ok: root@egpr:~# cat /boot/config-4.5.2-sunxi | grep CONFIG_USB_MUSB_HDRC CONFIG_USB_MUSB_HDRC=y root@egpr:~# cat /boot/config-4.5.2-sunxi | grep CONFIG_USB_MUSB_SUNXI CONFIG_USB_MUSB_SUNXI=y root@egpr:~# CONFIG_NOP_USB_XCEIV^C root@egpr:~# cat /boot/config-4.5.

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Code Kipper
On 4 May 2016 at 11:44, Christo Radev wrote: > Hi to All, > > > I am trying to use USB OTG on A20-Olinuxino-Lime2-eMMC with own build of > Armbian 5.11, U-Boot 2016.05--rec1, mainline kernel 4.5.2 and Debian Jessie > without success. I have tested: I don't think Wens changes for OTG is in 4.5.2.

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Michal Suchanek
On 14 September 2015 at 22:25, Maxime Ripard wrote: > On Thu, Sep 10, 2015 at 08:38:38PM +0200, Hans de Goede wrote: >> Hi, >> >> On 10-09-15 20:30, Maxime Ripard wrote: >> >On Thu, Sep 10, 2015 at 08:23:23PM +0200, Hans de Goede wrote: >> >>Hi, >> >> >> >>On 04-09-15 08:43, Olliver Schinagl wrote

Re: [linux-sunxi] Re: [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2016-05-04 Thread Christo Radev
Hi to All, Sorry, for posting on this old thread but I am new here and do not know how to address other people's attention to help me. I have just open a new thread about my problem to use USB OTG on A20-Olinuxino-Lime2-eMMC with mainline kernel 4.5.2

[linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Christo Radev
Hi to All, I am trying to use USB OTG on A20-Olinuxino-Lime2-eMMC with own build of Armbian 5.11, U-Boot 2016.05--rec1, mainline kernel 4.5.2 and Debian Jessie without success. I have tested: - both 'host' and 'otg' types for dr_mode in device tree; - connect USB OTG to other board's

Re: [linux-sunxi] Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Christo Radev
Exactly, the site is finally updated. On Wednesday, May 4, 2016 at 8:13:05 AM UTC+3, Priit Laes wrote: > > On Tue, 2016-05-03 at 17:52 +0200, Olliver Schinagl wrote: > > Hey all, > > > > On 03-05-16 17:02, christ...@gmail.com wrote: > > > On Tuesday, May 3, 2016 at 4:14:41 PM UTC+3, Maxime Ri

Re: [linux-sunxi] Re: [PATCH 2/2] ARM: dts: sunxi: Add pll3 and pll7 clock to sun[47]i.dtsi

2016-05-04 Thread Luc Verhaegen
On Wed, May 04, 2016 at 09:55:47AM +0200, Alexander Syring wrote: > > > > > -- I think i should've marked this one as spam instead. My mistake, sorry. Alexander: plain text emails, like sane people. Luc Verhaegen. -- You received this message because you are subscribed to the Google Group

[linux-sunxi] Re: [PATCH 2/2] ARM: dts: sunxi: Add pll3 and pll7 clock to sun[47]i.dtsi

2016-05-04 Thread Alexander Syring
Hi Priit,I found two typos in your sun7i-a20.dtsi patch.>‎ Enable pll3 and pll7 clocks that are needed by display clocks.>--- > arch/arm/boot/dts/sun7i-a20.dtsi | 41 > ‎> 1 file changed, 41 insertions(+) ‎>>diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi >b/ar

Re: [linux-sunxi] Does anyone have interest in porting allwinner cedarx decoder to vlc player?

2016-05-04 Thread Mehmet Kurnaz
Hello Wills, I want to use your cedar plugin on android. I got a few problems. On of them BLOCK_FLAG_END_OF_STREAM, there is no define in include/vlc_block.h. Another problem is cedarfb. Can I use cedar with XCB? Best regards Mehmet 27 Ekim 2012 Cumartesi 07:54:42 UTC+3 tarihinde Wills Wang ya