(Bug report) the kernel crash when I run cyclictest on AM3715/DM3730

2011-05-30 Thread stanley.miao
The test command : # cyclictest -l1 -m -a0 -t1 -n -p99 -i200 -h200 -q I run the following command to increase cpu's burden at the same time. # while true; do hackbench; sleep 1;done cyclictest and hackbench can be get in

Re: [PATCH 4/6] OMAP: LDP: Port the display driver to new DSS2

2011-05-09 Thread stanley.miao
Acked-by: Stanley Miao stanley.m...@windriver.com Stanley. Tomi Valkeinen wrote: Port the old omapfb panel driver to DSS2i. This patch changes the board file only, the driver is ported in separate patch. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com Cc: Stanley Miao

Re: [PATCH V2] OMAP: DSS2: don't power off a panel twice

2010-09-02 Thread stanley.miao
Hi, Tomi, Tomi Valkeinen wrote: snip Otherwise this looks fine, except that panel-taal.c does not need modifications, as it already handles this case. I will send a V3 to remove the panel-taal.c part. Also, at some point I (or somebody else =) should think how to do proper locking for

[PATCH V3] OMAP: DSS2: don't power off a panel twice

2010-09-02 Thread Stanley.Miao
. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- drivers/video/omap2/displays/panel-acx565akm.c |6 ++ drivers/video/omap2/displays/panel-generic.c |6 ++ .../video/omap2/displays/panel-sharp-lq043t1dg01.c |6 ++ .../video/omap2/displays/panel-sharp

Re: [PATCH V2] OMAP: DSS2: don't power off a panel twice

2010-08-17 Thread stanley.miao
, -Bryan On 08/11/2010 11:19 AM, Stanley.Miao wrote: If we blank the panel by echo 1 /sys/devices/platform/omapfb/graphics/fb0/blank Then, we reboot the sytem, the kernel will crash at drivers/video/omap2/dss/core.c:323 This is because the panel is closed twice. Now check the state of a dssdev

[PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread Stanley.Miao
. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- drivers/video/omap2/displays/panel-generic.c | 11 +++ .../video/omap2/displays/panel-sharp-lq043t1dg01.c | 11 +++ .../video/omap2/displays/panel-sharp-ls037v7dw01.c | 11 +++ drivers/video/omap2/displays

[PATCH] OMAP2: Fix a cpu type check problem.

2010-08-10 Thread Stanley.Miao
cpu_is_omap3517() and cpu_is_omap3505() are the subgroups of cpu_is_omap34xx(), so we should check cpu_is_omap3517() and cpu_is_omap3505() first, then check cpu_is_omap34xx(). Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/clock3xxx_data.c | 14 +++--- 1

Re: [PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread stanley.miao
Laine Walker-Avina wrote: On Tue, Aug 10, 2010 at 5:16 AM, Stanley.Miao stanley.m...@windriver.com wrote: snip -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

[PATCH V2] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread Stanley.Miao
. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- drivers/video/omap2/displays/panel-acx565akm.c |6 ++ drivers/video/omap2/displays/panel-generic.c |6 ++ .../video/omap2/displays/panel-sharp-lq043t1dg01.c |6 ++ .../video/omap2/displays/panel-sharp

Re: [PATCH] OMAP3 PM: fix the error messages printed when the system suspend

2010-08-09 Thread stanley.miao
Cliff Brake wrote: On Tue, Jun 22, 2010 at 11:11 AM, Kevin Hilman khil...@deeprootsystems.com wrote: Stanley.Miao stanley.m...@windriver.com writes: First, the subject needs to be more descriptive: OMAP3: AM3505/3517 do not have IO wakeup capability Functionally, what does

[PATCHv4 0/1]OMAP3: AM3505/3517 do not have IO wakeup capability

2010-06-29 Thread Stanley.Miao
Changes from V3: 1, Tested on AM3517EVM and OMAP3530EVM. Stanley. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCHv4 1/1] OMAP3: AM3505/3517 do not have IO wakeup capability

2010-06-29 Thread Stanley.Miao
AM3505/3517 doesn't have IO wakeup capability, so we do not need to set the bit OMAP3430_EN_IO and the bit OMAP3430_EN_IO_CHAIN in the register PM_WKEN_WKUP when the system enters suspend state. Tested on AM3517EVM and OMAP3530EVM. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch

[PATCHv3 1/1] OMAP3: AM3505/3517 do not have IO wakeup capability

2010-06-25 Thread Stanley.Miao
AM3505/3517 don't have IO wakeup capability, so we don not need to set the bit OMAP3430_EN_IO and the bit OMAP3430_EN_IO_CHAIN in the register PM_WKEN_WKUP when the system enters retention. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/id.c |2

[PATCHv2] OMAP3: AM3505/3517 do not have IO wakeup capability

2010-06-24 Thread Stanley.Miao
AM3505/3517 don't have IO wakeup capability, so we don not need to set the bit OMAP3430_EN_IO and the bit OMAP3430_EN_IO_CHAIN in the register PM_WKEN_WKUP when the system enters retention. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/id.c |2

[PATCH] omap: fix the cpu type check in clock3xxx_data.c

2010-06-22 Thread Stanley.Miao
omap3517 and omap3505 belong to OMAP3 architecture, so the cpu_is_omap34xx will be true. Therefore, if the cpu omap3517 is a exception, we should check whether it is omap3517 before check whether it is omap34xx. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2

[PATCH] OMAP3 PM: fix the error messages printed when the system suspend

2010-06-22 Thread Stanley.Miao
-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/pm34xx.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 62529ff..d16648a 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm

Re: [PATCH 7/7] omap hsmmc: fix the hsmmc driver for am3517.

2010-05-13 Thread stanley.miao
Tony Lindgren wrote: Hi, Some requests to make this more future proof. * Stanley.Miao stanley.m...@windriver.com [100419 23:20]: AM3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like vmmc, so we set a noop set_power function for it. Signed-off-by: Stanley.Miao

[PATCH 1/3] AM3517: rename the i2c boardinfo to make it more readable

2010-05-13 Thread Stanley.Miao
There are three i2c buses on am3517, and each i2c bus has several devices on it, so we can't name the i2c boardinfo structures with one of these devices. In order to make it more readable, now rename these three boardinfo structures based on i2c indexes. Signed-off-by: Stanley.Miao stanley.m

[PATCH 2/3] omap: init the gpio pinmux for mmc

2010-05-13 Thread Stanley.Miao
There is two gpio for mmc use, one is for card detecting, another is used for checking write protect. Intialize its pinmux in case the bootloader doesn't set it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/devices.c |9 + 1 files changed, 9

[PATCH 0/3] Some am3517 related patches [V4]

2010-05-13 Thread Stanley.Miao
Changes from V3: 1, refresh the the patches against the current omap-for-linus branch 2, Added features in mmc-slot[i]. Stanley.Miao (3): AM3517: rename the i2c boardinfo to make it more readable omap: init the gpio pinmux for mmc omap hsmmc: fix the hsmmc driver for am3517

Re: [PATCH 6/7] omap: init the gpio pinmux for mmc

2010-05-12 Thread stanley.miao
Tony Lindgren wrote: * Stanley.Miao stanley.m...@windriver.com [100419 23:20]: There is two gpio for mmc use, one is for card detecting, another is used for checking write protect. Intialize its pinmux in case the bootloader doesn't set it. Signed-off-by: Stanley.Miao stanley.m

Re: [PATCH 3/7] AM3517: rename the i2c boardinfo to make it more readable

2010-05-12 Thread stanley.miao
Tony Lindgren wrote: * Hiremath, Vaibhav hvaib...@ti.com [100420 00:03]: snip There are three i2c buses on am3517, now rename these three boardinfo structure name to am3517evm_i2c1_boardinfo, am3517evm_i2c2_boardinfo, and am3517evm_i2c3_boardinfo, to make it more readable.

[PATCH 3/7] AM3517: rename the i2c boardinfo to make it more readable

2010-04-20 Thread Stanley.Miao
There are three i2c buses on am3517, now rename these three boardinfo structure name to am3517evm_i2c1_boardinfo, am3517evm_i2c2_boardinfo, and am3517evm_i2c3_boardinfo, to make it more readable. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c

[PATCH 6/7] omap: init the gpio pinmux for mmc

2010-04-20 Thread Stanley.Miao
There is two gpio for mmc use, one is for card detecting, another is used for checking write protect. Intialize its pinmux in case the bootloader doesn't set it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/devices.c |7 +++ 1 files changed, 7 insertions

[PATCH 7/7] omap hsmmc: fix the hsmmc driver for am3517.

2010-04-20 Thread Stanley.Miao
AM3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like vmmc, so we set a noop set_power function for it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/hsmmc.c | 32 1 files changed, 24 insertions

Re: [PATCH 3/7] AM3517: rename the i2c boardinfo to make it more readable

2010-04-20 Thread stanley.miao
Felipe Balbi wrote: Hi, On Tue, Apr 20, 2010 at 08:33:28AM +0200, ext Stanley.Miao wrote: @@ -311,8 +311,8 @@ static void __init am3517_evm_init(void) /* RTC - S35390A */ am3517_evm_rtc_init(); - i2c_register_board_info(1, am3517evm_i2c_boardinfo, - ARRAY_SIZE(am3517evm_i2c_boardinfo

[PATCH 0/9] Some am3517 related patches [V2]

2010-04-19 Thread Stanley.Miao
Changes from V2: 1, Removed the controversial patches. I will submit them later. Some am3517 related patches. The detaild changelog is below: Stanley.Miao (9): omap: fix the compile error if CONFIG_MTD_NAND_OMAP2 is not enabled omap: remove one of the define

[PATCH 2/9] omap: remove one of the define of INT_34XX_BENCH_MPU_EMUL

2010-04-19 Thread Stanley.Miao
INT_34XX_BENCH_MPU_EMUL was defined twice, another is at Line 312. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/plat-omap/include/plat/irqs.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat

[PATCH 6/9] AM3517: initialize i2c subsystem after mux subsystem

2010-04-19 Thread Stanley.Miao
The initialize of i2c subsystem will set pinmux, so it should be done after the initialize of mux subsystem initialization. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 9/9] omap hsmmc: fix the hsmmc driver for am3517.

2010-04-19 Thread Stanley.Miao
AM3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like vmmc, so we set a noop set_power function for it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/hsmmc.c | 32 1 files changed, 24 insertions

[PATCH 0/11] Some am3517 related patches [V2]

2010-04-14 Thread Stanley.Miao
: Updated to -rc3 are available in the git repository at: . devel Stanley.Miao (12): omap: remove one of the define of INT_34XX_BENCH_MPU_EMUL AM3517: Add platform init code for EMAC driver AM3517: rename the i2c boardinfo to make it more readable AM3517: Add platform init

[PATCH 02/12] AM3517: Add platform init code for EMAC driver

2010-04-14 Thread Stanley.Miao
Add platform init code for EMAC driver. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 114 + arch/arm/mach-omap2/include/mach/am35xx.h |9 ++ 2 files changed, 123 insertions(+), 0 deletions(-) diff --git

[PATCH 03/12] AM3517: rename the i2c boardinfo to make it more readable

2010-04-14 Thread Stanley.Miao
There are three i2c buses on am3517, now rename these three boardinfo structure name to am3517evm_i2c1_boardinfo, am3517evm_i2c2_boardinfo, and am3517evm_i2c3_boardinfo, to make it more readable. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c

[PATCH 04/12] AM3517: Add platform init code for regulator driver

2010-04-14 Thread Stanley.Miao
Add platform init code for regulator driver. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch

[PATCH 05/12] AM3517: Add audio codec platform data

2010-04-14 Thread Stanley.Miao
Codec tlv320aic23 is on the second i2c bus. Add the tlv320aic23 info in i2c2 board_info. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board

[PATCH 06/12] AM3517: Add nand platform data for am3517evm

2010-04-14 Thread Stanley.Miao
Add nand flash init code for am3517evm. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 84 + 1 files changed, 84 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm

[PATCH 07/12] AM3517: initialize i2c subsystem after mux subsystem

2010-04-14 Thread Stanley.Miao
The initialize of i2c subsystem will set pinmux, so it should be done after the initialize of mux subsystem initialization. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 08/12] OMAP: fix a gpmc nand problem

2010-04-14 Thread Stanley.Miao
If gpmc_t isn't given, we don't need to set timing for gpmc, or it will cause a Oops. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/gpmc-nand.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm

[PATCH 09/12] AM3517: Update the config file of am3517evm

2010-04-14 Thread Stanley.Miao
Added MTD, NETDEVICES, WATCHDOG, GPIO_PCA953X, REGULATOR, FB, SOUND, MMC, RTC. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/configs/am3517_evm_defconfig | 599 - 1 files changed, 513 insertions(+), 86 deletions(-) diff --git a/arch/arm

[PATCH 01/11] omap: remove one of the define of INT_34XX_BENCH_MPU_EMUL

2010-04-13 Thread Stanley.Miao
INT_34XX_BENCH_MPU_EMUL was defined twice, another is at Line 312. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/plat-omap/include/plat/irqs.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat

[PATCH 02/11] AM3517: Add platform init code for EMAC driver

2010-04-13 Thread Stanley.Miao
Add platform init code for EMAC driver. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 114 + arch/arm/mach-omap2/include/mach/am35xx.h |9 ++ 2 files changed, 123 insertions(+), 0 deletions(-) diff --git

[PATCH 03/11] AM3517: rename the i2c boardinfo to make it more readable

2010-04-13 Thread Stanley.Miao
There are three i3c buses on am3517, now rename these three boardinfo structure name to am3517evm_i2c1_boardinfo, am3517evm_i2c2_boardinfo, and am3517evm_i2c3_boardinfo, to make it more readable. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c

[PATCH 04/11] AM3517: Add platform init code for regulator driver

2010-04-13 Thread Stanley.Miao
Add platform init code for regulator driver. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch

[PATCH 07/11] AM3517: initialize i2c subsystem after mux subsystem

2010-04-13 Thread Stanley.Miao
The initialize of i2c subsystem will set pinmux, so it should be done after the initialize of mux subsystem initialization. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 08/11] OMAP: fix a gpmc nand problem

