From patchwork Mon Dec 11 18:26:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121436 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3126422qgn; Mon, 11 Dec 2017 10:27:24 -0800 (PST) X-Google-Smtp-Source: ACJfBovY/El78m22pYzsKICnR+PAhUIFH+Igj3UWKa/nTF6vsG+YtV7f4P5XQaU3+t0SQClW9XRo X-Received: by 10.101.93.65 with SMTP id e1mr1078981pgt.152.1513016844130; Mon, 11 Dec 2017 10:27:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513016844; cv=none; d=google.com; s=arc-20160816; b=OuuzJPaPdFAut8HZacQULVgfHgUYGHjxsTWFyaYttUN+Ke5qDsn1FsyydhlprtOxrh jEXTH6Y0ehubPM7uyd6SIjVfYt8HEd+R9y+KhlXFUwCaOjSELOYiPQ/k4dsIIcKTLXCB xWvr7MtVQSPfOjnOxL68Mpzh74yLf81ign/84WogmG7R0V2Rl6b+3Vlbj9pW5iFEbHMd eZEolU8Q8fO3LRx5PK52AyGzd8Ys6PHvuG1WKdEf4XRR9r0EZvmb/+tlhob6Yi1BQniR kumNqEeRqDb+bKGyRj7rs4dDUlKVEm5yDyysG7Nsy4UJ9asrmASfQaOEZk1reyBjJjnq vmNg== 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=eMb5EtaedORGmH5rrOz1smQN6WEIKMUGfZ18/YoyoHE=; b=AKi43D1EhHXrSe+qJJXqXcxqPQGxZvoKH7Vt/E1JYaKpKMIzBRNT68GqlAKRYN76H2 L7uXMeGBRIhZir/PhI0FMLfBSefnlefW6Qr26SU0Rb3Qb/Aitdoczb46O6zMhKP3xMLZ 6cFwA8fA/pq5RrqW+rBnz/6mY5PrblAq6EI0sxX3ABNgwzAvvIwkdUDls3bRdqV/AjCg f2RIxtU06LmZk2Z/bV8citq4z34DiqCRGinaaEc8U+PDbJxDOhLrgpjBlm4re25kBseW vqVRHFEJhqPQZjjK9us4ta4q13SXyP3MXAebqIITgt6mxKy5nNvrShICSkv8fFVyNXjd GroA== 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=qEBo/Qic; 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 x22si10317743pll.43.2017.12.11.10.27.23; Mon, 11 Dec 2017 10:27:24 -0800 (PST) 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=qEBo/Qic; 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 S1751728AbdLKS1U (ORCPT + 6 others); Mon, 11 Dec 2017 13:27:20 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:61970 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751585AbdLKS1T (ORCPT ); Mon, 11 Dec 2017 13:27:19 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBBIR1cm019646; Mon, 11 Dec 2017 12:27:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513016821; bh=S/z7S7fQMkzUJPyuY22b1SRB+aBGwJGd+yw6SlQElJA=; h=From:To:CC:Subject:Date; b=qEBo/QicUEe51LTOrufVVxEhCUBMuPSBVd4jEasgW1IJz5UUof5jmvPPjlZVX5iYG wk19yil5phYi4hAbHnKIHovkPGGnTuH2ZE5GefYffV5VOR75oTdx+EU0kCUWUSWW+2 pcCVsYDFwcXsLw7WAxUEgVL+j5y9nhtHlthK0yTc= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBBIR1qI020257; Mon, 11 Dec 2017 12:27:01 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 11 Dec 2017 12:27:01 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 11 Dec 2017 12:27:01 -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 vBBIR1Pr006086; Mon, 11 Dec 2017 12:27:01 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.107.238]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBBIR0x23849; Mon, 11 Dec 2017 12:27:00 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v9 1/2] dt: bindings: lm3692x: Add bindings for lm3692x LED driver Date: Mon, 11 Dec 2017 12:26:58 -0600 Message-ID: <20171211182659.21533-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 This adds the devicetree bindings for the LM3692x I2C LED string driver. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- v9 - Moved 2 nodes to Optional Child and renamed node names to device type https://patchwork.kernel.org/patch/10093757/ v8 - Added address-cells and size-cells as well as child node reg - https://patchwork.kernel.org/patch/10091259/ v7 - No changes - https://patchwork.kernel.org/patch/10087475/ v6 - No changes -https://patchwork.kernel.org/patch/10085567/ v5 - No Changes - https://patchwork.kernel.org/patch/10081071/ v4 - Fix example node, added trigger entry, removed ambiguous x for compatible and added common.txt pointer for label - https://patchwork.kernel.org/patch/10060107 v3 - No changes v2 - No changes - https://patchwork.kernel.org/patch/10056677/ .../devicetree/bindings/leds/leds-lm3692x.txt | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3692x.txt -- 2.15.0.124.g7668cbc60 -- 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-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt new file mode 100644 index 000000000000..a93e19edfb42 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -0,0 +1,49 @@ +* Texas Instruments - LM3692x Highly Efficient White LED Driver + +The LM3692x is an ultra-compact, highly efficient, +white-LED driver designed for LCD display backlighting. + +The main difference between the LM36922 and LM36923 is the number of +LED strings it supports. The LM36922 supports two strings while the LM36923 +supports three strings. + +Required properties: + - compatible: + "ti,lm36922" + "ti,lm36923" + - reg : I2C slave address + - #address-cells : 1 + - #size-cells : 0 + +Optional properties: + - enable-gpios : gpio pin to enable/disable the device. + - vled-supply : LED supply + +Required child properties: + - reg : 0 + +Optional child properties: + - label : see Documentation/devicetree/bindings/leds/common.txt + - linux,default-trigger : + see Documentation/devicetree/bindings/leds/common.txt + +Example: + +led-controller@36 { + compatible = "ti,lm3692x"; + reg = <0x36>; + #address-cells = <1>; + #size-cells = <0>; + + enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; + vled-supply = <&vbatt>; + + led@0 { + reg = <0>; + label = "backlight_cluster"; + linux,default-trigger = "backlight"; + }; +} + +For more product information please see the link below: +http://www.ti.com/lit/ds/snvsa29/snvsa29.pdf