{"id":809340,"url":"http://patchwork.ozlabs.org/api/1.0/patches/809340/?format=json","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.0/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170903174958.27058-14-sakari.ailus@linux.intel.com>","date":"2017-09-03T17:49:53","name":"[v7,13/18] dt: bindings: Add a binding for flash devices associated to a sensor","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"9cf2afbdd3ae32acd55f858feb5c2de7dcb82bd6","submitter":{"id":65485,"url":"http://patchwork.ozlabs.org/api/1.0/people/65485/?format=json","name":"Sakari Ailus","email":"sakari.ailus@linux.intel.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/20170903174958.27058-14-sakari.ailus@linux.intel.com/mbox/","series":[{"id":1266,"url":"http://patchwork.ozlabs.org/api/1.0/series/1266/?format=json","date":"2017-09-03T17:49:53","name":"Unified fwnode endpoint parser, async sub-device notifier support, N9 flash DTS","version":7,"mbox":"http://patchwork.ozlabs.org/series/1266/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809340/checks/","tags":{},"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlgWP1JBPz9t3x\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 03:50:57 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753252AbdICRuu (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tSun, 3 Sep 2017 13:50:50 -0400","from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:49524 \"EHLO\n\thillosipuli.retiisi.org.uk\" rhost-flags-OK-OK-OK-FAIL)\n\tby vger.kernel.org with ESMTP id S1753128AbdICRuE (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Sun, 3 Sep 2017 13:50:04 -0400","from lanttu.localdomain (lanttu-e.localdomain [192.168.1.64])\n\tby hillosipuli.retiisi.org.uk (Postfix) with ESMTP id 43A52600F3;\n\tSun,  3 Sep 2017 20:50:01 +0300 (EEST)"],"From":"Sakari Ailus <sakari.ailus@linux.intel.com>","To":"linux-media@vger.kernel.org","Cc":"niklas.soderlund@ragnatech.se, robh@kernel.org, hverkuil@xs4all.nl,\n\tlaurent.pinchart@ideasonboard.com, devicetree@vger.kernel.org,\n\tpavel@ucw.cz, sre@kernel.org","Subject":"[PATCH v7 13/18] dt: bindings: Add a binding for flash devices\n\tassociated to a sensor","Date":"Sun,  3 Sep 2017 20:49:53 +0300","Message-Id":"<20170903174958.27058-14-sakari.ailus@linux.intel.com>","X-Mailer":"git-send-email 2.11.0","In-Reply-To":"<20170903174958.27058-1-sakari.ailus@linux.intel.com>","References":"<20170903174958.27058-1-sakari.ailus@linux.intel.com>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"Camera flash drivers (and LEDs) are separate from the sensor devices in\nDT. In order to make an association between the two, provide the\nassociation information to the software.\n\nSigned-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>\nAcked-by: Rob Herring <robh@kernel.org>\n---\n Documentation/devicetree/bindings/media/video-interfaces.txt | 8 ++++++++\n 1 file changed, 8 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt\nindex 852041a7480c..fee73cf2a714 100644\n--- a/Documentation/devicetree/bindings/media/video-interfaces.txt\n+++ b/Documentation/devicetree/bindings/media/video-interfaces.txt\n@@ -67,6 +67,14 @@ are required in a relevant parent node:\n \t\t    identifier, should be 1.\n  - #size-cells    : should be zero.\n \n+\n+Optional properties\n+-------------------\n+\n+- flash: An array of phandles referring to the flash LED, a sub-node\n+  of the LED driver device node.\n+\n+\n Optional endpoint properties\n ----------------------------\n \n","prefixes":["v7","13/18"]}