From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Satya Priya <quic_c_skakit@quicinc.com>
Cc: Pavel Machek <pavel@ucw.cz>, Rob Herring <robh+dt@kernel.org>,
Stephen Boyd <swboyd@chromium.org>,
Matthias Kaehlcke <mka@chromium.org>,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
Doug Anderson <dianders@chromium.org>
Subject: Re: [PATCH V4 2/4] leds: Add pm8350c support to Qualcomm LPG driver
Date: Tue, 22 Feb 2022 09:59:12 -0800 [thread overview]
Message-ID: <YhUkcH1dYXPDXA01@ripper> (raw)
In-Reply-To: <1645509309-16142-3-git-send-email-quic_c_skakit@quicinc.com>
On Mon 21 Feb 21:55 PST 2022, Satya Priya wrote:
> Add pm8350c compatible and lpg_data to the driver.
>
> Signed-off-by: Satya Priya <quic_c_skakit@quicinc.com>
> Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
> Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
> Changes in V2:
> - Added const for lpg_channel_data[] struct.
>
> Changes in V3:
> - Correct the num_channels and add respective base addresses.
>
> Changes in V4:
> - Remove .pwm_9bit_mask, add .triled_base and .triled_mask.
This changed the patch quite a bit. In general when this happen I would
suggest that you don't keep previously acquired Reviewed-bys.
Regards,
Bjorn
>
> drivers/leds/rgb/leds-qcom-lpg.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c
> index c1ad678..ab29610 100644
> --- a/drivers/leds/rgb/leds-qcom-lpg.c
> +++ b/drivers/leds/rgb/leds-qcom-lpg.c
> @@ -1374,9 +1374,22 @@ static const struct lpg_data pm8150l_lpg_data = {
> },
> };
>
> +static const struct lpg_data pm8350c_pwm_data = {
> + .triled_base = 0xef00,
> +
> + .num_channels = 4,
> + .channels = (const struct lpg_channel_data[]) {
> + { .base = 0xe800, .triled_mask = BIT(7) },
> + { .base = 0xe900, .triled_mask = BIT(6) },
> + { .base = 0xea00, .triled_mask = BIT(5) },
> + { .base = 0xeb00 },
> + },
> +};
> +
> static const struct of_device_id lpg_of_table[] = {
> { .compatible = "qcom,pm8150b-lpg", .data = &pm8150b_lpg_data },
> { .compatible = "qcom,pm8150l-lpg", .data = &pm8150l_lpg_data },
> + { .compatible = "qcom,pm8350c-pwm", .data = &pm8350c_pwm_data },
> { .compatible = "qcom,pm8916-pwm", .data = &pm8916_pwm_data },
> { .compatible = "qcom,pm8941-lpg", .data = &pm8941_lpg_data },
> { .compatible = "qcom,pm8994-lpg", .data = &pm8994_lpg_data },
> --
> 2.7.4
>
next prev parent reply other threads:[~2022-02-22 17:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-22 5:55 [PATCH V4 0/4] Add PM8350C PMIC PWM support for backlight Satya Priya
2022-02-22 5:55 ` [PATCH V4 1/4] dt-bindings: leds: Add pm8350c pmic support Satya Priya
2022-02-22 16:00 ` Bjorn Andersson
2022-02-22 5:55 ` [PATCH V4 2/4] leds: Add pm8350c support to Qualcomm LPG driver Satya Priya
2022-02-22 17:59 ` Bjorn Andersson [this message]
2022-02-22 19:42 ` Stephen Boyd
2022-03-01 17:21 ` Doug Anderson
2022-02-22 5:55 ` [PATCH V4 3/4] arm64: dts: qcom: pm8350c: Add pwm support Satya Priya
2022-02-22 17:59 ` Bjorn Andersson
2022-02-22 5:55 ` [PATCH V4 4/4] arm64: dts: qcom: Enable pm8350c pwm for sc7280-idp2 Satya Priya
2022-02-22 18:00 ` Bjorn Andersson
2022-05-04 13:45 ` [PATCH V4 0/4] Add PM8350C PMIC PWM support for backlight Doug Anderson
2022-05-04 16:23 ` Bjorn Andersson
2022-05-04 17:21 ` (subset) " Bjorn Andersson
2022-05-04 17:32 ` Pavel Machek
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=YhUkcH1dYXPDXA01@ripper \
--to=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=mka@chromium.org \
--cc=pavel@ucw.cz \
--cc=quic_c_skakit@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=swboyd@chromium.org \
/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