devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] mailbox: Introduce Texas Instrument's message manager driver
@ 2016-02-26 22:24 Nishanth Menon
  2016-02-26 22:24 ` [PATCH V2 1/2] Documentation: dt: mailbox: Add TI Message Manager Nishanth Menon
  2016-02-26 22:24 ` [PATCH V2 2/2] mailbox: Introduce TI message manager driver Nishanth Menon
  0 siblings, 2 replies; 14+ messages in thread
From: Nishanth Menon @ 2016-02-26 22:24 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring
  Cc: linux-kernel, devicetree, linux-arm-kernel, Santosh Shilimkar,
	fcooper, s-anna, Nishanth Menon

Hi,

The following v2 of the series provides a base driver for the support
of TI's message manager hardware block which facilitates communication
between multiple compute engines(or processors) with a central system
controller (called PMMC in K2G SoC). Keystone family of TI processors
incorporate this solution starting with K2G[1].

The hardware specification is available here:
http://www.ti.com/lit/ug/spruhy8/spruhy8.pdf Chapter 8.1 (Message
Manager - NOTE: complete chapter update is estimated to be around
March '16).

Starting with K2G SoC, TI Keystone architecture is moving towards an
architecture similar to ARM Juno platform with a centralized system
controller where all system control takes place - all power management
and system control functions are now centralized in this system
controller. A protocol called TI-SCI (TI System Control Interface)
is built on top of this mailbox driver providing for communication
protocol (similar to SCPI drivers/firmware/arm_scpi.c) Follow on
patches (once the message manager is accepted) will enable the same.
However, an 4.1 kernel based vendor kernel implementation is available
at [2].

The following series is functional in TI vendor kernel, however, was
tested on K2G EVM using the following test fragment:
http://pastebin.ubuntu.com/15209502/

Boot log: http://pastebin.ubuntu.com/15209436/

baseline: v4.5-rc1

Changes since v1:
	- dt binding has been majorly upgraded
	- driver updates for the bindings
v1: http://marc.info/?l=devicetree&m=145469015018996&w=2

Nishanth Menon (2):
  Documentation: dt: mailbox: Add TI Message Manager
  mailbox: Introduce TI message manager driver

 .../bindings/mailbox/ti,message-manager.txt        |  50 ++
 drivers/mailbox/Kconfig                            |  11 +
 drivers/mailbox/Makefile                           |   2 +
 drivers/mailbox/ti-msgmgr.c                        | 657 +++++++++++++++++++++
 include/linux/ti-msgmgr.h                          |  35 ++
 5 files changed, 755 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/ti,message-manager.txt
 create mode 100644 drivers/mailbox/ti-msgmgr.c
 create mode 100644 include/linux/ti-msgmgr.h

[1] K2G support
https://patchwork.kernel.org/patch/8196481/
https://patchwork.kernel.org/patch/8196491/
https://patchwork.kernel.org/patch/8196471/

[2] TISCI support(for reference): (mailbox client driver)
http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-lsk-linux-4.1.y/Documentation/devicetree/bindings/arm/keystone/ti,sci.txt

http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-lsk-linux-4.1.y/drivers/firmware/ti_sci.c
http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-lsk-linux-4.1.y/drivers/firmware/ti_sci.h
http://git.ti.com/ti-linux-kernel/ti-linux-kernel/blobs/ti-lsk-linux-4.1.y/include/linux/ti_sci_protocol.h
The above protocol is used for clock, generic powerdomain, reset
etc..
-- 
2.7.0

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

end of thread, other threads:[~2016-03-17  0:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 22:24 [PATCH V2 0/2] mailbox: Introduce Texas Instrument's message manager driver Nishanth Menon
2016-02-26 22:24 ` [PATCH V2 1/2] Documentation: dt: mailbox: Add TI Message Manager Nishanth Menon
     [not found]   ` <1456525452-30638-2-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2016-03-03 21:09     ` Rob Herring
2016-02-26 22:24 ` [PATCH V2 2/2] mailbox: Introduce TI message manager driver Nishanth Menon
2016-03-04  5:18   ` Jassi Brar
2016-03-04 13:05     ` Nishanth Menon
     [not found]       ` <56D987FF.1040607-l0cyMroinI0@public.gmane.org>
2016-03-07 18:31         ` Jassi Brar
2016-03-07 19:18           ` Nishanth Menon
     [not found]             ` <56DDD41E.2050409-l0cyMroinI0@public.gmane.org>
2016-03-08  7:10               ` Jassi Brar
     [not found]                 ` <CABb+yY2A35=uG9dk_VHVHbEBUsguw6414KeyQJxxp-Jnsq-0dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-08 14:37                   ` Nishanth Menon
     [not found]                     ` <CAGo_u6pHLDhqoHD-V9xKbKkr6-NpdH+vTUufXQGvoMK7C-yj9Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-15  5:31                       ` Jassi Brar
     [not found]                         ` <CABb+yY3ZqM1Do5TdYCU_MGzk0dottaASo3qCdeKJ6TbGf2D8+Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-15 17:05                           ` Nishanth Menon
2016-03-16  5:16                             ` Jassi Brar
     [not found]                               ` <CABb+yY1S52aK63coeNuiH+Ca8GERq=ukCPFidcitUEMhHVdsyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-17  0:29                                 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).