From patchwork Mon May 7 18:02:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 135119 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp3455610lji; Mon, 7 May 2018 11:03:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrI0/8AwAaVT3UVSYcEYv4kJXk19cvY1r/T8Aaibl6y33J7eYr8NCCgKG/kIDFbQ733IgY1 X-Received: by 2002:a9d:436f:: with SMTP id y44-v6mr29384780oti.312.1525716193008; Mon, 07 May 2018 11:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525716193; cv=none; d=google.com; s=arc-20160816; b=Ws0b2mCNQpn1EdQOs+FNOPQqhmuth0sURWLMnprBzolD4Lz1hhLbVzit0jPLDqyr6+ BRZB/kIZzG9AyjHSP0dk+s7uv6dUJeWPYkYcnPyfIvA7SnUVZr21AT7k3g0a9y6eJShh u1Oq24enyrMXuKzUYPofZC9cnXA1PQ2paCCtbSidy+p2D8P2ba78/RQg4SK89Rmz/9zl vSXnu6r2z/wfYz6c36hlcrv1TvHbRnqLkA+/xryQoFeX9BZIGuQWUM1UslfezRxwbAIq Lr5ja/AVdFLT44yRQAHvmdGTfqLZiiJ0/dfNgXFtmfBBHdEzCVe1QQB+9noX9p8udx/5 +erg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=Ec5jqw8xQZdq4g+nSPgCrxSCMDOGb5bEXYZ1OikJFCQ=; b=eU4CzkNWBbjE6tV1L4+LnvjcGC67W6zHCUGPNLExg2OPX3SHDxYTNov8npYiHcgBhe 6WEg171aDixF9apQ/3/iJr3ncPKq8h0ucjVG7BS8MSoSM6D+Uwc1nSRKvLJ/GeTkPfMw ZQqfUPxeMbdynC9RHr031KQzpGxGm0rtwjcF7TDebB2hSxc+V6Pml8ryaPN4A2GYLbOR CUzWD1iE/vzwe5xe9CCVqPgE72Hx43t9XuopT96BEJ0SOXOTmerkwF8EhhsYMAeSu4Dl MmNm6VZsO6X9956XpDWaYxeUCnuYRnOWq1hOvaX/Rqv5k/aCS6QQJwnapDzjZGjQ2y8x b0Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=mbOCfCxr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a63-v6si2085865otc.356.2018.05.07.11.03.12; Mon, 07 May 2018 11:03:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=mbOCfCxr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752601AbeEGSDK (ORCPT + 6 others); Mon, 7 May 2018 14:03:10 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:17616 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752464AbeEGSDJ (ORCPT ); Mon, 7 May 2018 14:03:09 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w47I2xB0013703; Mon, 7 May 2018 13:02:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1525716179; bh=XQsmUqp83v6A/Amp0T4uCe4vKNat1mrkEdE2RxsfM/Q=; h=From:To:CC:Subject:Date; b=mbOCfCxrySLWMFUJyjCR1UJWMQJ1mGTAIOjsIYbd6KhmXGtvjGAGrAW3yBS8xziMg DZddQ2pJDylGnJmk9JCU/7eeIMhgdcIapyZ+WRXKblALsUCsuETNO1QOyXtw+Fzn/l TittKXZtvSO1fkdTbmkZGdyUVO9kDoYSaKmnYLws= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w47I2xWC011428; Mon, 7 May 2018 13:02:59 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 7 May 2018 13:02:58 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 7 May 2018 13:02:58 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w47I2wvb003937; Mon, 7 May 2018 13:02:58 -0500 Received: from localhost (a0272616local-lt.dhcp.ti.com [128.247.58.140]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w47I2wx21975; Mon, 7 May 2018 13:02:58 -0500 (CDT) From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH 1/2] dt: bindings: lm3601x: Introduce the lm3601x driver Date: Mon, 7 May 2018 13:02:51 -0500 Message-ID: <20180507180252.14528-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Introduce the device tree bindings for the lm3601x family of LED torch, flash and IR drivers. Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lm3601x.txt | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3601x.txt -- 2.17.0.252.gfe0a9eaf3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/leds/leds-lm3601x.txt b/Documentation/devicetree/bindings/leds/leds-lm3601x.txt new file mode 100644 index 000000000000..38cdabf6ca7e --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-lm3601x.txt @@ -0,0 +1,51 @@ +* Texas Instruments - lm3601x Single-LED Flash Driver + +The LM3601X are ultra-small LED flash drivers that +provides a high level of adjustability. + +Required properties: + - compatible : Can be one of the following + "ti,lm3601x" + "ti,lm36010" + "ti,lm36011" + - reg : I2C slave address + - #address-cells : 1 + - #size-cells : 0 + +Required child properties: + - reg : 0 - Indicates to support and register a torch interface + 1 - Indicates to support and register a strobe interface + 2 - Indicates to support and register an ir interface + +Optional child properties: + - label : see Documentation/devicetree/bindings/leds/common.txt + +Example: +led-controller@64 { + compatible = "ti,lm3601x"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x64>; + + led@0 { + reg = <0>; + label = "white:torch"; + led-max-microamp=<10000>; + }; + + led@1 { + reg = <1>; + label = "white:strobe"; + flash-max-microamp=<10000>; + flash-max-timeout-us=<800>; + }; + + led@2 { + reg = <2>; + label = "invisible:ir"; + }; +} + +For more product information please see the links below: +http://www.ti.com/product/LM36010 +http://www.ti.com/product/LM36011