[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZW4vtQrmgUu29dP6@sunspire>
Date: Mon, 4 Dec 2023 21:59:49 +0200
From: Petre Rodan <petre.rodan@...dimension.ro>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Angel Iglesias <ang.iglesiasg@...il.com>,
Matti Vaittinen <mazziesaccount@...il.com>,
Andreas Klinger <ak@...klinger.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Subject: Re: [PATCH v6 2/2] iio: pressure: driver for Honeywell HSC/SSC series
hello,
On Mon, Dec 04, 2023 at 02:57:33PM +0200, Andy Shevchenko wrote:
> On Sat, Dec 02, 2023 at 06:06:24PM +0200, Petre Rodan wrote:
> > On Thu, Nov 30, 2023 at 03:33:02PM +0200, Andy Shevchenko wrote:
> > > On Wed, Nov 29, 2023 at 09:12:52PM +0200, Petre Rodan wrote:
> > > > On Wed, Nov 29, 2023 at 07:24:31PM +0200, Andy Shevchenko wrote:
> > > >
> > > > 437: ret = device_property_read_string(dev, "honeywell,pressure-triplet",
> > > > &triplet);
> > > > [..]
> > > > 455: ret = match_string(hsc_triplet_variants, HSC_VARIANTS_MAX,
> > > > triplet);
> > > > if (ret < 0)
> > > > return dev_err_probe(dev, -EINVAL,
> > > > "honeywell,pressure-triplet is invalid\n");
> > > >
> > > > hsc->pmin = hsc_range_config[ret].pmin;
> > > > hsc->pmax = hsc_range_config[ret].pmax;
> > > >
> > > > triplet is got via device_property_read_string(), is there some other property
> > > > function I should be using?
> > >
> > > I think I mentioned that API, but for your convenience
> > > device_property_match_property_string().
> >
> > one of us is not sync-ed with 6.7.0-rc3 :)
>
> No, one of us is not synced with subsystem "for-next", which in this case
> is IIO "togreg" (IIRC) and it definitely has the above mentioned API.
v7 still contains the match_string().
that is the API available in -current (6.7.0-rcx), which is the version you
asked me to use a few weeks back.
whenever your new API call will be merged (6.8+ according to your email exchange
with Jonathan) into -current I will provide a patch.
best regards,
peter
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
>
--
petre rodan
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists