Re: [Suggestion] Latest randconfig build errors for Head.S

2013-03-15 Thread Andrea Adami
On Fri, Mar 15, 2013 at 1:52 AM, Chen Gang gang.c...@asianux.com wrote: 于 2013年03月15日 07:43, Russell King - ARM Linux 写道: So our wonderful toolchain has decided to start producing NULL warnings for every mcr p15, 0, rX, c7, c10, 4 instruction? I'd just ignore them and hope that the

[RFC] ARM: sa1100: collie-battery.c: include platform_device.h directly

2013-02-16 Thread Andrea Adami
pointer type [enabled by default] linux/drivers/power/collie_battery.c:372:2: warning: (near initialization for 'collie_bat_driver.suspend') [enabled by default] Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- drivers/power/collie_battery.c| 1 + drivers/video/logo

Re: [RFC] ARM: sa1100: collie-battery.c: include platform_device.h directly

2013-02-17 Thread Andrea Adami
On Sun, Feb 17, 2013 at 12:00 AM, Anton Vorontsov an...@enomsg.org wrote: Hi Andrea, On Sat, Feb 16, 2013 at 07:16:00PM +0100, Andrea Adami wrote: Initial try to fix compilation error Things are a bit more complex... linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has

[PATCH 1/1] ARM: pxa: fix pxa25x gpio wakeup setting

2012-11-20 Thread Andrea Adami
* Since 3.3 gpio wakeup is broken on pxa25x (tested on corgi and poodle). * Use gpio_set_wake like done for pxa27x with commit id * b95ace54a23e2f8ebb032744cebb17c9f43bf651 Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-pxa/pxa25x.c |5 + 1 files changed, 5

[PATCH] ARM: pxa: pxa25x.c: add dummy SA1100 rtc clock

2012-11-22 Thread Andrea Adami
* fix failure seen on Zaurus corgi: * sa1100-rtc sa1100-rtc: failed to find rtc clock source * sa1100-rtc: probe of sa1100-rtc failed with error -2 Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-pxa/pxa25x.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock

2012-11-23 Thread Andrea Adami
* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100. * Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1 * to /dev/rtc according to your requirement. Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-pxa/pxa27x.c |1 + 1 files changed, 1

Re: [PATCH] mmc: pxamci: Refactor regulator support

2013-07-25 Thread Andrea Adami
On Mon, Jul 22, 2013 at 1:03 PM, Mark Brown broo...@kernel.org wrote: On Sun, Jul 21, 2013 at 01:07:48AM +0200, Andrea Adami wrote: The ADS7846 driver _requires_ the use of a voltage regulator or if not present, CONFIG_REGULATOR_DUMMY should be used for proper operation. This was made

Re: [PATCH] pxa: sharpsl_param: fix invalid memory access in sharpsl_save_param()

2013-08-22 Thread Andrea Adami
in the initial identity mapping -- Forwarded message -- From: Andrea Adami andrea.ad...@gmail.com Date: Sun, Jul 21, 2013 at 1:07 AM Subject: [PATCH] pxa: sharpsl_param: fix invalid memory access in sharpsl_save_param() To: linux-arm-ker...@lists.infradead.org Cc: Russell King li

Re: [PATCH] sa1100: collie: fall back to jedec_probe flash detection

2013-08-22 Thread Andrea Adami
is mounted READ ONLY (as from factory, with a RO cramfs). Further debugging of cfi detection and vpp is needed. Andrea On Sun, Jul 21, 2013 at 1:07 AM, Andrea Adami andrea.ad...@gmail.com wrote: Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and the LH28F640BFHE-PTTL90.pdf datasheet available

[PATCH v2] ARM: pxa: sharpsl_param.c: fix invalid memory access

2013-09-15 Thread Andrea Adami
(SA1100) is unaffected (function is called in init_machine). Signed-off-by: Marko Katic drom...@gmail.com Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/common/sharpsl_param.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/common

[PATCH v2] ARM: sa1100: collie.c: fall back to jedec_probe flash detection

2013-09-15 Thread Andrea Adami
Somehow this is unsatisfactory because the flash is mounted READ ONLY (as from factory, with a RO cramfs) Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-sa1100/collie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm

Re: problem booting linux with qemu-system-arm -M spitz

2013-09-18 Thread Andrea Adami
On Wed, Sep 18, 2013 at 12:27 PM, Waldemar Brodkorb w...@openadk.org wrote: Hi Kernel hackers, I am trying to run Linux on Qemu/arm emulator with machine type spitz. In the past this worked fine. Now with Linux version 3.9.11 it does not boot anymore. (blank screen, no kernel messages) I

Re: [PATCH 00/16] [RFC PATCH] Signed kexec support

2013-09-18 Thread Andrea Adami
Hello, as one of the developers of kexecboot, a kexec-based linux-as-bootloader, I'm following with interest this thread. FWIW since the beginning we are compiling kexec-tools statically against klibc for size constraints. We have 2.02 and 2.0.4 almost finished (some issue with purgatory in this

[PATCH v3] ARM: pxa: sharpsl_param.c: fix invalid memory access

2013-09-18 Thread Andrea Adami
(SA1100) is unaffected (function is called in init_machine). Signed-off-by: Marko Katic drom...@gmail.com Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/common/sharpsl_param.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/common

[PATCH v4] sharpsl_param.c: ARM: pxa: fix invalid memory access

2013-09-20 Thread Andrea Adami
(SA1100) is unaffected (function is called in init_machine). The code was making assumptions and for PXA the virtual address should have been used before. Signed-off-by: Marko Katic drom...@gmail.com Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/common/sharpsl_param.c | 5

[PATCH] sa1100: collie: fall back to jedec_probe flash detection

2013-07-20 Thread Andrea Adami
-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-sa1100/collie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 612a456..7fb96eb 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100

[PATCH] pxa: sharpsl_param: fix invalid memory access in sharpsl_save_param()

2013-07-20 Thread Andrea Adami
address that is no longer * accessible. Fix his by converting the physical address into a virtual one. Signed-off-by: Marko Katic drom...@gmail.com [andrea.ad...@gmail.com: checkpatch.pl dislikes void * param_start] Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/common/sharpsl_param.c

[PATCH] power supply: tosa_battery: get rid of irq_to_gpio usage

2013-07-20 Thread Andrea Adami
Since 9d08d5d77a355510c2f5657c86b0a4b25acfe72c, irq_to_gpio() is no longer available but still in use by collie_battery.c. As it's just for a debug message, just get rid of this call. Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- drivers/power/tosa_battery.c | 2 +- 1 file changed, 1

[PATCH] mtd: jedec_probe: fix LH28F640BF definition

2013-07-20 Thread Andrea Adami
-by: Andrea Adami andrea.ad...@gmail.com --- drivers/mtd/chips/jedec_probe.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c index c443f52..7c0b27d 100644 --- a/drivers/mtd/chips/jedec_probe.c +++ b

[PATCH] mmc: pxamci: Refactor regulator support

2013-07-20 Thread Andrea Adami
...@gmail.com: checkpatch.pl dislikes lines over 80 chars] Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- drivers/mmc/host/pxamci.c | 40 +++- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c index

[PATCH] mfd: mcp: add missing linux/device.h header

2013-07-20 Thread Andrea Adami
Fix linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- include/linux/mfd/mcp.h | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH] power supply: collie_battery: convert to use dev_pm_ops

2013-07-20 Thread Andrea Adami
/mfd?id=cf4abfcc0df2985ff6061f74e63b8353f2a1d0bc Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- drivers/power/collie_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c index c58d0e3..d02ae02 100644

[PATCH] mfd: ucb1x00: explicitely include linux/device.h

2013-07-20 Thread Andrea Adami
Fix linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- include/linux/mfd/ucb1x00.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/ucb1x00.h b/include/linux/mfd/ucb1x00.h index 28af417

[PATCH] mtd: cfi_cmdset_0001.c: add support for Sharp LH28F640BF NOR

