From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Hans de Goede" <hdegoede@redhat.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Thierry Reding <thierry.reding@gmail.com>
Subject: [PATCH v3 8/8] pwm: lpss: Add a comment to the bypass field
Date: Tue, 27 Sep 2022 17:47:23 +0300 [thread overview]
Message-ID: <20220927144723.9655-9-andriy.shevchenko@linux.intel.com> (raw)
In-Reply-To: <20220927144723.9655-1-andriy.shevchenko@linux.intel.com>
Add a comment to the bypass field based on the commit b997e3edca4f
("pwm: lpss: Set enable-bit before waiting for update-bit
to go low").
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
drivers/pwm/pwm-lpss.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h
index 839622964b2a..0249c01befd5 100644
--- a/drivers/pwm/pwm-lpss.h
+++ b/drivers/pwm/pwm-lpss.h
@@ -29,6 +29,11 @@ struct pwm_lpss_boardinfo {
unsigned long clk_rate;
unsigned int npwm;
unsigned long base_unit_bits;
+ /*
+ * Some versions of the IP may stuck in the state machine if enable
+ * bit is not set, and hence update bit will show busy status till
+ * the reset. For the rest it may be otherwise.
+ */
bool bypass;
/*
* On some devices the _PS0/_PS3 AML code of the GPU (GFX0) device
--
2.35.1
prev parent reply other threads:[~2022-09-27 14:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-27 14:47 [PATCH v3 0/8] pwm: lpss: Clean up and convert to a pure library Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 1/8] pwm: lpss: Deduplicate board info data structures Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 2/8] pwm: lpss: Move exported symbols to PWM_LPSS namespace Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 3/8] pwm: lpss: Move resource mapping to the glue drivers Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 4/8] pwm: lpss: Include headers we are direct user of Andy Shevchenko
2022-09-27 15:10 ` Uwe Kleine-König
2022-09-27 15:26 ` Andy Shevchenko
2022-09-27 15:55 ` Uwe Kleine-König
2022-09-27 16:18 ` Andy Shevchenko
2022-09-27 16:24 ` Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 5/8] pwm: lpss: Use device_get_match_data to get device data Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 6/8] pwm: lpss: Use DEFINE_RUNTIME_DEV_PM_OPS() and pm_ptr() macros Andy Shevchenko
2022-09-27 14:47 ` [PATCH v3 7/8] pwm: lpss: Make use of bits.h macros for all masks Andy Shevchenko
2022-09-27 14:47 ` Andy Shevchenko [this message]
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=20220927144723.9655-9-andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox