Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21605851ybl; Mon, 6 Jan 2020 07:50:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzYOh63H6gg4yLXbj6pGThiMhQrkTrHStNho2Yv3VIjhO0hRIpGb/Yof4QlGKhSN0u8peRX X-Received: by 2002:a9d:4817:: with SMTP id c23mr16113297otf.59.1578325830148; Mon, 06 Jan 2020 07:50:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578325830; cv=none; d=google.com; s=arc-20160816; b=TjYvdsxrJjIra64FDEs0o5MpUDt+qA+tfTKwrmgLCcwe6uiTn1yZQP6CzobjL90u4y FGo5j1364ZS4A1FpBuKSEkn0zO8YsfH/xT2ohkpgxmiPIfBHMIa3kWfO1Qs1ngflMHr3 rWlamjKmAV59VRxGquOVg7qU7kgKqbTOiizNKcVLp+mQ2HO5GLu50ARK2uqvyrdlHOQ6 QZgVoIE9MBTjNuqR5mZgk3DGraiQ0zxB+S+vbl0oXaU2sS4ZOkFgKdQlNjyORJi4kl40 y6jlPThAK5NqTFzBbMIR7kSlIDG8NXme4GUVt32xU/CfrAQ9w533rMgkquJGrbrtiE1M d3Hg== 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=kncQsZ8lfTXPs/9d7cUhth12x/p/+wZa94hjq65wtHg=; b=JiF5848F79USOlB88/r4X5w4LYiaW3maIwdkNsFVzLPoZXYQ576QSUFePi6fv1X48u fp0p0RZtiQtKTwGLT0epNus6jilffNRbEcKBOUSeXsO/mbgY69ajueC64swglr0utKBK 1K64wUOklC+CFBOz7ln4xd2wnw6OMBF16G2fUHYPEv5qobjEPCgPSftXQj8pC5ddXO5m uapD8BlIzStlKKcgvmxf6KV3CQ0bCFe4eAH0rqZFr+KizFG3G3RI34ofiwQck0EzYU9f AIODAsiAVJ4Fs0n9ZuOSd1Mtq0DE6DzA06lCGUKpIF1GFUmNJW2BccbeRqXI2QcsKbcz y4dA== 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 n139si34136130oig.121.2020.01.06.07.50.17; Mon, 06 Jan 2020 07:50:30 -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 S1726869AbgAFPtI (ORCPT + 99 others); Mon, 6 Jan 2020 10:49:08 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:41166 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbgAFPtF (ORCPT ); Mon, 6 Jan 2020 10:49:05 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 7C33CFB04; Mon, 6 Jan 2020 16:49:03 +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 eVdHpQW_EqiV; Mon, 6 Jan 2020 16:49:02 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 5934949D44; Mon, 6 Jan 2020 16:48:56 +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 v4 5/6] dt: bindings: lm3692x: Add ti,brightness-mapping-exponential property Date: Mon, 6 Jan 2020 16:48:54 +0100 Message-Id: <3da232fdab3112a54d63bd42d5100c921d5b8b20.1578324703.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 Reviewed-by: Rob Herring --- 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 501468aa4d38..b8939fdd19d6 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 @@ -51,6 +53,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