Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751597AbdGQNks (ORCPT ); Mon, 17 Jul 2017 09:40:48 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33916 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751303AbdGQNkE (ORCPT ); Mon, 17 Jul 2017 09:40:04 -0400 From: Sebastian Reichel To: Sebastian Reichel , Milo Kim , Lee Jones , Daniel Thompson , Rob Herring , Tony Lindgren Cc: Jingoo Han , Mark Rutland , linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, devicetree@vger.kernel.org, linux-omap@vger.kernel.org, Sebastian Reichel Subject: [PATCHv2 0/2] backlight: Add TI LMU backlight driver Date: Mon, 17 Jul 2017 15:39:54 +0200 Message-Id: <20170717133956.20691-1-sebastian.reichel@collabora.co.uk> X-Mailer: git-send-email 2.13.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 36 Hi, This adds backlight support for TI LMU devices. I updated the patches from Milo Kim according to the comments from Daniel Thompson and tested the result on Droid 4. Changes since PATCHv1 [0]: * split dt-binding documentation in its own patch * move include/linux/mfd/ti-lmu-backlight.h to drivers/video/backlight/ti-lmu-backlight-data.h * replace LMU_BL_REG() with a normal struct * add "const" keyword to lots of internal structures * improve error handling * use atomic pwm api [0] https://lkml.org/lkml/2017/3/19/265 -- Sebastian Milo Kim (2): dt-bindings: backlight: add ti-lmu-backlight binding backlight: add TI LMU backlight driver .../bindings/leds/backlight/ti-lmu-backlight.txt | 66 ++ drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 3 + drivers/video/backlight/ti-lmu-backlight-core.c | 729 +++++++++++++++++++++ drivers/video/backlight/ti-lmu-backlight-data.c | 304 +++++++++ drivers/video/backlight/ti-lmu-backlight-data.h | 95 +++ 6 files changed, 1204 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti-lmu-backlight.txt create mode 100644 drivers/video/backlight/ti-lmu-backlight-core.c create mode 100644 drivers/video/backlight/ti-lmu-backlight-data.c create mode 100644 drivers/video/backlight/ti-lmu-backlight-data.h -- 2.13.2