Re: [linux-sunxi] LVDS pinouts

2014-10-11 Thread Jhon Yi
Omg, you are really know to less of hardware. RXC+/- === Clkin+/- VSS=GND=ground VCC=VDD=3.3V power supply 2014-10-11 14:43 GMT+08:00 đeli hađiselimović kelama...@gmail.com: Yeah I got that, but I still dont know which one is the Clkin+/-, ground and VDD.. Dana subota, 11. listopada 2014.

Re: Re: [linux-sunxi] Allwinner documentation (hardware datasheet, user manual) for A10, A10s, A13, A20, A31, A31s

2014-10-11 Thread jacky lau
A big client will buy thousands of chips once. Are there any relation between big client and user manual publishing? No. So they don't think it's necessary to open their private property. When you are a big client, you are VIP, all document and source code is open to you. And if publish all

Re: Re: [linux-sunxi] Allwinner documentation (hardware datasheet, user manual) for A10, A10s, A13, A20, A31, A31s

2014-10-11 Thread jonsm...@gmail.com
On Sat, Oct 11, 2014 at 10:31 AM, jacky lau i900...@gmail.com wrote: A big client will buy thousands of chips once. Are there any relation between big client and user manual publishing? No. So they don't think it's necessary to open their private property. When you are a big client, you are

Re: Re: [linux-sunxi] Allwinner documentation (hardware datasheet, user manual) for A10, A10s, A13, A20, A31, A31s

2014-10-11 Thread Jhon Yi
Keeping so called 'secrets' is really insane. Allwinner overestimated the value of some little tricks in their chips, or is too lazy to help their small or potential customers. If they keep act this way, they will pay the price sometime later. Intel had ever do the same stupid thing, and now

Re: [linux-sunxi] Allwinner documentation (hardware datasheet, user manual) for A10, A10s, A13, A20, A31, A31s

2014-10-11 Thread Simon Kenyon
On 10/11/14 15:31, jacky lau wrote: A big client will buy thousands of chips once. Are there any relation between big client and user manual publishing? No. So they don't think it's necessary to open their private property. When you are a big client, you are VIP, all document and source code

[linux-sunxi] Re: [PATCH 1/3] ARM: sunxi: Move watchdog register definitions to separate file

2014-10-11 Thread Ian Campbell
On Sat, 2014-10-04 at 20:37 +0800, Chen-Yu Tsai wrote: On later Allwinner SoCs, the watchdog hardware is by all means a separate hardware block, with its own address range and interrupt line. Move the register definitions to a separate file to facilitate supporting newer SoCs.

[linux-sunxi] Re: [PATCH 2/3] ARM: sunxi: Add sun6i/sun8i timer block register definition

2014-10-11 Thread Ian Campbell
On Sat, 2014-10-04 at 20:37 +0800, Chen-Yu Tsai wrote: The RTC hardware has been moved out of the timer block on sun6i/sun8i. In addition, there are more watchdogs available. Also note that the timer block definition is not completely accurate for sun5i/sun7i. Various blocks are missing or

[linux-sunxi] Re: [PATCH v2 1/5] sunxi: Add mmc card-detect functionality

2014-10-11 Thread Ian Campbell
On Mon, 2014-10-06 at 19:57 +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com I presume that adding GPIO support to SPL isn't a problem size wise? --- board/sunxi/Kconfig| 26 ++ drivers/mmc/sunxi_mmc.c| 21

[linux-sunxi] Re: [PATCH v2 4/5] sunxi: Use PG3 - PG8 as io-pins for mmc1

2014-10-11 Thread Ian Campbell
On Mon, 2014-10-06 at 19:57 +0200, Hans de Goede wrote: None of the known sunxi devices actually use mmc1 routed through PH, where as some devices do actually use mmc1 routed through PG, so change the routing of mmc1 to PG. If in the future we encounter devices with mmc1 routed through PH, we

[linux-sunxi] Re: [PATCH v2 5/5] sunxi: Enable second sdcard slot found on some boards

2014-10-11 Thread Ian Campbell
On Mon, 2014-10-06 at 19:57 +0200, Hans de Goede wrote: Enable the second sdcard slot found on some boards. Note that we do not set CONFIG_MMC_SUNXI_SLOT_EXTRA for the SPL, as having it there is not useful, Except for on the Mele-M3 where the second sdcard is an eMMC, from which the device

[linux-sunxi] Re: [PATCH 4/9] mmc: sunxi: Add support for sun8i (A23)

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The Allwinner A23 SoC has reset controls like the A31 (sun6i). The FIFO address is also the same as sun6i. Re-use code added for sun6i. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Ian Campbell i...@hellion.org.uk ---

