Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 981561b5 authored by Zhen Kong's avatar Zhen Kong Committed by Gerrit - the friendly Code Review server
Browse files

Documentation:dt:crypto:msm: Clarification of qcom,ce-device attribute



qcom,ce-device attribute is defined with a encoding scheme to
support multiple instances of fde and pfe. The encoding scheme provides
compatiblity to the current single instance implementation for all targets.
For the existing targets of single instance of fde and pfe, no need
to change DT file.

Furthermore, add clarification to qcom,ce-opp-freq and qcom,msm_bus,vectors
attributes to match the actual usage. Those two attributes are optional,
not mandatory.  Though, they are required for msm targets,
not for fsm targets.

Change-Id: I853cbe0a26285ad570db6855a28c4cf6159073b1
Acked-by: default avatarChe-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent c023e48c
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
@@ -11,9 +11,11 @@ Required properties:
  - qcom,msm_bus,num_cases: Depends on the use cases for bus scaling
  - qcom,msm_bus,active-only: Boolean flag for context of request (actve/dual)
  - qcom,msm_bus,num_paths: The paths for source and destination ports
  - qcom,msm_bus,vectors: Vectors for bus topology.
  - qcom,ce-device: Device number.
  - qcom,ce-opp-freq: indicates the CE operating frequency in Hz, changes from target to target.
  - qcom,ce-device: Device number. Device number is encoded with the following:
		bit 3-0   device type:	0 for full disk encryption(fde)
					1 for per file encrption(pfe)
		bit 7-4   unit number within the device type.


Optional properties:
  - qcom,ce-hw-shared : optional, indicates if the hardware is shared between EE.
@@ -28,6 +30,15 @@ Optional properties:
  - qcom,support-core-clk-only : optional, indicates if the HW supports single crypto core clk.
  - qcom,bsm-ee : optional, indicate the BAM EE value, changes from target to target.Default value is 1 if not specified.

  - qcom,ce-opp-freq: optional, indicates the CE operating frequency in Hz,
	changes from target to target. If not specified, by default the
	frequency is set as 100MHZ.

  - qcom,msm_bus,vectors: optional, indicates vectors for bus topology.
        This attribute is required for msm targets where bus scaling is
	required. For other targets such as fsm, they do not perform
	bus scaling. It is not required for those targets.

Example:

        qcom,qcrypto@fd444000 {