Skip to content

Commit

Permalink
dt-bindings: interconnect: Convert qcom,sdm845 to DT schema
Browse files Browse the repository at this point in the history
Convert the qcom,sdm845 interconnect provider binding to DT schema.

Signed-off-by: David Dai <daidavid1@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200209183411.17195-2-sibis@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
  • Loading branch information
David Dai authored and Georgi Djakov committed Feb 28, 2020
1 parent 11a48a5 commit 7fd2944
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 24 deletions.
24 changes: 0 additions & 24 deletions Documentation/devicetree/bindings/interconnect/qcom,sdm845.txt

This file was deleted.

43 changes: 43 additions & 0 deletions Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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>;
};
};

0 comments on commit 7fd2944

Please sign in to comment.