Received: by 10.192.165.148 with SMTP id m20csp1639178imm; Thu, 3 May 2018 02:58:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqFUXtwUDNtxOvfbd0MPZoDOsWuoVGcsWImWvLcKqoaUWHOBoYnDAcuNO2VD9Lv1WpPUUDi X-Received: by 2002:a65:5889:: with SMTP id d9-v6mr7583086pgu.229.1525341525402; Thu, 03 May 2018 02:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525341525; cv=none; d=google.com; s=arc-20160816; b=PoBcegCt762EtMSRF6ZzjAVHHFWpy38CclNdV3tW9dBuW1xhItW1uc05ssXA3Ya4ww LmUIeyKWW8jYNPVP/J9TeEUe29TpksINzMtLY5ZLTEoimmWQCAi3sUQiyhuEMKHIPqhC ZOUieXO/+7Rhg5TPzrtG7mERA7z/T4r/lCn2zFxjekxV0US/HpXlLP9dY13yHgj53ro6 9qjgjxkf/0HEGXjpqtT2+TipIbXI0HLdIGPVxaoqpcMX644memdbeOkd3S4o0W+wqKBz PQlh1JSdj206xVBy+luGq1aSMfwzRWl14n0BtNLDkQR/ZgXqBACFPEEqHF5kKh4xqsT9 xZyg== 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=A4vUDlbmZUmz22Pn0dhtIFhFbx+PNdit7o0ZLag1eh4=; b=PXURKi/v/sxykPBm+60fqwz76NCRFRo8SqumlSU2giIBtgSwD8Ty3NF6qv6VWKHDmu E87NHmTSwnEaz07w8604CtVZC2AFoL5sqLo8zp/Wwl3bImt0YaNMuHYPKo51wiheTcty 3r2x05TQqe1GpDQivgOwNXOPiZfBQXJMc07Ca9luhyBGon7Xd75gw22P2NiCM8Zo4ksf 340BrDWtha8J10tS4JkEm1kcAhtQFjPRq0lQtBkbKDg58rB+keFx/eeQfszp/upkoj3R U75Ny6FfdEMnvqBMSL3oh7Ma7RdubJ1XWqFbO6coC6h+WtVWhcXnOfOFasAOTkOXLPEs CTvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=adH4k5re; dkim=pass header.i=@codeaurora.org header.s=default header.b=adH4k5re; 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 q137si13361864pfc.68.2018.05.03.02.58.31; Thu, 03 May 2018 02:58:45 -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=adH4k5re; dkim=pass header.i=@codeaurora.org header.s=default header.b=adH4k5re; 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 S1751507AbeECJ6M (ORCPT + 99 others); Thu, 3 May 2018 05:58:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42216 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbeECJ6K (ORCPT ); Thu, 3 May 2018 05:58:10 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id DB07A6090E; Thu, 3 May 2018 09:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525341489; bh=xUIrupoenqytnOfacpl8SWR77DLebkwLmqF+al21+uI=; h=From:To:Cc:Subject:Date:From; b=adH4k5re/QyfCHtUfoK8rc3iZfjIqPO9NHY3ACYXqQII+TCn6r98tmg83FLV8BI4q p9t+CVcYQGb6XwfnAfJ0GC2cedSwysOXoQUka77CTciJEfidMCdPjLTaWj3Nsq8VZy Khuvux8ss2kvVsLc7a9Z2qTM7slDL5M3mpP7jWws= 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 04925607A2; Thu, 3 May 2018 09:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525341489; bh=xUIrupoenqytnOfacpl8SWR77DLebkwLmqF+al21+uI=; h=From:To:Cc:Subject:Date:From; b=adH4k5re/QyfCHtUfoK8rc3iZfjIqPO9NHY3ACYXqQII+TCn6r98tmg83FLV8BI4q p9t+CVcYQGb6XwfnAfJ0GC2cedSwysOXoQUka77CTciJEfidMCdPjLTaWj3Nsq8VZy Khuvux8ss2kvVsLc7a9Z2qTM7slDL5M3mpP7jWws= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 04925607A2 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 Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Kiran Gunda Subject: [PATCH V1 0/5] backlight: qcom-wled: Support for QCOM wled driver Date: Thu, 3 May 2018 15:27:07 +0530 Message-Id: <1525341432-15818-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 calibration 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. Kiran Gunda (5): qcom: wled: Rename pm8941-wled.c to qcom-wled.c backlight: qcom-wled: Add support for WLED4 peripheral backlight: qcom-wled: Add support for short circuit handling backlight: qcom-wled: Add support for OVP interrupt handling backlight: qcom-wled: Add auto string detection logic .../bindings/leds/backlight/pm8941-wled.txt | 42 - .../bindings/leds/backlight/qcom-wled.txt | 158 +++ drivers/video/backlight/Kconfig | 8 +- drivers/video/backlight/Makefile | 2 +- drivers/video/backlight/pm8941-wled.c | 432 ------- drivers/video/backlight/qcom-wled.c | 1329 ++++++++++++++++++++ 6 files changed, 1492 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