All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Brown <doug@schmorgal.com>
To: "Thierry Reding" <thierry.reding@gmail.com>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: linux-pwm@vger.kernel.org, Doug Brown <doug@schmorgal.com>
Subject: [PATCH 0/2] pwm: pxa: Fixes for enable/disable transitions
Date: Sat,  1 Oct 2022 23:15:50 -0700	[thread overview]
Message-ID: <20221002061552.45479-1-doug@schmorgal.com> (raw)

I ran into a couple of problems while getting this driver working on the
PXA168. It wouldn't always activate properly when I turned it on, and it
wouldn't always deactivate properly when I turned it off. These patches
fix issues with the clock enable/disable transitions.

With these patches applied, the driver works flawlessly with my use
cases on the PXA168. I don't have any other PXAxxx devices to test with.

Doug Brown (2):
  pwm: pxa: Enable clock before applying config
  pwm: pxa: Set duty cycle to 0 before disabling

 drivers/pwm/pwm-pxa.c | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-10-02  6:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-02  6:15 Doug Brown [this message]
2022-10-02  6:15 ` [PATCH 1/2] pwm: pxa: Enable clock before applying config Doug Brown
2022-10-02 15:04   ` Uwe Kleine-König
2022-10-02 20:44     ` Doug Brown
2022-10-02  6:15 ` [PATCH 2/2] pwm: pxa: Set duty cycle to 0 before disabling Doug Brown

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=20221002061552.45479-1-doug@schmorgal.com \
    --to=doug@schmorgal.com \
    --cc=linux-pwm@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.