powertop on davinci

2011-10-27 Thread Raffaele Recalcati
It is possible to use this tool for dm365. I'm now on 2.6.32 kernel and I'm not sure at all if CPU_FREQ_STAT, CPU_FREQ_STAT_DETAILS work properly. Maybe it is not implemented. Can anybody points me to the right direction? Raffaele ___

Re: DM365 GStreamer Resizer Config Setup happens...where?

2011-06-14 Thread Raffaele Recalcati
Hi Sing, On Wed, Jun 8, 2011 at 2:38 PM, Singh, Brijesh bksi...@ti.com wrote: The resizing is done in v4l2src. The v4l2src has logic to configure IPIPE on-fly resizing mode. Look at the v4l2src, you can find the implementation details in dm36x_ipipe file. I have found what you mean. But I

Re: DM365 GStreamer Resizer Config Setup happens...where?

2011-06-08 Thread Raffaele Recalcati
gst-launch v4l2src input-src=composite !’video/x-raw-yuv,format=(fourcc)NV12,width=640,height=480’ ! tidisplaysink2 video-standard=vga display-output=lcd Does anyone know how and where the resizer is configured to give me the 640x480 output? change 320x240 in 640x480 and you'll have it.

Re: pm loss development

2011-05-14 Thread Raffaele Recalcati
I read the patches.  My question was about the general idea of who should be responsible of making these decisions. The best should be, I think, to have some guidelines and than the possibility to choose the best policy for each situation. In my board I needed to shutdown video in capture and

Re: [linux-pm] pm loss development

2011-05-14 Thread Raffaele Recalcati
On Sat, May 14, 2011 at 6:24 PM, mark gross markgr...@thegnar.org wrote: On Thu, May 12, 2011 at 07:11:01PM +0200, Raffaele Recalcati wrote: What happen normally in runtime pm implementation is that every devices are switched off and are enabled only when needed. In our case instead we have

Re: [linux-pm] pm loss development

2011-05-14 Thread Raffaele Recalcati
On Sat, May 14, 2011 at 8:53 PM, Oliver Neukum oli...@neukum.org wrote: Am Donnerstag, 12. Mai 2011, 21:27:44 schrieb Rafael J. Wysocki: On Thursday, May 12, 2011, Raffaele Recalcati wrote: What happen normally in runtime pm implementation is that every devices are switched off

Re: pm loss development

2011-05-13 Thread Raffaele Recalcati
Hi Rafael, 2011/5/12 Rafael J. Wysocki r...@sisk.pl: On Thursday, May 12, 2011, Raffaele Recalcati wrote: What happen normally in runtime pm implementation is that every devices are switched off and are enabled only when needed. In our case instead we have a completely functional embedded

pm loss development

2011-05-12 Thread Raffaele Recalcati
What happen normally in runtime pm implementation is that every devices are switched off and are enabled only when needed. In our case instead we have a completely functional embedded system and, when an asyncrhonous event appear, we have only some tens milliseconds before the actual power failure

[PATCH 1/4] export bus_kset

2011-05-12 Thread Raffaele Recalcati
From: Davide Ciminaghi cimina...@gnudd.com Signed-off-by: Davide Ciminaghi cimina...@gnudd.com --- drivers/base/bus.c |3 ++- include/linux/kobject.h |2 ++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/base/bus.c b/drivers/base/bus.c index 000e7b2..2134248

[PATCH 3/4] mmc: bus and block device drivers: support for pm_loss

2011-05-12 Thread Raffaele Recalcati
From: Davide Ciminaghi cimina...@gnudd.com Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/mmc/card/block.c | 48 +++- drivers/mmc/core/bus.c | 49

[PATCH 4/4] DaVinci: vpfe: support for pm_loss

2011-05-12 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/media/video/davinci/vpfe_capture.c | 45 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/davinci

[PATCH 2/4] PM / Loss: power loss management

2011-05-12 Thread Raffaele Recalcati
-vital power sinks, thus allowing the board to survive longer to temporary power losses. Signed-off-by: Davide Ciminaghi cimina...@gnudd.com Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- Documentation/power/loss.txt | 191 + drivers/base/bus.c |6

being a maintainer inside a company

2011-04-19 Thread Raffaele Recalcati
I'm being involved in u-boot and kernel responsability inside my company from many years. I write code and there are other developers writing code that I need to coordinate. By now I have managed all patches incoming using a separated devel branch, validating those patches and after applying on

mmc and Davinci

2011-03-15 Thread Raffaele Recalcati
I have Toshiba v4.3 running with arago kernel and some problems on other v4.4 and v4.4.1 (Sandisk). Instead with latest 2.6.38-rc8 davinci-opensource kernel v4.4.1 Sandisk works nice. Looking at linux-mmc ml I see a lot of work on eMMC and I'm afraid that I should switch from 2.6.32 arago to

named gpio for DaVinci

2011-03-07 Thread Raffaele Recalcati
It looks nice the https://patchwork.kernel.org/patch/1578/ discussion and the possible implementation in drivers/gpio/pca953x.c. But, in DaVinci situation, it would require to modify davinci_gpio_setup getting gpio names from a new gpio platform_device. At the moment I will use gpio number to

Re: Recent kernel for DM365 and status of the staging tree

2011-02-22 Thread Raffaele Recalcati
My need for a recent kernel involves mmc management and a clean way to sync and suspend it quikly while the power is going away (an irq advise me 100ms before powerdown). Regarding video capability I need yuv422 to yuv420 conversion for pal and h264 encoding for pal and 720p formats. Thx,

Re: Kernel Memory Leak

2011-02-20 Thread Raffaele Recalcati
Hi Steve, OOM killer may (and often does) affect system stability and cause unexpected behavior. We should have a daemon that re-stabilize the system in any case, re-launching processes killed. But, obvioulsy, that daemon has not be killed by oom_killer. I have create a small and easy memory

Re: Kernel Memory Leak

2011-02-19 Thread Raffaele Recalcati
Hi Steve, In general, the Linux kernel tries to cache as much data in memory as possible in order to improve performance.  Therefore, it is quite normal to see decreasing free memory over time.  As long as the kernel is able to free memory cache when needed, there are no issues. I saw many

Re: TI DaVinci support under new maintainer: Sekhar Nori

2011-02-12 Thread Raffaele Recalcati
Hi Kevin, On Tue, Feb 8, 2011 at 10:54 PM, Kevin Hilman khil...@ti.com wrote: Hello, I will be stepping aside as maintainer of the TI DaVinci family of SoCs and Sekhar Nori from TI will be taking over these responsibilities. Sekhar has long been an active developer, primary contributor and

dm365 and eMMC

2011-01-11 Thread Raffaele Recalcati
I'm looking at using dm365 with eMMC storage. There is a strong limitation in respect of SD card, because, mmc dm365 peripheral can use only one bit of data and a max clock of 20Mhz. Is there any possibility to overcome this limit? Thanks, Raffaele ___

Thx for mmc in u-boot

2010-12-10 Thread Raffaele Recalcati
I was thinking to get crazy for having a v4.4 mmc working with dm365, instead with latest u-boot in ti tree mmc works out of the box. Thank you! ___ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com

Re: dm365 ccdc and newer isif

2010-12-10 Thread Raffaele Recalcati
On Sat, Dec 11, 2010 at 7:48 AM, Raffaele Recalcati lamiapost...@gmail.com wrote: Differently from 2.6.32, the isif.c is setting pinmux in platform_device. This is very nice, because YIN4 pinmux setting was overwriting mine. I'll all this behaviour also to 2.6.32. But I'd like to set static

Re: help : DM365 JPEG decoder error 0x8800

2010-12-05 Thread Raffaele Recalcati
On Sun, Dec 5, 2010 at 8:11 AM, tlzjhtl...@gmail.com wrote: hi, everyone, I have resolved the problem, if I set the input buffer size of jpeg file length, the decoder will fail, so I add the input buffer size with 1024, the decoder will success then. it's, inbuf.descs[0].bufSize = jpg_len +

Re: IPIPE issue in DM365

2010-12-04 Thread Raffaele Recalcati
Hi Albert, On Mon, Aug 16, 2010 at 1:17 PM, hitesh hitesh.pa...@einfochips.com wrote: Thanks Albert for your prompt response.. If my application want to allocate memory and I want to pass that memory to IPIPE module then what should be the parameter? Do you have any sample application

Re: setting gpios pinmux on a custom board

2010-12-01 Thread Raffaele Recalcati
On Wed, Dec 1, 2010 at 1:04 PM, Sergei Shtylyov sshtyl...@mvista.com wrote: Hello. On 30-11-2010 23:02, Raffaele Recalcati wrote: Looking at dm365.c I see that the pinmux settings are thinked for a particular case. How can I, in a clean way, to set my settings? By calls

setting gpios pinmux on a custom board

2010-11-30 Thread Raffaele Recalcati
Looking at dm365.c I see that the pinmux settings are thinked for a particular case. How can I, in a clean way, to set my settings? Can I override for instance dm365_pins in davinci_soc_info_dm365 structure with my settings for my basi board, dm365_basi_pins? Thx, Raffaele static struct

Re: setting gpios pinmux on a custom board

2010-11-30 Thread Raffaele Recalcati
sshtyl...@mvista.com ha scritto: Hello. Raffaele Recalcati wrote: Looking at dm365.c I see that the pinmux settings are thinked for a particular case. How can I, in a clean way, to set my settings? By calls to davinci_cfg_reg() or davinci_cfg_reg_list() ok, I'm doing that. Can I

New sched fantastic patch

2010-11-28 Thread Raffaele Recalcati
Looking at http://lkml.org/lkml/2010/10/19/123 I ask if anyone knows if this patch is good for embedded arm frame buffer or X 2.6.32 , or the same with 2 6.36. Thx, Raffaele ___ Davinci-linux-open-source mailing list

Re: tvp5150 extension to tvp5151

2010-11-22 Thread Raffaele Recalcati
On Mon, Nov 22, 2010 at 12:32 PM, Mauro Carvalho Chehab mche...@infradead.org wrote: Hi Raffaele, Em 19-11-2010 16:26, Raffaele Recalcati escreveu: I need to support fully tvp5151. So I'm trying to understand your driver, that is ready for VBI and not for video acquisition. I also take

Re: DVDSK Installer for DM365 And DM6446

2010-11-15 Thread Raffaele Recalcati
On Fri, Nov 12, 2010 at 10:01 AM, Sean Preston se...@pfk.co.za wrote: Hi I have recently started to work on the Davinci family of processors. I am looking for a DVSDK package for DM365 and DM6446 processors. I have downloaded dvsdk_setuplinux_2_00_00_22.bin for DM6446 and I tried to build

tvp5151: driver

2010-11-10 Thread Raffaele Recalcati
I'm writing this driver against the head of arago linux davinci kernel. After that I'll try to port it to latest linux.davinci kernel. Just to be sure isn't anybody working on it, or , if present, to share considerations. Thx, Raffaele -- www.opensurf.it

Re: tvp5151: driver

2010-11-10 Thread Raffaele Recalcati
On Wed, Nov 10, 2010 at 12:45 PM, Hans Verkuil hverk...@xs4all.nl wrote: Hi Raffaele, There is already a tvp5150.c driver available. Are there many changes between tvp5150 and tvp5151? If the differences are fairly limited, then it might make more sense to adapt tvp5150.c. right guessing to

Re: problem with serial console

2010-10-11 Thread Raffaele Recalcati
, Hemant hema...@ti.com wrote: Just to check: have you added earlyprintk to your bootargs? - Hemant From: kunal singh [mailto:pahelipra...@gmail.com] Sent: Thursday, September 30, 2010 7:40 PM To: Raffaele Recalcati; Nori, Sekhar; Pedanekar, Hemant Cc

Re: net example?

2010-10-11 Thread Raffaele Recalcati
On Mon, Oct 11, 2010 at 10:44 AM, Andrea Gasparini gaspar...@imavis.com wrote: Hi, perhaps a recurring question: is there an example of a net driver that makes heavy use of edma ? Normally a net driver doesn't use, it is instead used. If you are thinking about net performances you can launch

Re: problem with serial console

2010-09-30 Thread Raffaele Recalcati
On Thu, Sep 30, 2010 at 2:35 PM, kunal singh pahelipra...@gmail.com wrote: Hi Raffaele,   Thanks for the suggestion.  (1)  Console is fine. I am able to communicate with the u-boot (115200,n8). Also if I use printascii (a kernel function) I am able to output on console.  (2) There is no

Re: problem with serial console

2010-09-29 Thread Raffaele Recalcati
On Wed, Sep 29, 2010 at 4:48 AM, kunal singh pahelipra...@gmail.com wrote: Hi,    MY SETUP    -    We have a dm6446 based board we have been using 2.6.18 (MV) Linux. Recently I tried upgrading to kernel 2.6.32 (PSP 03.01).   PROBLEM   ---    When the

Re: Driver

