Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp19502849ybl; Sat, 4 Jan 2020 02:55:34 -0800 (PST) X-Google-Smtp-Source: APXvYqzlAUEE3Ji7NotC2mJTzwJC7XiT1uXlJxzOoCJx8EL0SFNZhDaftg9yxAkM4eCQvmVwU/Em X-Received: by 2002:a9d:6b17:: with SMTP id g23mr100115925otp.265.1578135333917; Sat, 04 Jan 2020 02:55:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578135333; cv=none; d=google.com; s=arc-20160816; b=CLzMqZyxEZ1kIoQx6ddDXsQN7zb3vdGl8Zh31j+sMHNbtFRb6fjzTrK5gNz+9YZe5r RB1e9De9zw/7cGiHlQtQWYa/viXaFuTKGbaXqBlXpiKEr43AEOsHW28oblTplC6PMTe3 Y0pQI/X56k9UoasW+x1gzdAqhaxtwpDkL1PbLZcrifSsoikNaK6zcQrkPSSrr5eab+Fc Q7WD0SrL4ChQ1ralGqpwvJFb48g77bLpixGkGGmCievv9s334cZIzb5cAUTJB6y1HvuK uDbWN10L95dXQtEI1h+SDSjZRvKyY9//yHdx4Qk2mTwXeGvuVu47Xqy96GMAm/mEf8P2 xNdA== 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=E5jfNHnFHeNWo0eBXYZkAR31mk3ECRtYC2Bo4ZpgJVg=; b=Aoz+vvZvNx2D612zXfWITn2ulruLEo26OFTYPQXhqJWuVDc+9EEh79MYUKHGU88vMG hssZFb2nDDmNQLQ/kyx/RFMJhMvp+JeDrd3z55WWaNksTvO2yQl3+K27jW7N29r/pUIH 6EXk7tRoGVrQVBbkR6KV4wBi63tQvx1x3Wi4zurzk2e4X+Jjhodkws37ta2yl5S/15x5 F5RmVsO7WNYRqsrJrZ2hkyzCArY7SI3HX8eoFa08aC9TBovbkcELtHfCRKG0VHiDcGIh ENodomuaI0eDg1rbZFF3cG1ELzdcL8Vy04BIclz3m/pyK5hMeRnPoBwYuULrevqxG3TF WX+A== 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 l5si19192039oil.96.2020.01.04.02.55.21; Sat, 04 Jan 2020 02:55:33 -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 S1726382AbgADKyk (ORCPT + 99 others); Sat, 4 Jan 2020 05:54:40 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:40210 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbgADKyg (ORCPT ); Sat, 4 Jan 2020 05:54:36 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 41EF1FB06; Sat, 4 Jan 2020 11:54:34 +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 ZxinvWOcPBoI; Sat, 4 Jan 2020 11:54:30 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 23C6049AA9; Sat, 4 Jan 2020 11:54:26 +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 v3 3/9] dt: bindings: lm3692x: Add ti,brightness-mapping-exponential property Date: Sat, 4 Jan 2020 11:54:19 +0100 Message-Id: <7df957d4f7902a5d2a30695ab2a5de19eb7772d3.1578134779.git.agx@sigxcpu.org> 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 9b334695c410..197e3fd2ae87 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 = <29000000>; + ti,brightness-mapping-exponential; led@0 { reg = <0>; -- 2.23.0