Hi Jean-Francois,
On Tue, Dec 08, 2015 at 07:42:26AM +0100, Jean-Francois Moine wrote:
> On Mon, 7 Dec 2015 08:31:02 -0600
> Rob Herring wrote:
>
> > On Sun, Dec 06, 2015 at 10:04:12AM +0100, Jean-Francois Moine wrote:
> > > The H3 has a clock gate definition similar to the
On Mon, 7 Dec 2015 08:31:02 -0600
Rob Herring wrote:
> On Sun, Dec 06, 2015 at 10:04:12AM +0100, Jean-Francois Moine wrote:
> > The H3 has a clock gate definition similar to the other Allwinner SoCs,
> > but with a different parent clock for each single gate.
> >
> > Adding the
On Mon, 2015-12-07 at 23:25 +0100, Boris Brezillon wrote:
> ecclayout->oobavail is just redundant with the mtd->oobavail field.
> Moreover, it prevents static const definition of ecc layouts since
> the
> NAND framework is calculating this value based on the ecclayout-
> >oobfree
> field.
>
>
Hi,
On Mon, Dec 07, 2015 at 12:49:42AM +0100, Danny Milosavljevic wrote:
> Hi Chen-Yu,
>
> indeed, it works now.
>
> In case someone else wants to use it, it works like this:
>
> in the dts file I put:
>
> / {
> tss463aa {
> compatible = "atmel,tss463aa";
>
Hi Danny,
On Sun, Dec 06, 2015 at 07:53:07PM +0100, Danny Milosavljevic wrote:
> Hi,
>
> this is the fourth version of the patch that adds inputs to sun4i-codec.
>
> The inputs added are:
> - FM-In Left and Right
> - Line-In Left and Right
> - Mic1-In
> - Mic2-In
>
> Changes compared to v3
On Sun, Dec 06, 2015 at 10:04:12AM +0100, Jean-Francois Moine wrote:
> The H3 has a clock gate definition similar to the other Allwinner SoCs,
> but with a different parent clock for each single gate.
>
> Adding the names of the parent clocks in both the source and output clocks
> permits the use
Hi,
On Sat, Dec 05, 2015 at 07:01:36PM +0100, Michal Suchanek wrote:
> Hello,
>
> On 30 May 2014 at 22:27, Emilio López wrote:
> > This patch adds support for 64 byte or bigger transfers on the
> > sun4i SPI controller. Said transfers will be performed via DMA.
> >
> >
On 7 December 2015 at 16:46, Maxime Ripard
wrote:
> Hi,
>
> On Sat, Dec 05, 2015 at 07:01:36PM +0100, Michal Suchanek wrote:
>> Hello,
>>
>> On 30 May 2014 at 22:27, Emilio López wrote:
>> > This patch adds support for 64 byte or bigger
https://github.com/0day-ci/linux/commits/Priit-Laes/input-Driver-for-Goodix-GT801-2-1-touchscreen/20151207-152831
> base: https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux.git
> sunxi/for-next
> :: branch date: 46 minutes ago
> :: commit date: 46 minutes a
On Fri, 4 Dec 2015 22:24:42 +0100
Jens Kuske wrote:
> The Allwinner H3 is a home entertainment system oriented SoC with
> four Cortex-A7 cores and a Mali-400MP2 GPU.
>
> Signed-off-by: Jens Kuske
> ---
> arch/arm/boot/dts/sun8i-h3.dtsi | 497
>
Hi,
On Thu, Dec 03, 2015 at 03:05:30PM +0800, Chen-Yu Tsai wrote:
> The APBS clock on sun9i is the same as the APB0 clock on sun8i. With
> sun9i we are supporting the PRCM clocks by using CLK_OF_DECLARE,
> instead of through a PRCM mfd device and subdevices for each clock
> and reset control. As
On Sat, Dec 05, 2015 at 09:16:42PM +0800, Chen-Yu Tsai wrote:
> The A10/A20 share the same set of DRAM clock gates, which controls
> direct memory access for some peripherals.
>
> On the A10, bit 15 controls the system's DRAM clock output (possibly
> to the DRAM chips), which we need to keep on.
gt; >
> > [auto build test WARNING on mripard/sunxi/for-next]
> > [also build test WARNING on next-20151203]
> > [cannot apply to input/next v4.4-rc4]
> >
> > url: https://github.com/0day-ci/linux/commits/Priit-Laes/input-D
> river-for-Goodix-GT801-2-1-touchsc
On Sat, Dec 05, 2015 at 09:16:44PM +0800, Chen-Yu Tsai wrote:
> The DRAM gates controls direct memory access for some peripherals.
> These peripherals include the display pipeline, so add the required
> gates to the simplefb nodes as well.
>
> Signed-off-by: Chen-Yu Tsai
Applied,
On Fri, Dec 04, 2015 at 10:24:41PM +0100, Jens Kuske wrote:
> The H3 uses the same pin controller as previous SoC's from Allwinner.
> Add support for the pins controlled by the main PIO controller.
>
> Signed-off-by: Jens Kuske
Acked-by: Maxime Ripard
On Sat, Dec 05, 2015 at 09:16:46PM +0800, Chen-Yu Tsai wrote:
> The DRAM gates controls direct memory access for some peripherals.
> These peripherals include the display pipeline, so add the required
> gates to the simplefb nodes as well.
>
> Signed-off-by: Chen-Yu Tsai
Applied,
Hi KH:
I think what Luc said is very true. The efficiency and power of open source
community in helping developing a new thing depends on how open the hardware
upstream is toward to the spec of the hardware. I am not currently working on
Ubuntu arm port, but I am woring on other Linux (e.g.,
Am 30.11.2015 um 12:31 schrieb Siarhei Siamashka:
What if 'count' is much larger than 'argc' here?
The revised file_upload() now takes care of it, and will error out in
that case.
Regards, B. Nortmann
--
You received this message because you are subscribed to the Google Groups
Am 30.11.2015 um 12:32 schrieb Siarhei Siamashka:
Thanks, this looks good. Just the description of this new command is
missing in the help message text (when the sunxi-fel tool is run
without any arguments).
--
You received this message because you are subscribed to the Google Groups
Am 30.11.2015 um 12:30 schrieb Siarhei Siamashka:
What if "name" is, for example, a directory instead of a file?
[...]
If the file does not exist, what is the "sunxi-fel" tool supposed to do?
Do we want to silently ignore this?
Agreed. That was too much on the "quick and dirty side". I've
Hi Siarhei!
Am 30.11.2015 um 12:44 schrieb Siarhei Siamashka:
Hello,
I think that patches 1-5 can be pushed to github, even though I'm not
completely happy about certain aspects of them. The patches 6-9 may
need some additional fixes.
Oh, by the way. The "sunxi-tools:" prefix in the commit
Am 30.11.2015 um 12:32 schrieb Siarhei Siamashka:
Don't we have a redundant code duplication here (copied from the
"multiwrite" command implementation)?
If I understand it correctly, only the progress callback function is
different in all these implementations.
Yup. That's what the new
On 07/12/15 09:12, Jean-Francois Moine wrote:
> On Fri, 4 Dec 2015 22:24:42 +0100
> Jens Kuske wrote:
>
>> The Allwinner H3 is a home entertainment system oriented SoC with
>> four Cortex-A7 cores and a Mali-400MP2 GPU.
>>
>> Signed-off-by: Jens Kuske
On 05/12/15 14:16, Chen-Yu Tsai wrote:
> The video engine has its own special module clock, consisting of a clock
> gate, configurable dividers, and a reset control.
>
Hi,
I've tested these patches on A20, everything works so far.
I only read some bits from a random bitstream, so nothing fancy
Signed-off-by: Boris Brezillon
---
include/linux/mtd/inftl.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/mtd/inftl.h b/include/linux/mtd/inftl.h
index 02cd5f9..8255118 100644
--- a/include/linux/mtd/inftl.h
+++ b/include/linux/mtd/inftl.h
ecclayout->oobavail is just redundant with the mtd->oobavail field.
Moreover, it prevents static const definition of ecc layouts since the
NAND framework is calculating this value based on the ecclayout->oobfree
field.
Signed-off-by: Boris Brezillon
---
Signed-off-by: Boris Brezillon
---
include/linux/mtd/nftl.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/mtd/nftl.h b/include/linux/mtd/nftl.h
index b059629..044daa0 100644
--- a/include/linux/mtd/nftl.h
+++ b/include/linux/mtd/nftl.h
@@
Hello,
This patchset aims at getting rid of the nand_ecclayout limitations.
struct nand_ecclayout is defining fixed eccpos and oobfree arrays which
can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and
MTD_MAX_OOBFREE_ENTRIES_LARGE macros.
This approach forces us to modify the
The s3c2410 is allowing board data to overload the default ECC layout
defined inside the driver, but this feature is not used by board
specific definitions.
Kill this field so that we can easily move to a model where ecclayout
are dynamically allocated by the NAND controller driver.
According to the ECC layout description the actual ecc.size is 512 bytes
and not mtd->writesize.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/lpc32xx_mlc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
nand_bch_init() requires several arguments which could directly be deduced
from the mtd device. Get rid of those useless parameters.
nand_bch_init() is also requiring the caller to provide a proper eccbytes
value, while this value could be deduced from the ecc.size and
ecc.strength value.
The spinand_info struct embeds a pointer to an ecclayout definition, but
this field is never used in the mt29f driver.
Signed-off-by: Boris Brezillon
---
drivers/staging/mt29f_spinand/mt29f_spinand.h | 1 -
1 file changed, 1 deletion(-)
diff --git
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/nand_base.c | 8
drivers/mtd/nand/nand_bch.c | 9 -
include/linux/mtd/nand.h | 1 -
3 files changed, 18 deletions(-)
diff --git a/drivers/mtd/nand/nand_base.c
Signed-off-by: Boris Brezillon
---
drivers/mtd/devices/docg3.c | 34 +-
1 file changed, 29 insertions(+), 5 deletions(-)
diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c
index 6b516e1..7463dd8 100644
---
Use the mtd_set_ecclayout() helper instead of directly assigning the
mtd->ecclayout field.
Signed-off-by: Boris Brezillon
---
drivers/mtd/devices/docg3.c| 2 +-
drivers/mtd/mtdconcat.c| 2 +-
drivers/mtd/mtdpart.c | 2 +-
Add an mtd_set_ecclayout() helper function to avoid direct accesses to the
mtd->ecclayout field. This will ease future refactor of ECC layout
definition.
Signed-off-by: Boris Brezillon
---
include/linux/mtd/mtd.h | 6 ++
1 file changed, 6 insertions(+)
The mtd_eccpos(), mtd_oobfree() and mtd_eccbytes() helper functions have
been added to avoid direct accesses to the ecclayout, and thus allow for
future rework.
Use these helpers in all places where the oobfree[] and eccpos[] arrays
are referenced.
Signed-off-by: Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page
devices with the equivalent mtd_ooblayout_ops.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/nand_base.c | 138 +++
include/linux/mtd/nand.h
Signed-off-by: Boris Brezillon
---
drivers/staging/mt29f_spinand/mt29f_spinand.c | 44 ---
1 file changed, 26 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/mt29f_spinand/mt29f_spinand.c
Implementing the mtd_ooblayout_ops interface is the new way of exposing
ECC/OOB layout to MTD users. Modify the onenand drivers to switch to this
approach.
Signed-off-by: Boris Brezillon
---
drivers/mtd/onenand/onenand_base.c | 144
Implementing the mtd_ooblayout_ops interface is the new way of exposing
ECC/OOB layout to MTD users. Modify all NAND drivers to switch to this
approach.
Signed-off-by: Boris Brezillon
---
This commit is a collection of commits that have been squashed to into
In order to make the ecclayout definition completely dynamic we need to
rework the way these different ECC layouts are defined and iterated.
Create the mtd_eccpos(), mtd_oobfree() and mtd_eccbytes() helpers to hide
ecclayout definition internals to their users.
Signed-off-by: Boris Brezillon
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/nand_bch.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git a/drivers/mtd/nand/nand_bch.c b/drivers/mtd/nand/nand_bch.c
index 9cff544..2937b49 100644
---
Now that all mtd drivers have moved to the mtd_ooblayout_ops model we can
safely remove the struct nand_ecclayout definition, and all the remaining
places where it was still used.
Signed-off-by: Boris Brezillon
---
drivers/mtd/mtdchar.c | 12 ++--
ECC layout definitions are currently exposed using the nand_ecclayout
struct which embeds oobfree and eccpos arrays with predefined size.
This approach was acceptable when the NAND were providing relatively small
OOB regions, but MLC and TLC now provide OOB regions of several hundreds
of bytes,
Hi Boris,
[auto build test ERROR on next-20151207]
[cannot apply to staging/staging-testing v4.4-rc4 v4.4-rc3 v4.4-rc2 v4.4-rc4]
url:
https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-rework-ECC-layout-definition/20151208-063127
config: i386-randconfig-x006-12070758 (attached
Hi Boris,
[auto build test ERROR on next-20151207]
[cannot apply to staging/staging-testing v4.4-rc4 v4.4-rc3 v4.4-rc2 v4.4-rc4]
url:
https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-rework-ECC-layout-definition/20151208-063127
config: powerpc-allyesconfig (attached as .config
Hi Boris,
[auto build test WARNING on next-20151207]
[cannot apply to staging/staging-testing v4.4-rc4 v4.4-rc3 v4.4-rc2 v4.4-rc4]
url:
https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-rework-ECC-layout-definition/20151208-063127
reproduce: make htmldocs
All warnings (new ones
Hi Boris,
On Tue, Dec 8, 2015 at 9:26 AM, Boris Brezillon
wrote:
> Signed-off-by: Boris Brezillon
> ---
> drivers/staging/mt29f_spinand/mt29f_spinand.c | 44
> ---
> 1 file changed, 26
Hi,
this is the fifth version of the patch that adds inputs to sun4i-codec.
(Previous versions have been on the linux-sunxi mailing list only,
but this one went to the maintainers as well,
Message-Id: 20151208042013.11d31f09 () dayas)
The inputs added are:
- FM-In Left and Right
- Line-In
Hi Danny,
You commit message needs some work.
Firstly the title should be a little more descriptive, maybe something like
sun4i-codec: Add FM, Line and Mic inputs
On Tue, Dec 8, 2015 at 2:48 PM, Danny Milosavljevic
wrote:
> Hi,
>
> this is the fifth version of the
On 08.12.2015 07:25, Boris Brezillon wrote:
> The s3c2410 is allowing board data to overload the default ECC layout
> defined inside the driver, but this feature is not used by board
> specific definitions.
> Kill this field so that we can easily move to a model where ecclayout
> are dynamically
52 matches
Mail list logo