The patch adds support for the programmable realtime unit (PRU)
available on OMAPL138. This defines the system resource
requirements such as pin mux, clock, iomem, interrupt etc
and registers the platform device as per the Linux driver model.
Subhasish Ghosh (1):
da850-evm: Support for TI'
The patch adds support for the programmable realtime unit (PRU)
available on OMAPL138. This defines the system resource
requirements such as pin mux, clock, iomem, interrupt etc
and registers the platform device as per the Linux driver model.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach
The patch adds support for emulated UART controllers
on the programmable realtime unit (PRU) available on OMAPL138.
This defines the system resource requirements such as pin mux,
clock, iomem, interrupt etc and registers the platform device
as per the Linux driver model.
Signed-off-by: Subhasish
Sergei Shtylyov-2 wrote:
>
> Hello.
>
> On 29-11-2010 10:13, Subhasish Ghosh wrote:
>
>> The patch adds support for the programmable realtime unit (PRU)
>> available on OMAPL138. This defines the system resource
>> requirements such as pin mux, clock, iomem, i
Sergei Shtylyov-2 wrote:
>
> Hello.
>
> On 29-11-2010 14:06, Subhasish Ghosh wrote:
>
>> The patch adds support for emulated UART controllers
>> on the programmable realtime unit (PRU) available on OMAPL138.
>> This defines the system resource requirements
Cyril Chemparathy wrote:
>
> On 11/29/2010 02:13 AM, Subhasish Ghosh wrote:
>> The patch adds support for the programmable realtime unit (PRU)
>> available on OMAPL138. This defines the system resource
>> requirements such as pin mux, clock, iomem, interrupt etc
>&
Nori, Sekhar wrote:
>
> Hi Subhasish,
>
> On Mon, Nov 29, 2010 at 19:12:52, Subhasish Ghosh wrote:
>> >>
>> >> +static struct clk pru_clk = {
>> >> + .name = "pru_ck",
>> >> + .parent = &
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 36 +++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci/board-da850-evm.c
index f89b0b7..3563a46 100644
The patch adds support for the programmable realtime unit (PRU)
available on OMAPL138. This defines the system resource
requirements such as pin mux, clock, iomem, interrupt etc
and registers the platform device as per the Linux driver model.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach
The patch adds support for emulated UART controllers
on the programmable realtime unit (PRU) available on OMAPL138.
This defines the system resource requirements such as pin mux,
clock, iomem, interrupt etc and registers the platform device
as per the Linux driver model.
Signed-off-by: Subhasish
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci/board-da850-evm.c
index f89b0b7..86a89b1 100644
--- a
I am still receiving the alignment problems with CLK and
da8xx_register_pru_suart, but the actual patch does not have them, would
really appreciate any help. Not sure if this is any problem with the mail
client.
Attached the original patch file for reference.
The CAN and UART patches are not incr
The patch adds support for emulated UART controllers
on the programmable realtime unit (PRU) available on OMAPL138.
This defines the system resource requirements such as pin mux,
clock, iomem, interrupt etc and registers the platform device
as per the Linux driver model.
Signed-off-by: Subhasish
Signed-off-by: Subhasish
---
arch/arm/mach-davinci/board-da850-evm.c | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci/board-da850-evm.c
index b01fb2a..bb9f5d5 100644
--- a/arch/arm
Signed-off-by: Subhasish
---
drivers/serial/Kconfig |2 ++
drivers/serial/Makefile |1 +
include/linux/serial_core.h |3 +++
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index aff9dcd..775e33a 100644
--- a/dri
Signed-off-by: Subhasish
---
.../mach-davinci/include/mach/pru/omapl_mcasp.h| 498
arch/arm/mach-davinci/include/mach/pru/omapl_pru.h | 44 ++
.../mach-davinci/include/mach/pru/omapl_prucore.h | 137 ++
arch/arm/mach-davinci/include/mach/pru/pru.h | 100 +
From: Subhasish
Signed-off-by: Subhasish
---
arch/arm/mach-davinci/board-da850-evm.c | 36 +++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci/board-da850-evm.c
index b01fb2a..f44d184
From: Subhasish
Signed-off-by: Subhasish
---
drivers/net/can/Kconfig |1 +
drivers/net/can/Makefile |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index 080574b..19331f3 100644
--- a/drivers/net/can/Kconfig
+++ b/
From: Subhasish
Signed-off-by: Subhasish
---
arch/arm/mach-davinci/include/mach/pru/omapl_pru.h | 44
.../mach-davinci/include/mach/pru/omapl_prucore.h | 137 +++
arch/arm/mach-davinci/include/mach/pru/pru.h | 100
arch/arm/mach-davinci/pru.c
From: Subhasish
The patch adds support for an emulated CAN controller
on the programmable realtime unit (PRU) available on OMAPL138.
This defines the system resource requirements such as pin mux,
clock, iomem, interrupt etc and registers the platform device
as per the Linux driver model.
Signed-
Hi Cyril,
I am referring the SSP driver to implement the PRU MFD driver.
I had a few concerns regarding this.
First of all, does the SSP support multiple execution units, in a sense that
its able to run multiple serial devices at once, like multiple channels.
If so, then its definitely a MFD.
The PRUSS was named as DMAX on da830 platform.
This patch resolves the naming conflict by replacing the macro
DA8XX_LPSC0_DMAX with DA8XX_LPSC0_PRUSS.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da830.c|2 +-
arch/arm/mach-davinci/include/mach/psc.h |2 +-
2
This patch modifies the sram allocator to allocate memory
from the DA8XX shared RAM.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c |6 +++---
arch/arm/mach-davinci/include/mach/da8xx.h |1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a
river.
* added pruss Soft-UART board and platform changes.
* fixed previous review comments.
* reordered patch sequence.
version 1:
==
* added pruss mfd driver.
* added pruss mfd board and platform changes.
* added pruss SocketCAN driver.
* added pruss SocketCAN board and platform changes.
*
This patch adds the pruss MFD driver and associated include files.
Signed-off-by: Subhasish Ghosh
---
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile|1 +
drivers/mfd/da8xx_pru.c | 446 +++
include/linux
This patch adds the PRUSS CAN data.
Signed-off-by: Subhasish Ghosh
---
include/linux/mfd/pruss/da8xx_pru.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/pruss/da8xx_pru.h
b/include/linux/mfd/pruss/da8xx_pru.h
index 68d8421..50f2ede 100644
--- a
This patch adds the platform device and assignes the platform resources
for the PRUSS mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c |7 +++
arch/arm/mach-davinci/devices-da8xx.c | 65
arch/arm/mach-davinci
This patch adds the necessary pins for the pruss CAN.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c|4
arch/arm/mach-davinci/include/mach/mux.h |4
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/da850.c b
This patch adds the GPIOs for the pruss CAN device.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c|1 +
arch/arm/mach-davinci/include/mach/mux.h |1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm
This patch adds the GPIO modifications required for the pruss CAN.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 11 ++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci
This patch adds the pruss CAN pin mux and registers the device
with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 37 ++-
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci
This patch adds the PRUSS SUART data.
Signed-off-by: Subhasish Ghosh
---
include/linux/mfd/pruss/da8xx_pru.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/pruss/da8xx_pru.h
b/include/linux/mfd/pruss/da8xx_pru.h
index 50f2ede..4230d10 100644
This patch adds the McASP clock alias.
The alias is used by the pruss suart driver
for enabling the McASP PSC.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/devices-da8xx.c | 11 +++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci
This patch adds the pruss SUART pin mux and registers the device
with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 36 +++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci
This patch adds board specific initializations and setup routines.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm
ystem.
--
From: "Kurt Van Dijck"
Sent: Friday, February 11, 2011 8:36 PM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "Wolfgang Grandegger"
; "open list:CAN NETWORK DRIVERS"
; "open list:CAN NETWORK DRIVERS"
; "open list"
Subj
February 14, 2011 12:53 PM
To: "Subhasish Ghosh"
Cc: "Kurt Van Dijck" ;
;
; ;
; ; "open list:CAN NETWORK
DRIVERS" ; "open list:CAN NETWORK DRIVERS"
; "open list"
Subject: Re: [PATCH v2 09/13] can: pruss CAN driver.
On 02/14/2011 05:54 AM, Subhas
--
From: "Marc Kleine-Budde"
Sent: Monday, February 14, 2011 3:05 PM
To: "Subhasish Ghosh"
Cc: "Wolfgang Grandegger" ; "Kurt Van Dijck"
; ;
; ;
; ; "open list:CAN NETWORK
DRIVERS" ; "open list:CAN NETWORK DRIVERS"
; "ope
--
From: "Kurt Van Dijck"
Sent: Friday, February 11, 2011 8:50 PM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "Wolfgang Grandegger"
; "open list:CAN NETWORK DRIVERS"
; "open list:CAN NETWORK DRIVERS"
--
From: "Michael Williamson"
Sent: Friday, February 11, 2011 8:56 PM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; "open list"
; ;
Subject: Re: [PATCH v2 11/13] da850: pr
--
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:11 AM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "Kevin Hilman (supporter:TI
DAVINCI MACHIN...,commit_signer:16/18=89%)" ;
"Russell King (maintaine
--
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:13 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; "open list"
; ;
Subject: Re: [PATCH v2 03/13] da850:
--
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:17 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; "Thomas Koeller"
; ; "open list"
; "Vict
--
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:15 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; ; "open list"
; ;
Subject: Re: [PATCH v2 06/13] da85
--
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:15 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; ; "open list"
; ;
Subject: Re: [PATCH v2 06/13] da85
On 02/18/2011 08:07 AM, Subhasish Ghosh wrote:
--
From: "Kurt Van Dijck"
...
+ /* register interrupt handler */
+ err = request_irq(priv->trx_irq, &omapl_rx_can_intr, IRQF_SHARED,
+ "pru_can_irq", ndev);
you'
Ok, will do NAPI
On 02/18/2011 09:15 AM, Subhasish Ghosh wrote:
On 02/18/2011 08:07 AM, Subhasish Ghosh wrote:
--
From: "Kurt Van Dijck"
...
+ /* register interrupt handler */
+ err = request_irq(priv->trx_irq, &
2011 9:58 PM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "Greg Kroah-Hartman"
; "open list"
Subject: Re: [PATCH v2 13/13] tty: pruss SUART driver
Don't see why it needs its own sub-directory
+#ifdef __SUART_DEBUG
+#define __suart_debug(fmt, args...) \
+ p
Thank you for your comments.
--
From: "Samuel Ortiz"
Sent: Monday, February 21, 2011 10:00 PM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "open list"
Subject: Re: [PATCH v2 01/13] mfd: pruss mfd driver.
Hi Subhasish,
gt;start,
+ resource_size(res),
------
From: "Sergei Shtylyov"
Sent: Saturday, February 12, 2011 12:20 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; ; "open li
t;Alan Cox"
; ;
; "Subhasish Ghosh"
; "Greg Kroah-Hartman" ;
; "open list" ;
Subject: Re: [PATCH v2 13/13] tty: pruss SUART driver
On Friday 18 February 2011 19:23:49 Thomas Gleixner wrote:
On Fri, 18 Feb 2011, Alan Cox wrote:
> On Fri, 18 Feb 2011 19:17
t->line);
+ }
}
--
From: "Arnd Bergmann"
Sent: Saturday, February 19, 2011 12:21 AM
To:
Cc: "Thomas Gleixner" ; "Alan Cox"
; ;
; "Subhasish Ghosh"
; "Greg Kroah-Hartman" ;
; "open li
Shtylyov"
Sent: Saturday, February 12, 2011 12:25 AM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; ; "open list"
; ;
Subject: Re: [PATCH v2 12/13] da850: pruss SUART platform specific
additions.
Subhasish Ghosh wrote:
This
.
We cannot have a register file larger than this, but lot of space is left
out, possibly for future development.
--
From: "Samuel Ortiz"
Sent: Tuesday, February 22, 2011 5:03 PM
To: "Wolfgang Grandegger"
Cc: "Subhasi
Ok, will do.
--
From: "Sergei Shtylyov"
Sent: Tuesday, February 22, 2011 4:50 PM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ;
"Kevin Hilman" ; ; "open list"
; ;
Subject: Re: [PATCH v2 12/1
f the headers into a single file ? and keep the other
three .c files under "drivers/tty/serial/"
and remove the da8xx_pruss directory altogether.
--
From: "Greg KH"
Sent: Tuesday, February 22, 2011 8:07 PM
To: "Subhas
--
From: "Samuel Ortiz"
Sent: Tuesday, February 22, 2011 4:01 PM
To: "Subhasish Ghosh"
Cc: ;
; ;
; ; "open list"
Subject: Re: [PATCH v2 01/13] mfd: pruss mfd driver.
Hi Subhasish,
On Tue, Feb 22, 2011 at 11:
Hello,
Anything regarding this.
--
From: "Subhasish Ghosh"
Sent: Wednesday, February 23, 2011 11:00 AM
To: "Greg KH" ; "Alan Cox"
Cc: "Arnd Bergmann" ; ;
"Thomas Gleixner" ; ;
; ; "open
--
From: "Nori, Sekhar"
Sent: Wednesday, February 23, 2011 9:00 PM
To: "Subhasish Ghosh" ;
Cc: ; "Watkins, Melissa"
; ; "Kevin Hilman"
; "Russell King" ;
"Michael Williamson" ; "
Hi Subhasish,
Please add a "davinci: " prefix to the subject line of
mach-davinci patches. The patch is not really specific
to DA830.
SG -- OK, Will do
On Fri, Feb 11, 2011 at 19:48:25, Subhasish Ghosh wrote:
The PRUSS was named as DMAX on da830 platform.
This patch resolves
Hello,
Ok, have implemented the test_and_clear_bit.
On Tuesday 22 February 2011, Subhasish Ghosh wrote:
@@ -122,13 +122,10 @@ static void omapl_pru_tx_chars(struct
omapl_pru_suart
*soft_uart, u32 uart_no)
if (!(suart_get_duplex(soft_uart, uart_no) & ePRU_SUART_HAL
nt: Thursday, February 24, 2011 4:57 PM
To: "Subhasish Ghosh" ;
Cc: ; "Watkins, Melissa"
; ; "Kevin Hilman"
; "Russell King" ;
"Michael Williamson" ; "Chemparathy,
Cyril" ; "Sergei Shtylyov" ; "open
list"
Subject
.
All that we need to do is add an entry into the da8xx_pruss_devices
structure
and the MFD driver will do the rest to get the UIO probe called.
--
From: "TK, Pratheesh Gangadhar"
Sent: Monday, February 28, 2011 6:34 PM
To: "
Hello,
I tried using the tty_prepare_flip_string as shown below, but this is
causing some latency issues.
Problem is, we do not have any flow control, so we must copy the FIFO data
before the next data
is available. As we are using the tty_prepare_flip_string just before the
read API, the FI
DMAX is an internal name for the module which is
known as PRUSS in TI public documentation. This patch just
gets the code in sync with TI documentation.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da830.c|2 +-
arch/arm/mach-davinci/include/mach/psc.h |2 +-
2
ion clk_add_alias_mcasp.
* suart api layer cleanup.
* removed semaphore usage.
* updated to latest internal code base.
* removed __suart_err/dbg.
version 2:
==
* added pruss TTY Soft-UART driver.
* added pruss Soft-UART board and platform changes.
* fixed previous review comments.
* reo
mplement a single device on both
the PRU's resulting in improved load sharing.
Signed-off-by: Subhasish Ghosh
---
drivers/mfd/Kconfig | 10 +
drivers/mfd/Makefile|1 +
drivers/mfd/da8xx_pru.c | 560 +++
This patch adds the platform device and assignes the platform resources
for the PRUSS mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c |7 +++
arch/arm/mach-davinci/devices-da8xx.c | 65
arch/arm/mach-davinci
This patch adds the pruss SUART pin mux and registers the device
with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 45 ++-
1 files changed, 44 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci
This patch adds the PRUSS SUART data.
Signed-off-by: Subhasish Ghosh
---
include/linux/mfd/da8xx/da8xx_pru.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/da8xx/da8xx_pru.h
b/include/linux/mfd/da8xx/da8xx_pru.h
index ba65ec0..2b9d426 100644
--- a
This patch adds the McASP clock alias.
The alias is used by the pruss suart driver
for enabling the McASP PSC.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/devices-da8xx.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
This patch adds board specific initializations and setup routines.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm
Hello,
If I don't initialize it to NULL, its getting initialized to some garbage
string.
--
From: "Sergei Shtylyov"
Sent: Tuesday, March 08, 2011 8:49 PM
To: "Subhasish Ghosh"
Cc: ;
; "Russell King" ; &quo
Hello,
Thank you for your comments.
Would really appreciate more comments and ways to fix this patch and bring
it
up to Linux Standards.
If I have missed something/misunderstood then please let me know.
+config SERIAL_PRUSS_SUART
+ depends on ARCH_DAVINCI && ARCH_DAVINCI_DA850
+ select SERIA
Hello,
This is a detailed walk through the can driver. The pruss_can.c
file mostly looks good, there are very tiny changes that I'm
suggesting to improve the code. I assume that you wrote that file.
The pruss_can_api.c is a bit of a mess and looks like it was copied
from some other code base an
Hello,
A device may be de-initialized and another loaded or two different devices
can be run simultaneously on the two cores.
It's also possible, as in our case, to implement a single device on both
the PRU's resulting in improved load sharing.
Make you driver compile with sparse "make C=1",
+s32 pruss_disable(struct device *dev, u8 pruss_num)
+{
+ struct da8xx_pruss *pruss = dev_get_drvdata(dev->parent);
+ struct da8xx_prusscore_regs *h_pruss;
+ struct pruss_map *pruss_mmap = (struct pruss_map *)pruss->ioaddr;
+ u32 temp_reg;
+ u32 delay_cnt;
Can you explain the significance of p
Hi Arnd,
I am using a .setup to initialize pin mux etc. To use the mfd_cells directly
should I
use .enable and .disable of the mfd_cells instead of the .setup.
+static int pruss_mfd_add_devices(struct platform_device *pdev)
+{
+ struct da8xx_pruss_devices *dev_data = pdev->dev.platform_data;
On Wednesday 30 March 2011, Subhasish Ghosh wrote:
>> +s32 pruss_disable(struct device *dev, u8 pruss_num)
>> +{
>> + struct da8xx_pruss *pruss = dev_get_drvdata(dev->parent);
>> + struct da8xx_prusscore_regs *h_pruss;
>> + struct pruss_map *pruss_mmap =
aphore usage.
* updated to latest internal code base.
* removed __suart_err/dbg.
version 2:
==
* added pruss TTY Soft-UART driver.
* added pruss Soft-UART board and platform changes.
* fixed previous review comments.
* reordered patch sequence.
version 1:
==
* added pruss mfd driver.
mplement a single device on both
the PRU's resulting in improved load sharing.
Signed-off-by: Subhasish Ghosh
---
drivers/mfd/Kconfig| 10 +
drivers/mfd/Makefile |1 +
drivers/mfd/pruss.c| 513
include/li
This patch adds the PRUSS clock.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 2d50885..a7cf2d0 100644
--- a/arch/arm/mach
This patch adds board specific initializations and setup routines.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board-da850-evm.c
b/arch/arm/mach-davinci
This patch adds the platform device and assignes the platform resources
for the PRUSS mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/devices-da8xx.c | 63
arch/arm/mach-davinci/include/mach/da8xx.h |4 ++
2 files changed, 67
This patch adds the pruss SUART pin mux and registers the device
with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 46 ++-
1 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-davinci
This patch adds the PRUSS SUART data.
Signed-off-by: Subhasish Ghosh
---
include/linux/mfd/pruss.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/pruss.h b/include/linux/mfd/pruss.h
index 8ef25b3..c5e2af2 100644
--- a/include/linux/mfd/pruss.h
This patch adds the PRUSS CAN data.
Signed-off-by: Subhasish Ghosh
---
include/linux/mfd/pruss.h |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/mfd/pruss.h b/include/linux/mfd/pruss.h
index c5e2af2..3b46156 100644
--- a/include/linux/mfd/pruss.h
+++ b
This patch adds the pruss CAN pinmux and registers the device
with the pruss mfd driver.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/board-da850-evm.c | 46 +++
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/board
This patch adds support for the CAN device emulated on PRUSS.
Signed-off-by: Subhasish Ghosh
---
drivers/net/can/Kconfig |7 +
drivers/net/can/Makefile|1 +
drivers/net/can/pruss_can.c | 1074 +++
3 files changed, 1082 insertions(+), 0
This patch adds the McASP clock alias.
The alias is used by the pruss suart driver
for enabling the McASP PSC.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/devices-da8xx.c | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
This patch adds the necessary pins for the pruss CAN.
Signed-off-by: Subhasish Ghosh
---
arch/arm/mach-davinci/da850.c|5 +
arch/arm/mach-davinci/include/mach/mux.h |5 +
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/da850.c b
* removed unused function
* improved coding style
* removed unwanted files
* merged required files into the driver
* code cleanup as per review comments
NOTE: The versioning is being maintained in sequence with the complete set
of patches submitted for the PRUSS.
Subhasish Ghosh (1):
can: add
esday, April 26, 2011 6:15 PM
To: "Nori, Sekhar"
Cc: "Greg KH" ; "Subhasish Ghosh"
;
;
; "Watkins, Melissa"
; ; "Andrew Morton"
; "Randy Dunlap" ; "open
list"
Subject: Re: [PATCH v4 08/11] tty: add pruss SUART driver
O
Hi Mark,
- Is it ok to have u32 etc for __iomem cookie ?
+
+s32 pruss_disable(struct device *dev, u8 pruss_num)
make it a int function
SG -- Ok will do
+
+ /* Reset PRU */
+ iowrite32(PRUCORE_CONTROL_RESETVAL,
+ &h_pruss->control);
+ spin_unl
#include
@@ -73,6 +75,7 @@ extern unsigned int da850_max_speed;
#define DA8XX_DDR2_CTL_BASE 0xb000
#define DA8XX_ARM_RAM_BASE 0x
#define DA8XX_SHARED_RAM_BASE 0x8000
+#define DA8XX_PRUSS_MEM_BASE 0x01C3
Keep the list sorted please. Also, this macro doesn't seem u
+static int __init da850_evm_pruss_can_setup(void)
+{
+ int ret, val = 0;
+ void __iomem *cfg_chip3_reg;
+
+ ret = davinci_cfg_reg_list(da850_evm_pruss_can_pins);
+ if (ret)
+ pr_warning("%s: da850_evm_pruss_can_pins mux setup "
+ "failed:%d\n", __func__, ret);
Yet you continue to initializ
#include
@@ -73,6 +75,7 @@ extern unsigned int da850_max_speed;
#define DA8XX_DDR2_CTL_BASE 0xb000
#define DA8XX_ARM_RAM_BASE 0x
#define DA8XX_SHARED_RAM_BASE 0x8000
+#define DA8XX_PRUSS_MEM_BASE 0x01C3
Keep the list sorted please. Also, this macro doesn't seem used outside
- Use just *one* value per sysfs file
SG - I felt adding entry for each mbx_id will clutter the sysfs.
Is it ok to do that.
+static u32 pruss_intc_init[19][3] = {
+ {PRUSS_INTC_POLARITY0, PRU_INTC_REGMAP_MASK, 0x},
+ {PRUSS_INTC_POLARITY1, PRU_INTC_REGMAP_MASK, 0x},
+
>> >>The driver should probably just get sram
>> space through platform data so that it doesn't depend on the
>> platform specific sram allocation function.
Are you suggesting that I go back to that implementation.
No, the platform code should use the SRAM allocator and
pass on the allocated m
d, Apr 27, 2011 at 09:29:59AM +0200, Marc Kleine-Budde wrote:
On 04/27/2011 08:39 AM, Subhasish Ghosh wrote:
> - Is it ok to have u32 etc for __iomem cookie ?
no - "void __iomem *" is "void __iomem *"
Actually, it is _provided_ you don't directly dereference it. You ca
1 - 100 of 129 matches
Mail list logo