public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
@ 2009-01-15 19:30 Koen Kooi
  2009-01-15 19:54 ` Koen Kooi
  2009-01-23  8:00 ` Koen Kooi
  0 siblings, 2 replies; 18+ messages in thread
From: Koen Kooi @ 2009-01-15 19:30 UTC (permalink / raw)
  To: linux-omap; +Cc: beagleboard, Koen Kooi

From: Koen Kooi <koen@beagleboard.org>

Changing it to 100kHz is needed to make more devices works properly. Controlling the TI DLP Pico projector[1] doesn't work properly at 400kHz, 100kHz and lower work fine. EDID readout is unaffected by this change.

[1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234

Signed-off-by: Koen Kooi <koen@beagleboard.org>
---
 arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index fe97bab..f279404 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
 #ifdef CONFIG_I2C2_OMAP_BEAGLE
 	omap_register_i2c_bus(2, 400, NULL, 0);
 #endif
-	omap_register_i2c_bus(3, 400, NULL, 0);
+	omap_register_i2c_bus(3, 100, NULL, 0);
 	return 0;
 }
 
-- 
1.5.6.3


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
@ 2009-01-15 19:34 Koen Kooi
  0 siblings, 0 replies; 18+ messages in thread
From: Koen Kooi @ 2009-01-15 19:34 UTC (permalink / raw)
  To: linux-omap; +Cc: Koen Kooi

From: Koen Kooi <koen@beagleboard.org>

Changing it to 100kHz is needed to make more devices works properly. Controlling the TI DLP Pico projector[1] doesn't work properly at 400kHz, 100kHz and lower work fine. EDID readout is unaffected by this change.

[1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234

Signed-off-by: Koen Kooi <koen@beagleboard.org>
---
 arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index fe97bab..f279404 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
 #ifdef CONFIG_I2C2_OMAP_BEAGLE
 	omap_register_i2c_bus(2, 400, NULL, 0);
 #endif
-	omap_register_i2c_bus(3, 400, NULL, 0);
+	omap_register_i2c_bus(3, 100, NULL, 0);
 	return 0;
 }
 
-- 
1.5.6.3


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
@ 2009-01-15 19:43 Koen Kooi
  0 siblings, 0 replies; 18+ messages in thread
From: Koen Kooi @ 2009-01-15 19:43 UTC (permalink / raw)
  To: linux-omap; +Cc: Koen Kooi

From: Koen Kooi <koen@beagleboard.org>

Changing it to 100kHz is needed to make more devices works properly. Controlling the TI DLP Pico projector[1] doesn't work properly at 400kHz, 100kHz and lower work fine. EDID readout is unaffected by this change.

[1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234

Signed-off-by: Koen Kooi <koen@beagleboard.org>
---
 arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index fe97bab..f279404 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
 #ifdef CONFIG_I2C2_OMAP_BEAGLE
 	omap_register_i2c_bus(2, 400, NULL, 0);
 #endif
-	omap_register_i2c_bus(3, 400, NULL, 0);
+	omap_register_i2c_bus(3, 100, NULL, 0);
 	return 0;
 }
 
-- 
1.5.6.3


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-15 19:30 [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz Koen Kooi
@ 2009-01-15 19:54 ` Koen Kooi
  2009-01-23  8:00 ` Koen Kooi
  1 sibling, 0 replies; 18+ messages in thread
From: Koen Kooi @ 2009-01-15 19:54 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org List

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]

Sorry for the noise, I suck at sending patches :/


Op 15 jan 2009, om 20:30 heeft Koen Kooi het volgende geschreven:

