Message ID | 20221226-msm8953-6-2-wled-v1-1-e318d4c71d05@z3ntu.xyz |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2436674wrn; Mon, 6 Feb 2023 12:09:32 -0800 (PST) X-Google-Smtp-Source: AK7set8JfAr1HwEdxOkZFC8mWYnkpbhqBQ2b9YE3lqeJ9oSuvsTJicRhZE3F0vi/yyPFxQUq0N5k X-Received: by 2002:a17:907:8c8a:b0:883:258d:2951 with SMTP id td10-20020a1709078c8a00b00883258d2951mr1285047ejc.4.1675714172811; Mon, 06 Feb 2023 12:09:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675714172; cv=none; d=google.com; s=arc-20160816; b=vSiETtIRwjT9fQkqpJgLuOV3XJ4fd7/q6LMgWuw8zs9l+uhkR+/bptvUOADJvrBx7Z RLyJzH6UnSIqqfmQAsE4bbVk2mXtDw2c6fLzo4AjTcLsWglOI8dQLCrGVUH5QNIeSaIw PdKjFyPA6jivg0KcFUB8Kwo7jfZzQhTmIPiZc346JXdtDTO3rrYPs7rrWdPyw+txy64A RXOfsArpqwer8V0rseJNVBYCTtP0t0cebLeLBFFS6mXyKr0wBnHifw14KfMU3sHR4dNT XCLqSW10WBc5ri4sBJUT5+EISX2P01dcQrtY+TLlpnk3j1D8B8fLYCq7a282qGTXV4BS x3eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=1Hs9/nhWdJDe158nyzGWMjY0c2BHkaAZiE9vfykikCI=; b=G4NeYtHXledqD1J+z52rf6DdgZRZTAjaDjdLx0Qzn2zDCfRmorhuCWKxTLgbRRjHEH +JqoRufaebCbwiynYmJEuvAVQa6Mss+WmD2u811l+sgVgj/eks+2ZWk1h3HE+LjuPxHZ dEGSlsG0+az+mlnrweE9uWbihLAeFs0FtjiS/ctvCTXpC49dDLu0tuSOPk5Sv0oNpy5N pOn2ZJUgqu3PtrZ9UCf8X0k5R0PsQqTqAN2D1HObbB6g9mievBVcAnki4x7k/NbYW8cW ZGU+RFnHYvosRwmgxy63xHcea0ba6uoqG7hX88QOJp0tMdyO69WeyHEGABSRjwTo2t1x 0TXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=tKqFR6U7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fd15-20020a1709072a0f00b0089360b42b59si8907105ejc.479.2023.02.06.12.09.09; Mon, 06 Feb 2023 12:09:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=tKqFR6U7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229973AbjBFUAA (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Mon, 6 Feb 2023 15:00:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230167AbjBFT7z (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Feb 2023 14:59:55 -0500 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D9825962; Mon, 6 Feb 2023 11:59:49 -0800 (PST) Received: from [192.168.178.23] (unknown [62.108.10.64]) by mail.z3ntu.xyz (Postfix) with ESMTPSA id 040F5CD0C5; Mon, 6 Feb 2023 19:59:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1675713557; bh=YAA9rHwEkOLJaOcAUYlj6+0wa5Hydp2D/H7mATvbTrs=; h=From:Date:Subject:To:Cc; b=tKqFR6U77OTqstAkqc4vo1XEPa6BWNizx4FrScJppofjOeX8oDMl1P6bDfm7AZo5P 5OeVH+6UfkHEj2+J6eFlls6yLabYd3AQTpmixZ0Mx3zouKbOVpQ4xghqYmzKpS2xcK +HZryf651keyUQZrCSeaVEzqZ/y50dikqV8Mi4GQ= From: Luca Weiss <luca@z3ntu.xyz> Date: Mon, 06 Feb 2023 20:58:30 +0100 Subject: [PATCH] backlight: qcom-wled: Add PMI8950 compatible MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20221226-msm8953-6-2-wled-v1-1-e318d4c71d05@z3ntu.xyz> X-B4-Tracking: v=1; b=H4sIAOVb4WMC/z2NQQrCMBAAv1L27JZka4P1K+IhaTZ2wUbJghZK/ 97Ug8eBGWYF5SKscG1WKPwRlVeuYE8NjJPPD0aJlYEMkSVyOOt8GfoOHRJ+nxyxT4NzIflzDB3 ULHhlDMXncTrCv9+a1ppDeBdOsvyet/u27XBJWt2DAAAA To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Lee Jones <lee@kernel.org>, Daniel Thompson <daniel.thompson@linaro.org>, Jingoo Han <jingoohan1@gmail.com>, Helge Deller <deller@gmx.de> Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss <luca@z3ntu.xyz> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1141; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=YAA9rHwEkOLJaOcAUYlj6+0wa5Hydp2D/H7mATvbTrs=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBj4VwQ1sqTedK0Bt8ocPrVnmBVs5dhpkKuSGowg OkxPIbDK4eJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCY+FcEAAKCRBy2EO4nU3X VlXgD/9WAJwsC+gXcyebNw/UlnmkmjENHKMLER3oY+/btVXL6wnQI3snEaY1rFqi74RDsqZ3rj5 2K8E+H4dxIoQaCK048FjXSXb8V0+9AEH1bBkFQ8bSNGXBGPEVnC1uzkY5JpBGvGQeXJgxF9FThI f8cjkr0traDKBZWFSFJc6Kzj/h9dsrOSCt0pDoIxzFoyG9yeWet2H1UHYtsW0IeOPeEpGtQaWA/ 7a6WVB0TeE4FzShG0REzZI1vuEsaogFlf34T+C+GlccDtdv8BTFo78H7PO7rq6B6oBwXgIxqcQ7 EECX0f/e/unpMd4hsjK4ZNS54ZCLWUWdf39Env2wn7WP2ON4RvUz8t8TQWjhGOB6IM2jJ19K5qM eQ4r553HXq77V0DAIDZkHxmutZe9AGxtaY6DSb7zfUJuhAgRofPbXq9uNx0nklPx/VXIRm8haAW OogoMTgaZgUh5IP/AU0ZXgI0Z8e59s30P77ylKbwG8mXjL49Jr18Qe/hU6gw2QlXHQ/rwxlFORN /88PN8GAes8kd1tUBRA1C51xpnlH2Ixd6D3wxKWVpoWP2n4dlpCz1hltVwA+coAVRtF7MAojRB3 VRVziIw9Q1SJ2pauruo6xToI/rkqKhsfuVKZHN6rgkmNxkZt2JV0gQb34/iit9CHyE27HPV5clF 18SQD/mIOf2ZQoA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757113664121914968?= X-GMAIL-MSGID: =?utf-8?q?1757113664121914968?= |
Series |
backlight: qcom-wled: Add PMI8950 compatible
|
|
Commit Message
Luca Weiss
Feb. 6, 2023, 7:58 p.m. UTC
PMI8950 contains WLED of version 4. Add support for it to the driver.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
While adding dt-bindings and dts in a previous series I forgot to add the
compatible to the driver. Fix that now.
---
drivers/video/backlight/qcom-wled.c | 1 +
1 file changed, 1 insertion(+)
---
base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2
change-id: 20221226-msm8953-6-2-wled-5f966bfa4db3
Best regards,
Comments
On Mon, Feb 06, 2023 at 08:58:30PM +0100, Luca Weiss wrote: > PMI8950 contains WLED of version 4. Add support for it to the driver. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> > --- > While adding dt-bindings and dts in a previous series I forgot to add the > compatible to the driver. Fix that now. > --- > 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 527210e85795..5f504883aca5 100644 > --- a/drivers/video/backlight/qcom-wled.c > +++ b/drivers/video/backlight/qcom-wled.c > @@ -1731,6 +1731,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,pmi8950-wled", .data = (void *)4 }, > { .compatible = "qcom,pmi8994-wled", .data = (void *)4 }, > { .compatible = "qcom,pmi8998-wled", .data = (void *)4 }, > { .compatible = "qcom,pm660l-wled", .data = (void *)4 }, > > --- > base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 > change-id: 20221226-msm8953-6-2-wled-5f966bfa4db3 > > Best regards, > -- > Luca Weiss <luca@z3ntu.xyz> >
On Mon, 06 Feb 2023, Luca Weiss wrote: > PMI8950 contains WLED of version 4. Add support for it to the driver. > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz> > --- > While adding dt-bindings and dts in a previous series I forgot to add the > compatible to the driver. Fix that now. > --- > drivers/video/backlight/qcom-wled.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks
diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 527210e85795..5f504883aca5 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -1731,6 +1731,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,pmi8950-wled", .data = (void *)4 }, { .compatible = "qcom,pmi8994-wled", .data = (void *)4 }, { .compatible = "qcom,pmi8998-wled", .data = (void *)4 }, { .compatible = "qcom,pm660l-wled", .data = (void *)4 },