From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, pavel@ucw.cz
Subject: Re: [RFC 1/3] dt: bindings: Add a binding for flash devices associated to a sensor
Date: Fri, 5 May 2017 10:38:45 +0200 [thread overview]
Message-ID: <20170505083845.gwltdxxk4djbbfcf@earth> (raw)
In-Reply-To: <1e8d0a73-3f3f-410b-ca04-89fa35b1f0b9@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]
Hi,
On Fri, May 05, 2017 at 11:28:34AM +0300, Sakari Ailus wrote:
> Sebastian Reichel wrote:
> > On Tue, May 02, 2017 at 01:25:47PM +0300, Sakari Ailus wrote:
> > > +- flash: An array of phandles that refer to the flash light sources
> > > + related to an image sensor. These could be e.g. LEDs. In case the LED
> > > + driver drives more than a single LED, then the phandles here refer to
> > > + the child nodes of the LED driver describing individual LEDs. Only
> > > + valid for device nodes that are related to an image sensor.
> >
> > s/driver/controller/g - DT describes HW. Otherwise
>
> Driver is hardware in this case. :-) The chip that acts as a current sink or
> source for the LED is the driver. E.g. the adp1653 documentation describes
> the chip as "Compact, High Efficiency, High Power, Flash/Torch LED Driver
> with Dual Interface".
>
> It might be still possible to improve the wording. Software oriented folks
> are more likely to misunderstand the meaning of driver here, but controller
> might seem ambiguous for hardware oriented people.
>
> How about:
>
> - flash: An array of phandles that refer to the flash light sources
> related to an image sensor. These could be e.g. LEDs. In case the LED
> driver (current sink or source chip for the LED(s)) drives more than a
> single LED, then the phandles here refer to the child nodes of the LED
> driver describing individual LEDs. Only valid for device nodes that are
> related to an image sensor.
Maybe drop the last sentence? The requirement is already in the
first one. Otherwise:
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-05-05 8:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 10:25 [RFC 0/3] Document bindings for camera modules and associated flash devices Sakari Ailus
[not found] ` <1493720749-31509-1-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-02 10:25 ` [RFC 1/3] dt: bindings: Add a binding for flash devices associated to a sensor Sakari Ailus
2017-05-04 14:27 ` Sebastian Reichel
2017-05-05 8:28 ` Sakari Ailus
2017-05-05 8:38 ` Sebastian Reichel [this message]
2017-05-02 10:25 ` [RFC 2/3] dt: bindings: Add lens-focus binding for image sensors Sakari Ailus
2017-05-04 14:33 ` Sebastian Reichel
2017-05-02 10:25 ` [RFC 3/3] dt: bindings: Add a binding for referencing EEPROM from camera sensors Sakari Ailus
[not found] ` <1493720749-31509-4-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-04 14:38 ` Sebastian Reichel
2017-05-05 8:49 ` Sakari Ailus
2017-05-04 22:01 ` [RFC 0/3] Document bindings for camera modules and associated flash devices Pavel Machek
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=20170505083845.gwltdxxk4djbbfcf@earth \
--to=sebastian.reichel@collabora.co.uk \
--cc=devicetree@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=sakari.ailus@linux.intel.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox