mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Vishnu Saini <vishnu.saini@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
	Pavel Machek <pavel@kernel.org>,
	Griffin Kroah-Hartman <griffin@kroah.com>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	venkata.valluru@oss.qualcomm.com,
	Jessica Zhang <jesszhan0024@gmail.com>
Subject: Re: [PATCH 4/7] leds: qcom-lpg: Add PM7550 PWM compatible
Date: Tue, 1 Dec 2026 13:44:05 +0100	[thread overview]
Message-ID: <3ab7abcd-c8c0-4284-91ac-73983d938a82@oss.qualcomm.com> (raw)
In-Reply-To: <20261127-eliza_disp_all-v1-4-a18be7f65fd4@oss.qualcomm.com>

On 11/27/26 9:49 AM, Vishnu Saini wrote:
> PM7550 provides an LPG block compatible with the PM8350C PWM programming
> model.
> 
> Add the PM7550 PWM compatible to the LPG OF match table and reuse the
> existing PM8350C PWM data.
> 
> Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
> ---
>  drivers/leds/rgb/leds-qcom-lpg.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c
> index 98e39e03b9a1..6c9cbc75bbfb 100644
> --- a/drivers/leds/rgb/leds-qcom-lpg.c
> +++ b/drivers/leds/rgb/leds-qcom-lpg.c
> @@ -1827,6 +1827,7 @@ static const struct of_device_id lpg_of_table[] = {
>  	{ .compatible = "qcom,pm660l-lpg", .data = &pm660l_lpg_data },
>  	{ .compatible = "qcom,pm8150b-lpg", .data = &pm8150b_lpg_data },
>  	{ .compatible = "qcom,pm8150l-lpg", .data = &pm8150l_lpg_data },
> +	{ .compatible = "qcom,pm7550-pwm", .data = &pm8350c_pwm_data },

This is out of sorting order. Are the PM7550 and PM8350C blocks
1:1 identical? In that case, you could use a fallback compatible

Konrad

>  	{ .compatible = "qcom,pm8350c-pwm", .data = &pm8350c_pwm_data },
>  	{ .compatible = "qcom,pm8916-pwm", .data = &pm8916_pwm_data },
>  	{ .compatible = "qcom,pm8941-lpg", .data = &pm8941_lpg_data },
> 

  reply	other threads:[~2026-12-01 12:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:49 [PATCH 0/7] arm64: dts: qcom: eliza-evk: Add display support Vishnu Saini
2026-11-27  8:49 ` [PATCH 1/7] arm64: dts: qcom: eliza-evk: Enable HDMI output Vishnu Saini
2026-12-01 12:42   ` Konrad Dybcio
2026-11-27  8:49 ` [PATCH 2/7] arm64: dts: qcom: eliza-evk: Add DLC0697 DSI0 overlay Vishnu Saini
2026-12-01 12:43   ` Konrad Dybcio
2026-11-27  8:49 ` [PATCH 3/7] dt-bindings: leds: qcom-lpg: Add PM7550 PWM compatible Vishnu Saini
2026-11-27  8:49 ` [PATCH 4/7] " Vishnu Saini
2026-12-01 12:44   ` Konrad Dybcio [this message]
2026-11-27  8:49 ` [PATCH 5/7] arm64: dts: qcom: eliza-evk: Add AUO G133HAN01 LVDS overlay Vishnu Saini
2026-12-01 12:45   ` Konrad Dybcio
2026-11-27  8:49 ` [PATCH 6/7] arm64: dts: qcom: eliza-evk: Add RPi 7-inch DSI0 overlay Vishnu Saini
2026-11-27  8:49 ` [PATCH 7/7] arm64: dts: qcom: eliza-evk: Add Waveshare 8-inch " Vishnu Saini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ab7abcd-c8c0-4284-91ac-73983d938a82@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=griffin@kroah.com \
    --cc=jesszhan0024@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=pavel@kernel.org \
    --cc=robh@kernel.org \
    --cc=venkata.valluru@oss.qualcomm.com \
    --cc=vishnu.saini@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®