2010-09-11 Thread Raffaele Recalcati
Hi, I'm a novice embedded engineer who works in a IPTV STB project. We are using a DaVinci DM6446 based evaluation board for developing a firmware for our STB.  Unfortunetaly I am the only engineer who work in the software development side, and  don't have enough backround to deal with

Re: [PATCH v4] DaVinci: dm365: Added clockout2 management.

2010-08-24 Thread Raffaele Recalcati
2010/8/5 Kevin Hilman khil...@deeprootsystems.com Raffaele Recalcati lamiapost...@gmail.com writes: From: Davide Bonfanti davide.bonfa...@bticino.it Clockout2 is added as a child of pll1_sysclk9. A new dm365_clkout2_set_rate is used to set clockout2 frequency. Signed-off

Re: [PATCH v4] DaVinci: dm365: Added clockout2 management.

2010-08-24 Thread Raffaele Recalcati
Sorry, please integrate the previous e-mail with this one... (I made a mistake sending the e-mail) -Solving a possible race when writing PERI_CLKCTL, see Nori Sekhar explanation: Looks like the same register supports setting clocks for voice codec and keyscan module as well. This can

Re: [PATCH v3] DaVinci: dm365: Added clockout2 management.

2010-08-05 Thread Raffaele Recalcati
2010/8/5 Nori, Sekhar nsek...@ti.com Hi Raffaele, On Wed, Aug 04, 2010 at 21:56:14, Raffaele Recalcati wrote: From: Davide Bonfanti davide.bonfa...@bticino.it Clockout2 is added as a child of pll1_sysclk9. A new dm365_clkout2_set_rate is used to set clockout2 frequency. I

[PATCH v4] DaVinci: dm365: Added clockout2 management.

2010-08-05 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Clockout2 is added as a child of pll1_sysclk9. A new dm365_clkout2_set_rate is used to set clockout2 frequency. Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it

[PATCH v3] DaVinci: dm365: Added clockout2 management.

2010-08-04 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Clockout2 is added as a child of pll1_sysclk9. A new dm365_clkout2_set_rate is used to set clockout2 frequency. Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it

[PATCH v2] DaVinci: dm365: Added clockout2 management.

2010-08-02 Thread Raffaele Recalcati
ancestor. This patch has been developed against the http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git git tree and tested on bmx board. Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it

Re: Boot time

2010-07-31 Thread Raffaele Recalcati
You should use qt statically linked. I would like to see the final boot chart . Bye 2010/7/30, Nicolas Luna luna...@gmail.com: Hi, Thanks guys for your advices, I applied few of them and I save a lot of time, I'm at 3.9 seconds now. I'll also apply the deferred init calls concept later. I

Re: Boot time

2010-07-29 Thread Raffaele Recalcati
Hi Nicolas, 2010/7/28 Nicolas Luna luna...@gmail.com Hi guys, I'm trying to make by board boot as quick as possible. I did some optimisation with the All This For 1 Second Boot wiki and other website. I would like to reduce a little bit more the boot time and I wonder if you guys could

Re: [PATCH v2] DaVinci: dm365: Added clockout2 management.

2010-07-29 Thread Raffaele Recalcati
Hi Nori, --- a/arch/arm/mach-davinci/clock.c +++ b/arch/arm/mach-davinci/clock.c @@ -254,7 +254,15 @@ static unsigned long clk_sysclk_recalc(struct clk *clk) u32 v, plldiv; struct pll_data *pll; unsigned long rate =

Re: Davinci RTC

