Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 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 <andriy.shevchenko@linux.intel.com> |
| 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 | }; |