-
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: devfreq: event: convert Samsung Exynos NoCP to dtschema
Convert Samsung Exynos NoC Probe bindings to DT schema format using json-schema. New bindings contain copied description from previous bindings document, therefore the license is set as GPL-2.0-only. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20210820150353.161161-1-krzysztof.kozlowski@canonical.com Signed-off-by: Rob Herring <robh@kernel.org>
- Loading branch information
Krzysztof Kozlowski
authored and
Rob Herring
committed
Aug 24, 2021
1 parent
1ee7943
commit 8c85bda
Showing
2 changed files
with
48 additions
and
26 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
Documentation/devicetree/bindings/devfreq/event/exynos-nocp.txt
This file was deleted.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/devfreq/event/samsung,exynos-nocp.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,48 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/devfreq/event/samsung,exynos-nocp.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung Exynos NoC (Network on Chip) Probe | ||
|
||
maintainers: | ||
- Chanwoo Choi <cw00.choi@samsung.com> | ||
- Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | ||
|
||
description: | | ||
The Samsung Exynos542x SoC has a NoC (Network on Chip) Probe for NoC bus. | ||
NoC provides the primitive values to get the performance data. The packets | ||
that the Network on Chip (NoC) probes detects are transported over the | ||
network infrastructure to observer units. You can configure probes to capture | ||
packets with header or data on the data request response network, or as | ||
traffic debug or statistic collectors. Exynos542x bus has multiple NoC probes | ||
to provide bandwidth information about behavior of the SoC that you can use | ||
while analyzing system performance. | ||
properties: | ||
compatible: | ||
const: samsung,exynos5420-nocp | ||
|
||
clock-names: | ||
items: | ||
- const: nocp | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
nocp_mem0_0: nocp@10ca1000 { | ||
compatible = "samsung,exynos5420-nocp"; | ||
reg = <0x10ca1000 0x200>; | ||
}; |