2010-07-27 Thread Raffaele Recalcati
2010/7/26 Hank Magnuski ha...@mtinet.com In rtv-davinci.c there is this piece of code: static inline void davinci_rtcif_wait(struct davinci_rtc *davinci_rtc) { while (davinci_rtcif_read(davinci_rtc, DAVINCI_PRTCIF_CTLR) DAVINCI_PRTCIF_CTLR_BUSY)

Re: [PATCH v2] DaVinci: dm365: Added clockout2 management.

2010-07-26 Thread Raffaele Recalcati
2010/7/22 Nori, Sekhar nsek...@ti.com Hi Raffaele, On Wed, Jul 21, 2010 at 16:21:49, Raffaele Recalcati wrote: From: Davide Bonfanti davide.bonfa...@bticino.it Clockout2 is added as a child of pll1_sysclk9, because they have the same pll divisor. Added

[PATCH 3/3] ASoC: DaVinci: Voicecodec: Added support based on davinci-pcm-copyfromuser

2010-07-16 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it The driver uses the pcm implementation without the use of DMA in order to support Voicecodec (cq93vc). Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it

[PATCH 1/3] ASoC: soc-core: soc_pcm_ops dynamically allocated

2010-07-16 Thread Raffaele Recalcati
-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- sound/soc/soc-core.c | 38 +- 1 files changed, 17 insertions(+), 21 deletions(-) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index ad7f952..6500686 100644 --- a/sound/soc/soc-core.c +++ b/sound

[PATCH 2/3] ASoC: DaVinci: Added support based on copy_from_user instead of DMA

2010-07-16 Thread Raffaele Recalcati
davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- sound/soc/davinci/Makefile |1 + sound/soc/davinci/davinci-pcm-copy.h | 52 + sound/soc/davinci/davinci-pcm-copyfromuser.c | 278 ++ sound/soc

Re: [PATCH 1/3] ASoC: soc-core: soc_pcm_ops dynamically allocated

2010-07-16 Thread Raffaele Recalcati
2010/7/16 Mark Brown broo...@opensource.wolfsonmicro.com On Fri, Jul 16, 2010 at 04:46:57PM +0200, Raffaele Recalcati wrote: If soc_pcm_ops is statically allocated, more than one call to soc_new_pcm cause operations overwrite. The problem is overcome usyng dynamic allocation

[PATCH] DaVinci: dm365: Added clockout2 management.

2010-07-15 Thread Raffaele Recalcati
ancestor. This patch has been developed against the http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git git tree and tested on bmx board. Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it

Re: [PATCH] DaVinci: dm365: Added clockout2 management and set_sysclk_rate

2010-07-15 Thread Raffaele Recalcati
Please not consider this patch. I have to re-check it. I'm sorry for the mistake. 2010/7/14 Raffaele Recalcati lamiapost...@gmail.com From: Davide Bonfanti davide.bonfa...@bticino.it Added also possibility to set sysclk frequency. Added possibility to set clockout2 frequency

Re: Lauterbach and DM365

2010-07-06 Thread Raffaele Recalcati
2010/7/5 Diego Dompe diego.do...@ridgerun.com Hi, Yes, you can attach the lauterbach to a DM365. I think is even on the list of processors supported on recent versions. Diego On Jun 28, 2010, at 7:16 AM, Kieran Bingham wrote: Hi Guys, Has anyone used a lauterbach to connect the

[PATCH 3/3] ASoC: DaVinci: Added fast clock timing for McBSP (I2S)

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it i2s_fast_clock switch can be used to have a better approximate frequency. The waveform will be not symmetric. This patch has been developed against the http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux

[PATCH 1/3] ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added two clocking options for dm365 McBSP peripheral when used with I2S timings, that are SND_SOC_DAIFMT_CBS_CFS (the cpu generates clock and frame sync) and SND_SOC_DAIFMT_CBS_CFM (the cpu gets clock from external pin

[PATCH 2/3] ASoC: DaVinci: Added selection of clk input pin for McBSP

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it When McBSP peripheral gets the clock from an external pin, there are three possible chooses, MCBSP_CLKX, MCBSP_CLKR and MCBSP_CLKS. evm-dm365 uses MCBSP_CLKR, instead in bmx board I have a different hardware connection

Rif: Re: [PATCH] spi: davinci: Added support for chip select using gpio

2010-07-06 Thread raffaele . recalcati
-glik...@secretlab.ca ha scritto: - Per: Raffaele Recalcati lamiapost...@gmail.com, Brian Niebuhr bniebu...@gmail.com Da: Grant Likely grant.lik...@secretlab.ca Inviato da: glik...@secretlab.ca Data: 01/07/2010 01.03 Cc: davinci-linux-open-sou...@linux.davincidsp.com, Raffaele Recalcati

Rif: Re: [PATCH 1/3] ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)

2010-07-06 Thread raffaele . recalcati
-Mark Brown broo...@opensource.wolfsonmicro.com ha scritto: - Per: Raffaele Recalcati lamiapost...@gmail.com Da: Mark Brown broo...@opensource.wolfsonmicro.com Data: 04/07/2010 11.15 Cc: davinci-linux-open-sou...@linux.davincidsp.com, Raffaele Recalcati raffaele.recalc...@bticino.it

[PATCH] ASoC: DaVinci: More accurate calculation for clock divider for McBSP (I2S)

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it i2s_accurate_sck switch can be used to have a better approximate sampling frequency. The trade off is between more accurate clock (fast clock) and less accurate clock (slow clock). The waveform will be not symmetric

Rif: Re: [PATCH 3/3] ASoC: DaVinci: More accurate calculation for clock divider for McBSP (I2S)

2010-07-06 Thread raffaele . recalcati
-Troy Kisky troy.ki...@boundarydevices.com ha scritto: - Per: Raffaele Recalcati lamiapost...@gmail.com Da: Troy Kisky troy.ki...@boundarydevices.com Data: 02/07/2010 22.57 Cc: davinci-linux-open-sou...@linux.davincidsp.com, Mark Brown broo...@opensource.wolfsonmicro.com, Raffaele

[PATCH 2/3] ASoC: DaVinci: Added selection of clk input pin for McBSP

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it When McBSP peripheral gets the clock from an external pin, there are three possible chooses, MCBSP_CLKX, MCBSP_CLKR and MCBSP_CLKS. evm-dm365 uses MCBSP_CLKR, instead in bmx board I have a different hardware connection

[PATCH 3/3] ASoC: DaVinci: More accurate continuous serial clock for McBSP (I2S)

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it i2s_accurate_sck switch can be used to have a better approximate sampling frequency. The clock is an externally visible bit clock and it is named i2s continuous serial clock (I2S_SCK). The trade off is between more

[PATCH 1/3] ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)

