public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Petre Rodan <petre.rodan@subdimension.ro>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
	Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Angel Iglesias <ang.iglesiasg@gmail.com>,
	Matti Vaittinen <mazziesaccount@gmail.com>,
	Andreas Klinger <ak@it-klinger.de>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Subject: Re: [PATCH v6 2/2] iio: pressure: driver for Honeywell HSC/SSC series
Date: Mon, 4 Dec 2023 21:59:49 +0200	[thread overview]
Message-ID: <ZW4vtQrmgUu29dP6@sunspire> (raw)
In-Reply-To: <ZW3Mvds9LFiK7aEz@smile.fi.intel.com>

[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-12-04 19:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 17:04 [PATCH v6 1/2] dt-bindings: iio: pressure: add honeywell,hsc030 Petre Rodan
2023-11-29 17:04 ` [PATCH v6 2/2] iio: pressure: driver for Honeywell HSC/SSC series Petre Rodan
2023-11-29 17:24   ` Andy Shevchenko
2023-11-29 19:12     ` Petre Rodan
2023-11-30 13:33       ` Andy Shevchenko
2023-12-02 16:06         ` Petre Rodan
2023-12-04 12:57           ` Andy Shevchenko
2023-12-04 19:59             ` Petre Rodan [this message]
2023-12-04 12:17   ` Jonathan Cameron
2023-11-30  8:31 ` [PATCH v6 1/2] dt-bindings: iio: pressure: add honeywell,hsc030 Krzysztof Kozlowski
2023-11-30  9:36   ` Petre Rodan
2023-11-30 12:04     ` Krzysztof Kozlowski

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=ZW4vtQrmgUu29dP6@sunspire \
    --to=petre.rodan@subdimension.ro \
    --cc=ak@it-klinger.de \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=ang.iglesiasg@gmail.com \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mazziesaccount@gmail.com \
    --cc=robh+dt@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