Skip to content

Commit 04e394d

Browse files
alcharkkrzk
authored andcommitted
dt-bindings: hwinfo: Add VIA/WonderMedia SoC identification
VIA/WonderMedia SoC's have a chip ID register inside their system configuration controller space, which can be used to identify appropriate hardware quirks at runtime. Add binding for it. Signed-off-by: Alexey Charkov <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 0af2f6b commit 04e394d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/hwinfo/via,vt8500-scc-id.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: VIA/WonderMedia SoC system configuration information
8+
9+
maintainers:
10+
- Alexey Charkov <[email protected]>
11+
12+
description:
13+
The system configuration controller on VIA/WonderMedia SoC's contains a chip
14+
identifier and revision used to differentiate between different hardware
15+
versions of on-chip IP blocks having their own peculiarities which may or
16+
may not be captured by their respective DT compatible strings
17+
18+
properties:
19+
compatible:
20+
items:
21+
- const: via,vt8500-scc-id
22+
23+
reg:
24+
maxItems: 1
25+
26+
required:
27+
- compatible
28+
- reg
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
chipid@d8120000 {
35+
compatible = "via,vt8500-scc-id";
36+
reg = <0xd8120000 0x4>;
37+
};

0 commit comments

Comments
 (0)