-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: interconnect: Convert qcom, qcs404 to DT schema
Convert the qcom,qcs404 interconnect provider binding to DT schema. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
- Loading branch information
Georgi Djakov
authored and
Rob Herring
committed
Nov 6, 2019
1 parent
3d9d879
commit 07e6315
Showing
2 changed files
with
77 additions
and
45 deletions.
There are no files selected for viewing
45 changes: 0 additions & 45 deletions
45
Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt
This file was deleted.
Oops, something went wrong.
77 changes: 77 additions & 0 deletions
77
Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interconnect/qcom,qcs404.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm QCS404 Network-On-Chip interconnect | ||
|
||
maintainers: | ||
- Georgi Djakov <georgi.djakov@linaro.org> | ||
|
||
description: | | ||
The Qualcomm QCS404 interconnect providers support adjusting the | ||
bandwidth requirements between the various NoC fabrics. | ||
properties: | ||
reg: | ||
maxItems: 1 | ||
|
||
compatible: | ||
enum: | ||
- qcom,qcs404-bimc | ||
- qcom,qcs404-pcnoc | ||
- qcom,qcs404-snoc | ||
|
||
'#interconnect-cells': | ||
const: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: bus | ||
- const: bus_a | ||
|
||
clocks: | ||
items: | ||
- description: Bus Clock | ||
- description: Bus A Clock | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- '#interconnect-cells' | ||
- clock-names | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,rpmcc.h> | ||
bimc: interconnect@400000 { | ||
reg = <0x00400000 0x80000>; | ||
compatible = "qcom,qcs404-bimc"; | ||
#interconnect-cells = <1>; | ||
clock-names = "bus", "bus_a"; | ||
clocks = <&rpmcc RPM_SMD_BIMC_CLK>, | ||
<&rpmcc RPM_SMD_BIMC_A_CLK>; | ||
}; | ||
pnoc: interconnect@500000 { | ||
reg = <0x00500000 0x15080>; | ||
compatible = "qcom,qcs404-pcnoc"; | ||
#interconnect-cells = <1>; | ||
clock-names = "bus", "bus_a"; | ||
clocks = <&rpmcc RPM_SMD_PNOC_CLK>, | ||
<&rpmcc RPM_SMD_PNOC_A_CLK>; | ||
}; | ||
snoc: interconnect@580000 { | ||
reg = <0x00580000 0x23080>; | ||
compatible = "qcom,qcs404-snoc"; | ||
#interconnect-cells = <1>; | ||
clock-names = "bus", "bus_a"; | ||
clocks = <&rpmcc RPM_SMD_SNOC_CLK>, | ||
<&rpmcc RPM_SMD_SNOC_A_CLK>; | ||
}; |