[PATCH 2/4] backlight: ktz8866: add slave handler
Pengyu Luo
mitltlatltl at gmail.com
Fri Apr 18 18:14:41 UTC 2025
On Mon, Apr 7, 2025 at 6:00 PM Krzysztof Kozlowski <krzk at kernel.org> wrote:
> On 07/04/2025 11:51, Pengyu Luo wrote:
> > Kinetic ktz8866, found in many android devices, nowadays, some oem use
> > dual ktz8866 to support a larger panel and higher brightness, original
> > driver would only handle half backlight region on these devices,
> > registering it twice is unreasonable, so adding the slave handler to
> > support it.
[...]
>
> I wrote on IRC - phandle to express the relationship between hardware -
> and I do not see it implemented.
>
> If you have devices depending on each other, you need to express it -
> for links, for resource dependencies etc. phandle is for that usually.
> Or OF graph. Or parent-child relationship.
>
I got you now, as a non-native speaker, I often misunderstood the first
time, you expected that accessing node phandle in relationship or graph
way, I did only access node phandle regardless of relationship or graph
description, I only implied it in compatible string, but there would be
a better way.
> You did not provide any description of the hardware in the binding, so I
> really do not have any idea what is this setup thus how to represent it.
> Use hardware terms, diagrams etc to explain the hardware in the bindings
> commit. What are the addresses? Are there any shared resources? What
> buses are devices sitting on, etc.
Agree.
Best wishes,
Pengyu
More information about the dri-devel
mailing list