From: Sakari Ailus <sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: pavel-+ZI9xUNit7I@public.gmane.org,
sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org
Subject: [RFC v2 1/3] dt: bindings: Add a binding for flash devices associated to a sensor
Date: Fri, 5 May 2017 11:48:28 +0300 [thread overview]
Message-ID: <1493974110-26510-2-git-send-email-sakari.ailus@linux.intel.com> (raw)
In-Reply-To: <1493974110-26510-1-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Camera flash drivers (and LEDs) are separate from the sensor devices in
DT. In order to make an association between the two, provide the
association information to the software.
Signed-off-by: Sakari Ailus <sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Acked-by: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>
---
Documentation/devicetree/bindings/media/video-interfaces.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt
index 9cd2a36..dac764b 100644
--- a/Documentation/devicetree/bindings/media/video-interfaces.txt
+++ b/Documentation/devicetree/bindings/media/video-interfaces.txt
@@ -67,6 +67,17 @@ are required in a relevant parent node:
identifier, should be 1.
- #size-cells : should be zero.
+
+Optional properties
+-------------------
+
+- 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.
+
+
Optional endpoint properties
----------------------------
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-05-05 8:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 8:48 [RFC v2 0/3] Document bindings for camera modules and associated flash devices Sakari Ailus
[not found] ` <1493974110-26510-1-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-05 8:48 ` Sakari Ailus [this message]
[not found] ` <1493974110-26510-2-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-08 17:13 ` [RFC v2 1/3] dt: bindings: Add a binding for flash devices associated to a sensor Rob Herring
2017-05-05 8:48 ` [RFC v2 3/3] dt: bindings: Add a binding for referencing EEPROM from camera sensors Sakari Ailus
[not found] ` <1493974110-26510-4-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-05 9:10 ` Sebastian Reichel
2017-05-08 17:24 ` Rob Herring
2017-05-29 12:20 ` Sakari Ailus
2017-05-29 12:39 ` Daniel Mack
[not found] ` <c7a98681-4c95-0103-96ee-97ca6a02d9b3-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>
2017-05-29 13:05 ` Sakari Ailus
2017-05-31 17:37 ` Pavel Machek
2017-06-01 8:00 ` Sakari Ailus
2017-05-05 8:48 ` [RFC v2 2/3] dt: bindings: Add lens-focus binding for image sensors Sakari Ailus
[not found] ` <1493974110-26510-3-git-send-email-sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-05-05 9:09 ` Sebastian Reichel
2017-05-08 17:14 ` Rob Herring
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=1493974110-26510-2-git-send-email-sakari.ailus@linux.intel.com \
--to=sakari.ailus-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pavel-+ZI9xUNit7I@public.gmane.org \
--cc=sebastian.reichel-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.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: 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;
as well as URLs for NNTP newsgroup(s).