Re: [PATCH v3 08/10] arm: omap4panda: Add support for omap4iss camera

2012-05-23 Thread Sergio Aguirre
Hi Tony, On Tue, May 8, 2012 at 6:46 PM, Tony Lindgren t...@atomide.com wrote: * Sergio Aguirre saagui...@ti.com [120502 08:21]: This adds support for camera interface with the support for following sensors: - OV5640 - OV5650 It seems that at this point we should initialize new things

Re: [PATCH v3 07/10] arm: omap4430sdp: Add support for omap4iss camera

2012-05-18 Thread Sergio Aguirre
. On Wed, May 2, 2012 at 2:47 PM, Sakari Ailus sakari.ai...@iki.fi wrote: Hi Sergio, Thanks for the patches!! On Wed, May 02, 2012 at 10:15:46AM -0500, Sergio Aguirre wrote: ... +static int sdp4430_ov_cam1_power(struct v4l2_subdev *subdev, int on) +{ +     struct device *dev = subdev

[PATCH v3 01/10] mfd: twl6040: Fix wrong TWL6040_GPO3 bitfield value

2012-05-02 Thread Sergio Aguirre
The define should be the result of 1 Bit number. Bit number for GPOCTL.GPO3 field is 2, which results in 0x4 value. Signed-off-by: Sergio Aguirre saagui...@ti.com --- include/linux/mfd/twl6040.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/mfd/twl6040

[PATCH v3 02/10] OMAP4: hwmod: Include CSI2A/B and CSIPHY1/2 memory sections

2012-05-02 Thread Sergio Aguirre
In memory, They are in this particular order: - CSI2A - CSIPHY1 - CSI2B - CSIPHY2 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v3 03/10] OMAP4: Add base addresses for ISS

2012-05-02 Thread Sergio Aguirre
NOTE: This isn't the whole list of features that the ISS supports, but the only ones supported at the moment. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/devices.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git

[PATCH v3 06/10] v4l: Add support for ov5650 sensor

2012-05-02 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/media/video/Kconfig |6 + drivers/media/video/Makefile |1 + drivers/media/video/ov5650.c | 733 ++ include/media/ov5650.h | 10 + 4 files changed, 750 insertions(+), 0 deletions

[PATCH v3 07/10] arm: omap4430sdp: Add support for omap4iss camera

2012-05-02 Thread Sergio Aguirre
This adds support for camera interface with the support for following sensors: - OV5640 - OV5650 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/Kconfig| 16 + arch/arm/mach-omap2/Makefile |2 + arch/arm/mach-omap2/board-4430sdp

[PATCH v3 08/10] arm: omap4panda: Add support for omap4iss camera

2012-05-02 Thread Sergio Aguirre
This adds support for camera interface with the support for following sensors: - OV5640 - OV5650 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/Kconfig | 16 ++ arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board

[PATCH v3 09/10] omap2plus: Add support for omap4iss camera

2012-05-02 Thread Sergio Aguirre
Also add support for following sensors: - OV5640 - OV5650 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig

[PATCH v3 10/10] arm: Add support for CMA for omap4iss driver

2012-05-02 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/devices.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 2b8cf73..5259691 100644 --- a/arch/arm/mach-omap2/devices.c +++ b

[PATCH v3 05/10] v4l: Add support for ov5640 sensor

2012-05-02 Thread Sergio Aguirre
This adds a very limited driver for ov5640, which only supports: - 2592x1944 @ ~7.5 fps - 1920x1080 @ ~15 fps, - 1280x720 @ ~24 fps, - 640x480 @ ~24 fps, - 320x240 @ ~24 fps, All in YUV422i format, using 1 CSI2 datalane @ 333 MHz. Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers

[PATCH v3 00/10] v4l2: OMAP4 ISS driver + Sensor + Board support

2012-05-02 Thread Sergio Aguirre
of board file. Changes since v1: - Simplification of auxclk handlign in board files - Use of HWMOD declaration for assisted platform_device creation. - Videobuf2 migration (Removal of custom iss_queue buffer handling driver) Regards, Sergio Sergio Aguirre (10): mfd: twl6040: Fix wrong

[PATCH v2 00/11] v4l2: OMAP4 ISS driver + Sensor + Board support