2014-05-30 Thread Andrea Adami
From: Andrea Adami andrea.ad...@gmail.com This family of chips was long ago supported by the pre-cfi driver. CFI code tested on several Zaurus SL-5500 (Collie) 2x16 on 32 bit bus. Function is_LH28F640BF() mimics is_m29ew() from cmdset_0002.c Buffer write fixes as seen in 2007 patch c/o Anti

[PATCH] mtd: cfi_cmdset_0001.c: add support for Sharp LH28F640BF NOR

2014-05-30 Thread Andrea Adami
From: Andrea Adami andrea.ad...@gmail.com This family of chips was long ago supported by the pre-cfi driver. CFI code tested on several Zaurus SL-5500 (Collie) 2x16 on 32 bit bus. Function is_LH28F640BF() mimics is_m29ew() from cmdset_0002.c Buffer write fixes as seen in 2007 patch c/o Anti

[PATCH 0/2] ARM: sa1100: collie mtd fixes

2014-06-03 Thread Andrea Adami
in the Diagnostic Menu. Andrea Adami (2): arm: sa1100: collie: revert back to cfi_probe arm: sa1100: collie: add top boot mtd partition arch/arm/mach-sa1100/collie.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 1.9.1 -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH 1/2] arm: sa1100: collie: revert back to cfi_probe

2014-06-03 Thread Andrea Adami
delays on erase-suspend/resume cycles. Tested personally on 3 different units and with feedback of two other users. Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-sa1100/collie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-sa1100/collie.c b

[PATCH 2/2] arm: sa1100: collie: add top boot mtd partition

2014-06-03 Thread Andrea Adami
The CFI mapping is now perfect so we can expose the top block, read only. There isn't much to read, though, just the sharpsl_params values. Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- arch/arm/mach-sa1100/collie.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach

Re: [PATCH v2] spi/pxa2xx-pci: Add common clock framework support in PCI glue layer

2014-07-29 Thread Andrea Adami
On Fri, Jul 25, 2014 at 7:32 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Fri, Jul 25, 2014 at 01:10:54AM +0800, chiau.ee.c...@intel.com wrote: From: Chew, Chiau Ee chiau.ee.c...@intel.com SPI PXA2XX core layer has dependency on common clock framework to obtain information on

Re: [PATCH v2] spi/pxa2xx-pci: Add common clock framework support in PCI glue layer

2014-07-29 Thread Andrea Adami
On Tue, Jul 29, 2014 at 8:55 PM, Mark Brown broo...@kernel.org wrote: On Tue, Jul 29, 2014 at 06:13:06PM +0200, Andrea Adami wrote: note that a previous version of the patch breaks spi on pxa machines: tested on pxa250 poodle and pxa255 corgi. The patch is included in linux-Yocto since 3.14

[PATCH] mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips

2014-10-22 Thread Andrea Adami
with kernel 3.17. Signed-off-by: Dmitry Eremin-Solenikov dbarysh...@gmail.com Signed-off-by: Andrea Adami andrea.ad...@gmail.com --- drivers/mtd/chips/cfi_cmdset_0001.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/chips/cfi_cmdset_0001.c b/drivers/mtd/chips/cfi_cmdset_0001.c

Re: [PATCH] mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips

2014-10-29 Thread Andrea Adami
Brian, thanks for the review. On Tue, Oct 28, 2014 at 11:25 PM, Brian Norris computersforpe...@gmail.com wrote: On Thu, Oct 23, 2014 at 01:23:01AM +0200, Andrea Adami wrote: After '#echo mem /sys/power/state' some devices can not be properly resumed because apparently the MTD Partition

[PATCH 1/1] ASoC: pxa: Fix module autoload for platform drivers

2016-05-06 Thread Andrea Adami
These platform drivers are lacking MODULE_ALIAS so module autoloading doesn't work. Tested on corgi and poodle with kernel 4.4. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- sound/soc/pxa/brownstone.c | 1 + sound/soc/pxa/mioa701_wm9713.c | 1 + sound/soc/pxa/mmp-pcm.c

[PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-15 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/Kconfig | 8 ++ drivers/mtd/Makefile | 2 + drivers/mtd/sharpsl_ftl.c

[PATCH 0/3] mtd: sharpslpart partition parser

2017-04-15 Thread Andrea Adami
This patchset introduces a simple partition parser for the Sharp SL Series PXA handhelds. More details in the commit text. I have set in cc the ARM PXA maintainers because this is the MTD part of a planned wider patchset cleaning the Zaurus board files. Andrea Adami (3): mtd: sharpsl: add

[PATCH 2/3] mtd: nand: sharpsl.c: prefer sharpslpart MTD partition parser

2017-04-15 Thread Andrea Adami
This is the specific parser for Sharp SL Series (Zaurus). Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/sharpsl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..2

[PATCH 3/3] mtd: nand: tmio_nand.c: prefer sharpslpart MTD partition parser

2017-04-15 Thread Andrea Adami
This is the specific parser for Sharp SL Series (Zaurus) Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..f

[PATCH v2 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-22 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/Kconfig | 8 ++ drivers/mtd/Makefile | 2 + drivers/mtd/sharpsl_ftl.c

[PATCH v2 2/3] mtd: nand: sharpsl.c: prefer sharpslpart MTD partition parser

2017-04-22 Thread Andrea Adami
This is the specific parser for Sharp SL Series (Zaurus). Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/sharpsl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..2

[PATCH v2 3/3] mtd: nand: tmio_nand.c: prefer sharpslpart MTD partition parser

2017-04-22 Thread Andrea Adami
This is the specific parser for Sharp SL Series (Zaurus) Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..f

[PATCH v2 0/3] mtd: sharpslpart partition parser

2017-04-22 Thread Andrea Adami
sources [1] v2 refactor applying many suggested fixes [2] [1] https://github.com/LinuxPDA/Sharp_FTL_2.4.20 [2] https://github.com/LinuxPDA/linux/commits/sharpslpart_v2 Andrea Adami (3): mtd: sharpsl: add sharpslpart MTD partition parser mtd: nand: sharpsl.c: prefer sharpslpart MTD partition parser

Re: [PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-18 Thread Andrea Adami
On Sun, Apr 16, 2017 at 6:07 PM, Marek Vasut <marek.va...@gmail.com> wrote: > On 04/15/2017 10:11 PM, Andrea Adami wrote: >> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash >> and share the same layout of the first 7M partition, managed by Sharp F

Re: [PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-18 Thread Andrea Adami
PXA Sharp Zaurus SL series. For the records, these are the GPL 2.4 sources https://github.com/LinuxPDA/Sharp_FTL_2.4.20 > > On Sun, 16 Apr 2017 18:07:47 +0200 > Marek Vasut <marek.va...@gmail.com> wrote: > >> On 04/15/2017 10:11 PM, Andrea Adami wrote: >> > The Sha

Re: [PATCH 1/3] mtd: sharpsl: add sharpslpart MTD partition parser

2017-04-18 Thread Andrea Adami
On Tue, Apr 18, 2017 at 11:35 AM, Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > Hi Andrea, > > On Tue, 18 Apr 2017 10:58:02 +0200 > Andrea Adami <andrea.ad...@gmail.com> wrote: > >> Boris, >> thanks for having read it. >> >&g

[PATCH v5 4/9] mtd: nand: sharpsl: Register partitions using the parsers

2017-08-14 Thread Andrea Adami
now these parsers. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/sharpsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..9859546 100644 --- a/drivers/mtd/nand/sharpsl.c

[PATCH v5 1/9] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-14 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/parsers/Kconfig | 8 + drivers/mtd/parsers/Makefile | 1 + drivers/mtd/parsers/sharpslpart.c

[PATCH v5 6/9] ARM: pxa/corgi: Remove hardcoded partitioning, use sharpslpart parser

2017-08-14 Thread Andrea Adami
-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/corgi.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 7270f0d..9546452 100644 --- a/arch/arm/mach-pxa/corgi.c +++ b/ar

[PATCH v5 5/9] mtd: nand: tmio: Register partitions using the parsers

2017-08-14 Thread Andrea Adami
now these parsers. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..47f439f 100644 --- a/drivers/mt

[PATCH v5 2/9] mtd: nand: sharpsl: Add partition parsers platform data

2017-08-14 Thread Andrea Adami
, we need to extend sharpsl_nand_platform_data to consider the partition parsers. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 6

[PATCH v5 3/9] mfd: tmio: Add partition parsers platform data

2017-08-14 Thread Andrea Adami
, we need to extend tmio_nand_data to consider the partition parsers. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mfd/tmio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index 26e8f8c..357b6cfd

[PATCH v5 7/9] ARM: pxa/tosa: Remove hardcoded partitioning, use sharpslpart parser

2017-08-14 Thread Andrea Adami
-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/tosa.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 13de660..b90560b 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/ma

[PATCH v5 9/9] ARM: pxa/poodle: Remove hardcoded partitioning, use sharpslpart parser

2017-08-14 Thread Andrea Adami
-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/poodle.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 62a1191..fd01d6b 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/ar

[PATCH v5 8/9] ARM: pxa/spitz: Remove hardcoded partitioning, use sharpslpart parser

2017-08-14 Thread Andrea Adami
-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/spitz.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 67d66c7..defefa3 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/ar

[PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-14 Thread Andrea Adami
://support.ezaurus.com/developer/source/source_dl.asp Andrea Adami (9): mtd: sharpslpart: Add sharpslpart partition parser mtd: nand: sharpsl: Add partition parsers platform data mfd: tmio: Add partition parsers platform data mtd: nand: sharpsl: Register partitions using the parsers mtd: nand: tmio

Re: [PATCH v4 2/9] mtd: nand: sharpsl.h: support partition parser types

2017-08-14 Thread Andrea Adami
On Sun, Aug 13, 2017 at 9:40 AM, Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > Le Wed, 28 Jun 2017 22:30:29 +0200, > Andrea Adami <andrea.ad...@gmail.com> a écrit : > > Please add a commit message explaining why you're doing that. > Sure, I have added a

Re: [PATCH v4 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-08-14 Thread Andrea Adami
ros...). I'll comment briefly but substantially I agree with your observations. > On Wed, Jun 28, 2017 at 10:30:28PM +0200, Andrea Adami wrote: >> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash >> and share the same layout of the first 7M partition, managed by Sharp

Re: [PATCH v4 3/9] mfd: tmio.h: support partition parser types

2017-07-11 Thread Andrea Adami
On Mon, Jul 3, 2017 at 2:03 PM, Andrea Adami <andrea.ad...@gmail.com> wrote: > On Mon, Jul 3, 2017 at 1:26 PM, Lee Jones <lee.jo...@linaro.org> wrote: >> Please use the $SUBJECT line expected by the subsystem. >> >> `git log --oneline -- $SUBSYSTEM` can help with t

[PATCH v4 5/9] mtd: nand: tmio_nand.c: take in account partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..6a53582 100644 --- a/drivers/mtd/nand/tmio_nand.c +++ b/d

[PATCH v4 4/9] mtd: nand: sharpsl.c: take in account partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/sharpsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..87c6fc2 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drivers/mt

[PATCH v4 7/9] ARM: pxa: tosa.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/tosa.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 13de660..3074aae 100644 --- a/arch/arm/mach-pxa/

[PATCH v4 6/9] ARM: pxa: corgi.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/corgi.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 7270f0d..2412add 100644 --- a/arch/arm/ma

[PATCH v4 9/9] ARM: pxa: poodle.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/poodle.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 62a1191..4881a43 100644 --- a/arch/arm/ma

[PATCH v4 2/9] mtd: nand: sharpsl.h: support partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0..c0e0be2 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sha

[PATCH v4 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-06-28 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/Kconfig | 8 + drivers/mtd/Makefile | 1 + drivers/mtd/sharpslpart.c | 391 +++

[PATCH v4 0/9] mtd: sharpslpart partition parser

2017-06-28 Thread Andrea Adami
/commits/sharpslpart_v2 [3] https://github.com/LinuxPDA/linux/commits/sharpslpart_v3 [4] https://github.com/LinuxPDA/linux/commits/sharpslpart_v4 Andrea Adami (9): mtd: sharpslpart: add sharpslpart MTD partition parser mtd: nand: sharpsl.h: support partition parser types mfd: tmio.h: support

[PATCH v4 8/9] ARM: pxa: spitz.c: remove hardcoded partitioning, use sharpslpart parser

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/spitz.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 67d66c7..21a2e42 100644 --- a/arch/arm/ma

[PATCH v4 3/9] mfd: tmio.h: support partition parser types

2017-06-28 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mfd/tmio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index a1520d8..23bb069 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -139,6

Re: [PATCH v4 3/9] mfd: tmio.h: support partition parser types

2017-07-03 Thread Andrea Adami
ct and add a little text in these patches touching headers. I am awaiting for a new review of the big piece of the patch, the ftl/parser, then I'll send a fixed v5. >> Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> >> --- >> include/linux/mfd/tmio.h | 1 + >> 1 f

Re: [PATCH v3 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-06-20 Thread Andrea Adami
On Fri, Jun 9, 2017 at 3:42 AM, Brian Norris <computersforpe...@gmail.com> wrote: > Oh, one more thing: > > On Thu, Jun 01, 2017 at 12:40:50AM +0200, Andrea Adami wrote: >> diff --git a/drivers/mtd/sharpslpart.c b/drivers/mtd/sharpslpart.c >> new file mode 10064

Re: [PATCH v3 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-06-20 Thread Andrea Adami
rpe...@gmail.com> wrote: > Hi, > > On Thu, Jun 01, 2017 at 12:40:50AM +0200, Andrea Adami wrote: >> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash >> and share the same layout of the first 7M partition, managed by Sharp FTL. >> >> The purpose

Re: [PATCH v2 0/3] mtd: sharpslpart partition parser

2017-05-23 Thread Andrea Adami
On Sat, Apr 22, 2017 at 1:20 PM, Andrea Adami <andrea.ad...@gmail.com> wrote: > This patchset introduces a simple partition parser for the Sharp SL > Series PXA handhelds. More details in the commit text. > > I have set in cc the ARM PXA maintainers because this is the MTD p

Re: [PATCH v2 3/3] mtd: nand: tmio_nand.c: prefer sharpslpart MTD partition parser

2017-05-25 Thread Andrea Adami
On Thu, May 25, 2017 at 9:25 PM, Brian Norris <computersforpe...@gmail.com> wrote: > On Sat, Apr 22, 2017 at 01:20:13PM +0200, Andrea Adami wrote: >> This is the specific parser for Sharp SL Series (Zaurus) >> >> Signed-off-by: Andrea Adami <andrea.ad...@gmail.co

Re: [PATCH v2 3/3] mtd: nand: tmio_nand.c: prefer sharpslpart MTD partition parser

2017-05-25 Thread Andrea Adami
On Thu, May 25, 2017 at 11:10 PM, Brian Norris <computersforpe...@gmail.com> wrote: > On Thu, May 25, 2017 at 10:47:37PM +0200, Andrea Adami wrote: >> On Thu, May 25, 2017 at 9:25 PM, Brian Norris >> <computersforpe...@gmail.com> wrote: >> > On Sat, Apr 22, 20

Re: [PATCH v3 3/9] mfd: tmio.h: support partition parser types

2017-06-03 Thread Andrea Adami
On Thu, Jun 1, 2017 at 4:35 PM, Lee Jones <lee.jo...@linaro.org> wrote: > On Thu, 01 Jun 2017, Andrea Adami wrote: > >> Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> >> --- >> include/linux/mfd/tmio.h | 1 + >> 1 file changed, 1 insertion(+) >

[PATCH v3 6/9] arm: pxa: corgi.c: remove hardcoded partitioning, use sharpslpart parser

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/corgi.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c index 7270f0d..2412add 100644 --- a/arch/arm/ma

[PATCH v3 5/9] mtd: nand: tmio_nand.c: take in account partition parser types

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/tmio_nand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/tmio_nand.c b/drivers/mtd/nand/tmio_nand.c index fc5e773..bea05bb 100644 --- a/drivers/mtd/nand/tmio_nand.c +++ b/d

[PATCH v3 2/9] mtd: nand: sharpsl.h: support partition parser types

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0..c0e0be2 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sha

[PATCH v3 4/9] mtd: nand: sharpsl.c: take in account partition parser types

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/nand/sharpsl.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/sharpsl.c b/drivers/mtd/nand/sharpsl.c index 064ca17..1a76779 100644 --- a/drivers/mtd/nand/sharpsl.c +++ b/drive

[PATCH v3 1/9] mtd: sharpslpart: add sharpslpart MTD partition parser

2017-05-31 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/Kconfig | 8 ++ drivers/mtd/Makefile | 2 + drivers/mtd/sharpsl_ftl.c

[PATCH v3 8/9] arm: pxa: spitz.c: remove hardcoded partitioning, use sharpslpart parser

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/spitz.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index 67d66c7..21a2e42 100644 --- a/arch/arm/ma

[PATCH v3 0/9] mtd: sharpslpart partition parser

2017-05-31 Thread Andrea Adami
change). Changelog: v1 initial import of 2.4 sources [1] v2 refactor applying many suggested fixes [2] v3 put the partition parser types in the platform data [1] https://github.com/LinuxPDA/Sharp_FTL_2.4.20 [2] https://github.com/LinuxPDA/linux/commits/sharpslpart_v2 Andrea Adami (9): mtd

[PATCH v3 7/9] arm: pxa: tosa.c: remove hardcoded partitioning, use sharpslpart parser

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/tosa.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 13de660..3074aae 100644 --- a/arch/arm/mach-pxa/

[PATCH v3 3/9] mfd: tmio.h: support partition parser types

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- include/linux/mfd/tmio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h index a1520d8..23bb069 100644 --- a/include/linux/mfd/tmio.h +++ b/include/linux/mfd/tmio.h @@ -139,6

[PATCH v3 9/9] arm: pxa: poodle.c: remove hardcoded partitioning, use sharpslpart parser

2017-05-31 Thread Andrea Adami
Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/poodle.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 62a1191..4881a43 100644 --- a/arch/arm/ma

Re: [PATCH] PM: ARM: locomo: Drop suspend and resume bus type callbacks

2017-10-03 Thread Andrea Adami
On Tue, Oct 3, 2017 at 1:44 PM, Rafael J. Wysocki wrote: > On Tuesday, October 3, 2017 10:09:21 AM CEST Ulf Hansson wrote: >> On 26 September 2017 at 22:45, Rafael J. Wysocki wrote: >> > From: Rafael J. Wysocki >> > >> > None

Re: [PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-24 Thread Andrea Adami
On Thu, Aug 24, 2017 at 12:04 PM, Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > On Thu, 24 Aug 2017 11:19:56 +0200 > Andrea Adami <andrea.ad...@gmail.com> wrote: > >> >> +/** >> >> + * struct sharpsl_ftl - Sharp FTL Logical Table >>

[PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-22 Thread Andrea Adami
of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/parsers/Kconfig | 7 + drivers/mtd/parsers/Makefile | 1 + drivers/mtd/parsers/sharpslpart.c

Re: [PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-25 Thread Andrea Adami
On Fri, Aug 25, 2017 at 11:48 PM, Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > On Fri, 25 Aug 2017 19:50:25 +0200 > Andrea Adami <andrea.ad...@gmail.com> wrote: > >> On Fri, Aug 25, 2017 at 6:53 AM, Brian Norris >> <computersforpe...@gmail.c

[PATCH v7] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-28 Thread Andrea Adami
-off-by: Andrea Adami <andrea.ad...@gmail.com> --- drivers/mtd/parsers/Kconfig | 8 + drivers/mtd/parsers/Makefile | 1 + drivers/mtd/parsers/sharpslpart.c | 399 ++ 3 files changed, 408 insertions(+) create mode 100644 drivers/mtd/p

Re: [PATCH v7] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-28 Thread Andrea Adami
On Tue, Aug 29, 2017 at 12:45 AM, Boris Brezillon <boris.brezil...@free-electrons.com> wrote: > On Tue, 29 Aug 2017 00:20:32 +0200 > Andrea Adami <andrea.ad...@gmail.com> wrote: > >> The Sharp SL Series (Zaurus) PXA handhelds have 16/64/128M of NAND flash >> and s

[PATCH v8] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-28 Thread Andrea Adami
tables are now in the same eraseblock. For the purpose of the MTD parser only the read part of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> Reviewed-by: Boris Brezillon <boris.brezi

Re: [PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-24 Thread Andrea Adami
eling: some blocks are remapped and one layer of translation >> (logical to physical) is necessary. >> >> There isn't much documentation about this FTL in the 2.4 sources, just the >> MTD methods for reading and writing using logical addresses and the block >> managem

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-24 Thread Andrea Adami
On Wed, Aug 23, 2017 at 9:33 PM, Robert Jarzmik <robert.jarz...@free.fr> wrote: > Boris Brezillon <boris.brezil...@free-electrons.com> writes: > >> Le Mon, 14 Aug 2017 22:48:31 +0200, >>> Andrea Adami (9): >>> mtd: sharpslpart: Add sharpslpart part

Re: [PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-25 Thread Andrea Adami
On Fri, Aug 25, 2017 at 6:53 AM, Brian Norris <computersforpe...@gmail.com> wrote: > On Thu, Aug 24, 2017 at 01:27:10PM +0200, Boris Brezillon wrote: >> On Thu, 24 Aug 2017 12:30:02 +0200 >> Andrea Adami <andrea.ad...@gmail.com> wrote: >> >> > On Thu,

[PATCH v9] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-31 Thread Andrea Adami
tables are now in the same eraseblock. For the purpose of the MTD parser only the read part of the code was taken. The NAND drivers that can use this parser are sharpsl.c and tmio_nand.c. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> Reviewed-by: Boris Brezillon <boris.brezi

Re: [PATCH 3/4] ARM: pxa/spitz: Remove hardcoded partitioning, use sharpslpart parser

2017-11-24 Thread Andrea Adami
On Thu, Nov 23, 2017 at 12:06 AM, Pavel Machek <pa...@ucw.cz> wrote: > On Tue 2017-11-21 22:43:50, Andrea Adami wrote: >> With the introduction of sharpslpart partition parser we can now read the >> offsets from NAND: we specify the list of the parsers as platform data

Re: [PATCH][V2] mtd: sharpslpart: fix overflow on block_adr calculation

2017-11-10 Thread Andrea Adami
_info *mtd, > return -EINVAL; > > block_num = ftl->log2phy[log_num]; > - block_adr = block_num * mtd->erasesize; > + block_adr = (loff_t)block_num * mtd->erasesize; > block_ofs = mtd_mod_by_eb((u32)from, mtd); > > err = mtd_read(mtd, block_adr + block_ofs, len, , buf); > -- > 2.14.1 > Thanks for spotting this, Acked-by: Andrea Adami <andrea.ad...@gmail.com>

[PATCH 3/4] ARM: pxa/spitz: Remove hardcoded partitioning, use sharpslpart parser

2017-11-21 Thread Andrea Adami
qemu will need to pass the mtdparts in the cmdline. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/spitz.c | 34 +- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c

[PATCH 1/4] ARM: pxa/corgi: Remove hardcoded partitioning, use sharpslpart parser

2017-11-21 Thread Andrea Adami
qemu will need to pass the mtdparts in the cmdline. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/corgi.c | 31 --- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/arch/arm/mach-pxa/corgi.c b/arch/arm/mach-pxa/corgi.c

[PATCH 4/4] ARM: pxa/poodle: Remove hardcoded partitioning, use sharpslpart parser

2017-11-21 Thread Andrea Adami
qemu will need to pass the mtdparts in the cmdline. Signed-off-by: Andrea Adami <andrea.ad...@gmail.com> --- arch/arm/mach-pxa/poodle.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c

  1   2   3   >