From: Linus Walleij <linus.walleij@linaro.org> To: Daniel Thompson <daniel.thompson@linaro.org> Cc: Lee Jones <lee.jones@linaro.org>, Jingoo Han <jingoohan1@gmail.com>, "open list:DRM PANEL DRIVERS" <dri-devel@lists.freedesktop.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org> Subject: Re: [PATCH 1/2 v1] dt-bindings: backlight: Add Kinetic KTD253 bindings Date: Wed, 12 Aug 2020 09:30:17 +0200 [thread overview] Message-ID: <CACRpkdZF5i8e100UG5aM_WmMRXvfugjB8KOr+AzXVnMJxJhkvA@mail.gmail.com> (raw) In-Reply-To: <20200721112841.jxocq26yxhwy3gag@holly.lan> On Tue, Jul 21, 2020 at 1:28 PM Daniel Thompson <daniel.thompson@linaro.org> wrote: > I'm a bit sceptical of having a max-brightness in the DT and a driver > defined lookup table in the driver itself. That doesn't make a whole lot > of sense to me since the maximum brightness here is basically relies on > knowing what scale the Linux driver has opted to implement in its tables. That's a good point. > I think there are two options here. > > 1. Throw away the brightness table in the driver and expose the hardware > steps directly (maybe using allowing properties such as > max-brightness = 24 if the top 8 values cannot be distinguished > visually). I think I will opt for this. It makes most sense given how we use the device tree to restrict maximum brightness, and that is definitely related to the hardware max brightness. Thanks Daniel! Linus Walleij
WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org> To: Daniel Thompson <daniel.thompson@linaro.org> Cc: Jingoo Han <jingoohan1@gmail.com>, Lee Jones <lee.jones@linaro.org>, "open list:DRM PANEL DRIVERS" <dri-devel@lists.freedesktop.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org> Subject: Re: [PATCH 1/2 v1] dt-bindings: backlight: Add Kinetic KTD253 bindings Date: Wed, 12 Aug 2020 09:30:17 +0200 [thread overview] Message-ID: <CACRpkdZF5i8e100UG5aM_WmMRXvfugjB8KOr+AzXVnMJxJhkvA@mail.gmail.com> (raw) In-Reply-To: <20200721112841.jxocq26yxhwy3gag@holly.lan> On Tue, Jul 21, 2020 at 1:28 PM Daniel Thompson <daniel.thompson@linaro.org> wrote: > I'm a bit sceptical of having a max-brightness in the DT and a driver > defined lookup table in the driver itself. That doesn't make a whole lot > of sense to me since the maximum brightness here is basically relies on > knowing what scale the Linux driver has opted to implement in its tables. That's a good point. > I think there are two options here. > > 1. Throw away the brightness table in the driver and expose the hardware > steps directly (maybe using allowing properties such as > max-brightness = 24 if the top 8 values cannot be distinguished > visually). I think I will opt for this. It makes most sense given how we use the device tree to restrict maximum brightness, and that is definitely related to the hardware max brightness. Thanks Daniel! Linus Walleij _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-08-12 7:30 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-20 20:35 [PATCH 1/2 v1] dt-bindings: backlight: Add Kinetic KTD253 bindings Linus Walleij 2020-07-20 20:35 ` Linus Walleij 2020-07-20 20:35 ` [PATCH 2/2 v1] backlight: Add Kinetic KTD253 backlight driver Linus Walleij 2020-07-21 8:49 ` Sam Ravnborg 2020-07-21 8:32 ` [PATCH 1/2 v1] dt-bindings: backlight: Add Kinetic KTD253 bindings Sam Ravnborg 2020-07-21 8:32 ` Sam Ravnborg 2020-08-12 6:48 ` Linus Walleij 2020-08-12 6:48 ` Linus Walleij 2020-08-12 7:34 ` Sam Ravnborg 2020-08-12 7:34 ` Sam Ravnborg 2020-08-12 9:09 ` Linus Walleij 2020-08-12 9:09 ` Linus Walleij 2020-07-21 11:28 ` Daniel Thompson 2020-07-21 11:28 ` Daniel Thompson 2020-08-12 7:30 ` Linus Walleij [this message] 2020-08-12 7:30 ` Linus Walleij
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CACRpkdZF5i8e100UG5aM_WmMRXvfugjB8KOr+AzXVnMJxJhkvA@mail.gmail.com \ --to=linus.walleij@linaro.org \ --cc=daniel.thompson@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=jingoohan1@gmail.com \ --cc=lee.jones@linaro.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.