2011-11-30 Thread Sergio Aguirre
Balbi) - Videobuf2 migration (Removal of custom iss_queue buffer handling driver) - Proper GPO3 handling for CAM_SEL in 4430sdp. Sergio Aguirre (10): TWL6030: Add mapping for auxiliary regs mfd: twl6040: Fix wrong TWL6040_GPO3 bitfield value OMAP4: hwmod: Include CSI2A and CSIPHY1 memory

[PATCH v2 01/11] TWL6030: Add mapping for auxiliary regs

2011-11-30 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/mfd/twl-core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index bfbd660..e26b564 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -323,7

[PATCH v2 10/11] arm: omap4panda: Add support for omap4iss camera

2011-11-30 Thread Sergio Aguirre
This adds support for camera interface with the support for following sensors: - OV5640 - OV5650 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/Kconfig | 27 arch/arm/mach-omap2/Makefile |1 + arch/arm/mach-omap2/board

[PATCH v2 08/11] v4l: Add support for ov5650 sensor

2011-11-30 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/media/video/Kconfig |6 + drivers/media/video/Makefile|1 + drivers/media/video/ov5650.c| 524 +++ include/media/ov5650.h | 10 + include/media/v4l2-chip-ident.h |1

[PATCH v2 11/11] arm: Add support for CMA for omap4iss driver

2011-11-30 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/devices.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index b48aeea..e411c4e 100644 --- a/arch/arm/mach-omap2/devices.c +++ b

[PATCH v2 09/11] arm: omap4430sdp: Add support for omap4iss camera

2011-11-30 Thread Sergio Aguirre
This adds support for camera interface with the support for following sensors: - OV5640 - OV5650 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/Kconfig| 27 arch/arm/mach-omap2/Makefile |2 + arch/arm/mach-omap2/board-4430sdp

[PATCH v2 03/11] v4l: Introduce sensor operation for getting interface configuration

2011-11-30 Thread Sergio Aguirre
From: Stanimir Varbanov svarba...@mm-sol.com Introduce g_interface_parms sensor operation for getting sensor interface parameters. These parameters are needed from the host side to determine it's own configuration. Signed-off-by: Stanimir Varbanov svarba...@mm-sol.com ---

[PATCH v2 02/11] mfd: twl6040: Fix wrong TWL6040_GPO3 bitfield value

2011-11-30 Thread Sergio Aguirre
The define should be the result of 1 Bit number. Bit number for GPOCTL.GPO3 field is 2, which results in 0x4 value. Signed-off-by: Sergio Aguirre saagui...@ti.com --- include/linux/mfd/twl6040.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/mfd/twl6040

[PATCH v2 05/11] OMAP4: Add base addresses for ISS

2011-11-30 Thread Sergio Aguirre
NOTE: This isn't the whole list of features that the ISS supports, but the only ones supported at the moment. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/devices.c | 32 arch/arm/plat-omap/include/plat/omap44xx.h |9

[PATCH v2 07/11] v4l: Add support for ov5640 sensor

2011-11-30 Thread Sergio Aguirre
This adds a very limited driver for ov5640, which only supports: - 2592x1944 @ ~7.5 fps - 1920x1080 @ ~15 fps, - 1280x720 @ ~24 fps, - 640x480 @ ~24 fps, - 320x240 @ ~24 fps, All in YUV422i format, using 1 CSI2 datalane @ 333 MHz. Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers

[PATCH v2 04/11] OMAP4: hwmod: Include CSI2A and CSIPHY1 memory sections

2011-11-30 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index 7695e5d..1b59e2f

[RFC][PATCH] omap3: Unify omap2_set_globals_3[43,6x]x functions

2010-06-29 Thread Sergio Aguirre
-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c|2 +- arch/arm/mach-omap2/board-3630sdp.c|2 +- arch/arm/mach-omap2/board-am3517evm.c |2 +- arch/arm/mach-omap2/board-cm-t35.c |2 +- arch/arm/mach-omap2/board-devkit8000.c

[RFC][PATCH] board-omap3beagle: Remove duplicate DVI reset gpio handling

