From: Neil Armstrong <narmstrong@baylibre.com>
To: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Sudeep Holla <sudeep.holla@arm.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Subject: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors variants
Date: Thu, 26 May 2016 11:38:09 +0200 [thread overview]
Message-ID: <1464255491-18503-1-git-send-email-narmstrong@baylibre.com> (raw)
Since the current SCPI implementation, based on [0]:
- is (at leat) JUNO specific
- does not specify a strong "standard"
- does not specify a strong MHU interface specification
SoC vendors could implement a variant with slight changes in message
indexes, new messages types, different messages data format or different MHU
communication scheme.
To keep the spirit of the SCPI interface, add a thin "register" layer to get
the ops from the parent node and switch the drivers using the ops to use
the new of_scpi_ops_get() call.
[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html
Neil Armstrong (2):
firmware: Add a SCPI framework to handle multiple vendors
implementation
firmware: scpi: Switch scpi drivers to use new Framework calls
drivers/clk/clk-scpi.c | 18 ++++---
drivers/cpufreq/scpi-cpufreq.c | 7 +--
drivers/firmware/Makefile | 1 +
drivers/firmware/arm_scpi.c | 18 +++----
drivers/firmware/scpi.c | 110 +++++++++++++++++++++++++++++++++++++++++
drivers/hwmon/scpi-hwmon.c | 6 +--
include/linux/scpi_protocol.h | 33 ++++++++++++-
7 files changed, 169 insertions(+), 24 deletions(-)
create mode 100644 drivers/firmware/scpi.c
--
2.7.0
next reply other threads:[~2016-05-26 9:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 9:38 Neil Armstrong [this message]
2016-05-26 9:38 ` [RFC PATCH 1/2] firmware: Add a SCPI framework to handle multiple vendors implementation Neil Armstrong
2016-05-26 9:38 ` [RFC PATCH 2/2] firmware: scpi: Switch scpi drivers to use new Framework calls Neil Armstrong
2016-05-26 16:29 ` [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors variants Sudeep Holla
2016-05-27 8:17 ` Neil Armstrong
2016-05-27 15:17 ` Neil Armstrong
2016-05-30 8:30 ` Neil Armstrong
2016-06-01 10:10 ` Sudeep Holla
2016-06-01 16:30 ` Kevin Hilman
2016-06-01 16:34 ` Sudeep Holla
2016-06-01 18:48 ` Heiko Stübner
2016-06-06 17:10 ` Sudeep Holla
2016-06-20 10:25 ` Neil Armstrong
2016-06-20 15:01 ` Sudeep Holla
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=1464255491-18503-1-git-send-email-narmstrong@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudeep.holla@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®