From patchwork Thu Sep 12 21:32:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 11143797 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC68F18A6 for ; Thu, 12 Sep 2019 21:33:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BA6FD2084D for ; Thu, 12 Sep 2019 21:33:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="TaJ+XvsF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728732AbfILVdu (ORCPT ); Thu, 12 Sep 2019 17:33:50 -0400 Received: from mail.andi.de1.cc ([85.214.55.253]:52328 "EHLO mail.andi.de1.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728679AbfILVdt (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: 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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ojikyP8DDDZht6MCI3yymMMHVNO3MHdZIWJlDeI920E=; b=TaJ+XvsFaOcfMv6INNBtKM3s+z VtG/EVb9hsoJUJU5JGEi7DYPxbI10za9P1tUM3uYuGeTcZeGTEj0HPuF/XpnHo43hOXXqACN4ZxAF ZCW5bdbAs3GAB0BD8Ya62vGi/wNC9t0udMttfrheMDaWpV5hh0eYq2IX9ak9AuL2we1s=; 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 1i8Wig-0006RM-H3; Thu, 12 Sep 2019 23:33:38 +0200 Received: from andi by aktux with local (Exim 4.92) (envelope-from ) id 1i8Wig-0006Jl-5j; Thu, 12 Sep 2019 23:33:38 +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 0/2] backlight_lm3630a: add enable_gpios property Date: Thu, 12 Sep 2019 23:32:55 +0200 Message-Id: <20190912213257.24147-1-andreas@kemnade.info> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Spam-Score: -1.0 (-) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org To be able to handle the HWEN pin of the lm3630a, add an enable gpio to the driver and a property. Tested on Kobo Clara HD. Changes in v2: simplification and reordering Changes in v3: added acked-by removed legacy include Changes in v4: added reviewed-by moved gpio to the right position in the bindings example Andreas Kemnade (2): dt-bindings: backlight: lm3630a: add enable_gpios backlight: lm3630a: add an enable gpio for the HWEN pin .../bindings/leds/backlight/lm3630a-backlight.yaml | 5 +++++ drivers/video/backlight/lm3630a_bl.c | 9 +++++++++ 2 files changed, 14 insertions(+)