Commit Graph
1 Commits
Author SHA1 Message Date
Rob Herring 24a71afe05 dt-bindings: leds: Convert common LED binding to schema
Convert the common LEDs properties bindings to a schema. As trigger source
providers are different nodes, we need to split trigger source properties
to a separate file.

Bindings for LED controllers can reference the common schema for the LED
child nodes:

patternProperties:
  "^led@[0-4]":
    type: object
    allOf:
      - $ref: common.yaml#

Cc: Pavel Machek <[email protected]>
Cc: Dan Murphy <[email protected]>
Cc: [email protected]
Acked-by: Jacek Anaszewski <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
2020-01-23 15:15:53 -06:00