Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp370672imm; Mon, 9 Jul 2018 03:25:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeXJpFfBvLq57iGDTlT7mftPX2kCvGhZnpLPfYQyrEBZHLtbKCpdMj530waCfOcHTAuQKbi X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr20106834plb.208.1531131907802; Mon, 09 Jul 2018 03:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531131907; cv=none; d=google.com; s=arc-20160816; b=Ge+Ew6S1aErE4Yo/H8xUEpZSCEnSCO0w8U0oBw309eEL4qI8298rde9Z7EgQjD4J4y 3kb5qFwdT3PF36EWrQ3SG6BvuSBXbDQrWSeu8QOdyqv1VaVz2pshtZbk3HcQp/VLEUz0 qaS84yXYy0urfw7IYThD2fMiNy0Vu/UYMbK8BZUlk/g2rp+GxwvAfHbs/+jzldg1r3VZ D3aDN739m/qMa9t1wl9rK/CT520eoeinznVwPykR5KQ7emxDA3e9HUxbKC6ugjQXxmIx DrBllFplTMbJ3Bq4XwL3JbusUeaIjxCo9puxhexxNedHveEW4AFT6C1E3gFfcuX2vcXM FXng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=bsSJ6oXJ1tc2nlUOwoEij5SRc3kOnSA26b3W6ZNz0rE=; b=tFp/akxVN+CD+fwamLCjgOBiGBWh5uVcSwDXdm3r3HDdS00O3R5oQ8qv46gUSEqgbC 5PS2sW++31GDVw5gkv35eURypb5/OgQxNKP550VOaEwkS/7mK6XHY0ojUZao8DGuRtNg 4t8+RmxTB9Zb5c/oNinaChCxI/K9dFLxYSw4k4jFUisVPaaPPvQJt67qTj2NnS6zHaXU ZF2GgtW6El7o78f410IG5Daq7suibZgbuQfWYFI+kA8QU4hxdp+hkGG22Rfvc8EBRzi+ vcfEaiGzRh/HNBJoyAd1T1nh1fqiEzcKmb2Q8K8Uug0XguiUQ+oekSbOg3GpyfKwuice r0aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Bud4iH2o; dkim=pass header.i=@codeaurora.org header.s=default header.b=cSQkOncs; 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 j24-v6si13399461pgj.145.2018.07.09.03.24.53; Mon, 09 Jul 2018 03:25:07 -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=pass header.i=@codeaurora.org header.s=default header.b=Bud4iH2o; dkim=pass header.i=@codeaurora.org header.s=default header.b=cSQkOncs; 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 S1754468AbeGIKW7 (ORCPT + 99 others); Mon, 9 Jul 2018 06:22:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60478 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754346AbeGIKW5 (ORCPT ); Mon, 9 Jul 2018 06:22:57 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 380CE606AC; Mon, 9 Jul 2018 10:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531131777; bh=CxYeJxfQCC7Wlj1WskUzwDk/Lvh/U51usR9xvODzB7o=; h=From:To:Cc:Subject:Date:From; b=Bud4iH2o/MHCFl23hfpqbI+BO/IdK6HT49ZTO4MQBjGpdUflcyn0vEObLoY9LVbSs jCPdjqYGIt6/Unj3ruuPIgGd2JtWgbWkSQf4th21H2giqi+kNmppchdsOU/xKuV7rp eR3ihIY45Yyk4sgosNTFvCozTbd7nRmC2TR5lwaI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from kgunda-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kgunda@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 18AB560540; Mon, 9 Jul 2018 10:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1531131776; bh=CxYeJxfQCC7Wlj1WskUzwDk/Lvh/U51usR9xvODzB7o=; h=From:To:Cc:Subject:Date:From; b=cSQkOncsLlhjkgoZ6L+BgKAmMBD8e/p/4KEBqrFFcybyVUcXQx/mNmfNXycWush9o xP+DWlUnmBzxEJoPEBDOxpUgKiPWiKTgTfXl1uVPlfBVyj1pGGKSnKquqqpK4uVy0j RHe5Tg3bKOpmbu4Ssv7zBjQNlFitIWBHvYLEoWOg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 18AB560540 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kgunda@codeaurora.org From: Kiran Gunda To: bjorn.andersson@linaro.org, jingoohan1@gmail.com, lee.jones@linaro.org, b.zolnierkie@samsung.com, dri-devel@lists.freedesktop.org, daniel.thompson@linaro.org, jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Kiran Gunda Subject: [PATCH V4 0/8] backlight: qcom-wled: Support for QCOM wled driver Date: Mon, 9 Jul 2018 15:52:13 +0530 Message-Id: <1531131741-19971-1-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series renames the pm8941-wled.c driver to qcom-wled.c to add the support for multiple PMICs supported by qualcomm. This patch series supports both PM8941 and PMI8998 WLED. The PMI8998 WLED has the support to handle the OVP (over voltage protection) and the SC (short circuit protection) interrupts. It also has the auto string detection algorithm support to configure the right strings if the user specified string configuration is in-correct. These three features are added in this series for PMI8998. changes from v1: - Fixed the commit message for - backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c Changes from v2: - Fixed bjorn and other reviewer's comments - Seperated the device tree bindings - Splitted out the WLED4 changes in seperate patch - Merged OVP and auto string detection patch Changes from v3: - Added Reviewed-by/Acked-by tags - Fixed comments from Bjorn/Vinod/Rob - Splitting the "backlight: qcom-wled: Add support for WLED4 peripheral" patch to seperate the WLED3 specific restructure. Kiran Gunda (8): backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c backlight: qcom-wled: restructure the qcom-wled bindings backlight: qcom-wled: Add new properties for PMI8998 backlight: qcom-wled: Rename PM8941* to WLED3 backlight: qcom-wled: Restructure the driver for WLED3 backlight: qcom-wled: Add support for WLED4 peripheral backlight: qcom-wled: add support for short circuit handling backlight: qcom-wled: Add auto string detection logic .../bindings/leds/backlight/pm8941-wled.txt | 42 - .../bindings/leds/backlight/qcom-wled.txt | 150 +++ drivers/video/backlight/Kconfig | 8 +- drivers/video/backlight/Makefile | 2 +- drivers/video/backlight/pm8941-wled.c | 432 ------- drivers/video/backlight/qcom-wled.c | 1298 ++++++++++++++++++++ 6 files changed, 1453 insertions(+), 479 deletions(-) delete mode 100644 Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt create mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt delete mode 100644 drivers/video/backlight/pm8941-wled.c create mode 100644 drivers/video/backlight/qcom-wled.c -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project