> From: Koen Kooi <koen@beagleboard.org>
>
> Changing it to 100kHz is needed to make more devices works properly.  
> Controlling the TI DLP Pico projector[1] doesn't work properly at  
> 400kHz, 100kHz and lower work fine. EDID readout is unaffected by  
> this change.
>
> [1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234
>
> Signed-off-by: Koen Kooi <koen@beagleboard.org>
> ---
> arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
> omap2/board-omap3beagle.c
> index fe97bab..f279404 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
> #ifdef CONFIG_I2C2_OMAP_BEAGLE
> 	omap_register_i2c_bus(2, 400, NULL, 0);
> #endif
> -	omap_register_i2c_bus(3, 400, NULL, 0);
> +	omap_register_i2c_bus(3, 100, NULL, 0);
> 	return 0;
> }
>
> -- 
> 1.5.6.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-15 19:30 [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz Koen Kooi
  2009-01-15 19:54 ` Koen Kooi
@ 2009-01-23  8:00 ` Koen Kooi
  2009-01-23  9:52   ` David Brownell
  1 sibling, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2009-01-23  8:00 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org List; +Cc: Beagle Board

[-- Attachment #1: Type: text/plain, Size: 1350 bytes --]


Op 15 jan 2009, om 20:30 heeft Koen Kooi het volgende geschreven:

> From: Koen Kooi <koen@beagleboard.org>
>
> Changing it to 100kHz is needed to make more devices works properly.  
> Controlling the TI DLP Pico projector[1] doesn't work properly at  
> 400kHz, 100kHz and lower work fine. EDID readout is unaffected by  
> this change.
>
> [1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234
>
> Signed-off-by: Koen Kooi <koen@beagleboard.org>

Any comments on this patch?

regards,

Koen




>
> ---
> arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
> omap2/board-omap3beagle.c
> index fe97bab..f279404 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
> #ifdef CONFIG_I2C2_OMAP_BEAGLE
> 	omap_register_i2c_bus(2, 400, NULL, 0);
> #endif
> -	omap_register_i2c_bus(3, 400, NULL, 0);
> +	omap_register_i2c_bus(3, 100, NULL, 0);
> 	return 0;
> }
>
> -- 
> 1.5.6.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-23  8:00 ` Koen Kooi
@ 2009-01-23  9:52   ` David Brownell
  2009-01-23 10:48     ` Koen Kooi
  0 siblings, 1 reply; 18+ messages in thread
From: David Brownell @ 2009-01-23  9:52 UTC (permalink / raw)
  To: Koen Kooi; +Cc: linux-omap@vger.kernel.org List, Beagle Board

On Friday 23 January 2009, Koen Kooi wrote:
> 
> Op 15 jan 2009, om 20:30 heeft Koen Kooi het volgende geschreven:
> 
> > From: Koen Kooi <koen@beagleboard.org>
> >
> > Changing it to 100kHz is needed to make more devices works properly.  
> > Controlling the TI DLP Pico projector[1] doesn't work properly at  
> > 400kHz, 100kHz and lower work fine. EDID readout is unaffected by  
> > this change.
> >
> > [1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234
> >
> > Signed-off-by: Koen Kooi <koen@beagleboard.org>
> 
> Any comments on this patch?

I2C-3 is only used for talking on DVI, right?
Which means EDID ... and maybe DLP/Pico, unless
someone uses it as an I2C adapter.  (Which some
folk hack together on PCs...)

Seems harmless to me, but I'd add a comment
explaining why just 100 MHz.  (The Pico manual
says 400 KHz should work.)

- Dave


> 
> regards,
> 
> Koen
> 
> 
> 
> 
> >
> > ---
> > arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach- 
> > omap2/board-omap3beagle.c
> > index fe97bab..f279404 100644
> > --- a/arch/arm/mach-omap2/board-omap3beagle.c
> > +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> > @@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
> > #ifdef CONFIG_I2C2_OMAP_BEAGLE
> > 	omap_register_i2c_bus(2, 400, NULL, 0);
> > #endif
> > -	omap_register_i2c_bus(3, 400, NULL, 0);
> > +	omap_register_i2c_bus(3, 100, NULL, 0);
> > 	return 0;
> > }
> >
> > -- 
> > 1.5.6.3

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-23  9:52   ` David Brownell
@ 2009-01-23 10:48     ` Koen Kooi
  2009-01-24 15:06       ` Jason Kridner
  0 siblings, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2009-01-23 10:48 UTC (permalink / raw)
  To: David Brownell; +Cc: linux-omap@vger.kernel.org List, Beagle Board

[-- Attachment #1: Type: text/plain, Size: 1958 bytes --]


Op 23 jan 2009, om 10:52 heeft David Brownell het volgende geschreven:

> On Friday 23 January 2009, Koen Kooi wrote:
>>
>> Op 15 jan 2009, om 20:30 heeft Koen Kooi het volgende geschreven:
>>
>>> From: Koen Kooi <koen@beagleboard.org>
>>>
>>> Changing it to 100kHz is needed to make more devices works properly.
>>> Controlling the TI DLP Pico projector[1] doesn't work properly at
>>> 400kHz, 100kHz and lower work fine. EDID readout is unaffected by
>>> this change.
>>>
>>> [1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234
>>>
>>> Signed-off-by: Koen Kooi <koen@beagleboard.org>
>>
>> Any comments on this patch?
>
> I2C-3 is only used for talking on DVI, right?
> Which means EDID ... and maybe DLP/Pico, unless
> someone uses it as an I2C adapter.  (Which some
> folk hack together on PCs...)
>
> Seems harmless to me, but I'd add a comment
> explaining why just 100 MHz.  (The Pico manual
> says 400 KHz should work.)

The updated manual will say 400kHz won't work, the TI DLP engineers  
were the ones that designed the pico that pointed the i2c speed  
problem out to me :)
I'd be happy to change the patch if needed, but I think the updated  
manual will take care of most issues.

regards,

Koen

>
>
> - Dave
>
>
>>
>> regards,
>>
>> Koen
>>
>>
>>
>>
>>>
>>> ---
>>> arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
>>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/ 
>>> mach-
>>> omap2/board-omap3beagle.c
>>> index fe97bab..f279404 100644
>>> --- a/arch/arm/mach-omap2/board-omap3beagle.c
>>> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
>>> @@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
>>> #ifdef CONFIG_I2C2_OMAP_BEAGLE
>>> 	omap_register_i2c_bus(2, 400, NULL, 0);
>>> #endif
>>> -	omap_register_i2c_bus(3, 400, NULL, 0);
>>> +	omap_register_i2c_bus(3, 100, NULL, 0);
>>> 	return 0;
>>> }
>>>
>>> -- 
>>> 1.5.6.3


[-- Attachment #2: Dit deel van het bericht is digitaal ondertekend --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-23 10:48     ` Koen Kooi
@ 2009-01-24 15:06       ` Jason Kridner
  2009-01-24 20:30         ` David Brownell
  0 siblings, 1 reply; 18+ messages in thread
From: Jason Kridner @ 2009-01-24 15:06 UTC (permalink / raw)
  To: Koen Kooi; +Cc: David Brownell, linux-omap@vger.kernel.org List, Beagle Board


On Jan 23, 2009, at 4:48 AM, Koen Kooi wrote:

>
> Op 23 jan 2009, om 10:52 heeft David Brownell het volgende geschreven:
>
>> On Friday 23 January 2009, Koen Kooi wrote:
>>>
>>> Op 15 jan 2009, om 20:30 heeft Koen Kooi het volgende geschreven:
>>>
>>>> From: Koen Kooi <koen@beagleboard.org>
>>>>
>>>> Changing it to 100kHz is needed to make more devices works  
>>>> properly.
>>>> Controlling the TI DLP Pico projector[1] doesn't work properly at
>>>> 400kHz, 100kHz and lower work fine. EDID readout is unaffected by
>>>> this change.
>>>>
>>>> [1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234
>>>>
>>>> Signed-off-by: Koen Kooi <koen@beagleboard.org>
>>>
>>> Any comments on this patch?
>>
>> I2C-3 is only used for talking on DVI, right?
>> Which means EDID ... and maybe DLP/Pico, unless
>> someone uses it as an I2C adapter.  (Which some
>> folk hack together on PCs...)
>>
>> Seems harmless to me, but I'd add a comment
>> explaining why just 100 MHz.  (The Pico manual
>> says 400 KHz should work.)
>
> The updated manual will say 400kHz won't work, the TI DLP engineers  
> were the ones that designed the pico that pointed the i2c speed  
> problem out to me :)
> I'd be happy to change the patch if needed, but I think the updated  
> manual will take care of most issues.
>
> regards,
>
> Koen

Given that this port is only used on the DVI port for the BeagleBoard,  
I believe it is appropriate to set it to 100kHz as Koen has done.


>
>
>>
>>
>> - Dave
>>
>>
>>>
>>> regards,
>>>
>>> Koen
>>>
>>>
>>>
>>>
>>>>
>>>> ---
>>>> arch/arm/mach-omap2/board-omap3beagle.c |    2 +-
>>>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>>>
>>>> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/ 
>>>> mach-
>>>> omap2/board-omap3beagle.c
>>>> index fe97bab..f279404 100644
>>>> --- a/arch/arm/mach-omap2/board-omap3beagle.c
>>>> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
>>>> @@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void)
>>>> #ifdef CONFIG_I2C2_OMAP_BEAGLE
>>>> 	omap_register_i2c_bus(2, 400, NULL, 0);
>>>> #endif
>>>> -	omap_register_i2c_bus(3, 400, NULL, 0);
>>>> +	omap_register_i2c_bus(3, 100, NULL, 0);
>>>> 	return 0;
>>>> }
>>>>
>>>> -- 
>>>> 1.5.6.3
>


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-24 15:06       ` Jason Kridner
@ 2009-01-24 20:30         ` David Brownell
  2009-01-24 21:09           ` Koen Kooi
       [not found]           ` <bd7b27490901250616q2363c5b4wf422d32831bd3638@mail.gmail.com>
  0 siblings, 2 replies; 18+ messages in thread
