From patchwork Wed Nov 15 19:30:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 118991 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp3880910edl; Wed, 15 Nov 2017 11:31:18 -0800 (PST) X-Google-Smtp-Source: AGs4zMYvBnKxI1MP8Qv+e/ds78tMSRrD9eWkE9v358cM5zvL6i7l334DPp+6HZu2prbrhxTS+xoB X-Received: by 10.159.229.136 with SMTP id az8mr17022403plb.423.1510774278632; Wed, 15 Nov 2017 11:31:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510774278; cv=none; d=google.com; s=arc-20160816; b=xIIqasjVm8RhhmMBeBSyTgACf/lzU2S5i2feip/IHkw5Bbsx0ctWqEEDYg+EVxnE1W TF01KyLUiQ7g/WSavq9Rsu8cWu/Qs/I2BK4GHRLnj1TPuSw7jDWhgQ4AQjIVGzkai2ZA XC5/kRXt6UcHkRKuMtSSLT8Li1uth6ITGOOVoNYB5cNura3kUqRq1gx6K2tLDQxc7DSl mSapxbvlFy6Ygk+cqB3nCdvQPfrIg+J98fFNQdYBPanbfbgUYWlFHX8xScvnF/iUoJ1J DisGLmV4WKre2AsbN7EBhvYNMYmc3WxnnWInopcC/grD+zJSWbkNyCUkSwcZwwZP/Xf2 QqCw== 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=KdENSivzGrfcE1XbZQS1n568f8EyQFLz6eF2XpdEbmU=; b=0RJEcRZP7kUOGUiOXbF99FYuLJqxLYbibkKcIjd3ngFl1Y2TR1BncVLAYPNuVCxG7l 7ghEFE40QtW1OXHTntNh/lgGD3afYETYr6Pb3MtxjV9OKrUK1DZe7+OO5yTSf6s2L7Zy 3Xekmv9Bb06DwfmUsX1d7RcixkhKOLL8A20kKAt9UuNesd0uDjVkAVjrUFOibh2YAXL4 SjTAwHzuFCvjvgHNoSBOWWZ+I5R2TMybyqg24S+0mxNVyLL2X16e68KWYhfXf9zjbZyP 4CvKCY1ro+v22DbMfT9jBS9ad8tMff5j6sITz4Ew8yQY81GKeCpqakkpdp3IEPUSOk2X VmwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z5Y5Ux1m; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (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 b89si18739912plb.556.2017.11.15.11.31.18 for ; Wed, 15 Nov 2017 11:31:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Z5Y5Ux1m; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933205AbdKOTbR (ORCPT ); Wed, 15 Nov 2017 14:31:17 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:41047 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933071AbdKOTbM (ORCPT ); Wed, 15 Nov 2017 14:31:12 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vAFJUstl023961; Wed, 15 Nov 2017 13:30:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1510774254; bh=vAXKYl9Awk/rIOJQrh38qn3a+ZCaX5bXNfmCLYx5z0k=; h=From:To:CC:Subject:Date; b=Z5Y5Ux1m+n3yvbdiIwZXV3y3hqI9h/TOWE5vnJPISt+VK1D2me1ftq9WsYxy1CrA+ LAF8irVPoY7Rru7FqcKnbWjfVGW1LoGnCJlGQSicZX+RXI2jmIZe4vwsjWmk8t3b9B pVczXqb8nj9LXUmUpMlONsIzTgqkYFUXJHKYpxCY= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vAFJUsNV027060; Wed, 15 Nov 2017 13:30:54 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 15 Nov 2017 13:30:53 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 15 Nov 2017 13:30:54 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vAFJUrAX026909; Wed, 15 Nov 2017 13:30:53 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.167.247]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vAFJUr328423; Wed, 15 Nov 2017 13:30:53 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v2 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Wed, 15 Nov 2017 13:30:30 -0600 Message-ID: <20171115193031.28781-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: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- v2 - No changes - https://patchwork.kernel.org/patch/10056677/ .../devicetree/bindings/leds/leds-lm3692x.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3692x.txt -- 2.15.0.124.g7668cbc60 diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt new file mode 100644 index 000000000000..cfef67bd4100 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -0,0 +1,28 @@ +* Texas Instruments - LM3692x Highly Efficient Dual-String White LED Driver + +The LM36922 is an ultra-compact, highly efficient, +two string white-LED driver designed for LCD display +backlighting. + +Required properties: + - compatible: + "ti,lm3692x" + - reg - I2C slave address + +Optional properties: + - label - Used for naming LEDs + - enable-gpio - gpio pin to enable/disable the device. + - supply - "vled" - LED supply + +Example: + +leds: leds@6 { + compatible = "ti,lm3692x"; + reg = <0x36>; + label = "backlight_cluster"; + enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>; + vled-supply = <&vbatt>; +} + +For more product information please see the link below: +http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf