]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
firmware: arm_scpi: add alternative legacy structures, functions and macros
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 19 Oct 2016 12:51:08 +0000 (14:51 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 1 Nov 2016 20:14:59 +0000 (14:14 -0600)
commit4dfe32d5cd0586fef6c716d95542e2857afb7add
tree698c93c56374e8d405a74fc1b6324b8765a748c8
parentbb789cd12cfc314458f8bd24548dbda3e683bc26
firmware: arm_scpi: add alternative legacy structures, functions and macros

This patch adds support for the Legacy SCPI protocol that is available
in very early JUNO versions and shipped Amlogic ARMv8 based SoCs. Some
Rockchip SoC are also known to use this version of protocol with
extended vendor commands.

In order to support the legacy SCPI protocol variant, we need to add the
structures and macros definitions that varies against the final SCPI v1.0
specification.

We add the indirection table for legacy commands set so that it can
co-exist with the standard v1.0 command set. It also adds bitmap field
for channel selection since the legacy protocol mandates to send only
selected subset of the commands on the high priority channel.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
[sudeep.holla@arm.com: Updated the changelog]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c