From: David Brownell @ 2009-01-24 20:30 UTC (permalink / raw)
  To: Jason Kridner; +Cc: Koen Kooi, linux-omap@vger.kernel.org List, Beagle Board

On Saturday 24 January 2009, Jason Kridner wrote:
> 
> Given that this port is only used on the DVI port for the BeagleBoard,  
> I believe it is appropriate to set it to 100kHz as Koen has done.

That's what I meant to say (kHz not MHZ!) ... except, also add a
comment saying why the (un-obvious) restriction is being made.

Though I did note that since it's a nice level-shifted I2C, some
folk may want to use it for non-DDC purposes [1], where a 100 KHz
limit might not always be wanted.

- Dave

[1] http://www.paintyourdragon.com/uc/i2c/index.html


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-24 20:30         ` David Brownell
@ 2009-01-24 21:09           ` Koen Kooi
  2009-01-24 22:33             ` David Brownell
       [not found]           ` <bd7b27490901250616q2363c5b4wf422d32831bd3638@mail.gmail.com>
  1 sibling, 1 reply; 18+ messages in thread
From: Koen Kooi @ 2009-01-24 21:09 UTC (permalink / raw)
  To: David Brownell
  Cc: Jason Kridner, linux-omap@vger.kernel.org List, Beagle Board



