mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kumar, Udit" <u-kumar1@ti.com>
To: "Gokul Praveen" <g-praveen@ti.com>,
	"Uwe Kleine-König" <ukleinek@kernel.org>
Cc: <j-keerthy@ti.com>, <linux-pwm@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <n-francis@ti.com>,
	<u-kumar1@ti.com>
Subject: Re: [PATCH v4] pwm: tiehrpwm: Enable pwmchip's parent device before setting configuration
Date: Fri, 23 Jan 2026 20:28:48 +0530	[thread overview]
Message-ID: <2b13ec3e-767f-454a-b344-87b7f1bfafb3@ti.com> (raw)
In-Reply-To: <7081d6d7-d2d9-4364-9df2-48961d465474@ti.com>

Hi Uwe/Gokul,

On 1/21/2026 4:19 PM, Gokul Praveen wrote:
> Hello Uwe,
>
> On 21/01/26 15:48, Uwe Kleine-König wrote:
>> Hello Gokul,
>>
>> On Wed, Jan 21, 2026 at 11:41:34AM +0530, Gokul Praveen wrote:
>>> The period and duty cycle configurations on J7200 and J784S4 SoCs
>>> does not get reflected after setting them using sysfs nodes.
>>> This is because at the end of ehrpwm_pwm_config function,
>>> the put_sync function is called which resets the hardware.
>>>
>>> Hold the PWM controller out of low-power mode during .apply() to
>>> make sure it accepts the writes to its registers.
>>>
>>> This renders the calls to pm_runtime_get_sync() and
>>> pm_runtime_put_sync() in ehrpwm_pwm_config() into no-ops, so
>>> these can be dropped.
>>>
>>> Fixes: 5f027d9b83db("pwm: tiehrpwm: Implement .apply() callback")
>>> Signed-off-by: Gokul Praveen <g-praveen@ti.com>
>>
>> I applied this patch to
>>
>>     https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git 
>> pwm/for-next
>>
>> and will send it during the next merge window. The problem is old
>> (v5.18-rc1~54^2~29 from 2021) and it's late in the development cycle, so
>> I won't bother Linus with it for 6.19.
>>
>
fyi,

We are hitting compilation error with this patch

https://gist.github.com/uditkumarti/d23bc9ee1886bfce70cc76e4b19fbb59


> Thank you for your continued support on this issue as well as for 
> accepting the patch.
>
> Best Regards
> Gokul Praveen
>> Best regards
>> Uwe
>

  reply	other threads:[~2026-01-23 14:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21  6:11 Gokul Praveen
2026-01-21 10:18 ` Uwe Kleine-König
2026-01-21 10:49   ` Gokul Praveen
2026-01-23 14:58     ` Kumar, Udit [this message]
2026-01-23 18:01       ` Uwe Kleine-König
2026-01-24  4:57         ` Kumar, Udit

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=2b13ec3e-767f-454a-b344-87b7f1bfafb3@ti.com \
    --to=u-kumar1@ti.com \
    --cc=g-praveen@ti.com \
    --cc=j-keerthy@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=n-francis@ti.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®