2010-04-13 Thread Stanley.Miao
If gpmc_t isn't given, we don't need to set timing for gpmc, or it will cause a Oops. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/gpmc-nand.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc-nand.c b/arch/arm

[PATCH 06/11] AM3517: Add nand platform data for am3517evm

2010-04-13 Thread Stanley.Miao
Add nand flash init code for am3517evm. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/board-am3517evm.c | 84 + 1 files changed, 84 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm

[PATCH 10/11] omap hsmmc: fix the hsmmc driver for am3517.

2010-04-13 Thread Stanley.Miao
am3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like vmmc, so we don't need set set_power function for it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/hsmmc.c |4 +++- drivers/mmc/host/omap_hsmmc.c | 28

[PATCH 11/11] AM3517: Add mmc platform data for am3517evm

2010-04-13 Thread Stanley.Miao
Add mmc platform data. Besides, the mmc slot on UI board has a pin conflict with LCD, so add macros to resolve it. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap2/Makefile |3 +- arch/arm/mach-omap2/board-am3517evm.c | 45

Re: [PATCH 10/11] omap hsmmc: fix the hsmmc driver for am3517.

2010-04-13 Thread stanley.miao
Adrian Hunter wrote: Stanley.Miao wrote: am3517 don't have the register OMAP343X_CONTROL_PBIAS_LITE and the regulators like vmmc, so we don't need set set_power function for it. It would be better to leave omap_hsmmc alone and either: - define fixed voltage regulators - or make

vdds_dsi doesn't exist on all omap3430 arch chip

2010-03-04 Thread stanley.miao
Hi, Tomi, The commit below: http://www.gitorious.org/linux-omap-dss2/linux/commit/ec70668fa99b2dd0d305fbdb451a728f2e2a4c58 doesn't apply to ti_omap_am3517. There is no vdds_dsi on am3517. Stanley. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Which directory should OMAP-L137/L138's code in ?

2009-06-12 Thread stanley.miao
I am developing on the board OMAP-L137/L138, which is similar with Davinci series board. Should I put its platform file in the directory arch/arm/mach-davinci ? or create a new direcory arch/arch/mach-L1xx for it ? Any suggestions ? Thanks Stanley. -- To unsubscribe from this list: send the

Re: Which directory should OMAP-L137/L138's code in ?

2009-06-12 Thread stanley.miao
Thanks a lot. Stanley. Syed Mohammed, Khasim wrote: Hi, -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-ow...@vger.kernel.org] On Behalf Of Tony Lindgren Sent: Friday, June 12, 2009 4:02 PM To: stanley.miao; Kevin Hilman Cc: linux-omap@vger.kernel.org

Re: [PATCH] OMAP_LDP: Support LCD display as a FB device on ZOOM MDK (Re: LDP support)

2009-05-08 Thread stanley.miao
Gadiyar, Anand wrote: Stanley.miao wrote: Russell King - ARM Linux wrote: On Thu, May 07, 2009 at 11:01:35PM +0800, stanley.miao wrote: Hi, Tony, Now the kernel can't boot on LDP. The attached file is the boot log. No boot log found. Sorry

Re: [PATCH] OMAP_LDP: Support LCD display as a FB device on ZOOM MDK (Re: LDP support)

