[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190402181712.3eccdb4b@nic.cz>
Date: Tue, 2 Apr 2019 18:17:12 +0200
From: Marek Behun <marek.behun@....cz>
To: Dan Murphy <dmurphy@...com>
Cc: Pavel Machek <pavel@....cz>, <robh+dt@...nel.org>,
<jacek.anaszewski@...il.com>, <linux-kernel@...r.kernel.org>,
<linux-leds@...r.kernel.org>
Subject: Re: [RFC PATCH 2/5] dt: bindings: Add multicolor class dt bindings
documention
On Tue, 2 Apr 2019 06:40:53 -0500
Dan Murphy <dmurphy@...com> wrote:
> I have had off line conversations with Jacek about this brightness model node.
>
> Your concern was actually one of my concerns as well. Not only millions of entries but also having a huge
> DT binary.
>
> We wanted to RFC this to get feedback. And this is why I have not added any support for this in the framework code.
>
> Dan
>
What if we just stuck to color spaces and defined channel curves in the
device tree?
The curve could then be defined via an array of integer pairs, which
would be interpreted as points via which the curve passes and the curve
would be approximated by linear segemts...
led@0 {
colorspace = <COLOR_SPACE_ID_RGB>;
red-curve = <0 0>, <255 255>;
green-curve = <0 0>, <255 128>;
blue-curve = <0 0>, <255 128>;
};
Powered by blists - more mailing lists