From: "Rafael V. Volkmer" <rafael.v.volkmer@gmail.com>
To: ukleinek@kernel.org
Cc: g-praveen@ti.com, j-keerthy@ti.com, linux-kernel@vger.kernel.org,
linux-pwm@vger.kernel.org, n-francis@ti.com,
rafael.v.volkmer@gmail.com, u-kumar1@ti.com
Subject: Re: [PATCH v2] pwm: tiehrpwm: Enable EHRPWM controller before setting configuration
Date: Sun, 18 Jan 2026 23:55:04 -0300 [thread overview]
Message-ID: <20260119025521.26212-1-rafael.v.volkmer@gmail.com> (raw)
In-Reply-To: <xdj2ceubkss3ingkxdvc64zqrcd3wzz2uxa6wqwgvilu2ykukc@hbn6tt2gnxj5>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]
Hello Uwe, Gokul,
Sorry for the late response, I was on vacation and away from my setup.
On Fri, 9 Jan 2026 23:53:22 +0100, Uwe Kleine-König wrote:
> That makes me think the problem isn't understood well yet and needs more
> research. @Rafael, does the problem reproduce for you with Gokul's
> recipe? (Or did you try that already? I understood your reply as "I
> didn't encounter the issue but also didn't test specifically for that.")
Right, my previous reply meant I hadn't explicitly targeted this issue yet.
I have now re-tested using Gokul's sysfs configuration sequence, but I still
cannot reproduce it on my setup.
> As I cannot reproduce the issue, can you please check if adding
>
> pm_runtime_get_sync(pwmchip_parent(chip));
>
> to the probe function makes the problem disappear? Also please boot with
>
> trace_event=pwm
>
> on the command line and provide the content of
> /sys/kernel/debug/tracing/trace after reproducing the problem.
Since I cannot reproduce the issue here, I can't validate whether adding
pm_runtime_get_sync() changes the behavior, and I don't have a failing
trace to share.
For reference, I ran the tests on an AM62P EVM using TI's default SDK
userspace, with a custom kernel on top, and U-Boot from the SDK. The
board was booted from SD card.
I used pwm1 instead of pwm0, since the PWM pin routed to the EVM 40-pin
header is ball B21 (SPI0_CLK / EHRPWM1_A). The signal was verified with a
logic analyzer at 24 MHz sampling rate.
This makes me suspect the behavior Gokul observed might depend on another
configuration interacting in parallel.
If possible, could Gokul try the same recipe on an AM62 EVM using TI's
default images and confirm whether the issue reproduces there? That is the
platform I am currently working with. This should either match the AM62P
results or help identify a relevant configuration difference.
Best regards,
Rafael V. Volkmer
next prev parent reply other threads:[~2026-01-19 2:55 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 5:53 Gokul Praveen
2026-01-07 9:51 ` Uwe Kleine-König
2026-01-07 10:23 ` Gokul Praveen
2026-01-07 19:47 ` Rafael V. Volkmer
2026-01-08 6:40 ` Gokul Praveen
2026-01-08 18:10 ` Uwe Kleine-König
2026-01-09 5:51 ` Gokul Praveen
2026-01-09 22:53 ` Uwe Kleine-König
2026-01-12 5:51 ` Gokul Praveen
2026-01-12 7:22 ` Uwe Kleine-König
2026-01-19 15:00 ` Kumar, Udit
2026-01-19 21:33 ` Uwe Kleine-König
2026-01-20 4:40 ` Kumar, Udit
2026-01-20 5:53 ` Gokul Praveen
2026-01-20 8:23 ` Uwe Kleine-König
2026-01-20 8:34 ` Gokul Praveen
2026-01-15 10:32 ` Gokul Praveen
2026-01-15 17:17 ` Uwe Kleine-König
2026-01-16 8:41 ` Gokul Praveen
2026-01-16 9:10 ` Gokul Praveen
2026-01-19 2:55 ` Rafael V. Volkmer [this message]
2026-01-19 6:48 ` Gokul Praveen
2026-01-15 5:20 ` Kumar, Udit
2026-01-15 6:14 ` Gokul Praveen
2026-01-15 7:46 ` 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=20260119025521.26212-1-rafael.v.volkmer@gmail.com \
--to=rafael.v.volkmer@gmail.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=u-kumar1@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®