From patchwork Sun Feb 28 12:41:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 12108487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9790BC433E0 for ; Sun, 28 Feb 2021 22:56:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C695364DEF for ; Sun, 28 Feb 2021 22:56:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C695364DEF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=somainline.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE9B46E425; Sun, 28 Feb 2021 22:56:33 +0000 (UTC) Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [IPv6:2001:4b7a:2000:18::168]) by gabe.freedesktop.org (Postfix) with ESMTPS id 18F4E89D7D for ; Sun, 28 Feb 2021 12:42:14 +0000 (UTC) Received: from localhost.localdomain (abab236.neoplus.adsl.tpnet.pl [83.6.165.236]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id 1115E3EBAD; Sun, 28 Feb 2021 13:42:11 +0100 (CET) From: Konrad Dybcio To: phone-devel@vger.kernel.org Subject: [PATCH 2/2] video: backlight: qcom-wled: Add PMI8994 compatible Date: Sun, 28 Feb 2021 13:41:05 +0100 Message-Id: <20210228124106.135812-2-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210228124106.135812-1-konrad.dybcio@somainline.org> References: <20210228124106.135812-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 28 Feb 2021 22:56:33 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Daniel Thompson , Kiran Gunda , Jingoo Han , linux-arm-msm@vger.kernel.org, Konrad Dybcio , Andy Gross , dri-devel@lists.freedesktop.org, Bjorn Andersson , linux-fbdev@vger.kernel.org, Rob Herring , martin.botka@somainline.org, ~postmarketos/upstreaming@lists.sr.ht, Pavel Machek , angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Lee Jones , linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, Dan Murphy Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add a compatible for PMI8994 WLED. It uses the V4 of WLED IP. Signed-off-by: Konrad Dybcio Reviewed-by: Daniel Thompson --- drivers/video/backlight/qcom-wled.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 3bc7800eb0a9..497b9035a908 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -1704,6 +1704,7 @@ static int wled_remove(struct platform_device *pdev) static const struct of_device_id wled_match_table[] = { { .compatible = "qcom,pm8941-wled", .data = (void *)3 }, + { .compatible = "qcom,pmi8994-wled", .data = (void *)4 }, { .compatible = "qcom,pmi8998-wled", .data = (void *)4 }, { .compatible = "qcom,pm660l-wled", .data = (void *)4 }, { .compatible = "qcom,pm8150l-wled", .data = (void *)5 },