Re: [PATCH 2/2] dt: bindings: lp55xx: Add predefined LED pattern

From: Pavel Machek
Date: Sun May 16 2021 - 14:22:36 EST


Hi!

> Add a new device tree object for LP5562 predfined led patterns.

typo.

> + "(^pattern@[0-9a-f]$|pattern)":
> + type: object
> + $ref: common.yaml#
> + description: |
> + LP5562 sepcific object. LED pattern program saved to and run
> on LP5562.

typo.

But.. no, not like this.

We have generic pattern trigger. Take a look at its interface. Extend
it
to get parameters from device tree.

Then use existing 'default-trigger' functionality.

Best regards,
Pavel

--