Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8634790ybl; Wed, 25 Dec 2019 03:08:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwtrLQcX1MZ9WgbXDVQ9hZ4yIOVy0l8kwVFytzLOUxitkP3WEkJGtZbfnhVFZzBxo6gxfHu X-Received: by 2002:a9d:7e99:: with SMTP id m25mr42424760otp.212.1577272097829; Wed, 25 Dec 2019 03:08:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577272097; cv=none; d=google.com; s=arc-20160816; b=QTLpmNdbDLXmorllwezGsQcMmwBGKWs3Ek8qP9P5PijKljIXST9jlHRyFdkCiwUzZl UOKKt43F464uKTR1hcfsVKAce3OhptCNPVLh7MUQWlbFKOaNlP5ABOaDxbAEYZqBvGjl Es6f8cm2MgvAuMDZYYI8kSZbnu6QftRvBeaAIMx5WR5RABG7vwmeZX6jSNK+PQsnKB3d U4bpZE8QzRLe45RPPFmmqrubCQzqZCpI6Z8MwqllC7p/kfnXj9aOQwQKW/P0NJF5a/IA WdabyEmXtnHAyllVARhTMo2Vwk0+L43XVcKf8nIUrCQquf4cgZjEfdneP87iQDUR4V3W bqyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=hVh/E1ceXuXLZsnmyMHnn7fO5ge7vDLMB0MMwHW36PU=; b=stp/57BvDLVeU6r57iVeIHdF/DnXIPsN7Cfjrx+85sjzb3j09PgL2WQr3hV8ZvNud1 rhHbY/mKW9S6DD1mB5/iOMMdscsqicZZbYlKgRr3/JZwBLRJhWZu5OHzvcWGPzS0n9e8 rZ+IcaVaYaAKSQsJ75XHt+EpFXrwRR1WrFAoasjoVXEcot9gUIaRUkginchRKtrJzvVg SZCQPgQVdjft5Gi1DRgqEWjmXODE9ccxC+JyDflvxz0cWV7AublIjZuhdFZ5Or9vwnnx tZSnx0wlLu3VAR1BbebS6VQy7KBVqCF8/Zjb7WbBRx5bOC9kS4eGQF8WKJ3euGnRqgwP 5AFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11si11303993otu.301.2019.12.25.03.08.05; Wed, 25 Dec 2019 03:08:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726489AbfLYLHZ (ORCPT + 99 others); Wed, 25 Dec 2019 06:07:25 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:36286 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbfLYLHZ (ORCPT ); Wed, 25 Dec 2019 06:07:25 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 1164AFB03; Wed, 25 Dec 2019 12:07:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XD4VwviaSp7l; Wed, 25 Dec 2019 12:07:21 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 63CF740BFC; Wed, 25 Dec 2019 12:07:19 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Mark Rutland , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] dt: bindings: lm3692x: Add ti,brightness-mapping-exponential property Date: Wed, 25 Dec 2019 12:07:16 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This allows to select exponential brightness mode instead of the default linear mode. Signed-off-by: Guido Günther --- Documentation/devicetree/bindings/leds/leds-lm3692x.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt index 95f6d8c19f20..73f41249ecd3 100644 --- a/Documentation/devicetree/bindings/leds/leds-lm3692x.txt +++ b/Documentation/devicetree/bindings/leds/leds-lm3692x.txt @@ -18,6 +18,8 @@ Required properties: Optional properties: - enable-gpios : gpio pin to enable/disable the device. - vled-supply : LED supply + - ti,brightness-mapping-exponential: Whether to use exponential + brightness mapping - ti,ovp-microvolt: Overvoltage protection in micro-volt, can be 17000000, 21000000, 25000000 or 29000000. If ti,ovp-microvolt is not specified it @@ -49,6 +51,7 @@ led-controller@36 { enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; vled-supply = <&vbatt>; ti,ovp-microvolt = <25000000>; + ti,brightness-mapping-exponential; led@0 { reg = <0>; -- 2.23.0