Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2683908rdb; Mon, 4 Dec 2023 04:57:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPbQFFY1y5cwAYJ4zVpfj7FzfQ8xC9JAKoCe3ZD/JNJBie0vsQX6TtlgdwJ45bYQr39QKY X-Received: by 2002:a05:6e02:e42:b0:35d:59a2:6461 with SMTP id l2-20020a056e020e4200b0035d59a26461mr2502812ilk.52.1701694669510; Mon, 04 Dec 2023 04:57:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701694669; cv=none; d=google.com; s=arc-20160816; b=DtQ0r+G/0odJh5KI8lMeCopHt24gEfJz0y1T6gkeivvpX0yNW6AVMSCc6+I83teEkg 2lHo3JvP+wEXPl72yIUpxy2GjQvUjkHt7MF9Nbm6gYqVYWTP0MoDMoJFLvuWFtqv450m Z3cCBfp51g3YYSyMVCVLv7xm+c2NW3lVkUvKo1cLlODfLTyvan5cjv4Rsen224m5F4rj nrNlroPnXTDR2p5PH24lZ45dhMnyox0jSMwMdv6EjzR4Xj/2q3Zd7IYcozTD+KCsJfcQ 5tKz3Kc/dNJBxGLIKvOetMyMVDtun18xor/bvKj+eLh7mD67xaBg+kJtlEeUmN0A+93W o3bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mBGZMVulyJkmZyTW/V+9pYq/TMThiISQ0v6mHqfeOXk=; fh=NLsHMCkW9oUPGVAUwi4YjxY06qY4Y90bV6UHFXN6ohE=; b=yifbzv3sMWYMgOUodxmv0T6WVIrAKQyzoDt1gQbnySPCJAoyeu7XaTdlqeDN7kVgW7 pkl7nNwbU1K7uNe3MQUIfBZullcGD9SPWSfA0NvpNG9UnDxCc8w9/hC49X2V4c0dob4Z 1zAFw4zKhQWYooR2ienZq3QZk7hQdbj7f7LnDeFrnDBSLP7965fp0VFoSrELbK3OV4U8 Y6pZGYBBMh/hBWDaZgUp7OnX8VPYgV35yPb3z1dAmpfxhUmGSX2Jl6a7qmQM/ynC1q5p HuO9j1TrpVsS0F/U0uRgONuC0Eg7sOnCvRENqkcDLziF4iQH4VOJMlNgbJcPORxYt8ok GjBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RfBguMuL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h22-20020a63f916000000b005c6091a7ebcsi3026939pgi.231.2023.12.04.04.57.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:57:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RfBguMuL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E5D8F80A2669; Mon, 4 Dec 2023 04:57:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235330AbjLDM5g (ORCPT + 99 others); Mon, 4 Dec 2023 07:57:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233395AbjLDM5d (ORCPT ); Mon, 4 Dec 2023 07:57:33 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53DAF109; Mon, 4 Dec 2023 04:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701694660; x=1733230660; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7Cj0FSe2KITpAAhEvGgLmANZmxOhurePzJN16LUJB2M=; b=RfBguMuLdBuuo3xYIkGcpAEVeGD+FAuIuKfU2OaErgIQiCmh1bIWuift kjBiGs2EXMV2T6gV+02C/eKKSUZ+CRS0oP7Cpd3GdQU+XzGGujaCXe7vd CJFNK1Aw8vYRjusvm6gNmuNezP38EhowWfOam1AmVkw4V6lsuXE600Qh6 SmQrOwgH1geSKhMxeUcVzRCNWx3rClINSGZUfNDY6DDdVz0G3xKQvjfyS GDv9BzbzBcsfwTGmgpXrQcUuUDFKkHfURulrz0tVULARU4gxKkIxAbNRQ zbUlnM9vdF1Sa0RnljcJWbk7xyflKjLOYXCZtNdu7HkP48v+LHYpY88uf A==; X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="384130171" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="384130171" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 04:57:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="1017839179" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="1017839179" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 04:57:37 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rA8Vx-00000001kkV-3MSm; Mon, 04 Dec 2023 14:57:33 +0200 Date: Mon, 4 Dec 2023 14:57:33 +0200 From: Andy Shevchenko To: Petre Rodan 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 04:57:48 -0800 (PST) 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. -- With Best Regards, Andy Shevchenko