Skip to content

Commit f6815c7

Browse files
committed
dt-bindings: auxdisplay: Add Maxim MAX6958/6959
Add initial device tree documentation for Maxim MAX6958/6959. As per reviewer's request mention the fact of absence the reset and power enable pins, since the hardware is quite simple. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]>
1 parent a459b27 commit f6815c7

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/auxdisplay/maxim,max6959.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: MAX6958/6959 7-segment LED display controller
8+
9+
maintainers:
10+
- Andy Shevchenko <[email protected]>
11+
12+
description:
13+
The Maxim MAX6958/6959 7-segment LED display controller provides
14+
an I2C interface to up to four 7-segment LED digits. The MAX6959,
15+
in comparison to MAX6958, adds input support. Type of the chip can
16+
be autodetected via specific register read, and hence the features
17+
may be enabled in the driver at run-time, in case they are requested
18+
via Device Tree. A given hardware is simple and does not provide
19+
any additional pins, such as reset or power enable.
20+
21+
properties:
22+
compatible:
23+
const: maxim,max6959
24+
25+
reg:
26+
maxItems: 1
27+
28+
required:
29+
- compatible
30+
- reg
31+
32+
additionalProperties: false
33+
34+
examples:
35+
- |
36+
i2c {
37+
#address-cells = <1>;
38+
#size-cells = <0>;
39+
40+
display-controller@38 {
41+
compatible = "maxim,max6959";
42+
reg = <0x38>;
43+
};
44+
};

0 commit comments

Comments
 (0)