Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5046352imm; Tue, 19 Jun 2018 04:16:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKefBFoS0b1Nlz2OOq6507t+rMkkqeaibO1+m8FdbW6feuvsPTFhoNK5q7tUSA5vWlMOHTD X-Received: by 2002:a63:7f4e:: with SMTP id p14-v6mr14428958pgn.27.1529406963979; Tue, 19 Jun 2018 04:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529406963; cv=none; d=google.com; s=arc-20160816; b=KnJZCzXhxz8vmPqKjaL2tdnsLxtMEUdD1Be5HazAujN6adZ++zY+g0HA13BL81Zuyh BD9cMOLtEpw/i0UyOvsfR0dNvtfDEK5aJikkyrJCcePgBCR2pTfgrdsmuFCDGKvvDZ8B 5AhsdYoaOkbKfrNnAFUjNesgehGzsT6/AEuFC1anN5vA4oY/mB1aNl8KEjXUC/adRQJg PV3QEPbRP0tlxF2kyZL26okmimCOeMLOC/psUQl/2RfPx25goIodqYelNrfXK2ZE/c2l 6xjj7AmBis2JFIkl5V0FwKQMUMobxXhObSm3cqDBkGHhl8Q+yQQS9E/8FHNykh1Z6zP/ RBWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=LL8CSkD0yPq5amaZ14LfivnXkif1rEbmBTFNEY+NTOw=; b=LhJumEQyErQ7aa5XSgs7gb7OjJbRx8Pa/Yy1g5PCZzWaCs8nB3mRBuNPi7h5dnW1k7 lMx0O271rjZAvULjLyId6SSFEzf2vCJeBm3DpfXQK/cyv1c0fkQ93Mu9Ljylmjxns5lL z3pb4R540azVZbIF32jwtiRIWLGd9O1c+7xvZJk6bjYoZAD8h97ohktUBtfGjw0PxLhE fzV4d+y7PHRDZiPfWBzSDJOc9NQ3iYr6mkyDRxhtWznVv0usyFI+7nhw63LncSpTzCoE 6jH4SwXaL2ckG9ubwzjzH2GWI3TN1nzsYXrkhywzBL1MzPLdke2sCB7cpqSDROWsEALa kbiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ec+ASqbN; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hh4QAbDp; 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 g194-v6si17756795pfb.280.2018.06.19.04.15.33; Tue, 19 Jun 2018 04:16:03 -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=ec+ASqbN; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hh4QAbDp; 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 S965898AbeFSLOf (ORCPT + 99 others); Tue, 19 Jun 2018 07:14:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57368 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936108AbeFSLOc (ORCPT ); Tue, 19 Jun 2018 07:14:32 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 29BA2607EB; Tue, 19 Jun 2018 11:14:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529406872; bh=Df3X/eDKgzYrsYnjB21qDKLXLRkyMa7Koo5OAGB/Q8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ec+ASqbNZOwsiAZp9H6aMe2eq84GWEhpSa36HRIJAOq4q6BYmvqwmbmzR13lCfjnV HxxxgzmjEm9nl0NIh7+NVK0XwkSlNoPVK2YQymojm/dr0UNuznO9b2vj0uMlafzKAl lDDfONp/TyxChZuC7LSyrdevVXMplwAQ0nT2s2QY= 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 C3A36607EB; Tue, 19 Jun 2018 11:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529406871; bh=Df3X/eDKgzYrsYnjB21qDKLXLRkyMa7Koo5OAGB/Q8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hh4QAbDpsszMiwg/XSvS+uM0FgdK47e/mIw4H7jF76u4gzGONq6YMPtTHjLvpBPtn rji9g+mv7ezDhs4I9vjTDvvJxI6RZhbK8AeZxT8BlByN6c+L4pbwZAubIH+X3zq/bG C9oG8c0+5zWhkeW17liD/qewMwaAgPcPStU0KFfM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C3A36607EB 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 , Jacek Anaszewski , Pavel Machek , Rob Herring , Mark Rutland , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Kiran Gunda Subject: [PATCH V3 1/7] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c Date: Tue, 19 Jun 2018 16:43:36 +0530 Message-Id: <1529406822-15379-2-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1529406822-15379-1-git-send-email-kgunda@codeaurora.org> References: <1529406822-15379-1-git-send-email-kgunda@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pm8941-wled.c driver is supporting the WLED peripheral on pm8941. Rename it to qcom-wled.c so that it can support WLED on multiple PMICs. Signed-off-by: Kiran Gunda --- .../bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt} | 2 +- drivers/video/backlight/Kconfig | 8 ++++---- drivers/video/backlight/Makefile | 2 +- drivers/video/backlight/{pm8941-wled.c => qcom-wled.c} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename Documentation/devicetree/bindings/leds/backlight/{pm8941-wled.txt => qcom-wled.txt} (95%) rename drivers/video/backlight/{pm8941-wled.c => qcom-wled.c} (100%) diff --git a/Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt similarity index 95% rename from Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt rename to Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt index e5b294d..fb39e32 100644 --- a/Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt +++ b/Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt @@ -1,4 +1,4 @@ -Binding for Qualcomm PM8941 WLED driver +Binding for Qualcomm Technologies, Inc. WLED driver Required properties: - compatible: should be "qcom,pm8941-wled" diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 4e1d2ad..8c095e3 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -299,12 +299,12 @@ config BACKLIGHT_TOSA If you have an Sharp SL-6000 Zaurus say Y to enable a driver for its backlight -config BACKLIGHT_PM8941_WLED - tristate "Qualcomm PM8941 WLED Driver" +config BACKLIGHT_QCOM_WLED + tristate "Qualcomm PMIC WLED Driver" select REGMAP help - If you have the Qualcomm PM8941, say Y to enable a driver for the - WLED block. + If you have the Qualcomm PMIC, say Y to enable a driver for the + WLED block. Currently it supports PM8941 and PMI8998. config BACKLIGHT_SAHARA tristate "Tabletkiosk Sahara Touch-iT Backlight Driver" diff --git a/drivers/video/backlight/Makefile b/drivers/video/backlight/Makefile index 5e28f01..6fd76ef 100644 --- a/drivers/video/backlight/Makefile +++ b/drivers/video/backlight/Makefile @@ -49,8 +49,8 @@ obj-$(CONFIG_BACKLIGHT_OMAP1) += omap1_bl.o obj-$(CONFIG_BACKLIGHT_OT200) += ot200_bl.o obj-$(CONFIG_BACKLIGHT_PANDORA) += pandora_bl.o obj-$(CONFIG_BACKLIGHT_PCF50633) += pcf50633-backlight.o -obj-$(CONFIG_BACKLIGHT_PM8941_WLED) += pm8941-wled.o obj-$(CONFIG_BACKLIGHT_PWM) += pwm_bl.o +obj-$(CONFIG_BACKLIGHT_QCOM_WLED) += qcom-wled.o obj-$(CONFIG_BACKLIGHT_SAHARA) += kb3886_bl.o obj-$(CONFIG_BACKLIGHT_SKY81452) += sky81452-backlight.o obj-$(CONFIG_BACKLIGHT_TOSA) += tosa_bl.o diff --git a/drivers/video/backlight/pm8941-wled.c b/drivers/video/backlight/qcom-wled.c similarity index 100% rename from drivers/video/backlight/pm8941-wled.c rename to drivers/video/backlight/qcom-wled.c -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project