Op 24 jan 2009 om 21:30 heeft David Brownell <david-b@pacbell.net> het  
volgende geschreven:\

> On Saturday 24 January 2009, Jason Kridner wrote:
>>
>> Given that this port is only used on the DVI port for the  
>> BeagleBoard,
>> I believe it is appropriate to set it to 100kHz as Koen has done.
>
> That's what I meant to say (kHz not MHZ!) ... except, also add a
> comment saying why the (un-obvious) restriction is being made.
>

In the .c file or commit message?

Regards,

Koen


> Though I did note that since it's a nice level-shifted I2C, some
> folk may want to use it for non-DDC purposes [1], where a 100 KHz
> limit might not always be wanted.
>
> - Dave
>
> [1] http://www.paintyourdragon.com/uc/i2c/index.html
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz
  2009-01-24 21:09           ` Koen Kooi
@ 2009-01-24 22:33             ` David Brownell
  0 siblings, 0 replies; 18+ messages in thread
From: David Brownell @ 2009-01-24 22:33 UTC (permalink / raw)
  To: Koen Kooi; +Cc: Jason Kridner, linux-omap@vger.kernel.org List, Beagle Board

On Saturday 24 January 2009, Koen Kooi wrote:
> In the .c file or commit message?

A one line comment in the C file.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* No audio support for BeagleBoard in Latest GIT tree?
       [not found]           ` <bd7b27490901250616q2363c5b4wf422d32831bd3638@mail.gmail.com>
@ 2009-01-27  9:18             ` ndno72-omap
  2009-01-27  9:38               ` Peter Ujfalusi
  2009-01-27  9:55               ` Jarkko Nikula
  0 siblings, 2 replies; 18+ messages in thread
From: ndno72-omap @ 2009-01-27  9:18 UTC (permalink / raw)
  To: beagleboard; +Cc: linux-omap@vger.kernel.orgList

Hi everyone,

Last week, I downloaded the 2.6.29-rc2 (http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=tag;h=d31ce8060b0e875179ba5ca1d40475dc2a082cc7) and compiled it for the BeagleBoard.  Everything seems to run fine (I disabled video support because I don't use it).  However, there doesn't seem to be audio (twl4030 audio) support for the BeagleBoard; the default configuration (omap3_beagle_defconfig) doesn't enable audio and when I tried to enable ALSA, there's no option for the twl4030 driver.  Is audio not yet supported in the last GIT tree?  What the latest tag/tree (v2.6.28-omap1???) I should use that has audio support for the BeagleBoard.

I have a few more questions so maybe you guys can help me.  The questions I'm going to ask are mostly new and not already answered (I searched the group and coudn't find any answers); I'm sorry if any has been asked before and maybe you can point me in the right direction.  I'm new to the OMAP3 processor; I just started experimenting with the BeagleBoard a few weeks back (I also have TI Mistral OMAP3EVM board but I'm using the BeagleBoard since our OMAP3 custom board is based on the BeagleBoard).  For the last couple years, I worked on TI's Davinci processor; our project decided recently to go with the OMAP3 because it's more powerful and consumes less power.  For this reason, I have to port all our existing software to our new OMAP3 custom board.  For the Davinci processor, I used the 2.6
 .23 GIT version of the kernel (http://source.mvista.com/git/?p=linux-davinci-2.6.git) so I'm a little familiar with the kernel.  Here are some questions I have
 initially:

1) Is the X-loader really required?  Can the BeagleBoard just boot straight to u-boot?
2) The BeagleBoard uses the twl4030 device for its audio (among other things); for our OMAP3 custom board, we're not using that, we're going to continue use the AIC33 codec (like what we used on our Davinci custom board).  Is adding support for the AIC33 codec as simple as enabling that option in the OMAP3 GIT kernel configuration under ALSA?  Or do I have to do a lot of porting?  If so, what is the best approach, i.e. porting the AIC33 initialization/driver code for mthe Davinci GIT kernel into OMAP3 GIT kernel?
3) Is OSS audio API no longer supported?  Our existing application uses the OSS audio API; the latest kernel seems to only support ALSA; is OSS emulation (on top of ALSA) working and/or reliable?
4) How reliable is the DSP bridge driver mentioned on the wiki page?  On our Davinci board, we used TI's Code-Engine/DSP/BIOS DSPLINK driver to perform ARM-DSP IPC.  This past week, I was able to download TI's DSPLINK (now open source, https://www-a.ti.com/downloads/sds_support/targetcontent/link/index.html) and build it with the default BeagleBoard 2.6.22-18 kernel and got the examples to run fine.  I'm in the process of getting it to work with the latest OMAP3 GIT tree but I'm stuck now because I can't get the audio to work (my pre-first question).

OK, I think I've asked too many questions but hopefully someone can provide some advice and answers.  Thanks in advance!!

Regards,
Andy


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27  9:18             ` No audio support for BeagleBoard in Latest GIT tree? ndno72-omap
@ 2009-01-27  9:38               ` Peter Ujfalusi
  2009-01-27 10:35                 ` ndno72-omap
  2009-01-27  9:55               ` Jarkko Nikula
  1 sibling, 1 reply; 18+ messages in thread
From: Peter Ujfalusi @ 2009-01-27  9:38 UTC (permalink / raw)
  To: ext ndno72-omap@yahoo.com; +Cc: beagleboard, linux-omap@vger.kernel.orgList

Hello,

On Tuesday 27 January 2009 11:18:16 ext ndno72-omap@yahoo.com wrote:
> Hi everyone,
>
> Last week, I downloaded the 2.6.29-rc2
> (http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=tag;
>h=d31ce8060b0e875179ba5ca1d40475dc2a082cc7) and compiled it for the
> BeagleBoard.  Everything seems to run fine (I disabled video support
> because I don't use it).  However, there doesn't seem to be audio (twl4030
> audio) support for the BeagleBoard; the default configuration
> (omap3_beagle_defconfig) doesn't enable audio and when I tried to enable
> ALSA, there's no option for the twl4030 driver.  Is audio not yet supported
> in the last GIT tree?  What the latest tag/tree (v2.6.28-omap1???) I should
> use that has audio support for the BeagleBoard.

You need to take this patch sent by Steve Sakoman:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=80c509fdd74f3b158267374cc55156965c8bf930
This has been sent to l-o also, so you can take the patch from this mailing 
list...

>
>
> Regards,
> Andy
>

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27  9:18             ` No audio support for BeagleBoard in Latest GIT tree? ndno72-omap
  2009-01-27  9:38               ` Peter Ujfalusi
@ 2009-01-27  9:55               ` Jarkko Nikula
  2009-01-27 10:37                 ` ndno72-omap
  1 sibling, 1 reply; 18+ messages in thread
From: Jarkko Nikula @ 2009-01-27  9:55 UTC (permalink / raw)
  To: ext ndno72-omap@yahoo.com
  Cc: beagleboard@googlegroups.com, linux-omap@vger.kernel.orgList

On Tue, 27 Jan 2009 10:18:16 +0100
"ext ndno72-omap@yahoo.com" <ndno72-omap@yahoo.com> wrote:

> 2) The BeagleBoard uses the twl4030 device for its audio (among other things); for our OMAP3 custom board, we're not using that, we're going to continue use the AIC33 codec (like what we used on our Davinci custom board).  Is adding support for the AIC33 codec as simple as enabling that option in the OMAP3 GIT kernel configuration under ALSA?  Or do I have to do a lot of porting?  If so, what is the best approach, i.e. porting the AIC33 initialization/driver code for mthe Davinci GIT kernel into OMAP3 GIT kernel?

With ALSA System on Chip (ASoC) porting is pretty simple. There is
already driver for AIC33 (sound/soc/codecs/tlv320aic3x.c), ASoC OMAP
platfrom drivers (sound/soc/omap) and also machine drivers using AIC33
(sound/soc/omap/n810.c and sound/soc/davinci/davinci-evm.c).

So what you need is basically to write your own machine driver using
mostly copy-paste approach.

> 3) Is OSS audio API no longer supported?  Our existing application uses the OSS audio API; the latest kernel seems to only support ALSA; is OSS emulation (on top of ALSA) working and/or reliable?

At least some few OSS applications I have tried were working fine with
OSS emulation.


Jarkko

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27  9:38               ` Peter Ujfalusi
@ 2009-01-27 10:35                 ` ndno72-omap
  2009-01-27 10:51                   ` Peter Ujfalusi
  2009-01-27 11:08                   ` Arun KS
  0 siblings, 2 replies; 18+ messages in thread
From: ndno72-omap @ 2009-01-27 10:35 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: beagleboard, linux-omap@vger.kernel.orgList

> 
> You need to take this patch sent by Steve Sakoman:
> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=80c509fdd74f3b158267374cc55156965c8bf930
> This has been sent to l-o also, so you can take the patch from this mailing 
> list...
> 

Thanks!  So where is the official OMAP3 GIT tree located?  The one you mentioned above has Steve's patch but the one (Steve's own link) mentioned on the wiki page doesn't.  There are 2 or 3 OMAP3 GIT sites out there and I don't know which one is the "official" working one.  I just noticed the one sponsored by Montavista  is now obsolete.

Regards,
Andy


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27  9:55               ` Jarkko Nikula
@ 2009-01-27 10:37                 ` ndno72-omap
  0 siblings, 0 replies; 18+ messages in thread
From: ndno72-omap @ 2009-01-27 10:37 UTC (permalink / raw)
  To: Jarkko Nikula
  Cc: beagleboard@googlegroups.com, linux-omap@vger.kernel.orgList


> > 2) The BeagleBoard uses the twl4030 device for its audio (among other things); 
> for our OMAP3 custom board, we're not using that, we're going to continue use 
> the AIC33 codec (like what we used on our Davinci custom board).  Is adding 
> support for the AIC33 codec as simple as enabling that option in the OMAP3 GIT 
> kernel configuration under ALSA?  Or do I have to do a lot of porting?  If so, 
> what is the best approach, i.e. porting the AIC33 initialization/driver code for 
> mthe Davinci GIT kernel into OMAP3 GIT kernel?
> 
> With ALSA System on Chip (ASoC) porting is pretty simple. There is
> already driver for AIC33 (sound/soc/codecs/tlv320aic3x.c), ASoC OMAP
> platfrom drivers (sound/soc/omap) and also machine drivers using AIC33
> (sound/soc/omap/n810.c and sound/soc/davinci/davinci-evm.c).
> 
> So what you need is basically to write your own machine driver using
> mostly copy-paste approach.
> 
> > 3) Is OSS audio API no longer supported?  Our existing application uses the 
> OSS audio API; the latest kernel seems to only support ALSA; is OSS emulation 
> (on top of ALSA) working and/or reliable?
> 
> At least some few OSS applications I have tried were working fine with
> OSS emulation.
> 

