Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2950169rdb; Mon, 4 Dec 2023 12:00:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHDHZdOLhA7KyDlB5R9vk67+gvXPOabDh61yWK6XrtUEVTvddwl2YNltbdxTHrmiac8juN0 X-Received: by 2002:a05:6a20:9183:b0:18f:9c4:d335 with SMTP id v3-20020a056a20918300b0018f09c4d335mr341617pzd.37.1701720005595; Mon, 04 Dec 2023 12:00:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701720005; cv=none; d=google.com; s=arc-20160816; b=GuAEdDWAujGq25AEeiCSK6Nv9YxQGxS4Z4I4FOzkpp+N96YfvjchjU99tbeNyLkuLq ncfIMyNvozoiYP/IKicI79SSg8cEBhN9jA5kZ/U9yLeg7zHm27CC3qLzdBaeWzDlDbBl brVTJ+w/bGRAHLRxS8BbhtZbEmDXHiGvqgJ63CwL1fG6Z7N5y1xxlurq0gB3e6iZXwnD 1Gu2/64dEtH2zJxO8Ae9TWHMR+53Ny/t0pcL4CAmnUAQFjKF4eqwHcphYy0O9W9TLlTa 4Jw5Q9aL5FvOzgSanYcmMjQtYgMN//atWYzliHCQk1DswK36jIor0l5XohF88uxZuEMH 0bPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1sR3tp9rN73qmoHx4DJCj71IcwUy/fZtxtv/ux04DMI=; fh=CalxqnSLS88wzVzIAabzKUkNEkFzm2JQdM+g5DNvClM=; b=E8BVJ6JoprUUN8mKdvMudpFZeCn+eidMvVgcEo+SI2KCoeMm31uOCyiGVIg/z/+4pg 6L5ObClCxMPnwhVm3Fdd382diJGsUUURujZjP2auOleTtufCeghY8Pao3BMtjC5sClmy +ztN1hnb+dYl95Krz3VIPn4zcQL4I1q1sc4zgiEfl5pombvjCLOAfwE3Nz4+oG2aHhvd X5aV3y4VacCs5/Cis8K678ChNtHm8jj4cGPyEINbG3T3uBPGBbTsVy6N8ip0VY6fBlqc g1C+k5LAG1uBsgEBEmhC7Xfy/G8PndEqupczL0HMrZzSzbN9LWOq1v58aQjZCXLkAha2 8OJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=MD8ZZlFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 33-20020a631061000000b0059c0f9ef964si8065551pgq.635.2023.12.04.12.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 12:00:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=MD8ZZlFK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 21B1C8053629; Mon, 4 Dec 2023 12:00:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232848AbjLDT7s (ORCPT + 99 others); Mon, 4 Dec 2023 14:59:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231501AbjLDT7r (ORCPT ); Mon, 4 Dec 2023 14:59:47 -0500 Received: from mail.subdimension.ro (unknown [IPv6:2a01:7e01:e001:1d1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C55EBC4; Mon, 4 Dec 2023 11:59:52 -0800 (PST) Received: from sunspire (unknown [188.24.94.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.subdimension.ro (Postfix) with ESMTPSA id 2EBD128EE6F; Mon, 4 Dec 2023 19:59:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1701719991; bh=+nDCKIJsNn3sdyyepy9COQh7EZ5oRjjTsJna287/22o=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MD8ZZlFKvtWImQs7JJwrKccj+k60ADAYaEZ7WIw77iFiNWTb+l4QyeYz/AB9vjvI+ c/yESpc6WACDK1juAlgg9Bo2IR8LlL0DDogJpo0htY0W6HGaUCQeD9Jz24/4/hVKZ+ 1ofZCbE9OELvU31DSTWaMS4Ly2deAvBofsl3Hsyk= Date: Mon, 4 Dec 2023 21:59:49 +0200 From: Petre Rodan To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Angel Iglesias , Matti Vaittinen , Andreas Klinger , Rob Herring , Krzysztof Kozlowski Subject: Re: [PATCH v6 2/2] iio: pressure: driver for Honeywell HSC/SSC series Message-ID: References: <20231129170425.3562-1-petre.rodan@subdimension.ro> <20231129170425.3562-2-petre.rodan@subdimension.ro> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0roFwDt5J5hwuJL+" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 04 Dec 2023 12:00:02 -0800 (PST) --0roFwDt5J5hwuJL+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > > > >=20 > > > > 437: ret =3D device_property_read_string(dev, "honeywell,pressure-= triplet", > > > > &triplet); > > > > [..] > > > > 455: ret =3D match_string(hsc_triplet_variants, HSC_VARIANTS_MAX, > > > > triplet); > > > > if (ret < 0) > > > > return dev_err_probe(dev, -EINVAL, > > > > "honeywell,pressure-triplet is invalid\n"); > > > >=20 > > > > hsc->pmin =3D hsc_range_config[ret].pmin; > > > > hsc->pmax =3D hsc_range_config[ret].pmax; > > > >=20 > > > > triplet is got via device_property_read_string(), is there some oth= er property > > > > function I should be using? > > >=20 > > > I think I mentioned that API, but for your convenience > > > device_property_match_property_string(). > >=20 > > one of us is not sync-ed with 6.7.0-rc3 :) >=20 > 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 exc= hange with Jonathan) into -current I will provide a patch. best regards, peter >=20 > --=20 > With Best Regards, > Andy Shevchenko >=20 >=20 >=20 --=20 petre rodan --0roFwDt5J5hwuJL+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE2Ap/wXYVGTXsPl+pzyaZmYROfzAFAmVuL7UACgkQzyaZmYRO fzB4xxAAg4++c2EfVeyasAxqVyaxt0/cEt/RDdKBiDUwn4NyAhTdDWslAzGbTssB K1Kcp9IwHVjLJ59Rgni3z2jlTbMQmpxAfYdMYfCgK6C0LfcRVIqdW+E1DzrZMkJA dQ2folIi3VBciFDNm6uezx1mX5qtpUYL5jgkOdxwP62K4VrFUHPz1UmCxEbZFIZj 9ZHnkZQnp+teHbKl/CI3LFpOerzN3IOOtqqeWoy1i+c/wERq2JsIDgVZUjcmHPaW rShXD1Zfc3tEApzb0oqiboxVOHM5iQTZUwngR7trZrPoJFd6gns4FPv1xRTx//fL unkhZM7nqk83OUxuWnGx0JMya/gBNUSe/JxTQCiqALLwjYt//ApsXkiZetkaGL8J m27ELfYtC0eLjRHYS1tNRs07EO0JRMZxuhKoc4YUMfAnp4EkzFYF7h3foxhnTZrH Wk3pT3wmAhr6YIeHSFetJfcXacFnqxvKTHPFzd3XgJFdMJMuO/UJdknYl1vSCqSM ZoVPKugLgiWvCdLxr8etH3vIqdsoMvYlpmGRI6xNSVYftg98UBsY2KBmGwApl1xt d260zwVVxB49DgsjSRL4zXsysciw+QdJI1MF5djEMblR34f/owfjeGybGhGn3MR6 w09EzwEJkLiTanx8PxLKTCmWOblXtfFcPrfSy0YfVH6iJQHwsb8= =aQ99 -----END PGP SIGNATURE----- --0roFwDt5J5hwuJL+--