On Mon, Feb 12, 2024 at 07:14:53PM +0200, Andy Shevchenko wrote: > On Mon, Feb 12, 2024 at 07:01:47PM +0200, Andy Shevchenko wrote: > > Add initial device tree documentation for Maxim MAX6958/6959. > > Oh, this is an old version :-( Here is a new one: >From d8c826e06cf9237cd5fc6b2bb0b1cac5aff4fd8a Mon Sep 17 00:00:00 2001 From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> Date: Thu, 8 Feb 2024 17:23:38 +0200 Subject: [PATCH 1/1] dt-bindings: auxdisplay: Add Maxim MAX6958/6959 Add initial device tree documentation for Maxim MAX6958/6959. Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> --- .../bindings/auxdisplay/maxim,max6959.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml diff --git a/Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml b/Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml new file mode 100644 index 000000000000..e7d602d02df1 --- /dev/null +++ b/Documentation/devicetree/bindings/auxdisplay/maxim,max6959.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/auxdisplay/maxim,max6959.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MAX6958/6959 7-segment LED display controller with keyscan + +maintainers: + - Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> + +description: + The Maxim MAX6958/6959 7-segment LED display controller provides + an I2C interface to up to four 7-segment LED digits. The MAX6959 + in comparison to MAX6958 has the debounce and interrupt support. + Type of the chip can be autodetected via specific register read, + and hence the features may be enabled in the driver at run-time. + Given hardware is simple and does not provide any additional pins, + such as reset or enable. + +properties: + compatible: + const: maxim,max6959 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + display-controller@38 { + compatible = "maxim,max6959"; + reg = <0x38>; + }; + }; -- 2.43.0 -- With Best Regards, Andy Shevchenko