From: Lee Jones <lee@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Cc: Fabrice Gasnier <fabrice.gasnier@foss.st.com>,
William Breathitt Gray <wbg@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
linux-pwm@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Thorsten Scherer <T.Scherer@eckelmann.de>
Subject: Re: [PATCH v2 3/5] counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x)
Date: Thu, 20 Jun 2024 18:38:38 +0100 [thread overview]
Message-ID: <20240620173838.GB1318296@google.com> (raw)
In-Reply-To: <imyuhtcsjrbyodsndzbaqfwa4jxny25eylfdh4u4xtsiotsk5g@45l556pcrzys>
On Thu, 20 Jun 2024, Uwe Kleine-König wrote:
> Hello Lee,
>
> On Thu, Jun 20, 2024 at 09:44:51AM +0100, Lee Jones wrote:
> > On Wed, 19 Jun 2024, Uwe Kleine-König wrote:
> >
> > > These two defines have the same purpose and this change doesn't
> > > introduce any differences in drivers/counter/stm32-timer-cnt.o.
> > >
> > > The only difference between the two is that
> > >
> > > TIM_DIER_CC_IE(1) == TIM_DIER_CC2IE
> > >
> > > while
> > >
> > > TIM_DIER_CCxIE(1) == TIM_DIER_CC1IE
> > >
> > > . That makes it necessary to have an explicit "+ 1" in the user code,
> > > but IMHO this is a good thing as this is the code locatation that
> > > "knows" that for software channel 1 you have to use TIM_DIER_CC2IE
> > > (because software guys start counting at 0, while the relevant hardware
> > > designer started at 1).
> > >
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> > > ---
> > > drivers/counter/stm32-timer-cnt.c | 4 ++--
> > > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > Did you drop William's Ack on purpose?
>
> Yes, because a) I was unsure what he didn't like about the subject, and
> (more importantly) b) I split the patch in question. I should have
> written that in the cover letter, sorry.
>
> (Note I only announced to have fixed the subject prefix of the pwm
> patch. I assume you won't include that in your pull request, but if you
> do, please do s/-/: / on it. That's another thing I failed with for this
> series.)
Which patches need to be in the pull-request and which can be hoovered
up by their associated subsystems?
--
Lee Jones [李琼斯]
next prev parent reply other threads:[~2024-06-20 17:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 10:11 [PATCH v2 0/5] mfd: stm32-timers: Make register definition more flexible Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 1/5] mfd: stm32-timers: Unify alignment of register definition Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 2/5] mfd: stm32-timers: Add some register definitions with a parameter Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 3/5] counter: stm32-timer-cnt: Use TIM_DIER_CCxIE(x) instead of TIM_DIER_CCxIE(x) Uwe Kleine-König
2024-06-20 8:44 ` Lee Jones
2024-06-20 8:59 ` William Breathitt Gray
2024-06-20 9:32 ` Lee Jones
2024-06-20 10:34 ` Uwe Kleine-König
2024-06-20 17:38 ` Lee Jones [this message]
2024-06-20 20:56 ` Uwe Kleine-König
2024-06-26 19:43 ` Uwe Kleine-König
2024-06-26 19:55 ` Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 4/5] mfd: stm32-timers: Drop unused TIM_DIER_CC_IE Uwe Kleine-König
2024-06-19 10:11 ` [PATCH v2 5/5] pwm-stm32: Make use of parametrised register definitions Uwe Kleine-König
2024-06-26 15:13 ` [PATCH v2 0/5] mfd: stm32-timers: Make register definition more flexible Lee Jones
2024-06-28 14:28 ` [GIT PULL] Immutable branch between MFD and Counter due for the v5.11 merge window Lee Jones
2024-06-28 15:31 ` Uwe Kleine-König
2024-07-03 1:44 ` William Breathitt Gray
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=20240620173838.GB1318296@google.com \
--to=lee@kernel.org \
--cc=T.Scherer@eckelmann.de \
--cc=alexandre.torgue@foss.st.com \
--cc=fabrice.gasnier@foss.st.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=u.kleine-koenig@baylibre.com \
--cc=wbg@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 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.