Skip to content

Commit 8675370

Browse files
robherringWolfram Sang
authored andcommitted
dt-bindings: i2c: Convert apm,xgene-slimpro-i2c to DT schema
Convert APM X-Gene slimpro-i2c binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
1 parent 72f437e commit 8675370

File tree

2 files changed

+36
-15
lines changed

2 files changed

+36
-15
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/i2c/apm,xgene-slimpro-i2c.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: APM X-Gene SLIMpro Mailbox I2C
8+
9+
maintainers:
10+
- Khuong Dinh <khuong@os.amperecomputing.com>
11+
12+
description:
13+
An I2C controller accessed over the "SLIMpro" mailbox.
14+
15+
allOf:
16+
- $ref: /schemas/i2c/i2c-controller.yaml#
17+
18+
properties:
19+
compatible:
20+
const: apm,xgene-slimpro-i2c
21+
22+
mboxes:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- mboxes
28+
29+
unevaluatedProperties: false
30+
31+
examples:
32+
- |
33+
i2c {
34+
compatible = "apm,xgene-slimpro-i2c";
35+
mboxes = <&mailbox 0>;
36+
};

Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)