2010-06-29 Thread Sergio Aguirre
Following commit missed to remove this: commit 044d32ffbcb4a1d400088e3575508f46c0a9face Author: Koen Kooi koen.k...@gmail.com Date: Thu Apr 22 10:23:42 2010 +0200 board-omap3-beagle: add DSS2 support Signed-off-by: Sergio Aguirre saagui...@ti.com Cc: Koen Kooi koen.k...@gmail.com

[PATCH] omap_hsmmc: Remove unused state variable

2010-06-08 Thread Sergio Aguirre
: Wed May 26 14:42:08 2010 -0700 mmc: remove the state argument to mmc_suspend_host() The unique usage of this var was removed there, and missed removing the respective declaration aswell. Signed-off-by: Sergio Aguirre saagui...@ti.com --- drivers/mmc/host/omap_hsmmc.c |1 - 1 files

[PATCH] omap: gpio: Fix compilation warnings

2010-05-05 Thread Sergio Aguirre
conditional in runtime, and making the compiler think they could be used uninitialized. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/gpio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index

[PATCH v3] arm: Fix .gitignore for boot/compressed folder

2010-05-03 Thread Sergio Aguirre
' file. Also, add vmlinux to the list, which is generated also during the build. Signed-off-by: Sergio Aguirre saagui...@ti.com Acked-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- arch/arm/boot/compressed/.gitignore |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git

[PATCH 1/7] OMAP3: serial: Check for zero-based physical addr

2010-03-15 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[PATCH 0/7] omap3: serial code for 3630 and zoom2/3 fixes

2010-03-15 Thread Sergio Aguirre
Lindgreen For all the feedback recieved so far. Regards, Sergio Detailed changelog: Sergio Aguirre (7): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4: serial: Remove condition for getting uart4_phys omap3: zoom2/3 / 3630sdp

[PATCH 4/7] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-15 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[PATCH 6/7] omap3: zoom 2/3: Change debugboard serial port id

2010-03-15 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it's the only port that's going to be initialized in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c

[PATCH 5/7] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-15 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c

[PATCH 7/7] omap3: zoom2/3: Register only 1 8250 port

2010-03-15 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/7] OMAP3: serial: Use dev_* macros instead of printk

2010-03-15 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[PATCH 3/7] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-15 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[PATCH 0/7] omap3: serial code for 3630 and zoom2/3 fixes

2010-03-12 Thread Sergio Aguirre
Lindgreen For all the feedback recieved so far. Regards, Sergio Sergio Aguirre (7): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4: serial: Remove condition for getting uart4_phys omap3: zoom2/3 / 3630sdp: Don't init always all

[PATCH 3/7] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-12 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[PATCH 2/7] OMAP3: serial: Use dev_* macros instead of printk

2010-03-12 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[PATCH 1/7] OMAP3: serial: Check for zero-based physical addr

2010-03-12 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[PATCH 5/7] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-12 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c

[PATCH 4/7] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-12 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[PATCH 6/7] omap3: zoom 2/3: Change debugboard serial port id

2010-03-12 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it's the only port that's going to be initialized in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c

[PATCH 7/7] omap3: zoom2/3: Register only 1 8250 port

2010-03-12 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v4][PATCH 00/11] omap2/3/4: uart4 fixes + zoom2/3 changes

2010-03-10 Thread Sergio Aguirre
- Paul Walmsley - Kevin Hilman - Manjunath Kondaiah - Felipe Balbi For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (11): OMAP3: serial: Check for zero-based physical addr OMAP3: serial: Use dev_* macros instead of printk omap2/3/4

[RFC part1/2 merge v4][PATCH 03/11] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-10 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[RFC part1/2 merge v4][PATCH 04/11] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-10 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm

[RFC part1/2 merge v4][PATCH 01/11] OMAP3: serial: Check for zero-based physical addr

2010-03-10 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge v4][PATCH 02/11] OMAP3: serial: Use dev_* macros instead of printk

2010-03-10 Thread Sergio Aguirre
As we have a struct device populated at the time we are printing the errors, using dev_* macros makes more sense, as could give a better idea where the error/warning came from. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 12 ++-- 1 files changed, 6

[RFC part1/2 merge v4][PATCH 05/11] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-10 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2

[RFC part1/2 merge v4][PATCH 07/11] omap3: serial: Fix uart4 handling for 3630

