Commit 7fd2944b authored by David Dai's avatar David Dai Committed by Georgi Djakov
Browse files

dt-bindings: interconnect: Convert qcom,sdm845 to DT schema



Convert the qcom,sdm845 interconnect provider binding to DT schema.

Signed-off-by: default avatarDavid Dai <daidavid1@codeaurora.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: default avatarSibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200209183411.17195-2-sibis@codeaurora.org


Signed-off-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
parent 11a48a5a
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
Qualcomm SDM845 Network-On-Chip interconnect driver binding
-----------------------------------------------------------

SDM845 interconnect providers support system bandwidth requirements through
RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
able to communicate with the BCM through the Resource State Coordinator (RSC)
associated with each execution environment. Provider nodes must reside within
an RPMh device node pertaining to their RSC and each provider maps to a single
RPMh resource.

Required properties :
- compatible : shall contain only one of the following:
			"qcom,sdm845-rsc-hlos"
- #interconnect-cells : should contain 1

Examples:

apps_rsc: rsc {
	rsc_hlos: interconnect {
		compatible = "qcom,sdm845-rsc-hlos";
		#interconnect-cells = <1>;
	};
};
+43 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/interconnect/qcom,sdm845.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title:  Qualcomm SDM845 Network-On-Chip Interconnect

maintainers:
  - Georgi Djakov <georgi.djakov@linaro.org>

description: |
   SDM845 interconnect providers support system bandwidth requirements through
   RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
   able to communicate with the BCM through the Resource State Coordinator (RSC)
   associated with each execution environment. Provider nodes must reside within
   an RPMh device node pertaining to their RSC and each provider maps to a
   single RPMh resource.

properties:
  compatible:
    enum:
      - qcom,sdm845-rsc-hlos

  '#interconnect-cells':
    const: 1

required:
  - compatible
  - '#interconnect-cells'

additionalProperties: false

examples:
  - |
      #include <dt-bindings/interconnect/qcom,sdm845.h>

      apps_rsc: rsc {
              rsc_hlos: interconnect {
                      compatible = "qcom,sdm845-rsc-hlos";
                      #interconnect-cells = <1>;
              };
      };