Received: by 10.192.165.148 with SMTP id m20csp1639523imm; Thu, 3 May 2018 02:59:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqTLLZRM+Q92CvtolRhzjWPIPn6oXiG6G3lhP/H2BEgIAcX1IghetNAcoTkZZW3whrrUCig X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr23246950plv.52.1525341555031; Thu, 03 May 2018 02:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525341554; cv=none; d=google.com; s=arc-20160816; b=L4gYUyqBVBpHSnoi9DAjbPUphqCx9gizMrm/TJF7DVm7nJo80ZoNIijEyrjFcd8nL2 SA6kokYAizPW1/viV1iklJ7EyswNmGpXCRHUySyYjWqNOxScpG2SjeEBSSz2aZ3BM6ED X/PsDgzzhOOn6AHtj0P/xHWk1qGninLvasJcpbXj8w3sQ8i7SPDl4NUYDLn5iDaXbRq6 041htBR7jdxVSRlH5ikXMONySLbN5t5g+bGqiCc7wob0XB1DaVXsDd9fgCjkQxXEH9mb DdgR4LO3pggHzldImWBMH0IyTj/M954Emr1GOQeDjqemibMjRA8FxuE9GhzVogI5FAEO Z2yw== 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=CCbqwVr/+CTauq1EGhxVURvps0WOhngfSyeweD8O1Gg=; b=ojyGYdVM0sRepuxfm+BUHtnqXJGfkahMDqzCmcoUz4Bc3kS8Y3arXc5SY0WjelZSO1 3l9vCDfY7bjiZn98JMTzRGpNcBGb7DHi9txTncfcAqvE1mL5JMSoLG6u4imM3UpUG72M RoHXlpogw3f8PGNaGdouI4xA1wQvFTnoU8b3+AndCwpfifhN8BHGDMI1YpBOrpO1Gfgm ClRy/ML3GBBAXkI+vAJoYqyYZRhNhuDNWc8xt/spdAzAOQi4HfxYddT25Or6nAYsUGRX CDHcDAQoDxwedlbWdnPlM5vIfV1iI2FBoyWPMTNmcUytcwp2bFaqKzIt/9a1enP+gBJD H8Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ATu3NzUZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=HhWTf52G; 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 v26-v6si11061352pgc.230.2018.05.03.02.59.01; Thu, 03 May 2018 02:59:14 -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=ATu3NzUZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=HhWTf52G; 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 S1751646AbeECJ6b (ORCPT + 99 others); Thu, 3 May 2018 05:58:31 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42520 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751079AbeECJ62 (ORCPT ); Thu, 3 May 2018 05:58:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1DDBE607CF; Thu, 3 May 2018 09:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525341508; bh=CiMEC7pFA968BPcpo6jAAm6y4EapsbPjxSImVZ+MgAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ATu3NzUZ6sB5DM8U6esXvymf9e0oM7hSEvfkwu3LYKOQxKpO9GGSpOZIzeWjspDQC nXd1kljg6GlY+fP9f7HXPoR/9yg9yJw2AEnQUL8G8Bxxys0uFoOpNRe2KI9bKLTwej iCiGD5wXCTEphcFxkMgwZ1MWPbETY7QNkRi4eQuU= 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 41030607A2; Thu, 3 May 2018 09:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525341507; bh=CiMEC7pFA968BPcpo6jAAm6y4EapsbPjxSImVZ+MgAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HhWTf52GetaxglV5aq8zoZ8ivTo4IFU0w/oF2YYsDWmeCbSMcUVRobLUFKl6kwRUn PQu4AWcsmk84KTQxMhKHlSQwjL2X8ITNeTuP92E/vSQnnCcJY9FvNbTvj/tRjpILe/ k8PYwgtWHuIAlwf5ebG4VOnERF+yA0dNTlsbrsfU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 41030607A2 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, Lee Jones , Daniel Thompson , Jingoo Han , Jacek Anaszewski , Pavel Machek , Rob Herring , Mark Rutland , Bartlomiej Zolnierkiewicz , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, Kiran Gunda Subject: [PATCH V1 1/5] qcom: wled: Rename pm8941-wled.c to qcom-wled.c Date: Thu, 3 May 2018 15:27:08 +0530 Message-Id: <1525341432-15818-2-git-send-email-kgunda@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525341432-15818-1-git-send-email-kgunda@codeaurora.org> References: <1525341432-15818-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