2010-03-10 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

[RFC part1/2 merge v4][PATCH 09/11] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-10 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach

[RFC part1/2 merge v4][PATCH 11/11] omap3: zoom2/3: Register only 1 8250 port

2010-03-10 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v4][PATCH 10/11] omap3: zoom 2/3: Change debugboard serial port id

2010-03-10 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it's the only port that's going to be initialized in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c

[RFC part1/2 merge v4][PATCH 06/11] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-10 Thread Sergio Aguirre
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions

[RFC part1/2 merge v3][PATCH 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-09 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm

[RFC part1/2 merge v3][PATCH 01/10] OMAP3: serial: Check for zero-based physical addr

2010-03-09 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge v3][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-09 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2

[RFC part1/2 merge v3][PATCH 00/10] omap2/3/4: uart4 fixes + zoom2/3 changes

2010-03-09 Thread Sergio Aguirre
For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (10): OMAP3: serial: Check for zero-based physical addr omap2/3/4: serial: Remove condition for getting uart4_phys ARM: OMAP3630: PRCM: Add UART4 control bits OMAP clock: Add uart4_ick

[RFC part1/2 merge v3][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-09 Thread Sergio Aguirre
To standarize among other uarts (1 to 3), we shall now: - Enable uart4 autodile bit. - Enable uart4 wakeup in PER. - Allow uart4 to wakeup the MPU. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions

[RFC part1/2 merge v3][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-09 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[RFC part1/2 merge v3][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-09 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v3][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-09 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach

[RFC part1/2 merge v3][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-09 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v3][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

2010-03-09 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it's the only port that's going to be initialized in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c

[RFC part1/2 merge v3][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-09 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

[RFC part1/2 merge v2][PATCH 02/11] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-08 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[RFC part1/2 merge v2][PATCH 06/11] OMAP3: Add UART4 IRQ for 36xx chips

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/include/plat/irqs.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index b65088a..a7ae3f3 100644 --- a/arch/arm/plat

[RFC part1/2 merge v2][PATCH 05/11] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index fee2efb..81082f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch

[RFC part1/2 merge v2][PATCH 07/11] omap3: serial: Fix uart4 handling for 3630

2010-03-08 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Corrects IRQ number to 80 for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c |9 - 1 files changed, 8

[RFC part1/2 merge v2][PATCH 03/11] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-08 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm

[RFC part1/2 merge v2][PATCH 09/11] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-08 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach

[RFC part1/2 merge v2][PATCH 01/11] OMAP3: serial: Check for zero-based physical addr

2010-03-08 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge v2][PATCH 08/11] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-08 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v2][PATCH 11/11] omap3: zoom2/3: Register only 1 8250 port

2010-03-08 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v2][PATCH 04/11] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-08 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2

[RFC part1/2 merge v2][PATCH 10/11] omap3: zoom 2/3: Change debugboard serial port id

2010-03-08 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it is the only port that's going to be initted in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

[RFC part1/2 merge v2 RESEND][PATCH 01/10] OMAP3: serial: Check for zero-based physical addr

2010-03-08 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge v2 RESEND][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-08 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2

[RFC part1/2 merge v2 RESEND][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-08 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[RFC part1/2 merge v2 RESEND][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-08 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach

[RFC part1/2 merge v2 RESEND][PATCH 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-08 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm

[RFC part1/2 merge v2 RESEND][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-08 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge v2 RESEND][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-08 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Adds UART4 IRQ number define for 36xx chips. - Corrects IRQ number for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2

[RFC part1/2 merge v2 RESEND][PATCH 00/10] omap2/3/4: uart4 fixes + zoom2/3 changes

2010-03-08 Thread Sergio Aguirre
comments and thoughts. Thanks to: - Vikram Pandita - Paul Walmsley - Kevin Hilman - Manjunath Kondaiah For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (10): OMAP3: serial: Check for zero-based physical addr omap2/3/4: serial

[RFC part1/2 merge v2 RESEND][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-08 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge v2 RESEND][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

2010-03-08 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it is the only port that's going to be initted in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

[RFC part1/2 merge v2 RESEND][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-08 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index fee2efb..81082f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch

[RFC part1/2 merge][PATCH 00/10] omap2/3/4: uart4 fixes + zoom2/3 changes

2010-03-03 Thread Sergio Aguirre
port. Please let me know your comments and thoughts. Thanks to: - Vikram Pandita - Paul Walmsley - Kevin Hilman - Manjunath Kondaiah For the feedback recieved so far. I really appreciate it. Regards, Sergio Detailed changelog: Sergio Aguirre (10): OMAP3: serial: Check for zero-based

[RFC part1/2 merge][PATCH 01/10] OMAP3: serial: Check for zero-based physical addr

2010-03-03 Thread Sergio Aguirre
This is for protecting a wrong mapping attempt of a zero-based physical address. The result is that, no serial port will be attempted to be mapped. Also add an additional protection for NULL clocks before attempting to enable them (if above condition applies) Signed-off-by: Sergio Aguirre

[RFC part1/2 merge][PATCH 03/10] ARM: OMAP3630: PRCM: Add UART4 control bits

2010-03-03 Thread Sergio Aguirre
This bits are exclusive of omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/cm-regbits-34xx.h |2 ++ arch/arm/mach-omap2/prcm-common.h |4 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/cm

[RFC part1/2 merge][PATCH 04/10] OMAP clock: Add uart4_ick/fck definitions for 3630

2010-03-03 Thread Sergio Aguirre
This is only valid for omap 36xx family of chips. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2

[RFC part1/2 merge][PATCH 02/10] omap2/3/4: serial: Remove condition for getting uart4_phys

2010-03-03 Thread Sergio Aguirre
This check is invalid, since we haven't filled the omap_revision var at this point. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 14 +- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach

[RFC part1/2 merge][PATCH 07/10] omap3: zoom2/3 / 3630sdp: Don't init always all uarts

2010-03-03 Thread Sergio Aguirre
This is useless, since in Zoom2/3 boards, the ports aren't even physically accessible. They must be explicitly initted in the board-zoom2.c, board-zoom3.c and board-3630sdp.c files instead. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-peripherals.c |1

[RFC part1/2 merge][PATCH 05/10] OMAP3: PRCM: Consider UART4 for 3630 chip in prcm_setup_regs

2010-03-03 Thread Sergio Aguirre
Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/pm34xx.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index fee2efb..81082f2 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch

[RFC part1/2 merge][PATCH 10/10] omap3: zoom2/3: Register only 1 8250 port

2010-03-03 Thread Sergio Aguirre
There's no more serial ports available, so, doesn't make sense to create 4 device nodes. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/configs/omap_zoom2_defconfig |2 +- arch/arm/configs/omap_zoom3_defconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[RFC part1/2 merge][PATCH 09/10] omap3: zoom 2/3: Change debugboard serial port id

2010-03-03 Thread Sergio Aguirre
This is now changed to PLAT8250_DEV_PLATFORM (= 0), because it is the only port that's going to be initted in Zoom 2/3 boards. So, it doesn't make sense to keep the hardcoded 3 value anymore. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-zoom-debugboard.c |2

[RFC part1/2 merge][PATCH 08/10] omap3: 3630sdp: Explicitly enable all UARTs

2010-03-03 Thread Sergio Aguirre
All UARTs seem physically reachable, so, enable them all. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/board-3630sdp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) mode change 100755 = 100644 arch/arm/mach-omap2/board-3630sdp.c diff --git a/arch/arm/mach

[RFC part1/2 merge][PATCH 06/10] omap3: serial: Fix uart4 handling for 3630

2010-03-03 Thread Sergio Aguirre
This patch makes the following: - Adds missing wakeup padding register handling. - Fixes a hardcode to use PER module ONLY on UART3. - Corrects IRQ number to 80 for 3630 case. Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/mach-omap2/serial.c | 10 +- 1 files changed, 9

[PATCH] omap: Fix gpio_resume_after_retention

2010-03-03 Thread Sergio Aguirre
for multi-omap for omap4 Signed-off-by: Sergio Aguirre saagui...@ti.com --- arch/arm/plat-omap/gpio.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 337199e..76a347b 100644 --- a/arch/arm/plat-omap/gpio.c

  1   2   >