From patchwork Tue Dec 12 18:58:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 121626 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4501623qgn; Tue, 12 Dec 2017 10:59:08 -0800 (PST) X-Google-Smtp-Source: ACJfBotg/SJ1ZURbMib6wDWI/WDktOQcGlehRzUCBGr1hC5lLA4DwrbC1fDKOKwV5We/sfRucZBv X-Received: by 10.84.246.200 with SMTP id j8mr3176124plt.418.1513105148767; Tue, 12 Dec 2017 10:59:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513105148; cv=none; d=google.com; s=arc-20160816; b=IyXNJCj2DXFNa4QydmElGNqZy4YskYQuaqEPkM6/5Ugx4ChtVmZoQX/AHe+ABVMvPd 74bBwMGleJ/trije0QgoM35a6eopffHiiG9rxoV5PQwc1uriXFoVWT7LXuy7Slo7mgDU 67ttDBxpGnunkfNHzqzJt4KstRyqpAprzc6FCKQMfxSsmVyCplcHvLygdZayeJll+q/i JhQN5Rtje7oymw/YUAQT8rWuqdsNPFfPrIIxND5HUNn+LMTdusJZ7Q2lpf7qn3HV+WeI qB/Xo4OypMtWNH5dh+8hLqLx5kB7HC8wU+9w/Ab7HSxz0Wzs7l/qw3lr3GMqyHzJZBAd 39GQ== 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 :arc-authentication-results; bh=spFPLAszXqhyqaU5mbFFBJJ/DL3Ta7/1tEvhwM2nSm0=; b=SMh89aNYUPjke9aOB9s0MsSrysKWYetXmgdYwFZX8fsLT1nV6oeYoupPJrk7eSmFr+ yQAJUIM89ge/tzGMRrOLwTIuPUKhlUHjiG3/SpNTJpyGywqwdkSf0y3hZl9QaCoXV+A4 nRnt4MslYEDpn3cI9TpJi1zUfJ9p65CG2Dq9/D5309JKsxSbchTZglxbWq+O7pi5MBaJ qlW/QwrdzMrKKrt20RPECb9YXqrP8fKP5ie4vhSWR2Fx4cMc+r7Ap4Wq60aGjiwjn70z LfGYs/rnEYoazyyxRatQcZ7gNUbXNPpAcQenrXZntQBNGnljTUB4s+fI3mKMv65V4ROP Uj1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zV7yi/P4; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 30si12014786plb.782.2017.12.12.10.59.08 for ; Tue, 12 Dec 2017 10:59:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-leds-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=zV7yi/P4; spf=pass (google.com: best guess record for domain of linux-leds-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-leds-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 S1752134AbdLLS7H (ORCPT ); Tue, 12 Dec 2017 13:59:07 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:59512 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752408AbdLLS6c (ORCPT ); Tue, 12 Dec 2017 13:58:32 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBCIwGjm003339; Tue, 12 Dec 2017 12:58:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513105096; bh=ua+ZG2EPxx9/lVfzpTWdeMQnIirXQ6A8NxWXr7Jtumc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=zV7yi/P41Q1/OZ6Bwmm8uJNR2RNH+TvtU40qKWFxUtC0AOAwRKpbQQI4MGGsFVBqM 0rnpQIwo2D8l1YTL8PvE60Fh0HxiQ1Ta8nmPy7c+aX9kdbJwJxxodVXkHJH+Pe16tn OqYoJWZ3QnszXxmV0f400oVCWnIuKzA/MeY++arg= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwGEv019049; Tue, 12 Dec 2017 12:58:16 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 12 Dec 2017 12:58:15 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 12 Dec 2017 12:58:15 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBCIwFsn002997; Tue, 12 Dec 2017 12:58:15 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.69.253]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBCIwFx25380; Tue, 12 Dec 2017 12:58:15 -0600 (CST) From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH v3 4/6] dt: bindings: lp8860: Add trigger binding to the lp8860 Date: Tue, 12 Dec 2017 12:58:07 -0600 Message-ID: <20171212185809.23880-6-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20171212185809.23880-1-dmurphy@ti.com> References: <20171212185809.23880-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-leds-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Add a default trigger optional node to the child node. This will allow the driver to set the trigger for a backlight. Signed-off-by: Dan Murphy --- v3 - Removed optional and rebased - https://patchwork.kernel.org/patch/10093755/ v2 - Moved binding changes to first patch in the series. Documentation/devicetree/bindings/leds/leds-lp8860.txt | 3 +++ 1 file changed, 3 insertions(+) -- 2.15.0.124.g7668cbc60 diff --git a/Documentation/devicetree/bindings/leds/leds-lp8860.txt b/Documentation/devicetree/bindings/leds/leds-lp8860.txt index c3d64ade1e26..cdb9e12bd0aa 100644 --- a/Documentation/devicetree/bindings/leds/leds-lp8860.txt +++ b/Documentation/devicetree/bindings/leds/leds-lp8860.txt @@ -21,6 +21,8 @@ Required child properties: Optional child properties: - label : see Documentation/devicetree/bindings/leds/common.txt + - linux,default-trigger : + see Documentation/devicetree/bindings/leds/common.txt Example: @@ -35,6 +37,7 @@ led-controller@2d { led@0 { reg = <0>; label = "white:display_cluster"; + linux,default-trigger = "backlight"; }; }