2010-07-06 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added two clocking options for dm365 McBSP peripheral when used with I2S timings, that are SND_SOC_DAIFMT_CBS_CFS (the cpu generates clock and frame sync) and SND_SOC_DAIFMT_CBS_CFM (the cpu gets clock from external pin

Re: Question on RAMDISK

2010-07-05 Thread Raffaele Recalcati
2010/7/5 rohan tabish rohan_ja...@yahoo.co.uk Hello everyone I am using a ramdisk image to boot the system its takes around 7secs to copy the ramdisk image from the flash to the RAM and then takes 3.6 seconds after kernal uncompressing to the linux prompt I want to know that how to reduce

[PATCH 2/3] ASoC: DaVinci: Added selection of clk input pin for McBSP

2010-07-02 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it When McBSP peripheral gets the clock from an external pin, there are three possible chooses, MCBSP_CLKX, MCBSP_CLKR and MCBSP_CLKS. evm-dm365 uses MCBSP_CLKR, instead in bmx board I have a different hardware connection

[no subject]

2010-07-02 Thread Raffaele Recalcati
The actual DaVinci tree McBSP driver, used for i2S interface, supports clk and frame sync only if generated externally (see for instance evm-dm365). This patch series add two new clocking possibilities and also it allows to select the clock input pin. It is also possible, with the last patch, to

[PATCH 1/3] ASoC: DaVinci: Added two clocking possibilities to McBSP (I2S)

2010-07-02 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added two clocking options for dm365 McBSP peripheral when used with I2S timings, that are SND_SOC_DAIFMT_CBS_CFS (the cpu generates clock and frame sync) and SND_SOC_DAIFMT_CBS_CFM (the cpu gets clock from external pin

[PATCH 3/3] ASoC: DaVinci: More accurate calculation for clock divider for McBSP (I2S)

2010-07-02 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it i2s_accurate_clock switch can be used to have a better approximate frequency. The trade off is between more accurate clock (fast clock) and less accurate clock (slow clock). The waveform will be not symmetric. Probably

Re: [PATCH] ASoC: DaVinci: Added support for cpu clocking I2S

2010-06-30 Thread Raffaele Recalcati
The freq problem is describe here below, but it is not clear to me: From *TMS320DM36x DMSoC Multichannel Buffered Serial Port User's Guide (Rev. A) http://www.ti.com/litv/pdf/sprufi3a* 2.5.3 Data Clock Generation When the receive/transmit clock mode is set to 1 (CLK(R/X)M = 1 in the pin

Re: [PATCH] ASoC: DaVinci: Added support for cpu clocking I2S

2010-06-30 Thread Raffaele Recalcati
2010/6/28 Mark Brown broo...@opensource.wolfsonmicro.com On Mon, Jun 28, 2010 at 08:44:46AM +0200, Raffaele Recalcati wrote: From: Raffaele Recalcati raffaele.recalc...@bticino.it It's still very hard to understand what this patch is supposed to do. As previously mentioned this would

Re: [PATCH] ASoC: DaVinci: Added support for cpu clocking I2S

2010-06-30 Thread Raffaele Recalcati
2010/6/28 Troy Kisky troy.ki...@boundarydevices.com Raffaele Recalcati wrote: + if (dev-i2s_fast_clock) { + clk_div = 256; can you have f = (freq / params-rate_num) * params-rate_den; + do { + framesize

[PATCH] ASoC: DaVinci: Added support for cpu clocking I2S

2010-06-29 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added audio playback support with [frame sync master - clock master] mode and with [frame sync master - clock slave]. 1. SND_SOC_DAIFMT_CBS_CFS (the cpu generates clock and frame sync) I need to clarify how the McBSP

Re: [PATCH] ASoC: DaVinci: Added support for stereo I2S

2010-06-29 Thread Raffaele Recalcati
Hi Liam, 2010/6/23 Liam Girdwood l...@slimlogic.co.uk On Wed, 2010-06-23 at 16:33 +0200, Raffaele Recalcati wrote: From: Raffaele Recalcati raffaele.recalc...@bticino.it Added audio playback support with [frame sync master - clock master] mode and with [frame sync master

[PATCH] davinci: dm365: Added swap between y and c data in isif port.

2010-06-29 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added the possibility to change the position of y and c data in the isif port. This patch has been developed against the http://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git git tree and tested on bmx

[PATCH] spi: davinci: Added support for chip select using gpio

2010-06-29 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it It is not everytime possible, due to hardware constraints, to use the hw chip select available on spi port. So I add this possibility using a gpio as chip select. If controller_data variable is not null it is the gpio

[PATCH] DaVinci: dm365: Added clockout2 management and set_sysclk_rate

2010-06-29 Thread Raffaele Recalcati
://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci.git git tree and tested on bmx board. Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- arch/arm/mach-davinci/clock.c | 113

Re: RE: [PATCH 14/14] davinci: video: davincifb Parallel RBG LCD management

2010-06-25 Thread Raffaele Recalcati
20874 email: m-kariche...@ti.com From: Raffaele Recalcati [mailto:lamiapost...@gmail.com] Sent: Thursday, June 24, 2010 11:29 AM To: Karicheri, Muralidharan Cc: Kevin Hilman; davide.bonfa...@bticino.it; davinci-linux-open-source@linux.davincidsp.com; Selvamani

Re: RE: [PATCH 14/14] davinci: video: davincifb Parallel RBG LCD management

2010-06-24 Thread Raffaele Recalcati
Hi Muralidharan, 2010/6/17 Karicheri, Muralidharan m-kariche...@ti.com Raffaele, You got the readme.txt right! Arago tree has the latest video drivers for DM365. But this is a temporary staging tree that has all of the video drivers up ported from the MV kernel. Some of these

Re: [PATCH 01/14] ASoC: DaVinci: Added support for stereo I2S

2010-06-23 Thread Raffaele Recalcati
Hi Kevin, first of all thanks for your reply. I'm very happy to see a feedback. 2010/6/22 Kevin Hilman khil...@deeprootsystems.com Raffaele Recalcati lamiapost...@gmail.com writes: From: Raffaele Recalcati raffaele.recalc...@bticino.it - Frame Sync master and Clock master

[PATCH] ASoC: DaVinci: Added support for stereo I2S

2010-06-23 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Added audio playback support with [frame sync master - clock master] mode and with [frame sync master - clock slave]. Clock slave can be important when the external codec need system clock and bit clock

Re: RE: [PATCH 14/14] davinci: video: davincifb Parallel RBG LCD management

2010-06-17 Thread Raffaele Recalcati
://git.linuxtv.org/mkaricheri/vpfe-vpbe-video.git?a=shortlog;h=refs/heads/devel_2_6_35rc2 work, but first I need a better clarification of our development roadmap and who is mantaining what. Best Regards, Raffaele Recalcati ___ Davinci-linux-open-source mailing

Re: RE: [PATCH 14/14] davinci: video: davincifb Parallel RBG LCD management

2010-06-17 Thread Raffaele Recalcati
devel_2_6_35rc2 = when? Raffaele Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 email: m-kariche...@ti.com -- *From:* Raffaele Recalcati [mailto:lamiapost...@gmail.com] *Sent:* Thursday, June 17, 2010 3:14 AM *To:* Karicheri

Re: [PATCH] DM365EVM: Fix up PHY Clocksource to enable USB Host on DM365EVM

2010-06-15 Thread Raffaele Recalcati
2010/6/14 Kieran Bingham kieranbing...@gmail.com Hi Raffaele, I'm afraid I'm only using the USB in Host Mode - I have not looked at anything in gadget mode. Have you tried using the Arago Tree yet ? -- Regards Kieran I made a test with Arago tree and evaluation board with usb slave and

Re: [PATCH] DM365EVM: Fix up PHY Clocksource to enable USB Host on DM365EVM

2010-06-14 Thread Raffaele Recalcati
Hi Kieran, 2010/6/8 Kieran Bingham kieranbing...@gmail.com From: Kieran Bingham kbing...@mpc-data.co.uk This patch was created by pulling in the code required from the Arago Tree. Checked by running on a Spectrum Digital DM365EVM Revision C. Signed-off-by: Kieran Bingham

[PATCH 01/14] ASoC: DaVinci: Added support for stereo I2S

2010-06-11 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it - Frame Sync master and Clock master (internally generated) - Frame Sync master and Clock slave Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it

[PATCH 02/14] spi: davinci: Added support for chip select using gpio

2010-06-11 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it --- arch/arm/mach-davinci/dm365.c | 10 ++ drivers/spi/davinci_spi.c | 27

[PATCH 06/14] fb: Added composite sync high active mode

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it --- include/linux/fb.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/fb.h b/include/linux/fb.h index c10163b..578a8de 100644 ---

[PATCH 04/14] ads7846: setting pen_down direction in input

2010-06-11 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/input/touchscreen/ads7846.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input

[PATCH 05/14] mtd-nand: davinci: Added 16 bit wide bus for DaVinci bmx board

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/mtd/nand/davinci_nand.c | 42 +++ 1 files changed, 42 insertions(+), 0

[PATCH 03/14] davinci: dm365: Added swap between y and c data in isif port.

2010-06-11 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/media/video/davinci/isif.c |6 +- include/media/davinci/isif.h |2 ++ include/media/davinci/vpfe_types.h |8 3 files changed, 15

[PATCH 09/14] mfd: update gfp/slab.h includes

2010-06-11 Thread Raffaele Recalcati
From: Tejun Heo t...@kernel.org Implicit slab.h inclusion via percpu.h is about to go away. Make sure gfp.h or slab.h is included as necessary. Signed-off-by: Tejun Heo t...@kernel.org Acked-by: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com ---

[PATCH 11/14] regulator: add support for Dallas DS1803 dual digital potentiometer

2010-06-11 Thread Raffaele Recalcati
From: Rodolfo Giometti giome...@linux.it Signed-off-by: Rodolfo Giometti giome...@linux.it Acked-by: Raffaele Recalcati raffaele.recalc...@bticino.it Acked-by: Enrico Valtolina enrico.valtol...@bticino.it --- drivers/regulator/Kconfig|7 ++ drivers/regulator/Makefile

[PATCH 10/14] DaVinci: dm365: Added clokout2 management and set_sysclk_rate

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- arch/arm/mach-davinci/clock.c | 113 +++- arch/arm/mach-davinci/clock.h

[PATCH 08/14] drivers: mfd: Kconfig Adding comment to MFD_DAVINCI_VOICECODEC

2010-06-11 Thread Raffaele Recalcati
From: Raffaele Recalcati raffaele.recalc...@bticino.it It makes more clear the selection. Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/mfd/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd

[PATCH 13/14] davinci: video: davincifb Added operation in order to turn on/off hw in platform management

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Racalcati raffaele.recalc...@bticino.it --- drivers/video/davincifb.c | 22 ++ include/video/davincifb.h | 11 +++ 2 files changed,

[PATCH 14/14] davinci: video: davincifb Parallel RBG LCD management

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it --- drivers/video/davincifb.c | 167 + include/video/davincifb.h | 17 - 2 files changed, 165 insertions(+), 19 deletions(-) diff --git

[PATCH 07/14] davinci: dm365: Fix UART0,1 register addresses

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- arch/arm/mach-davinci/dm365.c |4 ++-- arch/arm/mach-davinci/include/mach/serial.h |3 +++ 2 files

[PATCH 12/14] davinci: video: davincifb import fb parameters from platform data

2010-06-11 Thread Raffaele Recalcati
From: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Davide Bonfanti davide.bonfa...@bticino.it Signed-off-by: Raffaele Recalcati raffaele.recalc...@bticino.it --- drivers/video/davincifb.c | 134 +++-- include/video/davincifb.h | 65

  1   2   >