This set of patches replaces some of the redundant components of
the tidspbridge driver, such as:
* wrapper functions for kmalloc/kfree
* custom bitmap implementation
* custom linked list implementation (list_head wrapper)
with the standard linux kernel interfaces.
The patches also do some code
Remove unnecessary wrappers for linux kernel memory
allocation primitives.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/Makefile |2 +-
drivers/staging/tidspbridge/gen/gb.c | 11 +--
drivers/staging/tidspbridge/gen/gh.c
Remove a header file that was not very useful to
the dspbridge driver.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
.../tidspbridge/include/dspbridge/utildefs.h | 39
drivers/staging/tidspbridge/pmgr/cmm.c |9 +
2 files changed, 1
Replace the tidspbridge generic bitmap operations
with the linux standard bitmap implementation.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/rmgr/node.c | 166 ++-
1 files changed, 74 insertions(+), 92 deletions(-)
diff --git
Now that all users of gb have been converted to the
standard linux bitmap API, we can remove it from the
gen library.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/Makefile |2 +-
drivers/staging/tidspbridge/gen/gb.c | 165
Reorganized some code in rmgr/node.c to increase its
readability. Most of the changes reduce the code
indentation level and simplifiy the code. No functional
changes were done.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/rmgr/node.c | 607
Convert the core module of the tidspbridge driver
to use struct list_head instead of struct lst_list.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/core/_msg_sm.h | 12 +-
drivers/staging/tidspbridge/core/chnl_sm.c | 243 ---
Convert the pmgr module of the tidspbridge driver
to use struct list_head instead of struct lst_list.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/pmgr/cmm.c | 237 ++--
drivers/staging/tidspbridge/pmgr/dev.c | 59 +++-
2
Convert the rmgr module of the tidspbridge driver
to use struct list_head instead of struct lst_list.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/rmgr/drv.c | 115 --
drivers/staging/tidspbridge/rmgr/node.c | 53 --
Now that all users of lst_list have been converted to the
standard linux list_head API, we can remove the associated
header file.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/TODO |1 -
.../staging/tidspbridge/include/dspbridge/list.h |
Reorganized some code in the core module to increase its
readability. Most of the changes reduce the code
indentation level and simplifiy the code. No functional
changes were done.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/core/chnl_sm.c | 449
Reorganized some code in the pmgr module to increase
its readability. No functional changes were done.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/pmgr/cmm.c | 357 ++-
drivers/staging/tidspbridge/pmgr/dev.c | 20 +--
2 files
Reorganized some code in the rmgr module to increase
its readability. No functional changes were done.
Signed-off-by: Ionut Nicu ionut.n...@mindbit.ro
---
drivers/staging/tidspbridge/rmgr/drv.c | 171 +---
drivers/staging/tidspbridge/rmgr/node.c | 81 +-
Hi Cosmin,
On Sat, 2010-11-20 at 21:51 +0100, Cosmin Cojocar wrote:
The kgdb invokes the poll_put_char and poll_get_char when communicating
with the host. This patch also changes the initialization order because the
kgdb will check at the very beginning, if there is a valid serial
driver.
Hi.
I want to ask a newbie questions regarding linux-omap-pm
repositories(http://git.kernel.org/?p=linux/kernel/git/khilman/linux-omap-pm.git;a=summary).
I know this mailing list is for the linux-omap repository. I have searched the
web for a mailing list specific for linux-omap-pm without
Hi Ionut,
Ionut Nicu wrote:
Hi Cosmin,
On Sat, 2010-11-20 at 21:51 +0100, Cosmin Cojocar wrote:
The kgdb invokes the poll_put_char and poll_get_char when communicating
with the host. This patch also changes the initialization order because the
kgdb will check at the very beginning, if
On Sun, Nov 21, 2010 at 12:46:18PM +0200, Ionut Nicu wrote:
This set of patches replaces some of the redundant components of
the tidspbridge driver, such as:
snip
As mentioned before, I need to take these from Omar as I don't trust
anyone not to send me stuff that breaks the driver anymore :)
Add clkdev aliases for the USBHOST and USBTLL clocks on OMAP3 and
OMAP4, so that the driver can refer to the clocks using a common alias.
This will disappear when the driver is converted to use the hwmod
database, but until then this patch is needed.
Signed-off-by: Anand Gadiyar gadi...@ti.com
From: Keshava Munegowda keshava_mgo...@ti.com
Make the TLL channel count a parameter instead of a hardcoded
value. This allows us to be flexible with future OMAP revisions
which could have a different number of channels.
Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com
Signed-off-by: Anand
From: Keshava Munegowda keshava_mgo...@ti.com
Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com
Signed-off-by: Anand Gadiyar gadi...@ti.com
Cc: Tony Lindgren t...@atomide.com
---
Depends on the series I just sent out for adding OMAP4 ehci support,
but can be applied independently of that.
- Add platform init code for EHCI on OMAP4
- Add pad configuration for PHY and TLL modes
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
arch/arm/mach-omap2/usb-ehci.c | 144 +--
1 files changed, 136 insertions(+), 8 deletions(-)
diff --git
From: Keshava Munegowda keshava_mgo...@ti.com
Rename usbhost2_120m_fck to usbhost_hs_fck and usbhost1_48m_fck
to usbhost_fs_fck, to better reflect the clocks' functionalities.
In OMAP4, the frequencies for the corresponding clocks are not
necessarily the same as with OMAP3, however the
The OMAP4 has an on-chip EHCI controller. Select USB_ARCH_HAS_EHCI
to allow the EHCI driver to be built on OMAP4.
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
arch/arm/mach-omap2/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/Kconfig
Introduce helper functions to test port mode. These checks are
performed in several places in the driver, and these helpers
improve readability.
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
drivers/usb/host/ehci-omap.c | 21 -
1 files changed, 12 insertions(+), 9
Add base addresses for USBHOST, USBTLL, EHCI and OHCI to
the header file.
This will disappear when the drivers are converted to use
the hwmod database, however this patch is needed until then.
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
arch/arm/plat-omap/include/plat/omap44xx.h |5
This series adds support for the EHCI controller on
OMAP4 chips. (This enables the ethernet controller
on the Pandaboard - finally!).
I'm sorry for the really long delay - I know this has
been in the works for a while.
I've tested the series on an OMAP4 SDP and a Pandaboard.
I'll be testing
Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
drivers/usb/host/ehci-omap.c | 258 ++---
1 files changed, 214 insertions(+), 44 deletions(-)
diff --git a/drivers/usb/host/ehci-omap.c
From: Keshava Munegowda keshava_mgo...@ti.com
Introduce the CONFIG_USB_EHCI_HCD_OMAP option to select
EHCI support on OMAP3 and later chips. This scales better
than having a long line of dependencies for each new OMAP
with EHCI support.
Signed-off-by: Keshava Munegowda keshava_mgo...@ti.com
The EHCI controller in OMAP4 supports a new interface mode - HSIC.
Add this to the list of modes supported on OMAP3.
Signed-off-by: Anand Gadiyar gadi...@ti.com
---
arch/arm/plat-omap/include/plat/usb.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git
Felipe Balbi m...@felipebalbi.com wrote:
Hi Hari,
On Fri, 2010-11-19 at 22:01 -0600, Kanigeri, Hari wrote:
Of course :), profiling was done before releasing this code and no
difference observed with or without blocking notifier. All the OMAP4
would you share some numbers ?
use cases are
On Friday 19 November 2010 03:33:24 Ghorai, Sukumar wrote:
-Original Message-
From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
ow...@vger.kernel.org] On Behalf Of Charles Manning
Sent: Thursday, November 18, 2010 6:36 AM
To: linux-omap@vger.kernel.org
Subject: No more
On Saturday, November 20, 2010, Alan Stern wrote:
On Sat, 20 Nov 2010, Rafael J. Wysocki wrote:
On Friday, November 19, 2010, Alan Stern wrote:
This patch (as1431b) makes the synchronous runtime-PM interface
suitable for use in interrupt handlers. Subsystems can call the new
On Saturday, November 20, 2010, Alan Stern wrote:
On Sat, 20 Nov 2010, Alan Stern wrote:
On Sat, 20 Nov 2010, Rafael J. Wysocki wrote:
On Friday, November 19, 2010, Alan Stern wrote:
...
I don't think Linus will object to this. What he doesn't like is when
some code drops a
These comments are from other hwmod reviews.
On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma tarun.ka...@ti.com wrote:
From: Cousson, Benoit b-cous...@ti.com
Subject should be something like: ( See [1] )
OMAP4: hwmod data: add dmtimer
Same is applicable to other hwmod DB patches for
On 11/21/10 1:01 PM, Charles Manning wrote:
Just recompiling with the CONFIG_MTD_NAND_OMAP_HWECC define commented out did
not result in a working system. I suspect there is more tto the problem than
this.
FWIW, I had the exact same issues with my Mistral AM37x EVM board. I not
only had to
-Original Message-
From: Varadarajan, Charulatha
Sent: Monday, November 22, 2010 11:32 AM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org; Cousson, Benoit
Subject: Re: [PATCHv4 6/14] OMAP4: dmtimer: add hwmod database
These comments are from other hwmod reviews.
On
Hi Thomas,
-Original Message-
From: Thomas Petazzoni [mailto:thomas.petazz...@free-electrons.com]
Sent: Tuesday, November 16, 2010 9:41 PM
To: Rajendra Nayak
Cc: linux-omap@vger.kernel.org; p...@pwsan.com; b-cous...@ti.com;
khil...@deeprootsystems.com
Subject: Re: [PATCH 2/6] OMAP:
-Original Message-
From: Grant Erickson [mailto:maratho...@gmail.com]
Sent: Monday, November 22, 2010 11:39 AM
To: Charles Manning
Cc: linux-omap@vger.kernel.org; Grazvydas Ignotas; Ghorai, Sukumar
Subject: Re: No more software ECC in omap2.c NAND driver. Why?
On 11/21/10 1:01
On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma tarun.ka...@ti.com wrote:
From: Thara Gopinath th...@ti.com
Add routines to converts dmtimers to platform devices. The device data
is obtained from hwmod database of respective platform and is registered
to device model after successful
On 11/21/10 10:27 PM, Ghorai, Sukumar wrote:
-Original Message-
From: Grant Erickson [mailto:maratho...@gmail.com]
Sent: Monday, November 22, 2010 11:39 AM
To: Charles Manning
Cc: linux-omap@vger.kernel.org; Grazvydas Ignotas; Ghorai, Sukumar
Subject: Re: No more software ECC in
snip
-/*
- * Reads timer registers in posted and non-posted mode. The posted mode bit
- * is encoded in reg. Note that in posted mode write pending bit must be
- * checked. Otherwise a read of a non completed write will produce an error.
+/**
+ * omap_dm_timer_read_reg - read timer
On Sat, Nov 20, 2010 at 08:09, Tarun Kanti DebBarma tarun.ka...@ti.com wrote:
Add pm_runtime support to dmtimer. Since dmtimer is used during
early boot before pm_runtime is initialized completely there are
provisions to enable/disable clocks directly in the code during
early boot.
-Original Message-
From: Varadarajan, Charulatha [mailto:ch...@ti.com]
Sent: Monday, November 22, 2010 12:34 PM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org; Basak, Partha
Subject: Re: [PATCHv4 14/14] OMAP: dmtimer: pm_runtime support
On Sat, Nov 20, 2010 at 08:09,
snip
+static struct platform_driver omap_dmtimer_driver = {
+ .probe = omap_dm_timer_probe,
+ .remove = omap_dm_timer_remove,
+ .driver = {
+ .name = omap-timer,
Comment from Benoit on omap devices name ( see [1] ):
If possible, it will be better to use
Add support for LCD2 manager through introducing a new has_feature,
Initialize a dss_features struct for omap4.
Signed-off-by: Archit Taneja arc...@ti.com
---
drivers/video/omap2/dss/dss_features.c | 43 ++-
drivers/video/omap2/dss/dss_features.h |7 -
2
From: Sumit Semwal sumit.sem...@ti.com
Introduce new enum members for LCD2 Channel and corresponding Overlay Manager.
Represent some of the DISPC register defines with channel as a parameter
to differentiate between LCD, DIGIT and LCD2 channels. Replace the existing
reads/writes to these
From: Sumit Semwal sumit.sem...@ti.com
A new member 'channel' is introduced in omap_dss_device structure to determine
which channel the panel uses. The dss_recheck_connections() called in
dss_driver_probe()
to set the correct manager to the corresponding omap_dss_device. The interface
drivers
From: Sumit Semwal sumit.sem...@ti.com
The following dispc functions are changed to incorporate channel as an argument:
-dispc_lclk_rate()
-dispc_pclk_rate()
-dispc_set_pol_freq()
-dispc_set_clock_div()
-dispc_get_clock_div()
Signed-off-by: Sumit Semwal
From: Sumit Semwal sumit.sem...@ti.com
Modify DISPC functions to work with LCD2 as the DISPC Channel.
Signed-off-by: Sumit Semwal sumit.sem...@ti.com
Signed-off-by: Mukund Mittal mmit...@ti.com
Signed-off-by: Samreen samr...@ti.com
Signed-off-by: Archit Taneja arc...@ti.com
---
DISPC_CONFIG bits LCDENABLEPOL, LCDENABLESIGNAL, PCKFREEENABLE and FUNCGATED
have been removed from OMAP4, use dss_features to handle them correctly.
Signed-off-by: Archit Taneja arc...@ti.com
---
drivers/video/omap2/dss/dispc.c | 12 +++-
1 files changed, 11 insertions(+), 1
From: Sumit Semwal sumit.sem...@ti.com
Add new Overlay Manager in manager.c, make changes needed
for LCD2 channel.
Signed-off-by: Sumit Semwal sumit.sem...@ti.com
Signed-off-by: Mukund Mittal mmit...@ti.com
Signed-off-by: Samreen samr...@ti.com
---
drivers/video/omap2/dss/dispc.c | 21
-Original Message-
From: Varadarajan, Charulatha
Sent: Monday, November 22, 2010 12:04 PM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org; Gopinath, Thara; Basak, Partha
Subject: Re: [PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices
On Sat, Nov 20, 2010 at
-Original Message-
From: Varadarajan, Charulatha [mailto:ch...@ti.com]
Sent: Monday, November 22, 2010 12:43 PM
To: DebBarma, Tarun Kanti
Cc: linux-omap@vger.kernel.org; Gopinath, Thara
Subject: Re: [PATCHv4 8/14] OMAP: dmtimer: platform driver
snip
+static struct
[..snip..]
The board (Mistral AM37x) NAND (Micron 256 MiB) was originally
bootstrapped
over SD/MMC from u-boot using the following script:
[Ghorai] let me know the nand details - x8/x16, small/big page?
[..snip..]
nandecc sw
[..snip..]
fatload mmc 0 ${loadaddr} root.jff
54 matches
Mail list logo