Skip to content

Commit 8c85bda

Browse files
krzkrobherring
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 1ee7943 commit 8c85bda

File tree

2 files changed

+48
-26
lines changed

2 files changed

+48
-26
lines changed

Documentation/devicetree/bindings/devfreq/event/exynos-nocp.txt

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/devfreq/event/samsung,exynos-nocp.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Samsung Exynos NoC (Network on Chip) Probe
8+
9+
maintainers:
10+
- Chanwoo Choi <[email protected]>
11+
- Krzysztof Kozlowski <[email protected]>
12+
13+
description: |
14+
The Samsung Exynos542x SoC has a NoC (Network on Chip) Probe for NoC bus.
15+
NoC provides the primitive values to get the performance data. The packets
16+
that the Network on Chip (NoC) probes detects are transported over the
17+
network infrastructure to observer units. You can configure probes to capture
18+
packets with header or data on the data request response network, or as
19+
traffic debug or statistic collectors. Exynos542x bus has multiple NoC probes
20+
to provide bandwidth information about behavior of the SoC that you can use
21+
while analyzing system performance.
22+
23+
properties:
24+
compatible:
25+
const: samsung,exynos5420-nocp
26+
27+
clock-names:
28+
items:
29+
- const: nocp
30+
31+
clocks:
32+
maxItems: 1
33+
34+
reg:
35+
maxItems: 1
36+
37+
required:
38+
- compatible
39+
- reg
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
nocp_mem0_0: nocp@10ca1000 {
46+
compatible = "samsung,exynos5420-nocp";
47+
reg = <0x10ca1000 0x200>;
48+
};

0 commit comments

Comments
 (0)