Commit a328a6c9 authored by Robin Murphy's avatar Robin Murphy
Browse files

fixup! dt-bindings: auxdisplay: Add Titan Micro Electronics TM1628

parent 05f23a2b
......@@ -35,32 +35,42 @@ properties:
minItems: 7
maxItems: 7
"#address-cells":
const: 2
"#size-cells":
const: 0
required:
- compatible
- reg
patternProperties:
"^.*@[1-7],([1-9]|1[0-6])$":
leds:
type: object
$ref: /schemas/leds/common.yaml#
unevaluatedProperties: false
description: |
Properties for a single LED.
properties:
reg:
"#address-cells":
const: 2
"#size-cells":
const: 0
patternProperties:
"^.*@[1-7],([1-9]|1[0-6])$":
type: object
$ref: /schemas/leds/common.yaml#
unevaluatedProperties: false
description: |
1-based grid number, followed by 1-based segment bit number.
maxItems: 1
Properties for a single LED.
properties:
reg:
description: |
1-based grid number, followed by 1-based segment bit number.
maxItems: 1
required:
- reg
required:
- reg
- "#address-cells"
- "#size-cells"
additionalProperties: false
required:
- compatible
- reg
unevaluatedProperties: false
......@@ -75,7 +85,9 @@ examples:
led-controller@0 {
compatible = "titanmec,tm1628";
reg = <0>;
spi-3-wire;
spi-3wire;
spi-cpha;
spi-cpol;
spi-lsb-first;
spi-max-frequency = <500000>;
titanmec,grid = /bits/ 8 <4 3 2 1>;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment