From: Jonathan Cameron <jic23@kernel.org>
To: Emil Gedenryd <Emil.Gedenryd@axis.com>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"dannenberg@ti.com" <dannenberg@ti.com>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"lars@metafoo.de" <lars@metafoo.de>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
Kernel <Kernel@axis.com>
Subject: Re: [PATCH v4 2/2] iio: light: opt3001: add support for TI's opt3002 light sensor
Date: Sat, 12 Oct 2024 16:10:40 +0100 [thread overview]
Message-ID: <20241012161040.1506a7a4@jic23-huawei> (raw)
In-Reply-To: <fab164228b4d567a147cd8d93150e687c6db0c70.camel@axis.com>
On Fri, 11 Oct 2024 07:12:05 +0000
Emil Gedenryd <Emil.Gedenryd@axis.com> wrote:
> On Thu, 2024-10-10 at 18:47 +0100, Jonathan Cameron wrote:
> > On Mon, 7 Oct 2024 07:19:06 +0000
> > Emil Gedenryd <Emil.Gedenryd@axis.com> wrote:
> >
> > > On Sun, 2024-10-06 at 14:16 +0100, Jonathan Cameron wrote:
> > > > On Thu, 3 Oct 2024 14:22:17 +0200
> > > > Emil Gedenryd <emil.gedenryd@axis.com> wrote:
> > > > >
> > > > > +struct opt3001_chip_info {
> > > > > + const struct iio_chan_spec (*channels)[2];
> > > > > + enum iio_chan_type chan_type;
> > > > > + int num_channels;
> > > > > +
> > > > > + const struct opt3001_scale (*scales)[12];
> > > > This doesn't compile for me as one of the two options only
> > > > has 11 entries. You could either force them to be 12
> > > > entries each or use a pointer without the size and
> > > > add a num_scales entry in here.
> > > >
> > > > Jonathan
> > >
> > > Hi Jonathan,
> > >
> > > Are you building on top of the patch that was accepted in earlier versions of this
> > > patch set? That patch adds the twelfth missing scale value for the opt3001.
> > > See: https://lore.kernel.org/all/20240916-add_opt3002-v3-1-984b190cd68c@axis.com/
> > >
> > > Should I have added some tag to highlight the dependency for this version of the
> > > patch set?
> > Ah. Yes, I was half asleep.
> > They are going via different branches (slow and fast) so I'll have to
> > sit on this series until after that fix is in the upstream for the togreg
> > branch of iio.git.
> >
> > If I seem to have lost it after that is the case feel free to give me a poke.
> >
> > Jonathan
> >
> Hi,
>
> No worries. Just to clarify, do you mean sit on it as that you will continue reviewing
> the code after the fix is in upstream, or should I consider this patch to be approved?
Assuming not other review comes in, I consider this ready to go.
>
> Also, do you have an approximation of what time frame we're talking about?
2 weeks most likely.
I've just sent Greg KH a pull request with the fix in it. He will hopefully
pick that up and then send a pull request on to Linus. Then we wait for the
next rc after that at which point Greg will probably pull it into char-misc-next or
I can always merge it into my togreg branch once it is in a release candidate of
Linus' tree.
In parallel with that I'll probably do a pull request for what is already in the
togreg tree to get a lot of stuff in char-misc-next for the next cycle. That makes
the history a little cleaner as I can fast forward my tree and end up with
whatever is in char-misc-next (hopefully including this).
Anyhow, a bit of tree juggling for me, but we have plenty of time as rc3 will probably
be out tomorrow and it normally goes to rc7 at one rc a week
Thanks,
Jonathan
> Best Regards,
> Emil
>
next prev parent reply other threads:[~2024-10-12 15:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-03 12:22 [PATCH v4 0/2] iio: light: opt3001: add support for TI's opt3002 light sensor Emil Gedenryd
2024-10-03 12:22 ` [PATCH v4 1/2] dt-bindings: iio: light: opt3001: add compatible for opt3002 Emil Gedenryd
2024-10-03 12:22 ` [PATCH v4 2/2] iio: light: opt3001: add support for TI's opt3002 light sensor Emil Gedenryd
2024-10-06 13:16 ` Jonathan Cameron
2024-10-07 7:19 ` Emil Gedenryd
2024-10-10 17:47 ` Jonathan Cameron
2024-10-11 7:12 ` Emil Gedenryd
2024-10-12 15:10 ` Jonathan Cameron [this message]
2024-10-14 6:18 ` Emil Gedenryd
2024-10-21 18:28 ` Jonathan Cameron
2024-10-22 7:16 ` Emil Gedenryd
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=20241012161040.1506a7a4@jic23-huawei \
--to=jic23@kernel.org \
--cc=Emil.Gedenryd@axis.com \
--cc=Kernel@axis.com \
--cc=conor+dt@kernel.org \
--cc=dannenberg@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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