Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6730573ybi; Mon, 8 Jul 2019 07:44:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVXednBNr2DN2LUG9ylq090/Z2mkAnyf0g3J0wqvKCNQV7ieaWJu9jNSo7i05qKah+RBwS X-Received: by 2002:a17:902:b497:: with SMTP id y23mr17524060plr.68.1562597088413; Mon, 08 Jul 2019 07:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562597088; cv=none; d=google.com; s=arc-20160816; b=0t1+U58KSWnzI+eSMWp/GVkLaysqRSz55yNtBOnU0eCQfN3y/hO3+WL9bfkURWn4Ie 1r/QvCZTbHSQdzXjy24p1iv4EDDMQzya8bGHphRHSXy06G+tukNPgymtj+9/IUzq6tzR PnRXZdG5WVsNh/h6R5AwK3NRyj0bVMOqeGZnw553tgmhZ0oafLVes+nvig1jvG3cOQZ+ NyPggnGqO7xPmSX4OtRmQWC7fKhl05Idjut6nr3q9k54XJc3kaymG9ZS3whXKOkFXlQS SrKhOaClLhmPF5fin6B6J6pStKwwJA+NUddSOdzvaHkqMYqsfm23oD6PWLz6qkDmTn8P SdkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+rE4ppdXIfkvuURqrEEwb+GfW7AExeh1U8btFkQFRsk=; b=xmZPXpOdcvpRGKFFc5kNtLo2crbXaL7LJF0AgBG3eB8gFl2GnVYdmQ0lBM3S+ODKKl IqS4u+bhKXIN7HYQ2InWTvfiEh1kuS/KvD3kb9vNRPMxzsZnDK1YKLL9eGrtxX4PH3kL DJN7jdYy/77+vM88t9vSpb42QygLtl/SCIGTwAOrVRLR6CiBmK7kSCxK52/yQD+BLRM1 KTxJKEjMw69GcNnzfroBqjdflL3IFnB47zB10PL4ZrF2HES0edviVQN40RdQhIMBSpIi 0NECPW/T8iAqp+nEi6cHYypCRAuRZ6Xs1/TohMX540e84VXkDh23zG1TjArwzi3EBA1B oVhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=n0saEAcD; 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 d132si14389704pgc.300.2019.07.08.07.44.33; Mon, 08 Jul 2019 07:44:48 -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=n0saEAcD; 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 S1730142AbfGHKgG (ORCPT + 99 others); Mon, 8 Jul 2019 06:36:06 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:37348 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfGHKgF (ORCPT ); Mon, 8 Jul 2019 06:36:05 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x68AZwQg120686; Mon, 8 Jul 2019 05:35:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562582158; bh=+rE4ppdXIfkvuURqrEEwb+GfW7AExeh1U8btFkQFRsk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=n0saEAcDb5/h0N5sEHwiMZFBgSToDPETp1nVAR3POkt+G61m9V4e/zf7D3nYC455o ilMjtpJ/3NvBPZqEdKG1+9YHmJCrtJKPtIHAsqez7YCIoujKGqHvhNE83+eNcUX2Q+ o/4aSCqO7LjNurkW/KqX9dRfqRfFvLNym3IpeXNk= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x68AZwYq123160 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Jul 2019 05:35:58 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE102.ent.ti.com (157.170.170.32) 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:58 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) 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:58 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x68AZvp6057604; Mon, 8 Jul 2019 05:35:58 -0500 From: Jean-Jacques Hiblot To: , , , , CC: , , , , Jean-Jacques Hiblot Subject: [PATCH 2/2] dt-bindings: leds: document new "power-supply" property Date: Mon, 8 Jul 2019 12:35:47 +0200 Message-ID: <20190708103547.23528-3-jjhiblot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190708103547.23528-1-jjhiblot@ti.com> References: <20190708103547.23528-1-jjhiblot@ti.com> 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 Most of the LEDs are powered by a voltage/current regulator. describing in the device-tree makes it possible for the LED core to enable/disable it when needed. Signed-off-by: Jean-Jacques Hiblot --- Documentation/devicetree/bindings/leds/common.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt index 70876ac11367..e093a2b7eb90 100644 --- a/Documentation/devicetree/bindings/leds/common.txt +++ b/Documentation/devicetree/bindings/leds/common.txt @@ -61,6 +61,11 @@ Optional properties for child nodes: - panic-indicator : This property specifies that the LED should be used, if at all possible, as a panic indicator. +- power-supply : A voltage/current regulator used to to power the LED. When a + LED is turned off, the LED core disable its regulator. The + same regulator can power many LED (or other) devices. It is + turned off only when all of its users disabled it. + - trigger-sources : List of devices which should be used as a source triggering this LED activity. Some LEDs can be related to a specific device and should somehow indicate its state. E.g. USB 2.0 -- 2.17.1