From: Cyril Bur <cyrilbur@gmail.com>
To: openbmc@lists.ozlabs.org
Subject: [PATCH v3 0/5] LPC/MBOX work
Date: Tue, 10 Jan 2017 20:06:35 +1100 [thread overview]
Message-ID: <20170110090640.12608-1-cyrilbur@gmail.com> (raw)
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
next reply other threads:[~2017-01-10 9:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 9:06 Cyril Bur [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170110090640.12608-1-cyrilbur@gmail.com \
--to=cyrilbur@gmail.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.