From: Biju Das <biju.das.jz@bp.renesas.com>
To: "Uwe Kleine-König" <ukleinek@kernel.org>
Cc: kernel test robot <lkp@intel.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>,
"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: RE: [PATCH v23 3/4] pwm: Add support for RZ/G2L GPT
Date: Wed, 26 Feb 2025 09:20:40 +0000 [thread overview]
Message-ID: <TYCPR01MB11332CCA52D52AA982BCDBFA486C22@TYCPR01MB11332.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <hb7agtiqcuotiie646a2nzwg2cfwmahtgzzexxsf4tqu3rztf6@qqq2a7qkazh5>
Hi Uwe,
Thanks for the feedback.
> -----Original Message-----
> From: Uwe Kleine-König <ukleinek@kernel.org>
> Sent: 21 February 2025 09:08
> Subject: Re: [PATCH v23 3/4] pwm: Add support for RZ/G2L GPT
>
> Hello Biju,
>
> On Thu, Jan 09, 2025 at 09:32:58AM +0000, Biju Das wrote:
> > > On Wed, Jan 08, 2025 at 02:13:09PM +0000, Biju Das wrote:
> > > > Please let me know, if there is any feedback for this patch series
> > > > or any new API to be adapted in next kernel version which
> > > > simplifies the code, So that I can send next
> > > version.
> > >
> > > I didn't look, but if you're ambitious you can convert your driver to the waveform callbacks.
> >
> > Is it ok, after the acceptance of initial version, will switch to
> > waveform callbacks to enable the users of GPT(Reason: lot of customers are using GPT for backlight
> for LCD panels)?
> >
> > Please let me know.
>
> I'd still accept your driver with the legacy callbacks, mostly because your effort is already that old
> (which I consider my fault mostly).
OK.
>
> > Is there any documentation available for waveform callback? What
> > scenarios we can use Waveform callbacks compared to traditional one?
>
> There is no nice documentation available yet. The improvements include:
>
> - arbitrary offsets for the duty cycle, so the active phase doesn't
> need to be at the start or the end of a period any more
> - consumers can query the result of a configuration request (before and
> also after the request was issued).
>
> Both are of little importance if your focus is mostly backlights.
Mostly RZ/G2L GPT users are backlights. So, from RZ/G2L usecase point, legacy
callback is sufficient.
Later, I will switch to waveform callbacks, for complex GPT usecase support for next
SoCs(eg: RZ/G3E).
Cheers,
Biju
next prev parent reply other threads:[~2025-02-26 9:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-17 13:29 [PATCH v23 0/4] " Biju Das
2024-12-17 13:29 ` [PATCH v23 1/4] dt-bindings: pwm: Add RZ/G2L GPT binding Biju Das
2024-12-17 13:29 ` [PATCH v23 2/4] dt-bindings: pwm: rzg2l-gpt: Document renesas,poegs property Biju Das
2024-12-17 13:29 ` [PATCH v23 3/4] pwm: Add support for RZ/G2L GPT Biju Das
2024-12-18 15:58 ` kernel test robot
2025-01-08 14:13 ` Biju Das
2025-01-09 9:23 ` Uwe Kleine-König
2025-01-09 9:32 ` Biju Das
2025-02-21 8:21 ` Biju Das
2025-02-21 9:08 ` Uwe Kleine-König
2025-02-26 9:20 ` Biju Das [this message]
2024-12-17 13:29 ` [PATCH v23 4/4] pwm: rzg2l-gpt: Add support for gpt linking with poeg Biju Das
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=TYCPR01MB11332CCA52D52AA982BCDBFA486C22@TYCPR01MB11332.jpnprd01.prod.outlook.com \
--to=biju.das.jz@bp.renesas.com \
--cc=geert+renesas@glider.be \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lkp@intel.com \
--cc=magnus.damm@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=ukleinek@kernel.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
all inboxes | Powered by JetHome®