Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6706546ybi; Mon, 8 Jul 2019 07:21:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqweIgh15UVyQPWUt/n6x9wmD2aZe9RhOE9je1+IMpv8NvsEtoOQp/lp/1RIAP3rSmVIeIjh X-Received: by 2002:a17:90a:346c:: with SMTP id o99mr25631871pjb.20.1562595704736; Mon, 08 Jul 2019 07:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562595704; cv=none; d=google.com; s=arc-20160816; b=QDTDXqQ11hADTybIbnAK+ENCqSijvFIkEqwGpnCA/wCXAUk7fBRxhAeeo2rMPDJlED I5FD52y9uXpQDT9SlIufLsOwYZvVQpYOZ72JYutcjP3+r5bW/m06aB3vOpbleC8oalGB EeSyDgyYQPD7y2MAZ5/TdCOBfb40fSro6/94FIwQ6aINBGbg2kheRbN4XiEySn123kQ4 yLkgklbMdiSSG7rM632KwjeBZWteECc6/2R640q4F/cBQZ2G4bah7R6g7vLyegMj9rTd +pq1zaCMoB+Pdmhoz16uaKiilvaCJOblIc/iIM8MQwoTgJts/Ik8Rm1w2mHjY/UWykIo espQ== 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; bh=S2OagN/TyZ2TEiU3bu+SsPIK5XLysRm1306Fh61l0tQ=; b=DA2c59qCvGiodWLnSJIPRg0udJxYSfuWlkuY31lvWHnBn8wPU+hp+goHRRcvamahZR geaWF5E9a337aWfE9q7/8lscyEstKdrATCB0UgkxDu1FBzgIfbLvWRzcWGqLhMAYjm41 /3zdmd44+QY3A8NZceur92vfPBpGYhWUJjkOg9cDQRqAbni+EabVMSIiRhH50k6HkNix Gf8D6LTHKymQQlRK1dusfVeKLSkXIUXmheZio4w2R4OZ7asrNYcWJwjU/5Tj9J5R9DpT mAKLqfzuvpM+4p9EqJx0S1wCskAq9MFOO7nEb80tbfVoYh/klPTZYN8mbpX3T/q48D6y ZscA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hIpfqc3r; 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; dmarc=pass (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 k15si5181558pgj.216.2019.07.08.07.21.28; Mon, 08 Jul 2019 07:21:44 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hIpfqc3r; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729416AbfGHKgE (ORCPT + 99 others); Mon, 8 Jul 2019 06:36:04 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:57824 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfGHKgD (ORCPT ); Mon, 8 Jul 2019 06:36:03 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x68AZuJX003329; Mon, 8 Jul 2019 05:35:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562582156; bh=S2OagN/TyZ2TEiU3bu+SsPIK5XLysRm1306Fh61l0tQ=; h=From:To:CC:Subject:Date; b=hIpfqc3rSqrumuVG4rOSVS7bDA16icSG233TMLoMFUhWladJnI8goiauwYhBpNgcA 8ka3sKn6diiv7CfxmZI3kCf34sa6d/yQsJkTn/jtr4/Qfrj5yPuVfH1KlvuFdOysxA uQkPuTKXXHaLrgkjpiOXqGbG57BKTkJjz0KXHUvE= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x68AZu2p020896 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Jul 2019 05:35:56 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 8 Jul 2019 05:35:56 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 8 Jul 2019 05:35:56 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x68AZtrb040273; Mon, 8 Jul 2019 05:35:55 -0500 From: Jean-Jacques Hiblot To: , , , , CC: , , , , Jean-Jacques Hiblot Subject: [PATCH 0/2] leds: Add control of the voltage/current regulator to the LED core Date: Mon, 8 Jul 2019 12:35:45 +0200 Message-ID: <20190708103547.23528-1-jjhiblot@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series makes it possible for the LED core to manage the power supply of a LED. It uses the regulator API to disable/enable the power if when the LED is turned on/off. This is especially useful in situations where the LED driver/controller is not supplying the power. Jean-Jacques Hiblot (2): leds: Add control of the voltage/current regulator to the LED core dt-bindings: leds: document new "power-supply" property .../devicetree/bindings/leds/common.txt | 5 ++ drivers/leds/led-class.c | 10 ++++ drivers/leds/led-core.c | 53 +++++++++++++++++-- include/linux/leds.h | 4 ++ 4 files changed, 69 insertions(+), 3 deletions(-) -- 2.17.1