From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from galahad.ideasonboard.com ([185.26.127.97]:38069 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751210AbdISMMi (ORCPT ); Tue, 19 Sep 2017 08:12:38 -0400 From: Laurent Pinchart To: Sakari Ailus Cc: linux-media@vger.kernel.org, niklas.soderlund@ragnatech.se, maxime.ripard@free-electrons.com, robh@kernel.org, hverkuil@xs4all.nl, devicetree@vger.kernel.org, pavel@ucw.cz, sre@kernel.org Subject: Re: [PATCH v13 15/25] dt: bindings: Add a binding for flash LED devices associated to a sensor Date: Tue, 19 Sep 2017 15:12:42 +0300 Message-ID: <8102551.bT9icskWgv@avalon> In-Reply-To: <20170915141724.23124-16-sakari.ailus@linux.intel.com> References: <20170915141724.23124-1-sakari.ailus@linux.intel.com> <20170915141724.23124-16-sakari.ailus@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-media-owner@vger.kernel.org List-ID: Hi Sakari, Thank you for the patch. On Friday, 15 September 2017 17:17:14 EEST Sakari Ailus wrote: > 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 > Acked-by: Rob Herring > Acked-by: Hans Verkuil > Acked-by: Pavel Machek > --- > Documentation/devicetree/bindings/media/video-interfaces.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt > b/Documentation/devicetree/bindings/media/video-interfaces.txt index > 852041a7480c..fdba30479b47 100644 > --- a/Documentation/devicetree/bindings/media/video-interfaces.txt > +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt > @@ -67,6 +67,14 @@ are required in a relevant parent node: > identifier, should be 1. > - #size-cells : should be zero. > > + > +Optional properties > +------------------- > + > +- flash-leds: An array of phandles, each referring to a flash LED, a > sub-node > + of the LED driver device node. What happens with non-LED flash controllers ? > + > + > Optional endpoint properties > ---------------------------- -- Regards, Laurent Pinchart