Thanks for the advice and pointers.  Hopefully, when I get my hands dirty in a few weeks and I get into troubles, people like you on this board can help.

Regards,
Andy


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27 10:35                 ` ndno72-omap
@ 2009-01-27 10:51                   ` Peter Ujfalusi
  2009-01-27 11:08                   ` Arun KS
  1 sibling, 0 replies; 18+ messages in thread
From: Peter Ujfalusi @ 2009-01-27 10:51 UTC (permalink / raw)
  To: ext ndno72-omap@yahoo.com; +Cc: beagleboard, linux-omap@vger.kernel.orgList


On Tuesday 27 January 2009 12:35:40 ext ndno72-omap@yahoo.com wrote:
> > You need to take this patch sent by Steve Sakoman:
> > http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=
> >80c509fdd74f3b158267374cc55156965c8bf930 This has been sent to l-o also,
> > so you can take the patch from this mailing list...
>
> Thanks!  So where is the official OMAP3 GIT tree located?  The one you
> mentioned above has Steve's patch but the one (Steve's own link) mentioned
> on the wiki page doesn't.  There are 2 or 3 OMAP3 GIT sites out there and I
> don't know which one is the "official" working one.  I just noticed the one
> sponsored by Montavista  is now obsolete.

The link above points to sound-2.6 (Takashi Iwai's tree), the official 
ALSA/Sound tree.

AFAIK the official OMAP tree is: 
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary

>
> Regards,
> Andy

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: No audio support for BeagleBoard in Latest GIT tree?
  2009-01-27 10:35                 ` ndno72-omap
  2009-01-27 10:51                   ` Peter Ujfalusi
@ 2009-01-27 11:08                   ` Arun KS
  1 sibling, 0 replies; 18+ messages in thread
From: Arun KS @ 2009-01-27 11:08 UTC (permalink / raw)
  To: ndno72-omap; +Cc: Peter Ujfalusi, beagleboard, linux-omap@vger.kernel.orgList

l-o tree is now at
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

On Tue, Jan 27, 2009 at 4:05 PM,  <ndno72-omap@yahoo.com> wrote:
>>
>> You need to take this patch sent by Steve Sakoman:
>> http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commit;h=80c509fdd74f3b158267374cc55156965c8bf930
>> This has been sent to l-o also, so you can take the patch from this mailing
>> list...
>>
>
> Thanks!  So where is the official OMAP3 GIT tree located?  The one you mentioned above has Steve's patch but the one (Steve's own link) mentioned on the wiki page doesn't.  There are 2 or 3 OMAP3 GIT sites out there and I don't know which one is the "official" working one.  I just noticed the one sponsored by Montavista  is now obsolete.
>
> Regards,
> Andy
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-01-27 11:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 19:30 [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz Koen Kooi
2009-01-15 19:54 ` Koen Kooi
2009-01-23  8:00 ` Koen Kooi
2009-01-23  9:52   ` David Brownell
2009-01-23 10:48     ` Koen Kooi
2009-01-24 15:06       ` Jason Kridner
2009-01-24 20:30         ` David Brownell
2009-01-24 21:09           ` Koen Kooi
2009-01-24 22:33             ` David Brownell
     [not found]           ` <bd7b27490901250616q2363c5b4wf422d32831bd3638@mail.gmail.com>
2009-01-27  9:18             ` No audio support for BeagleBoard in Latest GIT tree? ndno72-omap
2009-01-27  9:38               ` Peter Ujfalusi
2009-01-27 10:35                 ` ndno72-omap
2009-01-27 10:51                   ` Peter Ujfalusi
2009-01-27 11:08                   ` Arun KS
2009-01-27  9:55               ` Jarkko Nikula
2009-01-27 10:37                 ` ndno72-omap
  -- strict thread matches above, loose matches on Subject: below --
2009-01-15 19:34 [PATCH] ARM: OMAP: board-omap3beagle: set i2c-3 to 100kHz Koen Kooi
2009-01-15 19:43 Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox