Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8642814ybl; Wed, 25 Dec 2019 03:17:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzOxJ1WClAvHZv4mLMXPptKifoHg/gYNR89YSFwBxJAJ8Q+wYhhaTG530Y7soD/1CLFWFAV X-Received: by 2002:a9d:7ac9:: with SMTP id m9mr42401865otn.80.1577272661243; Wed, 25 Dec 2019 03:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577272661; cv=none; d=google.com; s=arc-20160816; b=hoPpNd7c5B/5YXKo+MCTeywisNo+CbzUVpaFP3ILGF79vPrQAdC6wVYm9/YexhmMeN 4SnsO9XYKEF2LpZ51qh65FuodCL+tMWe4kQOAM4uHJbUJRwpUfT/8XkXn0gLxz/xhaYl D48xtzABpIr8NeinKH8qcoRpIZcT9NQ0zMrXbSZRaHkzCEVWfV+Cr7rQBDWRwr4iGua9 Z65oPPHnaCs7e7c1NItkG2/PYmMSSRYNYXfcOMT/z0sb0BnPXbeWq7/hzFz83dK71HgZ hCwom43X8ZlyQhMyv4wPjfhdBwL4dlTgsIWymrXt5f8lTxSDi17QgICdVR0Qs1ZHmmqa pl4A== 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 :message-id:date:subject:to:from; bh=HAPZ2naAxL+w/jSzJzkeGsCsJ1Aj8BdNQtyWB/Zpn0A=; b=pJb7sPp9yg8B1G9A0QLC4WM7z+noYk9dmEyBXsZtGXWlG2LK4s9oMAKLCLyAhi59OD tnfPeUcm8/htmabw8nt31kTAJ+2mLFckDPT84nkkY//TLeYF0P/cTyheigpuNpmYB/Pp ilMBgoV78YdBMLUiuZBAqBZtV6/kP8bIDCHAI9JDjBu2dHzl5OhE/6wH+9sIJK63MZVY VrQ/tHSKm6Q68f5rBk4LjDOM/c1UQrviNj4WgRRrKkj/9ZZLLD1hUdWAJD6+W9Jy6sj4 43psJvtu7rwNrey9uEzEZZ+TvDSlJZEQJbVWzBBpc/T5PTjDWEGD5E1dFEQvn24mfQtD caPA== 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 77si12898669oie.10.2019.12.25.03.17.28; Wed, 25 Dec 2019 03:17:41 -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 S1726369AbfLYLQn (ORCPT + 99 others); Wed, 25 Dec 2019 06:16:43 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:36536 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfLYLQm (ORCPT ); Wed, 25 Dec 2019 06:16:42 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 047EEFB06; Wed, 25 Dec 2019 12:16:41 +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 Yl7lK3UUEFvp; Wed, 25 Dec 2019 12:16:40 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id A190740BD8; Wed, 25 Dec 2019 12:16:39 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Jacek Anaszewski , Pavel Machek , Dan Murphy , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] leds: lm3692x: Disable chip on brightness 0 Date: Wed, 25 Dec 2019 12:16:36 +0100 Message-Id: X-Mailer: git-send-email 2.23.0 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 Otherwise there's a hardly noticeable glow even with brightness 0. Also turning off the regulator can save additional power. This is on top of the "leds: lm3692x: Allow to set ovp and brigthness mode". Without that applied there's a minor merge conflict since this introduces a new variable in struct lm3692x_led as well. I did not want to lump it in there as well since it's not related to any DT properties at all. Guido Günther (3): leds: lm3692x: Move lm3692x_init and rename to lm3692x_leds_enable leds: lm3692x: Split out lm3692x_leds_disable leds: lm3692x: Disable chip on brightness 0 drivers/leds/leds-lm3692x.c | 128 ++++++++++++++++++++++-------------- 1 file changed, 77 insertions(+), 51 deletions(-) -- 2.23.0