[linux-sunxi] sun4i drm driver not working on q8 a13 tablet ?

2016-06-04 Thread Hans de Goede
Hi All, As part of testing that my "ARM: dts: sun5i: Move display blocks to sun5i.dtsi" patch did not break anything I've been trying to get the sun4i-drm kms driver to work on a q8 a13 tablet. I've build the drm / panel bits as modules after doing : [root@localhost ~]# insmod syscopyarea.ko

[linux-sunxi] Re: [PATCH sunxi-tools v3 3/4] nand-image-builder: Rework the help context

2016-06-04 Thread Bernhard Nortmann
Hi Boris! Am 03.06.2016 um 17:38 schrieb Boris Brezillon: Add explanations on where the options to pass to the tool should be extracted from, and add two examples to illustrate this explanation. Signed-off-by: Boris Brezillon --- Changes since v2: - limit

[linux-sunxi] spidev on BananaPi R1 not working.

2016-06-04 Thread 'Eckhardt Ulrich' via linux-sunxi
Hi, I managed to get the SPI devices /dev/spidev0.0 and /dev/spidev0.1 to be visible using the mainline kernel 4.4.11 on my BananaPi R1 (Allwinner A20) with the attached patch to spidev.c and the dts. But the SPI device is not working. When I send some data for example with *echo "test" >

[linux-sunxi] Re: [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Boris Brezillon
On Sat, 04 Jun 2016 02:14:09 -0500 Scott Wood wrote: > On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > > On Fri, 03 Jun 2016 20:08:49 -0500 > > Scott Wood wrote: > > > > > This doesn't work. CONFIG_SPL_NAND_U_BOOT_OFFS will always be defined

[linux-sunxi] [PATCH] mmc: sunxi: Add support to the Allwinner A83T

2016-06-04 Thread Jean-Francois Moine
The A83T has different clock delays. The values have been adapted from the Banana Pi M3 driver. Signed-off-by: Jean-Francois Moine --- Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 3 ++- drivers/mmc/host/sunxi-mmc.c| 12 +++- 2 files

[linux-sunxi] Re: [PATCH v2 3/7] spl: nand: support redundant u-boot image

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:15 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:15:16 -0500 > Scott Wood wrote: > > > How does the failure get communicated to later > > parts of the system that would be responsible for such reflashing? > > Linux is taking care of that (a

[linux-sunxi] Re: [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Scott Wood
On Sat, 2016-06-04 at 08:06 +0200, Boris Brezillon wrote: > On Fri, 03 Jun 2016 20:08:49 -0500 > Scott Wood wrote: > > > This doesn't work. CONFIG_SPL_NAND_U_BOOT_OFFS will always be defined > > when SPL is defined, and the user will be forced to enter a value before > >

[linux-sunxi] Re: [PATCH v2 3/7] spl: nand: support redundant u-boot image

2016-06-04 Thread Boris Brezillon
On Fri, 03 Jun 2016 20:15:16 -0500 Scott Wood wrote: > On Wed, 2016-06-01 at 13:23 +0200, Boris Brezillon wrote: > > On modern NAND it's more than recommended to have a backup copy of the > > u-boot binary to recover from corruption: bitflips are quite common on > > MLC NANDs,

[linux-sunxi] Re: [PATCH v2 2/7] spl: nand: rename the SYS_NAND_U_BOOT_OFFS Kconfig option

2016-06-04 Thread Boris Brezillon
On Fri, 03 Jun 2016 20:08:49 -0500 Scott Wood wrote: > On Wed, 2016-06-01 at 13:23 +0200, Boris Brezillon wrote: > > The SYS_NAND_U_BOOT_OFFS is quite generic, but the Kconfig entry is forced > > to explicitly depend on platforms that are not already defining it in their > >