[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210516182221.GB3666@localhost>
Date: Sun, 16 May 2021 20:22:21 +0200
From: Pavel Machek <pavel@....cz>
To: Doug Zobel <dougdev334@...il.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Jacek Anaszewski <jacek.anaszewski@...il.com>,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] dt: bindings: lp55xx: Add predefined LED pattern
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
--
Powered by blists - more mailing lists