-
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: Add OSM L3 DT bindings
Add bindings for Operating State Manager (OSM) L3 interconnect provider on SDM845 SoCs. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sibi Sankar <sibis@codeaurora.org> Link: https://lore.kernel.org/r/20200227105632.15041-3-sibis@codeaurora.org Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
- Loading branch information
Sibi Sankar
authored and
Georgi Djakov
committed
Mar 3, 2020
1 parent
78465b0
commit 7a077f7
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
61 changes: 61 additions & 0 deletions
61
Documentation/devicetree/bindings/interconnect/qcom,osm-l3.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,61 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider | ||
|
||
maintainers: | ||
- Sibi Sankar <sibis@codeaurora.org> | ||
|
||
description: | ||
L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. | ||
The OSM L3 interconnect provider aggregates the L3 bandwidth requests | ||
from CPU/GPU and relays it to the OSM. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sdm845-osm-l3 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
items: | ||
- description: xo clock | ||
- description: alternate clock | ||
|
||
clock-names: | ||
items: | ||
- const: xo | ||
- const: alternate | ||
|
||
'#interconnect-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- clock-names | ||
- '#interconnect-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#define GPLL0 165 | ||
#define RPMH_CXO_CLK 0 | ||
osm_l3: interconnect@17d41000 { | ||
compatible = "qcom,sdm845-osm-l3"; | ||
reg = <0x17d41000 0x1400>; | ||
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; | ||
clock-names = "xo", "alternate"; | ||
#interconnect-cells = <1>; | ||
}; |
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,12 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* Copyright (C) 2019 The Linux Foundation. All rights reserved. | ||
*/ | ||
|
||
#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H | ||
#define __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H | ||
|
||
#define MASTER_OSM_L3_APPS 0 | ||
#define SLAVE_OSM_L3 1 | ||
|
||
#endif |