* [PATCH] iio: frequency:: Remove unused parameter from data documentation
@ 2025-04-17 14:32 Gabriel Shahrouzi
2025-04-17 15:53 ` Charalampos Mitrodimas
2025-04-17 16:17 ` David Lechner
0 siblings, 2 replies; 8+ messages in thread
From: Gabriel Shahrouzi @ 2025-04-17 14:32 UTC (permalink / raw)
To: gregkh, jic23, lars, linux-iio, linux-kernel, linux-staging,
Michael.Hennerich
Cc: gshahrouzi, skhan, linux-kernel-mentees
The AD9832 driver uses the Common Clock Framework (CCF) to obtain the
master clock (MCLK) frequency rather than relying on a frequency value
passed from platform data.
Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
---
drivers/staging/iio/frequency/ad9832.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/iio/frequency/ad9832.h b/drivers/staging/iio/frequency/ad9832.h
index 98dfbd9289ab8..d0d840edb8d27 100644
--- a/drivers/staging/iio/frequency/ad9832.h
+++ b/drivers/staging/iio/frequency/ad9832.h
@@ -13,7 +13,6 @@
/**
* struct ad9832_platform_data - platform specific information
- * @mclk: master clock in Hz
* @freq0: power up freq0 tuning word in Hz
* @freq1: power up freq1 tuning word in Hz
* @phase0: power up phase0 value [0..4095] correlates with 0..2PI
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 14:32 [PATCH] iio: frequency:: Remove unused parameter from data documentation Gabriel Shahrouzi
@ 2025-04-17 15:53 ` Charalampos Mitrodimas
2025-04-17 15:57 ` Charalampos Mitrodimas
2025-04-17 16:17 ` David Lechner
1 sibling, 1 reply; 8+ messages in thread
From: Charalampos Mitrodimas @ 2025-04-17 15:53 UTC (permalink / raw)
To: Gabriel Shahrouzi
Cc: skhan, linux-kernel-mentees, gregkh, jic23, lars, linux-iio,
linux-kernel, linux-staging, Michael.Hennerich
On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> The AD9832 driver uses the Common Clock Framework (CCF) to obtain the
> master clock (MCLK) frequency rather than relying on a frequency
> value
> passed from platform data.
>
> Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> ---
> drivers/staging/iio/frequency/ad9832.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/iio/frequency/ad9832.h
> b/drivers/staging/iio/frequency/ad9832.h
> index 98dfbd9289ab8..d0d840edb8d27 100644
> --- a/drivers/staging/iio/frequency/ad9832.h
> +++ b/drivers/staging/iio/frequency/ad9832.h
> @@ -13,7 +13,6 @@
>
> /**
> * struct ad9832_platform_data - platform specific information
> - * @mclk: master clock in Hz
Hi Gabriel,
This seems to be a leftover from
566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832: use
clock framework for clock reference")
> * @freq0: power up freq0 tuning word in Hz
> * @freq1: power up freq1 tuning word in Hz
> * @phase0: power up phase0 value [0..4095] correlates
> with 0..2PI
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 15:53 ` Charalampos Mitrodimas
@ 2025-04-17 15:57 ` Charalampos Mitrodimas
2025-04-17 16:47 ` Jonathan Cameron
2025-04-17 17:17 ` Gabriel Shahrouzi
0 siblings, 2 replies; 8+ messages in thread
From: Charalampos Mitrodimas @ 2025-04-17 15:57 UTC (permalink / raw)
To: Gabriel Shahrouzi
Cc: skhan, linux-kernel-mentees, gregkh, jic23, lars, linux-iio,
linux-kernel, linux-staging, Michael.Hennerich
On Thu, 2025-04-17 at 15:53 +0000, Charalampos Mitrodimas wrote:
> On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> > The AD9832 driver uses the Common Clock Framework (CCF) to obtain
> > the
> > master clock (MCLK) frequency rather than relying on a frequency
> > value
> > passed from platform data.
> >
> > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > ---
> > drivers/staging/iio/frequency/ad9832.h | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/staging/iio/frequency/ad9832.h
> > b/drivers/staging/iio/frequency/ad9832.h
> > index 98dfbd9289ab8..d0d840edb8d27 100644
> > --- a/drivers/staging/iio/frequency/ad9832.h
> > +++ b/drivers/staging/iio/frequency/ad9832.h
> > @@ -13,7 +13,6 @@
> >
> > /**
> > * struct ad9832_platform_data - platform specific information
> > - * @mclk: master clock in Hz
>
> Hi Gabriel,
>
> This seems to be a leftover from
> 566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832: use
> clock framework for clock reference")
That said, a Fixes: tag might be helpful?
>
>
>
> > * @freq0: power up freq0 tuning word in Hz
> > * @freq1: power up freq1 tuning word in Hz
> > * @phase0: power up phase0 value [0..4095] correlates
> > with 0..2PI
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 14:32 [PATCH] iio: frequency:: Remove unused parameter from data documentation Gabriel Shahrouzi
2025-04-17 15:53 ` Charalampos Mitrodimas
@ 2025-04-17 16:17 ` David Lechner
2025-04-17 17:22 ` Gabriel Shahrouzi
1 sibling, 1 reply; 8+ messages in thread
From: David Lechner @ 2025-04-17 16:17 UTC (permalink / raw)
To: Gabriel Shahrouzi, gregkh, jic23, lars, linux-iio, linux-kernel,
linux-staging, Michael.Hennerich
Cc: skhan, linux-kernel-mentees
On 4/17/25 9:32 AM, Gabriel Shahrouzi wrote:
> The AD9832 driver uses the Common Clock Framework (CCF) to obtain the
> master clock (MCLK) frequency rather than relying on a frequency value
> passed from platform data.
>
> Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> ---
> drivers/staging/iio/frequency/ad9832.h | 1 -
> 1 file changed, 1 deletion(-)
>
Please include the driver name in your patch subjects. Otherwise readers will
assume that this is something that affects all IIO frequency drivers. I noticed
you are doing this on all of the patches you are sending, not just this one.
[PATCH] iio: frequency: ad9832: Remove unused parameter from data documentation
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 15:57 ` Charalampos Mitrodimas
@ 2025-04-17 16:47 ` Jonathan Cameron
2025-04-17 17:17 ` Gabriel Shahrouzi
1 sibling, 0 replies; 8+ messages in thread
From: Jonathan Cameron @ 2025-04-17 16:47 UTC (permalink / raw)
To: Charalampos Mitrodimas
Cc: Gabriel Shahrouzi, skhan, linux-kernel-mentees, gregkh, jic23,
lars, linux-iio, linux-kernel, linux-staging, Michael.Hennerich
On Thu, 17 Apr 2025 15:57:48 +0000
Charalampos Mitrodimas <charmitro@posteo.net> wrote:
> On Thu, 2025-04-17 at 15:53 +0000, Charalampos Mitrodimas wrote:
> > On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> > > The AD9832 driver uses the Common Clock Framework (CCF) to obtain
> > > the
> > > master clock (MCLK) frequency rather than relying on a frequency
> > > value
> > > passed from platform data.
> > >
> > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > > ---
> > > drivers/staging/iio/frequency/ad9832.h | 1 -
> > > 1 file changed, 1 deletion(-)
> > >
> > > diff --git a/drivers/staging/iio/frequency/ad9832.h
> > > b/drivers/staging/iio/frequency/ad9832.h
> > > index 98dfbd9289ab8..d0d840edb8d27 100644
> > > --- a/drivers/staging/iio/frequency/ad9832.h
> > > +++ b/drivers/staging/iio/frequency/ad9832.h
> > > @@ -13,7 +13,6 @@
> > >
> > > /**
> > > * struct ad9832_platform_data - platform specific information
> > > - * @mclk: master clock in Hz
> >
> > Hi Gabriel,
> >
> > This seems to be a leftover from
> > 566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832: use
> > clock framework for clock reference")
>
> That said, a Fixes: tag might be helpful?
Not for a documentation fix in a staging driver. A reference
in the commit message is fine though.
Fixes tags tend to make people look at is as a possible thing to backport
and this is not something where that makes sense.
Jonathan
>
> >
> >
> >
> > > * @freq0: power up freq0 tuning word in Hz
> > > * @freq1: power up freq1 tuning word in Hz
> > > * @phase0: power up phase0 value [0..4095] correlates
> > > with 0..2PI
> >
> >
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 15:57 ` Charalampos Mitrodimas
2025-04-17 16:47 ` Jonathan Cameron
@ 2025-04-17 17:17 ` Gabriel Shahrouzi
2025-04-17 17:26 ` Charalampos Mitrodimas
1 sibling, 1 reply; 8+ messages in thread
From: Gabriel Shahrouzi @ 2025-04-17 17:17 UTC (permalink / raw)
To: Charalampos Mitrodimas
Cc: skhan, linux-kernel-mentees, gregkh, jic23, lars, linux-iio,
linux-kernel, linux-staging, Michael.Hennerich
On Thu, Apr 17, 2025 at 11:57 AM Charalampos Mitrodimas
<charmitro@posteo.net> wrote:
>
> On Thu, 2025-04-17 at 15:53 +0000, Charalampos Mitrodimas wrote:
> > On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> > > The AD9832 driver uses the Common Clock Framework (CCF) to obtain
> > > the
> > > master clock (MCLK) frequency rather than relying on a frequency
> > > value
> > > passed from platform data.
> > >
> > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > > ---
> > > drivers/staging/iio/frequency/ad9832.h | 1 -
> > > 1 file changed, 1 deletion(-)
> > >
> > > diff --git a/drivers/staging/iio/frequency/ad9832.h
> > > b/drivers/staging/iio/frequency/ad9832.h
> > > index 98dfbd9289ab8..d0d840edb8d27 100644
> > > --- a/drivers/staging/iio/frequency/ad9832.h
> > > +++ b/drivers/staging/iio/frequency/ad9832.h
> > > @@ -13,7 +13,6 @@
> > >
> > > /**
> > > * struct ad9832_platform_data - platform specific information
> > > - * @mclk: master clock in Hz
> >
> > Hi Gabriel,
> >
> > This seems to be a leftover from
> > 566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832: use
> > clock framework for clock reference")
Ah ok. I will include this in the body as a reference. I guess for
small clean up patches like this, they would have been most likely to
be included in a larger patch that covered other changes but
forgotten. In this case, should they be referenced?
>
> That said, a Fixes: tag might be helpful?
>
> >
> >
> >
> > > * @freq0: power up freq0 tuning word in Hz
> > > * @freq1: power up freq1 tuning word in Hz
> > > * @phase0: power up phase0 value [0..4095] correlates
> > > with 0..2PI
> >
> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 16:17 ` David Lechner
@ 2025-04-17 17:22 ` Gabriel Shahrouzi
0 siblings, 0 replies; 8+ messages in thread
From: Gabriel Shahrouzi @ 2025-04-17 17:22 UTC (permalink / raw)
To: David Lechner
Cc: gregkh, jic23, lars, linux-iio, linux-kernel, linux-staging,
Michael.Hennerich, skhan, linux-kernel-mentees
On Thu, Apr 17, 2025 at 12:17 PM David Lechner <dlechner@baylibre.com> wrote:
>
> On 4/17/25 9:32 AM, Gabriel Shahrouzi wrote:
> > The AD9832 driver uses the Common Clock Framework (CCF) to obtain the
> > master clock (MCLK) frequency rather than relying on a frequency value
> > passed from platform data.
> >
> > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > ---
> > drivers/staging/iio/frequency/ad9832.h | 1 -
> > 1 file changed, 1 deletion(-)
> >
> Please include the driver name in your patch subjects. Otherwise readers will
> assume that this is something that affects all IIO frequency drivers. I noticed
> you are doing this on all of the patches you are sending, not just this one.
Whoops. I thought that would be redundant because the information is
in the git commit body. However, I realized it would be useful for
people quickly glancing over emails to categorize them or get an
initial idea of it solely based on the git commit title. Therefore, it
makes the most sense to be specify the driver to indicate specifically
what the change is being made towards. I'll use this convention for
future patches.
>
>
> [PATCH] iio: frequency: ad9832: Remove unused parameter from data documentation
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] iio: frequency:: Remove unused parameter from data documentation
2025-04-17 17:17 ` Gabriel Shahrouzi
@ 2025-04-17 17:26 ` Charalampos Mitrodimas
0 siblings, 0 replies; 8+ messages in thread
From: Charalampos Mitrodimas @ 2025-04-17 17:26 UTC (permalink / raw)
To: Gabriel Shahrouzi
Cc: skhan, linux-kernel-mentees, gregkh, jic23, lars, linux-iio,
linux-kernel, linux-staging, Michael.Hennerich
On Thu, 2025-04-17 at 13:17 -0400, Gabriel Shahrouzi wrote:
> On Thu, Apr 17, 2025 at 11:57 AM Charalampos Mitrodimas
> <charmitro@posteo.net> wrote:
> >
> > On Thu, 2025-04-17 at 15:53 +0000, Charalampos Mitrodimas wrote:
> > > On Thu, 2025-04-17 at 10:32 -0400, Gabriel Shahrouzi wrote:
> > > > The AD9832 driver uses the Common Clock Framework (CCF) to
> > > > obtain
> > > > the
> > > > master clock (MCLK) frequency rather than relying on a
> > > > frequency
> > > > value
> > > > passed from platform data.
> > > >
> > > > Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com>
> > > > ---
> > > > drivers/staging/iio/frequency/ad9832.h | 1 -
> > > > 1 file changed, 1 deletion(-)
> > > >
> > > > diff --git a/drivers/staging/iio/frequency/ad9832.h
> > > > b/drivers/staging/iio/frequency/ad9832.h
> > > > index 98dfbd9289ab8..d0d840edb8d27 100644
> > > > --- a/drivers/staging/iio/frequency/ad9832.h
> > > > +++ b/drivers/staging/iio/frequency/ad9832.h
> > > > @@ -13,7 +13,6 @@
> > > >
> > > > /**
> > > > * struct ad9832_platform_data - platform specific information
> > > > - * @mclk: master clock in Hz
> > >
> > > Hi Gabriel,
> > >
> > > This seems to be a leftover from
> > > 566564e80b0ed23ffa4c40f7ad4224bf3327053a ("staging: iio: ad9832:
> > > use
> > > clock framework for clock reference")
> Ah ok. I will include this in the body as a reference. I guess for
> small clean up patches like this, they would have been most likely to
> be included in a larger patch that covered other changes but
> forgotten. In this case, should they be referenced?
Yes, you can just have a reference to it on your v2 (if a v2 is
needed).
> >
> > That said, a Fixes: tag might be helpful?
> >
> > >
> > >
> > >
> > > > * @freq0: power up freq0 tuning word in Hz
> > > > * @freq1: power up freq1 tuning word in Hz
> > > > * @phase0: power up phase0 value [0..4095]
> > > > correlates
> > > > with 0..2PI
> > >
> > >
> >
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-04-17 17:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-17 14:32 [PATCH] iio: frequency:: Remove unused parameter from data documentation Gabriel Shahrouzi
2025-04-17 15:53 ` Charalampos Mitrodimas
2025-04-17 15:57 ` Charalampos Mitrodimas
2025-04-17 16:47 ` Jonathan Cameron
2025-04-17 17:17 ` Gabriel Shahrouzi
2025-04-17 17:26 ` Charalampos Mitrodimas
2025-04-17 16:17 ` David Lechner
2025-04-17 17:22 ` Gabriel Shahrouzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox