All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] LPC/MBOX work
@ 2017-01-10  9:06 Cyril Bur
  2017-01-10  9:06 ` [PATCH v3 1/5] Documentation: dt: mailbox: Add Aspeed ast2400/2500 bindings Cyril Bur
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Cyril Bur @ 2017-01-10  9:06 UTC (permalink / raw)
  To: openbmc

I thought I would put it one final time on here mostly because
patch 5/5, the mbox driver, got quite a rework today thanks for the
review Ben!

Notable differences is that I've completely ditched the ioctl() in
favour of arbitrary reads and writes. This gives userspace the
ability to touch only one reg which was the aim of the ioctl() anyway.
The userspace complexity is similar, or perhaps a little more simple,
no sacrifice there.

In the process of having the kernel allow access of any sized
read/write to all 16 of the data regs I realise that some of the
intended protocol had snuck in, or rather hadn't been completed
removed, that got addressed too.

Also added a mutex to avoid multiple writers.

Thanks,

Cyril

Cyril Bur (5):
  Documentation: dt: mailbox: Add Aspeed ast2400/2500 bindings
  Documentation: dt: misc: Add Aspeed ast2400/2500 LPC Control bindings
  ARM: dts: aspeed: Add mailbox and LPC Control nodes
  drivers/misc: Add aspeed ast2400/ast2500 lpc controlling driver
  drivers/mailbox: Add aspeed ast2400/ast2500 mbox driver

 .../devicetree/bindings/mailbox/aspeed-mbox.txt    |  44 +++
 .../devicetree/bindings/misc/aspeed-lpc-ctrl.txt   |  78 +++++
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts     |   6 +
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts     |   6 +
 arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts      |   6 +
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts      |   7 +
 arch/arm/boot/dts/aspeed-g4.dtsi                   |  38 +++
 drivers/mailbox/Kconfig                            |   9 +
 drivers/mailbox/Makefile                           |   3 +
 drivers/mailbox/aspeed-mbox.c                      | 365 +++++++++++++++++++++
 drivers/misc/Kconfig                               |   9 +
 drivers/misc/Makefile                              |   1 +
 drivers/misc/aspeed-lpc-ctrl.c                     | 282 ++++++++++++++++
 include/uapi/linux/aspeed-lpc-ctrl.h               |  25 ++
 14 files changed, 879 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/aspeed-mbox.txt
 create mode 100644 Documentation/devicetree/bindings/misc/aspeed-lpc-ctrl.txt
 create mode 100644 drivers/mailbox/aspeed-mbox.c
 create mode 100644 drivers/misc/aspeed-lpc-ctrl.c
 create mode 100644 include/uapi/linux/aspeed-lpc-ctrl.h

-- 
2.11.0

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

end of thread, other threads:[~2017-01-11  4:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-10  9:06 [PATCH v3 0/5] LPC/MBOX work Cyril Bur
2017-01-10  9:06 ` [PATCH v3 1/5] Documentation: dt: mailbox: Add Aspeed ast2400/2500 bindings Cyril Bur
2017-01-10  9:06 ` [PATCH v3 2/5] Documentation: dt: misc: Add Aspeed ast2400/2500 LPC Control bindings Cyril Bur
2017-01-11  1:29   ` Andrew Jeffery
2017-01-10  9:06 ` [PATCH v3 3/5] ARM: dts: aspeed: Add mailbox and LPC Control nodes Cyril Bur
2017-01-11  0:57   ` Joel Stanley
2017-01-10  9:06 ` [PATCH v3 4/5] drivers/misc: Add aspeed ast2400/ast2500 lpc controlling driver Cyril Bur
2017-01-10  9:06 ` [PATCH v3 5/5] drivers/mailbox: Add aspeed ast2400/ast2500 mbox driver Cyril Bur
2017-01-11  0:33   ` Joel Stanley
2017-01-11  3:54     ` Joel Stanley
2017-01-11  4:06       ` Cyril Bur
2017-01-11  1:27   ` Andrew Jeffery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.