2009-05-07 Thread stanley.miao
Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [090505 21:00]: * Russell King - ARM Linux li...@arm.linux.org.uk [090505 12:52]: On Tue, Apr 28, 2009 at 03:42:37PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [090428 15:07]:

Re: [PATCH 5/5] LDP: Add support for built-in camera

2009-03-26 Thread stanley.miao
Aguirre Rodriguez, Sergio Alberto wrote: -Original Message- From: stanley.miao [mailto:stanley.m...@windriver.com] Sent: Tuesday, March 10, 2009 3:04 AM To: Aguirre Rodriguez, Sergio Alberto Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Sakari Ailus; Tuukka.O Toivonen

RE: [PATCH 5/5] LDP: Add support for built-in camera

2009-03-10 Thread stanley.miao
On Mon, 2009-03-09 at 15:24 -0500, Aguirre Rodriguez, Sergio Alberto wrote: Hi, -Original Message- From: stanley.miao [mailto:stanley.m...@windriver.com] snip +static struct i2c_board_info __initdata ldp_i2c_boardinfo_2[] = { +#if defined(CONFIG_VIDEO_OV3640) || defined

Re: [PATCH 5/5] LDP: Add support for built-in camera

2009-03-04 Thread stanley.miao
Aguirre Rodriguez, Sergio Alberto wrote: This patch adds support for the LDP builtin camera sensor: - Primary sensor (/dev/video4): OV3640 (CSI2). It introduces also a new file for storing all camera sensors board specific related functions, like other platforms do (N800 for example).

Re: [RFC 0/5] Sensor drivers for OMAP3430SDP and LDP camera

2009-03-03 Thread stanley.miao
Aguirre Rodriguez, Sergio Alberto wrote: This patch series depends on the following patches: - Add TWL4030 registers, posted by Tuukka Toivonen on March 2nd. - OMAP3 ISP and camera drivers patch series, posted by Sakari Ailus on March 3rd. (Please follow his instructions to pull from

Re: BUG: LDP - smc911x region too small

2009-02-03 Thread stanley.miao
Woodruff, Richard wrote: Here should be 0x100. Fixing this won't cause problems with smsc911x patches. Yes it will - if it gets fixed in the -rc series for the smc911x driver your patches will conflict. There's more which needs fixing though - no platform data is being passed so the

Re: BUG: LDP - smc911x region too small

2009-01-19 Thread stanley.miao
On Mon, 2009-01-19 at 22:37 +, Russell King - ARM Linux wrote: At the moment: ldp_smc911x_resources[0].start = cs_mem_base + 0x0; ldp_smc911x_resources[0].end = cs_mem_base + 0xf; However, the SMC911x driver wants to claim 256 bytes from this region. Indeed, its

[PATCH repost] OMAP: convert omap ldp platform to use smsc911x

2009-01-19 Thread Stanley.Miao
From 2.6.29, smc911x isn't maintained anymore. A new driver, smsc911x, will replace it. so convert omap_ldp to use smsc911x driver. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/configs/omap_ldp_defconfig | 24 - arch/arm/mach-omap2/board-ldp.c

Re: [PATCHv3] OMAP: Fix McBSP spin_lock deadlock

2009-01-15 Thread stanley.miao
I didn't test it on omap1, so that make a silly mistake. I will send the V4 shortly. Stanley. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] OMAP: Fix McBSP spin_lock deadlock.

2009-01-13 Thread stanley.miao
On Mon, 2009-01-12 at 12:46 +0200, Tony Lindgren wrote: * stanley.miao stanley.m...@windriver.com [090112 12:34]: On Thu, 2009-01-08 at 15:33 +0200, Tony Lindgren wrote: * stanley.miao stanley.m...@windriver.com [081107 15:47]: This solution keeps the virtual clock in place and enable

[PATCHv3] OMAP: Fix McBSP spin_lock deadlock

2009-01-13 Thread Stanley.Miao
)-- now clk_enable acquire clockfw_lock again. mcbsp_clk is not the true clock, so delete it and ask omap_mcbsp_request enable mcbsp_ick and mcbsp_fck directly. Signed-off-by: Stanley.Miao stanley.m...@windriver.com --- arch/arm/mach-omap1/mcbsp.c | 103 +++- arch

Re: [PATCH v2] OMAP: Fix McBSP spin_lock deadlock.

2009-01-12 Thread stanley.miao
On Thu, 2009-01-08 at 15:33 +0200, Tony Lindgren wrote: * stanley.miao stanley.m...@windriver.com [081107 15:47]: This solution keeps the virtual clock in place and enable the child clocks before enable the virtual clock. So, any comments ? What if we just removed the custom clock and had

Re: [REVIEW PATCH 00/14] OMAP3 camera + ISP + MT9P012 sensor driver v2

2009-01-12 Thread stanley.miao
Hi,Sergio, I saw you had a ov3640 patch in omapzoom tree. Why don't you submit it together ? Stanley. On Mon, 2009-01-12 at 20:03 -0600, Aguirre Rodriguez, Sergio Alberto wrote: Hi, I'm sending the following patchset for review to the relevant lists (linux-omap, v4l, linux-media).

Re: [PATCHv2 0/3] OMAP_LDP support in linux-git tree

2008-12-08 Thread stanley.miao
Sorry for the delay. If you want to use the same patch for the mainline kernel and linux-omap kernel, you may need to edit the Makefile and Kconfig manually. But since you have the ldp board already in the mainline kernel, all you need to do is to send me patches against the mainline

Re: [PATCH 1/2] OMAP: Add OMAP_LDP platform support.

2008-12-04 Thread stanley.miao
The first patch(PATCHv2 1/3) in this thread have fixed this problem. It has not been pushed in. Stanley. On Thu, 2008-12-04 at 17:44 +0800, Sam Duan wrote: Hi Stanley, I git clone the tree(http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.gi t) and configured the

[alsa-devel][PATCHv2 0/1] OMAP_TWL4030 SoC Audio driver.

2008-11-27 Thread Stanley.Miao
Changes from v1: 1, change the name from omap-general to omap_twl4030. 2, proune off board related defines. 3, add a extended interface omap_twl4030_specific_init() to support some board specific features. If some board specific features are added into a board, for example, omap3evm board. we

[alsa-devel][PATCHv2 1/1] OMAP_TWL4030 SoC Audio driver.

2008-11-27 Thread Stanley.Miao
Add a shared omap_twl4030 driver to avoid reduplicate code among omap drivers. This drive also provides a extended interface for some board specific features. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- sound/soc/omap/Kconfig| 33 - sound/soc/omap/Makefile | 16

Re: [PATCH] OMAP general SOC driver.

2008-11-27 Thread stanley.miao
On Wed, 2008-11-26 at 21:16 +, Mark Brown wrote: On Wed, Nov 26, 2008 at 12:33:12PM -0800, David Brownell wrote: And maybe more; that's just me summarizing unconnected pins, not the datasheet. There are also cost-reduced parts with less audio capability. ... I make no claim

[PATCH 1/2] OMAP: Add OMAP_LDP platform support.

2008-11-27 Thread Stanley.Miao
Add OMAP_LDP platform support. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-ldp.c | 477 ++- arch/arm/plat-omap/include/mach/board-ldp.h |4 + 2 files changed, 479 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach

[PATCH 2/2] OMAP: Support LCD display as a FB device on ZOOM MDK

2008-11-27 Thread Stanley.Miao
Add glue to control the OMAP_LDP LCD as a frame buffer device using the existing dispc.c driver under omapfb. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- drivers/video/omap/lcd_ldp.c | 198 ++ 1 files changed, 198 insertions(+), 0 deletions

Re: [PATCHv2 0/3] OMAP_LDP support in linux-git tree

2008-11-27 Thread stanley.miao
On Wed, 2008-11-26 at 15:12 -0800, Tony Lindgren wrote: * Stanley.Miao [EMAIL PROTECTED] [081120 23:45]: Changes from v1: 1, change omap_request_gpio() to gpio_request() in gpio.patch. One request: Since the LDP is in the mainline kernel, can you please provide whatever applies

Re: [alsa-devel] [PATCHv2 1/1] OMAP_TWL4030 SoC Audio driver.

2008-11-27 Thread stanley.miao
On Thu, 2008-11-27 at 13:19 +, Mark Brown wrote: On Thu, Nov 27, 2008 at 08:50:57PM +0800, Stanley.Miao wrote: Add a shared omap_twl4030 driver to avoid reduplicate code among omap drivers. This drive also provides a extended interface for some board specific features

[PATCH] OMAP general SOC driver.

2008-11-26 Thread Stanley.Miao
Add a shared omap SoC driver to avoid reduplicate code among omap soc drivers. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- sound/soc/omap/Kconfig| 49 + sound/soc/omap/Makefile | 13 sound/soc/omap/omap-general.c | 155

Re: [PATCH] OMAP: Switch to gpio_direction_output in OMAP_LDP.

2008-11-21 Thread stanley.miao
On Thu, 2008-11-20 at 23:52 -0800, David Brownell wrote: On Thursday 20 November 2008, stanley.miao wrote: Use gpio_set_value() to replace omap_set_gpio_dataout(), except when initializing. The reset pin *was* being toggled... These actions are in init function. so keep

[PATCH] OMAP: set appropriate platform data for touchscreen.

2008-11-20 Thread Stanley.Miao
Set appropriate platform data for touchscreen and make it work correctly. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-3430sdp.c |8 arch/arm/mach-omap2/board-ldp.c |8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git

[PATCH] OMAP3 NAND: Add NAND support on OMAP_LDP

2008-11-20 Thread Stanley.Miao
Add NAND support on OMAP_LDP. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-ldp-flash.c | 103 +++ arch/arm/mach-omap2/board-ldp.c |1 + arch/arm/plat-omap/include

Re: [PATCH] OMAP: set appropriate platform data for touchscreen.

2008-11-20 Thread stanley.miao
Please ignore it, I will resend it with other patches together. Stanley. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] OMAP3 NAND: Add NAND support on OMAP_LDP

2008-11-20 Thread stanley.miao
Please ignore it, I will resend it with other patches together. Stanley. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] OMAP: Switch to gpio_direction_output in OMAP_LDP.

2008-11-20 Thread stanley.miao
On Thu, 2008-11-20 at 11:11 -0800, David Brownell wrote: On Thursday 20 November 2008, Stanley.Miao wrote: - omap_set_gpio_direction(LCD_PANEL_QVGA_GPIO, 0); - omap_set_gpio_direction(LCD_PANEL_RESET_GPIO, 0); gpio_direction_output(LCD_PANEL_ENABLE_GPIO, 0

[PATCHv2 0/3] OMAP_LDP support in linux-git tree

2008-11-20 Thread Stanley.Miao
Changes from v1: 1, change omap_request_gpio() to gpio_request() in gpio.patch. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCHv2 3/3] OMAP3 NAND: Add NAND support on OMAP_LDP

2008-11-20 Thread Stanley.Miao
Add NAND support on OMAP_LDP. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/Makefile|3 +- arch/arm/mach-omap2/board-ldp-flash.c | 103 +++ arch/arm/mach-omap2/board-ldp.c |1 + arch/arm/plat-omap/include

Re: OOPS in OMAP 1-wire driver

2008-11-19 Thread stanley.miao
It has been fixed and the patch was added to -mm tree. Stanley. From: Stanley.Miao [EMAIL PROTECTED] OMAP LDP boot crash. This is because w1 subsystem changed the search interface, so update omap_hdq's search interface to follow the change. Signed-off-by: Stanley.Miao [EMAIL PROTECTED

Re: [PATCH 1/2] Add SMC_MEM_RESERVED for OMAP platform.

2008-11-17 Thread stanley.miao
On Mon, 2008-11-17 at 10:31 +, [EMAIL PROTECTED] wrote: Hi Stanley, Jeff has merged the smsc911x driver into -next, this is intended to replace smc911x moving forward. I'll forward the patchset to you off-list, it includes platform_data support for several platforms so adding

[PATCH 2/2] smc911x: Add support for LAN9211 chips from SMSC

2008-11-17 Thread Stanley.Miao
Add the define of LAN9211 in chip_ids. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- drivers/net/smc911x.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index d1b3b9b..f688b55 100644 --- a/drivers/net/smc911x.h +++ b

[PATCH 1/2] Add SMC_MEM_RESERVED for OMAP platform.

2008-11-17 Thread Stanley.Miao
The iomem resource for Ethernet device has been reserved on omap24xx and omap34xx. So, define SMC_MEM_RESERVED for them. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- drivers/net/smc911x.c |6 -- drivers/net/smc911x.h | 10 ++ 2 files changed, 14 insertions(+), 2 deletions

Re: [PATCH v2 0/6] OMAP: Make OMAP LDP boot succussfuly

2008-11-12 Thread stanley.miao
Any other comments ? Stanley. On Tue, 2008-11-11 at 19:50 +0800, Stanley.Miao wrote: Changes since v1: 1, fix all the patch format problem. 2, split the defconfig patch from code patches. 3, put a twl4030keypad bug fix into a single patch. 4, Add a persistent bit in the keypad map

Re: [rft/rfc/patch-2.6.28-rc3+ 00/59] namespace cleanup patches

2008-11-12 Thread stanley.miao
If you are using git-send-email, please provide the --no-chain-reply-to option to avoid creating exceptionally deep nesting. Stanley. On Wed, 2008-11-12 at 00:56 +0200, Felipe Balbi wrote: From: Felipe Balbi [EMAIL PROTECTED] Get rid of omap_{read,write}[bsl] defines. Virtual and physical

[PATCH v2 6/6] OMAP_LDP: Add keypad related configs into defconfig.

2008-11-11 Thread Stanley.Miao
Add keypad related configs into omap_ldp_defconfig. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/configs/omap_ldp_defconfig | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/arch/arm/configs/omap_ldp_defconfig b/arch/arm/configs/omap_ldp_defconfig

[PATCH v2 2/6] OMAP_LDP: Add Ethernet device support to make ldp boot succeess.

2008-11-11 Thread Stanley.Miao
Add Ethernet device support in board-ldp.c to make ldp can boot and mount nfs successfully. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-ldp.c | 53 +++ arch/arm/plat-omap/include/mach/board-ldp.h |5 ++- drivers/net

[PATCH v2 5/6] OMAP_LDP: Add keypad support on ZOOM SDK

2008-11-11 Thread Stanley.Miao
Support twl4030 keypad and gpio keys on ZOOM SDK. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/mach-omap2/board-ldp.c | 114 +++ arch/arm/plat-omap/include/mach/keypad.h|5 + drivers/input/keyboard/Kconfig |2 +- drivers

[PATCH v2 4/6] OMAP: Fix twl4030 keypad bug.

2008-11-11 Thread Stanley.Miao
The n_cols number has beed set to the right value in the board specific file, so in the twl4030 driver, the n_cols doesn't need to plus 1. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- drivers/input/keyboard/omap-twl4030keypad.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH v2 1/6] OMAP: Update the search() interface of omap_hdq.

2008-11-11 Thread Stanley.Miao
OMAP LDP boot crash. This is because w1 subsystem changed the search interface, so update omap_hdq's search interface to follow the change. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- drivers/w1/masters/omap_hdq.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff

[PATCH v2 3/6] OMAP_LDP: Add network related configs in defconfig.

2008-11-11 Thread Stanley.Miao
Add network related configs in omap_ldp_defconfig, to make LDP can boot from NFS successfully. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/configs/omap_ldp_defconfig | 148 ++- 1 files changed, 147 insertions(+), 1 deletions(-) diff --git a/arch

Re: [PATCH 0/3] OMAP: Make OMAP LDP boot succussfuly

2008-11-10 Thread stanley.miao
On Fri, 2008-11-07 at 17:53 +0200, Felipe Balbi wrote: On Fri, Nov 07, 2008 at 09:41:24PM +0800, Stanley.Miao wrote: Now there is only basic support for OMAP LDP in linux-omap-2.6, LDP can't boot up, even crash at boot time(because of omap_hdq problem). Add the following patches

Re: [PATCH v2] OMAP: Fix McBSP spin_lock deadlock.

2008-11-07 Thread stanley.miao
This solution keeps the virtual clock in place and enable the child clocks before enable the virtual clock. So, any comments ? Stanley. On Thu, 2008-11-06 at 20:44 +0800, Stanley.Miao wrote: A spin_lock deadlock will occur when omap_mcbsp_request() is invoked. omap_mcbsp_request

[PATCH 2/3] OMAP_LDP: Add Ethernet device support to make ldp boot succeess.

2008-11-07 Thread Stanley.Miao
Add Ethernet device support in board-ldp.c to make ldp can boot and mount nfs successfully. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/configs/omap_ldp_defconfig | 148 ++- arch/arm/mach-omap2/board-ldp.c | 53 ++ arch/arm

[PATCH 3/3] OMAP_LDP: Add keypad support on ZOOM SDK

2008-11-07 Thread Stanley.Miao
Support twl4030 keypad and gpio keys on ZOOM SDK. Signed-off-by: Stanley.Miao [EMAIL PROTECTED] --- arch/arm/configs/omap_ldp_defconfig | 11 +++- arch/arm/mach-omap2/board-ldp.c | 115 +++ drivers/input/keyboard/Kconfig |2

  1   2   >