Skip to content

Commit a3d5095

Browse files
Eddie Jamesrobherring
authored andcommitted
dt-bindings: fsi: Document the FSI controller common properties
Since there are multiple FSI controllers documented, the common properties should be documented separately and then referenced from the specific controller documentation. Add bus-frequency for the FSI bus and CFAM local bus frequencies. Add interrupt controller properties. Signed-off-by: Eddie James <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 76ee122 commit a3d5095

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/fsi/fsi-controller.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: FSI Controller Common Properties
8+
9+
maintainers:
10+
- Eddie James <[email protected]>
11+
12+
description:
13+
FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The
14+
FSI bus is connected to a CFAM (Common FRU Access Macro) which contains
15+
various engines such as I2C controllers, SPI controllers, etc.
16+
17+
properties:
18+
"#address-cells":
19+
const: 2
20+
21+
"#size-cells":
22+
const: 0
23+
24+
'#interrupt-cells':
25+
const: 1
26+
27+
bus-frequency:
28+
minimum: 1
29+
maximum: 200000000
30+
31+
interrupt-controller: true
32+
33+
no-scan-on-init:
34+
$ref: /schemas/types.yaml#/definitions/flag
35+
description:
36+
The FSI controller cannot scan the bus during initialization.
37+
38+
patternProperties:
39+
"cfam@[0-9a-f],[0-9a-f]":
40+
type: object
41+
properties:
42+
chip-id:
43+
$ref: /schemas/types.yaml#/definitions/uint32
44+
description:
45+
Processor index, a global unique chip ID which is used to identify
46+
the physical location of the chip in a system specific way.
47+
48+
bus-frequency:
49+
minimum: 1
50+
maximum: 100000000
51+
52+
reg:
53+
maxItems: 1
54+
55+
"#address-cells":
56+
const: 1
57+
58+
"#size-cells":
59+
const: 1
60+
61+
required:
62+
- reg
63+
64+
additionalProperties: true
65+
66+
additionalProperties: true

0 commit comments

Comments
 (0)