Nori, Sekhar | 1 Oct 03:09 2009
Picon

RE: DaVinci git updated to v2.6.32-rc1

On Thu, Oct 01, 2009 at 02:32:50, Kevin Hilman wrote:
> "Nori, Sekhar" <nsekhar@...> writes:
>
> > On Wed, Sep 30, 2009 at 00:46:35, Kevin Hilman wrote:
> >> Hello,
> >>
> >> Linus released v2.6.32-rc1 last week and DaVinci git master is now
> >> updated to that release.
> >>
> >> Some misc. changes to the master branch after merging with upstream
> >>
> >
> > [...]
> >
> >> - merged da830/da850 into a common defconfig: da8xx_omapl_defconfig
> >
> > This forces DA850/OMAP-L138 into cache writethrough mode as well so
> > users of that board will have to manually select writeback mode.
>
> Oops, I meant to to do it the other way around since the writethrough
> stuff is not yet in mainline, and Russell seems to be ignoring it for
> some reason.
>
> I pushed a patch to disable it in the default config.
>
> In addition, I pushed a patch (see below) which will automatically
> select writethrough mode if da830 is the only da8xx selected.
>
> BTW, does anyone know if this writethrough issues is solved in the
> rev1.1 or rev2.0 spins of the da830?
(Continue reading)

Chaithrika U S | 1 Oct 06:44 2009
Picon

Re: [PATCH] ASoC: DaVinci: McASP FIFO related updates

On Thu, Oct 01, 2009 at 01:43:02, Troy Kisky wrote:
> Chaithrika U S wrote:
> > The DMA params for McASP with FIFO has been updated so that it works for
> > various FIFO levels. A member- 'fifo_level' has been added to the DMA
> > params data structure. The fifo_level can be adjusted by the tx[rx]_numevt
> > platform data. This is relevant only for DA8xx/OMAP-L1xx platforms. This
> > implementation has been tested for numevt values 1, 2, 4, 8.
> > +	if (fifo_level)
> > +		count /= fifo_level;
> 
> So can this be fifo_shift instead
> 		count >>= fifo_shift;
> 

No, it cannot be so. The fifo_level can take any value.
Have tried with values 3, 5 too...

Regards, 
Chaithrika
Sekhar Nori | 1 Oct 09:11 2009
Picon

[PATCH] davinci: make it easier to identify SoC init failures

This patch makes it easier to identify SoC init failures
by panicing when SoC init fails. Without successful SoC
init, the kernel eventually fails when attempt is made to
access the clocks.

Also, an error is printed when JTAG ID match fails to make
it easier to identify failures due to SoC rev changes.

Signed-off-by: Sekhar Nori <nsekhar@...>
---
 arch/arm/mach-davinci/common.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
index 61ede19..c2de94c 100644
--- a/arch/arm/mach-davinci/common.c
+++ b/arch/arm/mach-davinci/common.c
 <at>  <at>  -86,6 +86,8  <at>  <at>  void __init davinci_common_init(struct davinci_soc_info *soc_info)
 	dip = davinci_get_id(davinci_soc_info.jtag_id);
 	if (!dip) {
 		ret = -EINVAL;
+		pr_err("Unknown DaVinci JTAG ID 0x%x\n",
+						davinci_soc_info.jtag_id);
 		goto err;
 	}

 <at>  <at>  -104,5 +106,5  <at>  <at>  void __init davinci_common_init(struct davinci_soc_info *soc_info)
 	return;

 err:
(Continue reading)

Sergei Shtylyov | 1 Oct 11:52 2009

Re: DaVinci git updated to v2.6.32-rc1

Hello.

Kevin Hilman wrote:

>>> Linus released v2.6.32-rc1 last week and DaVinci git master is now
>>> updated to that release.
>>>
>>> Some misc. changes to the master branch after merging with upstream
>>>
>>>       
>> [...]
>>
>>     
>>> - merged da830/da850 into a common defconfig: da8xx_omapl_defconfig
>>>       
>> This forces DA850/OMAP-L138 into cache writethrough mode as well so
>> users of that board will have to manually select writeback mode.
>>     
>
> Oops, I meant to to do it the other way around since the writethrough
> stuff is not yet in mainline, and Russell seems to be ignoring it for
> some reason.
>
> I pushed a patch to disable it in the default config.
>
> In addition, I pushed a patch (see below) which will automatically
> select writethrough mode if da830 is the only da8xx selected.
>   

   But then it defis the purpose of the multi-machine kernel as such a 
(Continue reading)

Nori, Sekhar | 1 Oct 11:54 2009
Picon

RE: DaVinci git updated to v2.6.32-rc1

On Thu, Oct 01, 2009 at 02:32:50, Kevin Hilman wrote:
> "Nori, Sekhar" <nsekhar@...> writes:
>
> > On Wed, Sep 30, 2009 at 00:46:35, Kevin Hilman wrote:
> >> Hello,
> >>
> >> Linus released v2.6.32-rc1 last week and DaVinci git master is now
> >> updated to that release.
> >>
> >> Some misc. changes to the master branch after merging with upstream
> >>
> >
> > [...]
> >
> >> - merged da830/da850 into a common defconfig: da8xx_omapl_defconfig
> >
> > This forces DA850/OMAP-L138 into cache writethrough mode as well so
> > users of that board will have to manually select writeback mode.
>
> Oops, I meant to to do it the other way around since the writethrough
> stuff is not yet in mainline, and Russell seems to be ignoring it for
> some reason.
>
> I pushed a patch to disable it in the default config.
>
> In addition, I pushed a patch (see below) which will automatically
> select writethrough mode if da830 is the only da8xx selected.

But with this, DA830 fails to boot with the defconfig which would seem
rather odd. Defaulting to the common denominator of WT cache mode seems
(Continue reading)

Sergei Shtylyov | 1 Oct 11:54 2009

Re: [PATCH 2/2] davinci: Add NAND support for DA830/OMAP-L137 EVM platform

Hello.

Kevin Hilman wrote:

>>> From: David A. Griego <dgriego@...>
>>>
>>> Add support for NAND flash parts on the DA830/OMAP-L137 EVM
>>> User Interface board.  This includes overriding the default
>>> bad block tables used by the davinci_nand driver.
>>>
>>> Signed-off-by: David A. Griego <dgriego@...>
>>> Signed-off-by: Mark A. Greer <mgreer@...>
>>>   
>>>       
>>> ---
>>> Sergei, if you had a hand in this patch, please add your sign off now
>>> (or your comments).
>>>   
>>>       
>>   Yes, I had.
>>
>> Signed-off-by: Sergei Shtylyov <sshtylyov@...>
>>     
>
> Thanks, pushing today.
>   

   What about wrongly including <linux/mtd/physmap.h>?

> Kevin
(Continue reading)

Vipin Bhandari | 1 Oct 21:59 2009
Picon

[PATCH] DaVinci: MMC: MMC/SD controller driver for DaVinci family

This patch adds support for MMC/SD controller driver for all DaVinci family
SoC. This patch supports davinci family SoC's DM6446, DM355, DM365 and
DA830/OMAPL137.

The patch has been tested on DM355 EVM.

The MMCSD controller specifications for DM355 can be found at
http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruee2c

Signed-off-by: Vipin Bhandari <vipin.bhandari@...>
Signed-off-by: Purshotam Kumar <purushotam@...>
Acked-by: David Brownell <dbrownell@...>
---
 This patch has been generated against latest Linus's kernel. This patch has
 already been reviewed, but did not get queued in any of the trees for
 upstream acceptance. Hence I am resubmitting it again.

 Many thanks to David Brownell (david-b@...) for all his support.

 This updated patch incorporates most of review comments given by Pierre Ossman.
 Many thanks for Pierre Ossman for reviewing.

 drivers/mmc/host/Kconfig       |    8 +
 drivers/mmc/host/Makefile      |    1 +
 drivers/mmc/host/davinci_mmc.c | 1281 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1290 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mmc/host/davinci_mmc.c

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 7cb057f..385e862 100644
(Continue reading)

Chaithrika U S | 1 Oct 22:25 2009
Picon

[PATCH] TI DaVinci EMAC: Minor macro related updates

Use BIT for macro definitions wherever possible, remove
unused and redundant macros.

Signed-off-by: Chaithrika U S <chaithrika <at> ti.com>
---
Applies to Linus' kernel tree

 drivers/net/davinci_emac.c |   26 +++++++++++---------------
 1 files changed, 11 insertions(+), 15 deletions(-)

diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 65a2d0b..a421ec0 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
 <at>  <at>  -164,16 +164,14  <at>  <at>  static const char emac_version_string[] = "TI DaVinci EMAC Linux v6.1";
 # define EMAC_MBP_MCASTCHAN(ch)		((ch) & 0x7)

 /* EMAC mac_control register */
-#define EMAC_MACCONTROL_TXPTYPE		(0x200)
-#define EMAC_MACCONTROL_TXPACEEN	(0x40)
-#define EMAC_MACCONTROL_MIIEN		(0x20)
-#define EMAC_MACCONTROL_GIGABITEN	(0x80)
-#define EMAC_MACCONTROL_GIGABITEN_SHIFT (7)
-#define EMAC_MACCONTROL_FULLDUPLEXEN	(0x1)
+#define EMAC_MACCONTROL_TXPTYPE		BIT(9)
+#define EMAC_MACCONTROL_TXPACEEN	BIT(6)
+#define EMAC_MACCONTROL_GMIIEN		BIT(5)
+#define EMAC_MACCONTROL_GIGABITEN	BIT(7)
+#define EMAC_MACCONTROL_FULLDUPLEXEN	BIT(0)
 #define EMAC_MACCONTROL_RMIISPEED_MASK	BIT(15)
(Continue reading)

Nori, Sekhar | 1 Oct 13:34 2009
Picon

RE: [PATCH 2/2] davinci: Add NAND support for DA830/OMAP-L137 EVM platform

On Thu, Oct 01, 2009 at 02:39:00, Kevin Hilman wrote:
> Sergei Shtylyov <sshtylyov@...> writes:
>
> > Hello.
> >
> > Mark A. Greer wrote:
> >
> >> From: David A. Griego <dgriego@...>
> >>
> >> Add support for NAND flash parts on the DA830/OMAP-L137 EVM
> >> User Interface board.  This includes overriding the default
> >> bad block tables used by the davinci_nand driver.
> >>
> >> Signed-off-by: David A. Griego <dgriego@...>
> >> Signed-off-by: Mark A. Greer <mgreer@...>
> >>
> >
> >> ---
> >> Sergei, if you had a hand in this patch, please add your sign off now
> >> (or your comments).
> >>
> >
> >   Yes, I had.
> >
> > Signed-off-by: Sergei Shtylyov <sshtylyov@...>
> >
>
> Thanks, pushing today.

Kevin,
(Continue reading)

Sergei Shtylyov | 1 Oct 14:11 2009

Re: [PATCH] TI DaVinci EMAC: Minor macro related updates

Hello.

Chaithrika U S wrote:

> Use BIT for macro definitions wherever possible, remove
> unused and redundant macros.
> 
> Signed-off-by: Chaithrika U S <chaithrika <at> ti.com>
[...]
> diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
> index 65a2d0b..a421ec0 100644
> --- a/drivers/net/davinci_emac.c
> +++ b/drivers/net/davinci_emac.c
>  <at>  <at>  -164,16 +164,14  <at>  <at>  static const char emac_version_string[] = "TI DaVinci EMAC Linux v6.1";
>  # define EMAC_MBP_MCASTCHAN(ch)		((ch) & 0x7)
>  
>  /* EMAC mac_control register */
> -#define EMAC_MACCONTROL_TXPTYPE		(0x200)
> -#define EMAC_MACCONTROL_TXPACEEN	(0x40)
> -#define EMAC_MACCONTROL_MIIEN		(0x20)
> -#define EMAC_MACCONTROL_GIGABITEN	(0x80)
> -#define EMAC_MACCONTROL_GIGABITEN_SHIFT (7)
> -#define EMAC_MACCONTROL_FULLDUPLEXEN	(0x1)
> +#define EMAC_MACCONTROL_TXPTYPE		BIT(9)
> +#define EMAC_MACCONTROL_TXPACEEN	BIT(6)
> +#define EMAC_MACCONTROL_GMIIEN		BIT(5)
> +#define EMAC_MACCONTROL_GIGABITEN	BIT(7)
> +#define EMAC_MACCONTROL_FULLDUPLEXEN	BIT(0)
>  #define EMAC_MACCONTROL_RMIISPEED_MASK	BIT(15)

(Continue reading)


Gmane