Commit Graph

54 Commits

Author SHA1 Message Date
Siddharth Gupta
188383cf0a linux: scm: Update the API for assign memory to subsys
Update the API of the mdf assign memory to subsys for cases
when the scm driver is not compiled. The current API has an
extra parameter.

Change-Id: I50c100d2ee260a14fe754a8497727b5d37d20610
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2020-01-28 11:18:01 -08:00
Ajay Prathi
5330a6895e firmware: qcom_scm: Add changes for tsens reinit
Add scm call support to reinitialize tsens.

Change-Id: I52c2048cdc6ff1c078b9e6610eea6522221ec96b
Signed-off-by: Ajay Prathi <aprathi@codeaurora.org>
2020-01-02 17:14:49 +05:30
Elliot Berman
4b9eafd143 firmware: qcom_scm: Add calls to support poweroff driver
Add SCM calls to support poweroff driver.

Change-Id: Ie55382d3c099a5f99f37a3e140d71f5dfd44e64f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:17 -08:00
Elliot Berman
173c971a4c firmware: qcom_scm: Expose qcom_scm_set_download_mode
Add support for other drivers to manage download mode by exposing
qcom_scm_set_download_mode (such as in commit: "power: reset:
msm-poweroff: Manage download mode"). Also, change the function to
support changing to different download modes with enum
qcom_download_mode, instead of only either "full dump mode" or "normal
restart".

Change-Id: Ic79d8dda97c17df70bd2cef5d9ce12ecb4c06d00
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-12-18 14:55:16 -08:00
Elliot Berman
871f20c5e1 firmware: qcom_scm: Add calls for watchdog tests
Add call to trigger secure watchdog and spin CPU.

Change-Id: I792c366528f46c87c68e73a49e276b1cd9462eaf
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
23a99bc7bc firmware: qcom_scm: Add calls for seccam
Add calls to the SCM driver for seccam driver.

Change-Id: I0468057945ab8c84ea6c608fdb194093422a2c3e
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
3364df41fa firmware: qcom_scm: Add calls for csptest
Add SCM calls to check for whether mode switch and secure
watchdog trigger calls are available.
Add SCM call for cpu errata.

Change-Id: Ibe2ccf4d44ce89c342ed3c65bbe6f075f9be8c40
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
d0a14e5c2c soc: qcom: Migrate SCM calls in secure_buffer
Migrate SCM calls to use the upstream SCM driver.

Change-Id: I09d5a64f18de4c691c20d3bb94371cdf6385b1d5
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Isaac J. Manjarres
f8bf2650d2 firmware: qcom_scm: Add support to assign multiple memory regions
The secure world allows for changing the ownership of multiple
(not necessarily physically contiguous) memory regions in one
secure call. Thus, expose an interface for clients to assign more
than one memory region per secure call.

Change-Id: Ic444627daee9d735b8b039ae3965e861cdcd110a
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
f278fbe3a9 soc: qcom: Migrating to upstream SCM driver in smcinvoke
Migrate the downstream SCM driver calls to the upstream driver
calls.

Change-Id: Idb94438e439a3bd17a95dd846e6d3bd683bab69e
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
d416ab1028 firmware: qcom_scm: Add memory protection API for MDF
Add memory protection API for MultiDSP framework as scm_call2
is depreciated on latest kernel.

Change-Id: I935f29bf958e57498fd115022d9f6352adbab861
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
e7e95d8706 firmware: qcom_scm: Add a scm calls for displace memory protect
Add a scm calls for displace memory protect.

Change-Id: I8a23b13f1917adcad5f627f0f55fc7702bd01cd7
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
89d665314e thermal: qcom: Migrate SCM calls in msm_lmh_dcvs
Migrate SCM calls present in lmh_dbg to use the upstream driver.

Change-Id: I6daa774f5dc3af630676c9f3f70f0a5d09a8e7b6
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
fb0a041246 thermal: qcom: Migrate SCM calls in lmh_dbg
Migrate SCM calls present in lmh_dbg to use upstream driver
conventions.

Change-Id: I424e5a70fbc5886d7685740e64f8ec7d78edadf1
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
d98f9f01bf firmware: qcom_scm: Add support for protecting videos
Add secure world call to protect memory for video.

Change-Id: I27a82d31054b8a2459738d3c7a2785abd357504f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
6009e24b13 input: touchscreen: synaptics_dsx: Migrate SCM calls
Migrate secure world calls to qcom_scm driver in synaptics_dsx_core.c.

Change-Id: Ie339dcad416658a0f1227b9a9ee995799695dc94
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
0d8b273093 firmware: qcom_scm: Add calls for camera
- Add SCM API to notify secure world that a LUT should be secure.
- Add SCM API to notify secure world that camera should be secure.

Change-Id: I31b0ce2c58182f809d0875c64116436a30ce8f62
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
3e20670941 soc: qcom: Migrate SCM calls in remoteqdss
Migrate scm_call2 usage to new SCM driver in remoteqdss.

Change-Id: Idd25aab0c5fb7cc55ee81c8f685981b8362a7b45
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
9f0809bb26 firmware: qcom: Migrate SCM calls in tz_log
Migrate SCM call to register qsee log buffer to new SCM driver.

Change-Id: Ic9c700f5324f1a5d5a9ce28ab95cc55fed9c692e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
348d7803bb firmware: qcom_scm: Add calls for pfk_ice
Add variant of qcom_scm_call which disables EBUSY retry mechanism.
Add SCM calls for pfk_ice to initialize keys.

Change-Id: Ib785cd0bf4df5b81d73bad96c2a6f56ae961b55d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Elliot Berman
5317ce310c msm: kgsl: Migrate SCM calls in GPU bus governor
Migrate MSM Adreno Governor TZ interface to upstream SCM driver.

Change-Id: I1c4347d33b6be835f04422918c29e9c627e02874
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
b6e110d2d0 soc: qcom: Migrate SCM calls in qtee_shmbridge
Adding APIs to create, delete, and enable shmbridge.
Migrating SCM calls in qtee_shmbridge to use the new APIs.

Change-Id: I038e7950d11cbf6bb38a8824a576f2d92f879454
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
49ec350a86 soc: qcom: Migrate SCM calls in msm_tz_smmu
Adding APIs to change smmu pagetable format, and to prepare atos id.
Migrating SCM calls in msm_tz_smmu to use the new APIs.

Change-Id: I3aed64cd524e94cfa6d6ea168031eda62fd14fb0
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
df1491d155 msm: kgsl: Migrate SCM calls in kgsl iommu
Adding APIs to check if KGSL SMMU is available, and programming the
SMMU Aperture size. Migrating SCM calls in the KGSL IOMMU driver.

Change-Id: I77178f3e300112fa47a8ca6861acb08d547c9875
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-21 13:00:27 -08:00
Siddharth Gupta
bea316fb9c platform: msm: Migrate SCM calls in IPAv3
Adding API to upstream driver to get secure dump state and protect
memory regions. Migrating SCM calls used in the IPA driver.

Change-Id: Ia61436d8c18ddda49c411e06f147cdae345a23af
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
44992a2dfa soc: qcom: Migrate SCM calls in jtagv8
Adding API to upstream driver to get JTAG ETM feat id.
Migrating SCM calls used in the JTAG driver.

Change-Id: I60cd57d5c6aae62ec089e960b55ac221f0474f64
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
5d6607bbfc crypto: ice: Migrate SCM calls
Migrating all SCM calls made to the old driver to now be made
through the backported upstream driver.

Change-Id: Ic77d315c5a55859f0cc58d7bbf05c0c24d1ef155
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
050d2dca67 iommu/arm-smmu: Migrate SCM IO calls in arm-smmu
Migrate SCM IO read calls in the smmu driver to use new SCM driver.
Add support for io-pgtable-msm-secure map and unmap in SCM driver.

Change-Id: If1ce054b9cfcfdcdab3aecc6752fcd4765197a05
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
f3261f7069 msm: kgsl: Migrate SCM calls in adreno
- Migrate iommu_sync scm call to firmware/qcom_scm driver.
- Migrate a5xx_microcode_load to use qcom_scm_set_remote_state.

Change-Id: I05911ac6cf9366b4bff5ee02e6832b8728d1d35e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
f1624c54ae soc: qcom: Migrate SCM call to disable watchdog
Add support for SCM call to deactivate secure watchdog on Qualcomm
devices.

Change-Id: I4008792e45d2c264b98ca954ea37a94093ea771e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
22afda04ff firmware: qcom_scm: Remove unused qcom_scm_get_version
Remove unused qcom_scm_get_version.

Change-Id: I7e638d3ece7a2d52b51f570bb680cf3c5dcdc347
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-15 11:03:52 -08:00
Elliot Berman
7254c9cde6 firmware: qcom_scm: Order functions, definitions by svc/cmd
Definitions throughout qcom_scm are loosely grouped and loosely ordered.
Sort all the functions/definitions by service ID/command ID to improve
sanity when needing to add new functionality to this driver.

Change-Id: I698443e8e650d4bc9e65ac27d68c46d1e45ba8e3
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-15 11:03:52 -08:00
Vivek Gautam
ae18db422f firmware/qcom_scm: Add scm call to handle smmu errata
Qcom's smmu-500 needs to toggle wait-for-safe sequence to
handle TLB invalidation sync's.
Few firmwares allow doing that through SCM interface.
Add API to toggle wait for safe from firmware through a
SCM call.

Change-Id: I425b4dda32f285996178540e551e3168c51da610
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Andy Gross <agross@kernel.org>
Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Patch-mainline: https://lore.kernel.org/patchwork/patch/1129993/
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-15 11:03:52 -08:00
Stephen Boyd
af311ff9a6 firmware: qcom_scm: Cleanup code in qcom_scm_assign_mem()
There are some questionable coding styles in this function. It looks
quite odd to deref a pointer with array indexing that only uses the
first element. Also, destroying an input/output variable halfway through
the function and then overwriting it on success is not clear. It's
better to use a local variable and the kernel macros to step through
each bit set in a bitmask and clearly show where outputs are set.

Cc: Ian Jackson <ian.jackson@citrix.com>
Cc: Julien Grall <julien.grall@arm.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
[bjorn: Changed for_each_set_bit() size to BITS_PER_LONG]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-07-22 16:25:20 -07:00
Thomas Gleixner
97fb5e8d9b treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 and
  only version 2 as published by the free software foundation this
  program is distributed in the hope that it will be useful but
  without any warranty without even the implied warranty of
  merchantability or fitness for a particular purpose see the gnu
  general public license for more details

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 294 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141900.825281744@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-05 17:36:37 +02:00
Fabio Estevam
2076607a20 qcom-scm: Include <linux/err.h> header
Since commit e6f6d63ed1 ("drm/msm: add headless gpu device for imx5")
the DRM_MSM symbol can be selected by SOC_IMX5 causing the following
error when building imx_v6_v7_defconfig:

In file included from ../drivers/gpu/drm/msm/adreno/a5xx_gpu.c:17:0:
../include/linux/qcom_scm.h: In function 'qcom_scm_set_cold_boot_addr':
../include/linux/qcom_scm.h:73:10: error: 'ENODEV' undeclared (first use in this function)
  return -ENODEV;

Include the <linux/err.h> header file to fix this problem.

Reported-by: kernelci.org bot <bot@kernelci.org>
Fixes: e6f6d63ed1 ("drm/msm: add headless gpu device for imx5")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2019-01-10 17:04:45 -06:00
Jonathan Marek
16ad9501b1 firmware: qcom: scm: fix compilation error when disabled
This fixes the case when CONFIG_QCOM_SCM is not enabled, and linux/errno.h
has not been included previously.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-12-05 16:44:05 -06:00
Govind Singh
cc53aabcc2 firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface
Add WLAN related VMID's to support wlan driver to set up
the remote's permissions call via TrustZone.

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-10-13 20:31:37 +03:00
Niklas Cassel
a0b1561f84 firmware: qcom: scm: add a dummy qcom_scm_assign_mem()
Add a dummy qcom_scm_assign_mem() to enable building drivers when
CONFIG_COMPILE_TEST=y && CONFIG_QCOM_SCM=n.

All other qcom_scm_* functions already have a dummy version.

Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-07-21 13:34:09 -05:00
Jordan Crouse
29ff62f7db firmware: qcom_scm: Add dependent headers to qcom_scm.h
qcom_scm.h makes heavy use of <linux/types.h> and <linux/cpumask.h>.
Add the dependent header files so that users of SCM don't need to
include header files they don't otherwise use.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-12-20 15:38:34 -06:00
Linus Torvalds
4f88bd23ba Merge tag 'rproc-v4.15' of git://github.com/andersson/remoteproc
Pull remoteproc updates from Bjorn Andersson:
 "This adds an interface for configuring Qualcomm's "secure SMMU" and
  adds support for booting the modem Hexagon on MSM8996.

  Two new debugfs entries are added in the remoteproc core to introspect
  the list of memory carveouts and the loaded resource table"

* tag 'rproc-v4.15' of git://github.com/andersson/remoteproc:
  remoteproc: qcom: Fix error handling paths in order to avoid memory leaks
  remoteproc: qcom: Drop pr_err in q6v5_xfer_mem_ownership()
  remoteproc: debug: add carveouts list dump feature
  remoteproc: debug: add resource table dump feature
  remoteproc: qcom: Add support for mss remoteproc on msm8996
  remoteproc: qcom: Make secure world call for mem ownership switch
  remoteproc: qcom: refactor mss fw image loading sequence
  firmware: scm: Add new SCM call API for switching memory ownership
2017-11-17 20:14:10 -08:00
Avaneesh Kumar Dwivedi
d82bd35997 firmware: scm: Add new SCM call API for switching memory ownership
Two different processors on a SOC need to switch memory ownership
during load/unload. To enable this, second level memory map table
need to be updated, which is done by secure layer.
This patch adds the interface for making secure monitor call for
memory ownership switching request.

Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
[bjorn: Minor style and kerneldoc updates]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-10-30 18:37:07 -07:00
Bjorn Andersson
4e659dbe2d firmware: qcom: scm: Expose secure IO service
The secure IO service provides operations for reading and writing secure
memory from non-secure mode, expose this API through SCM.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-10-11 23:48:27 -05:00
Stanimir Varbanov
b182cc4d59 firmware: qcom_scm: add two scm calls for iommu secure page table
Those two new SCM calls are needed from qcom-iommu driver in order
to initialize secure iommu page table.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-03-28 16:03:21 -05:00
Rob Clark
a2c680c6ce firmware/qcom: add qcom_scm_restore_sec_cfg()
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-03-28 16:03:21 -05:00
Andy Gross
a811b420b6 firmware: qcom_scm: Add set remote state API
This patch adds a set remote state SCM API.  This will be used by the
Venus and GPU subsystems to set state on the remote processors.

This work was based on two patch sets by Jordan Crouse and Stanimir
Varbanov.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-01-16 23:45:04 -06:00
Stanimir Varbanov
e127991250 firmware: qcom: scm: Add empty functions to help compile testing
This will help to compile testing drivers which depends on scm
functions with COMPILE_TEST Kconfig option.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2017-01-16 23:07:36 -06:00
Bjorn Andersson
f01e90fe34 firmware: qcom: scm: Peripheral Authentication Service
This adds the Peripheral Authentication Service (PAS) interface to the
Qualcomm SCM interface. The API is used to authenticate and boot a range
of external processors in various Qualcomm platforms.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2016-06-24 22:53:50 -05:00
Rob Clark
2d3c277ca5 qcom-scm: add missing prototype for qcom_scm_is_available()
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Andy Gross <agross@codeaurora.org>
2015-10-14 14:51:22 -05:00
jilai wang
9626b6993b firmware: qcom: scm: Add HDCP Support
HDCP driver needs to check if secure environment supports HDCP.  If it's
supported, then it requires to program some registers through SCM.
Add qcom_scm_hdcp_available and qcom_scm_hdcp_req to support these
requirements.

Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
2015-05-28 10:47:45 -05:00