Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1735027ybg; Sat, 19 Oct 2019 01:21:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxG3wdu8SxRCtlbotQUnSKrWfoIHJvnJMkkZh5ER4CaAZ+F9sQ9879RyihL/z+925z1Cn60 X-Received: by 2002:a05:6402:1548:: with SMTP id p8mr14031956edx.43.1571473294288; Sat, 19 Oct 2019 01:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473294; cv=none; d=google.com; s=arc-20160816; b=xOFcwCATtjGD+PA69m2NhpZU9iJSLDLd/8C1y5EBxQdhV9eAX/SmVPmyrI/cZye2LA pS2e4MdFqevNkKwPlV3oSwychWTCmS+7Ds+PmTWfh/UJzYhieFvp/DMrB8bs4+5FxOQb LTkRKYzTH1KbNXBTB1fzAaXeHt0npJvp550SiB0tf/fwOoVF3VydszN9j0w5Q6ePJacP SzM2gO0WZ75QHPH3tBBDKmGbX5W+tN4F8caiKFH39SaSoKPN8cyozPXPgtXA5VSLHOJR b5ds9zv8qoutOsj/EAy+o9xI3KCJsAyFEAWPB86gZqJ2apTk5RWGyBTgMTS2VFaVPIl+ fsrQ== 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; bh=6+llbbSoLPkhxWK+mehk3QPxozMyt6/CmlJQ1W8nWdI=; b=vtDra+fL9R8grqYGjR+0DUnwZZgoJF81kVqBbpx6pz2MRlp6eXZFTFnGlgCR5EvLi3 G9E3vExu+KYieuCxdB/oE8vwQHI+cBuu1yQZHQy4r5kF2Lh0Vd7vRQ5/NW6c8Ovipud5 8BLkMB7fmkh30RMysQ1zWweAtBAncPDSQ4bbcl5f7uwBaihA+ziegJAHnNSSuXQ/ULOG krAHbjSzogfWboThTjxq3tnWsFch0kWkAryxTPrdACnhttV8FXqrsjeih6mqyJnqrgqw Zjgb5qb7qB7nffoh5+tgYbkbaTplXUZ30Uo1hg/sXbKOG+7cERWt8DQWDTlOkqri/5X5 EGOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="LMWQ/i1c"; dkim=pass header.i=@codeaurora.org header.s=default header.b=aZLlw7Ul; 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 ec21si4510316ejb.26.2019.10.19.01.21.11; Sat, 19 Oct 2019 01:21:34 -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="LMWQ/i1c"; dkim=pass header.i=@codeaurora.org header.s=default header.b=aZLlw7Ul; 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 S2408113AbfJRMdx (ORCPT + 99 others); Fri, 18 Oct 2019 08:33:53 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:51818 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731028AbfJRMdx (ORCPT ); Fri, 18 Oct 2019 08:33:53 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B9FA761153; Fri, 18 Oct 2019 12:33:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571402031; bh=3tRVjrnzdm7RkUk3GKY47Ahx002G46T/pICBBH7NvWA=; h=From:To:Cc:Subject:Date:From; b=LMWQ/i1cMrdzBvKrIelXLEd0/YNX5lIGVAq7JwADeaCXi1MSEeAzrFBrHxDEtwBON bQ2vIEHKfSv0+HD4ktTxWhaPeCmRXk4mrnyakWhLNSXZE5r9LAWOR3VfyXr0ZF8f0c rL39HRrd9IGKZFIRoY6O5GU6/FW788Db6QpsyDaU= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE 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 6114260A64; Fri, 18 Oct 2019 12:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1571402030; bh=3tRVjrnzdm7RkUk3GKY47Ahx002G46T/pICBBH7NvWA=; h=From:To:Cc:Subject:Date:From; b=aZLlw7UlL4APffRlCQHbZt7Pz9Ox0LA5cc0jOFTDFCoExZsQKnfk3oYrOxhQSTqNZ 4WKVoclFZE0Jvog5DIr0s6oWvA5/0Ve0ooWplFkcV6ImRnK6duhWvvK8N+JfPG84bW xy3sojx7QJaOL0AHSq72XZdtUDkmSqIY16ujIFww= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6114260A64 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 V8 0/6] backlight: qcom-wled: Support for QCOM wled driver Date: Fri, 18 Oct 2019 18:03:23 +0530 Message-Id: <1571402009-8706-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. Changes from v4: - Added reviewed-by/Acked-by tags - Fixed comments from Bjorn/Daniel/Pavel Changes from v5: - Fixed comments from Bjorn/Pavel Changes from v5/v6: - Fixed comments from Bjorn/Pavel on V5 series, which were missed in V6 series - Patch 1 and 2, mentioned below, from V6 series are picked by Pavel In next. Hence, dropped them in this series. https://lore.kernel.org/patchwork/patch/1132467/ https://lore.kernel.org/patchwork/patch/1132468/ Changes from v7: - Addressed comments from Daniel Thompson/Lee Jones - Patch 1 and 2, mentioned below, from V6 series are picked by Pavel In next. Hence, dropped them in this series. https://lore.kernel.org/patchwork/patch/1132467/ https://lore.kernel.org/patchwork/patch/1132468/ Kiran Gunda (6): 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/qcom-wled.txt | 74 +- drivers/video/backlight/qcom-wled.c | 1254 +++++++++++++++++--- 2 files changed, 1125 insertions(+), 203 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project