Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp52588ybe; Thu, 12 Sep 2019 15:29:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVgEPkZOvKJOXxahi+x0s84M/qqAm9OgYgh9O3qdf1ufrXaSRYyKRireLfgJUCt0cjrz4h X-Received: by 2002:aa7:cf83:: with SMTP id z3mr40728218edx.68.1568327365028; Thu, 12 Sep 2019 15:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568327365; cv=none; d=google.com; s=arc-20160816; b=TRdv5rYao00REXQwq6BSfvzxk24t/1H4EAbNcr5el+NFKxC05XHIfEm+Bnrqr9DxRr uJGSC3dxOauO37QLzrgZT257MA6AX34bVomiZNl1pHdQE2KReZCK0tsAP5W5rZX8Ud65 SDKtUlb1SRLaI3J0FipXouX1wc/ArAqWbkCFEdYnWd26bdhMGbEtMo/k9UNEy7HfyNTk thqWFyNqVzUCdwuC3vRo4kglr3kIfz0nwKWKmSxRCUFkyFSKwKpoAl4OjNXADj6BV2Lv OQgFdrSspBNSqy9BOGGKsyx16y0cbiGETCUncXlF8/FmAtdUgxTyojUDSvaQTm1wHGB/ NVqA== 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:cc:to:from :dkim-signature; bh=RdVFr/UHTqBlHMpQmP0HURFAUMKBVs0CWKPuLAbmJAw=; b=eIP3Sble9f615G2O65X+Ev4VYt1kwJN/DXsBYQbVpBxWtbQ3vONrZIrmYTko8GQs5S jMfGlU6eeUEKUn7gOg/o2zoQHWUQjP0/KQQ70ZZ8BJ43T6Rxcgieg0oEglU8waqydxig CQIy46ihKpg/jc4ufDh2bXBWddHyeizKevp4qFK10NbkCW6t5YuwnQcRDI46TMrZ9QJd lxsdpeTo6g0c/L2oVrEfu1RsJSnOz7S7g2+w2BpDSUFJiOU7U28MhmND9Vw4+xCEsqed N72wz5kJNNAuZnoRvExTDmr24g0rM+ydTbA+ElcpvfC9fMk/jvS7h1lZzvTcidZSoHdy hpHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=gfk4TNjg; 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 k9si16211082edb.56.2019.09.12.15.28.53; Thu, 12 Sep 2019 15:29:25 -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=fail header.i=@kemnade.info header.s=20180802 header.b=gfk4TNjg; 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 S1728748AbfILVdu (ORCPT + 99 others); Thu, 12 Sep 2019 17:33:50 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:52332 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728682AbfILVdt (ORCPT ); Thu, 12 Sep 2019 17:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RdVFr/UHTqBlHMpQmP0HURFAUMKBVs0CWKPuLAbmJAw=; b=gfk4TNjgGbO/jHyy6J1NzVpHMs Dxl8c4t6MoT3giG+AIBZS0fuDD/4cor+0kuyR/arUfBq/+WnOiNxGgXoyuSOmeprcwPCE6qElRYdE 3qfu0n7IZ53J7VMjy399vZG/k5ulUbq6QA/9tWk7Jvsil1hVDqaQhVVlnc/1eu9nTZjQ=; Received: from p200300ccff1554001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff15:5400:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i8Wij-0006Rb-Vj; Thu, 12 Sep 2019 23:33:42 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1i8Wij-0006Jo-Nb; Thu, 12 Sep 2019 23:33:41 +0200 From: Andreas Kemnade To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, jacek.anaszewski@gmail.com, pavel@ucw.cz, dmurphy@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH v4 1/2] dt-bindings: backlight: lm3630a: add enable_gpios Date: Thu, 12 Sep 2019 23:32:56 +0200 Message-Id: <20190912213257.24147-2-andreas@kemnade.info> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190912213257.24147-1-andreas@kemnade.info> References: <20190912213257.24147-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add enable-gpios to describe HWEN pin Signed-off-by: Andreas Kemnade Acked-by: Daniel Thompson --- changes in v2: added example changes in v3: added Acked-by changes in v4: moved enable-gpios to the right position in the example .../bindings/leds/backlight/lm3630a-backlight.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml index dc129d9a329e..c8470628fe02 100644 --- a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml +++ b/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml @@ -29,6 +29,10 @@ properties: '#size-cells': const: 0 + enable-gpios: + description: GPIO to use to enable/disable the backlight (HWEN pin). + maxItems: 1 + required: - compatible - reg @@ -96,6 +100,7 @@ examples: led-controller@38 { compatible = "ti,lm3630a"; reg = <0x38>; + enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; #address-cells = <1>; #size-cells = <0>; -- 2.20.1