From patchwork Mon Apr 1 10:30:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Masney X-Patchwork-Id: 10879637 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E95EC13B5 for ; Mon, 1 Apr 2019 10:31:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2FA028535 for ; Mon, 1 Apr 2019 10:31:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C68642868C; Mon, 1 Apr 2019 10:31:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 647E028535 for ; Mon, 1 Apr 2019 10:31:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726608AbfDAKak (ORCPT ); Mon, 1 Apr 2019 06:30:40 -0400 Received: from onstation.org ([52.200.56.107]:36826 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726163AbfDAKak (ORCPT ); Mon, 1 Apr 2019 06:30:40 -0400 Received: from localhost.localdomain (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id E508D4570D; Mon, 1 Apr 2019 10:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1554114639; bh=zhDm/A1dRYIbGV5XJVoToaNSXbVmdHmysIKFk5efA/Y=; h=From:To:Cc:Subject:Date:From; b=NRPDcMJMLti3ymhOT1Tn0y6QfyZx9v+Y16EqYO4CbxFE05QfV87ivzMYIZ5J5CMJl X+L0315lzkmEjFvt72bO8QB/YjfpWQqNT7WTaNCRXLlQzyvP26iZTgF6HWvWFFwEx2 z3TPH3EjVNM3kEA5vx28Ol1W+MyaP7e1m/mp2rPk= From: Brian Masney To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, robh+dt@kernel.org Cc: jacek.anaszewski@gmail.com, pavel@ucw.cz, 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, dmurphy@ti.com, jonathan@marek.ca Subject: [PATCH v2 0/3] backlight: lm3630a: bug fix and device tree support Date: Mon, 1 Apr 2019 06:30:31 -0400 Message-Id: <20190401103034.21062-1-masneyb@onstation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Here is a patch series that fixes a single bug and adds device tree support to the lm3630a driver. This work was tested on a LG Nexus 5 (hammerhead) phone. My status page at https://masneyb.github.io/nexus-5-upstream/ describes what is working so far with the upstream kernel. Changes since v1 (from November): - Don't use a trivial binding and expose some of the settings available in the platform data. Sorry for the long delay sending out v2. I got busy with other projects. Brian Masney (3): backlight: lm3630a: return 0 on success in update_status functions dt-bindings: backlight: add lm3630a bindings backlight: lm3630a: add device tree supprt .../leds/backlight/lm3630a-backlight.yaml | 112 ++++++++++++++++++ drivers/video/backlight/lm3630a_bl.c | 73 +++++++++++- 2 files changed, 183 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml