Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp84164ybx; Thu, 31 Oct 2019 23:30:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJNCj57mQ3lPkhA026zYBQJsfb3GuiiejrLR3upRFRA96PSQWWKGZIiIxnBRRv1qQDm7mG X-Received: by 2002:aa7:ca0b:: with SMTP id y11mr10690158eds.51.1572589839359; Thu, 31 Oct 2019 23:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572589839; cv=none; d=google.com; s=arc-20160816; b=T+V3uUkQCu8u+JbEVa6G+jm1918xT84wl8Obdo9PaHoSHFAFa1FHzH+GH/PQy1fJZY WyH+VDfkZ46pIRxkKJYyxWea7lDImfGFrbCgiyZCyXeCVoKQ1dYi2S5epHYti19EMMzK rJpYYqermy9WlISILrIN6fPyLk6Ts/vZDF+OXHRgTQkHWaWJSXwHJ0AdzOHSYafV0l3t 6Fj7ITga5YOP5gtUnZooCmf09WDm2kBkk3vZNmJ4CHVR3KioEXeRPrrpLIHpX39cbdGy PuKYGoSpLvlpyV3Ej79zDG9F/4GSikP0UiiKKR6JBb5LYRiccUjZLWcyYMWDbXBezT+6 +HQQ== 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; bh=lCoGWfu6SrGSDtbFJnrRPqw4MS1PmDetbpsmPRuCRpY=; b=rywvyZpsJLuE+WCKhEu1YDi2Wz4FgLj8uZZNmbQsFWk63O/HFkso+kiel4a5AG75pZ b8skMN02DVF6w8iyDrnHPyfhnssYJcdx7mJezpAWRSlD6ifyJkANuXmd3DwC05q3aMvZ w+vwmoo175LNVVIEiHxLCYPjNvYaeag+ElkOMJCSR14gwP3RLVzh/ky3B4woJDgH8l95 NzjRdvqkSry6p2+3oCvUWv6vq4mDkSHjQhi/KLNbtXukKjjRm9SrETdHzlTPOe3IJpKJ X+M79PLxH8H/E+ZF3Am+aYtkw2I0DBpgTqFPgv52bZriQ9hvWKao9RMykFGGoA/I8ysS dAmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=giPGF+fy; dkim=pass header.i=@codeaurora.org header.s=default header.b=EE0xyh2e; 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 p48si5944966eda.80.2019.10.31.23.30.16; Thu, 31 Oct 2019 23:30:39 -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=giPGF+fy; dkim=pass header.i=@codeaurora.org header.s=default header.b=EE0xyh2e; 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 S1729852AbfKAG1l (ORCPT + 99 others); Fri, 1 Nov 2019 02:27:41 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45414 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729707AbfKAG1k (ORCPT ); Fri, 1 Nov 2019 02:27:40 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0356160D85; Fri, 1 Nov 2019 06:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572589659; bh=UyoJwvIa110PJasaK0nZFq0Mx0PvYN9KUjsCKGhuWEA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=giPGF+fygDQ7q8bI5enzKDb9UwBc9PClHSGmTvitdTRUrikk0L1z5dqqafFHdOGuy x3/A42E6feEFPlGtDiz49lTR/2K8OSsr1jiXGLrpzK0VsBDatPSfRMXWUA4wMpxDPE I7GQLDaj8xMQBeSkyxsXlj32gRYCdLkRHDMZM/wg= 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 2132260B72; Fri, 1 Nov 2019 06:27:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1572589655; bh=UyoJwvIa110PJasaK0nZFq0Mx0PvYN9KUjsCKGhuWEA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EE0xyh2eR4ER/2CLxWYwfAXMX2N/c4WvniUXnExV+3SPZ5QHjwlBP2dZFpM7SBDQs AWjaqfcwGBhxVH0weQ3LWiwr6Y9hyLXByTk6KSa7XtZjAOHTDkCc3Imm1l4fA/+H4H nefPvnl3WGO5vaJ5kGxMVMNuYecxcSjzEfXJbvIA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2132260B72 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, Dan Murphy , Andy Gross , linux-fbdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Kiran Gunda Subject: [PATCH V10 1/8] backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c Date: Fri, 1 Nov 2019 11:56:57 +0530 Message-Id: <1572589624-6095-2-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1572589624-6095-1-git-send-email-kgunda@codeaurora.org> References: <1572589624-6095-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 Reviewed-by: Bjorn Andersson Acked-by: Rob Herring Acked-by: Daniel Thompson Acked-by: Pavel Machek --- .../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 40676be..73442bdf 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -282,12 +282,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 63c507c..6f87770 100644 --- a/drivers/video/backlight/Makefile +++ b/drivers/video/backlight/Makefile @@ -48,8 +48,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