[linux-sunxi] Re: [PATCH 5/9] ARM: sunxi: Add basic A23 support

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. Do I take it that sun8i is also in the same position wrt DRAM bring up code not existing yet and there therefore being no

[linux-sunxi] Re: [PATCH 6/9] ARM: sunxi: Add support for R_PIO gpio banks

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: From: Hans de Goede hdego...@redhat.com The A31, A23 and later SoCs have an extra pin controller, called CPUs_PIO or R_PIO, which handles pin banks L and beyond. Does it also have enough space for 9 banks? Since you overlay a struct

[linux-sunxi] Re: [PATCH 7/9] ARM: sunxi: Allow specifying module in prcm apb0 init function

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. How come this isn't actually called on sun6i? (naughty of me not to notice this when it was

[linux-sunxi] Re: [U-Boot] [PATCH 7/9] ARM: sunxi: Allow specifying module in prcm apb0 init function

2014-10-11 Thread Ian Campbell
On Sat, 2014-10-11 at 17:11 +0100, Ian Campbell wrote: On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The prcm apb0 controls multiple modules. Allow specifying which modules to enable clocks and de-assert resets so the function can be reused. How come this isn't actually called

[linux-sunxi] Re: [PATCH 8/9] ARM: sunxi: Add support for using R_UART as console

2014-10-11 Thread Ian Campbell
On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The A23 only has UART0 muxed with MMC0. Some of the boards we encountered expose R_UART as a set of pads. Add support for R_UART so we can have a console while using mmc. I suppose R_UART is the h/w doc name. UARTR would fit the code

Re: [linux-sunxi] arch/arm/mach-sun7i ??

2014-10-11 Thread Maxime Ripard
On Fri, Oct 10, 2014 at 08:48:53AM -0700, bruce bushby wrote: So I'm guessing it's those sort of addresses that should now come from DTS variables? ...are their specific structures that pass DTS variables to a driver? For the generic resources (clocks, addresses, interrupts, dma channels,

Re: [linux-sunxi] Re: [PATCH] Add Full Duplex support to SPI (v2)

2014-10-11 Thread fkahhaleh
On Monday, February 17, 2014 2:27:29 PM UTC-6, darius...@gmail.com wrote: If you are interested I can send some working code for nrf24l01. I just mixed all information above with my previous problems with SPI and i have got a nrf24l01 connected to CB successfully communicating with RPi

Re: [linux-sunxi] Re: [PATCH] Add Full Duplex support to SPI (v2)

2014-10-11 Thread fkahhaleh
Hi Marco, I am interested in the code that makes spi work. trying to get my nrf24l01 to work and coming from Arduino world i thought it would be easier since you are working with full OS! I was wrong. thanks On Monday, February 17, 2014 3:40:53 PM UTC-6, Marco Montesissa wrote: HI Darius,

[linux-sunxi] [PATCH 1/2] fex:a20: Add fex file for MSI Primo73 tablet

2014-10-11 Thread Siarhei Siamashka
More details at http://linux-sunxi.org/MSI_Primo73 Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- sys_config/a20/msi_primo73.fex | 1032 1 file changed, 1032 insertions(+) create mode 100644 sys_config/a20/msi_primo73.fex diff --git

[linux-sunxi] [PATCH 2/2] fex:a31s: Add fex file for MSI Primo81 tablet

2014-10-11 Thread Siarhei Siamashka
More details at http://linux-sunxi.org/MSI_Primo81 Signed-off-by: Siarhei Siamashka siarhei.siamas...@gmail.com --- sys_config/a31s/msi_primo81.fex | 1046 +++ 1 file changed, 1046 insertions(+) create mode 100644 sys_config/a31s/msi_primo81.fex diff --git

[linux-sunxi] Re: [PATCH 3/3] ARM: sunxi: Fix reset command on sun6i/sun8i

2014-10-11 Thread Chen-Yu Tsai
On Sat, Oct 11, 2014 at 11:33 PM, Ian Campbell i...@hellion.org.uk wrote: On Sat, 2014-10-04 at 20:37 +0800, Chen-Yu Tsai wrote: +#else /* CONFIG_SUN6I || CONFIG_SUN8I || .. */ + static const struct sunxi_wdog *wdog = + ((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)-wdog; + +

[linux-sunxi] Re: [PATCH 5/9] ARM: sunxi: Add basic A23 support

2014-10-11 Thread Chen-Yu Tsai
On Sat, Oct 11, 2014 at 11:58 PM, Ian Campbell i...@hellion.org.uk wrote: On Tue, 2014-10-07 at 15:11 +0800, Chen-Yu Tsai wrote: The basic blocks of the A23 are similar to the A31 (sun6i). Re-use sun6i code for initial clock, gpio, and uart setup. Do I take it that sun8i is also in the same