Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2357585rdb; Mon, 25 Dec 2023 07:18:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwKK4fBGq58NYi8h4uMeaGGuO00GTeoTyCYOU2O1gXsl8LKp1T/jwYuUPqbAk0NcnIDGLD X-Received: by 2002:a05:6e02:154d:b0:35f:d0a2:f357 with SMTP id j13-20020a056e02154d00b0035fd0a2f357mr8245492ilu.46.1703517487512; Mon, 25 Dec 2023 07:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703517487; cv=none; d=google.com; s=arc-20160816; b=Mawzyao5buZqe5sheMQvatvDC/Ziw8g+t0nWpQyYv3b1DpfzwqL6kSNRGGW7HFMltk GhNVVZ/hXoo2lvR4lk2zKBTYCUtKWIQXjfM1GJ6hEkiCkdx5Sm8wDOoH+Vy4cC02TJLZ oe1ZiqL9AfzITHkII8cE0ENCax0HYjIhMzbZ4zEbPrgPXHXfDhL78g1gha38CuVDO9Ar HjmHtDsWVW9M7I7wvkkXKpiqyns1m/RmSkLes+JOJR2LDXlYhWmGPe41StwFSQ+4CvR1 OPpoG1djlk3Cv74xNS87YZ3rDwrBTRS3uuHfTgpixja+kcGsDSTTStyBEBXCQ13QQ+RL FwMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AMF/7WXcfaBuggG1+fYMZb1Dz8kL99jC+l5T6/BPuqI=; fh=y2iNy5BJO0pOGHYVdioUWoeDSlexEMlekHgOtReo++o=; b=jr83jDX+xy+O24JGkMcg8UuvfxURJJlakf1No970yvYSAwmnqSn+0AbXWLnii2Skm/ 9o1mhqoLghYM92yQ0rSpRFLW5B+GxLNWWZzIUXpbi6fmQ1wYqN9kyh3O+FwWd/tjN1ys Xo80lmcL0hdUBCwgDIFFbDOCw0Lk7Fqc09nwKD4ybTnUMsbMYQ4Ob5nouR/bw61WOJ4F l19j46dq1Oik0LIaMfN4Alc7q0I8Ozx3VfoTipsFKMwg/MYoKXt9VnAv51e14TUL7coi vk2+HtLOPvEZuHN3vlJQHay5XN0RJyAIPwBIOlyjXDWyPyiCbHo7pAL61i87D5OtgL0Y /F5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=nzsu33WJ; spf=pass (google.com: domain of linux-kernel+bounces-11110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11110-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e5-20020a17090ab38500b0028bd42e0ca5si7718815pjr.176.2023.12.25.07.18.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 07:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=nzsu33WJ; spf=pass (google.com: domain of linux-kernel+bounces-11110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11110-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=subdimension.ro Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3D2D1B2230C for ; Mon, 25 Dec 2023 15:15:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAC01524DB; Mon, 25 Dec 2023 15:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=subdimension.ro header.i=@subdimension.ro header.b="nzsu33WJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.subdimension.ro (skycaves.subdimension.ro [172.104.132.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EA1D55C03; Mon, 25 Dec 2023 15:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=subdimension.ro Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=subdimension.ro 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 5658E28B50B; Mon, 25 Dec 2023 15:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1703517241; bh=4ne2KQLiuid2BVnmmPmM/upM+2zJMRDvZiqnHDntmtA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=nzsu33WJjpl0gq2qO8zbgznbQ8nGqTTtTqsUnUqzPo7lSrLqSXQ31PKoDY8qrCOHk Bap/7gCUwDg0MarpmcN9tXW/VnH5avBAsdfq8Hw2N5eszM/lagJNw+jmGZZwyNofkR Z0OgNoEhGP1/HUCoGvkU0n7DjNBblfVLlk3Q+mm0= Date: Mon, 25 Dec 2023 17:13:59 +0200 From: Petre Rodan To: Krzysztof Kozlowski Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andreas Klinger , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: Re: [PATCH v2 03/10] dt-bindings: iio: pressure: honeywell,mprls0025pa.yaml add spi bus Message-ID: References: <20231224143500.10940-1-petre.rodan@subdimension.ro> <20231224143500.10940-4-petre.rodan@subdimension.ro> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RQSMSeDNmbCQ1QW/" Content-Disposition: inline In-Reply-To: --RQSMSeDNmbCQ1QW/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hello, On Mon, Dec 25, 2023 at 01:59:43PM +0100, Krzysztof Kozlowski wrote: > On 24/12/2023 15:34, Petre Rodan wrote: > > Add spi based example. > > There are many models with different pressure ranges available. The = vendor > > calls them "mpr series". All of them have the identical programming = model and > > @@ -88,6 +88,9 @@ properties: > > Maximum pressure value the sensor can measure in pascal. > > To be specified only if honeywell,pressure-triplet is not set. > >=20 > > + spi-max-frequency: > > + maximum: 800000 >=20 > So you miss allOf: with $ref to spi props. for simplicity's sake and for compatibility with the i2c devices already in= use, this driver does not have distinct 'compatible' properties for the i2c and = spi implementation. this is why I just defined spi-max-frequency, used it in the spi example, b= ut not required it. just like in hsc030pa.yaml . without a differentiation in the 'compatible' string I don't see how your r= equest can be implemented. cheers, peter --RQSMSeDNmbCQ1QW/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE2Ap/wXYVGTXsPl+pzyaZmYROfzAFAmWJnDcACgkQzyaZmYRO fzDA+g//UUJUG3n3dsKPrrrgTrB6x3FviyXIP896zMqQwVppSQKJJfKBgjThXtJc Tq97Rbg9/rdjxDgNrCfIzmmspY0szApHJCpu5O+MGm2pAai3e2VZ+TYhotmlb7f5 jCOKEIbwc0Ox58IWpczFChL+wwHsugAzoRRnExh9MKKSEssA/arQ5iy421KWEmda 645uxB9UyjAEdxQsjx71UwmlJrGbMR9gtBFKmahFRuCopz/IxbHgw5JCXGMpYVYl X6Xv+AJ0/DGCK2ZGOhgs+4jgbLhjf0MkZIVipc5WkgEkLOwwiCNtMqk5PGvHcwGQ AEhqSYYUhsEdrACEiO7tFki9rrVIxqU0NRyQVyjcayNckuPpB1KEVRfb92aJ9LHk mPDTiGqYOiT7cPxFK5uJg3YlZ6U0ZWDNYuR36/UV7abY3TfX8ErIfRIrNBWKsana QWr2OylbsodRjXKseHWFg9VFUHBzPH2UySCf1Iyflamk7WCw3kp39y2hbChyv2tA wNgKbu5s4ocCAAXM+ppf6toxJN0lIpPczJHr8RCfkU9Vvn71fqH9gHW/JqFpi9x2 j1CNKg96yckLPnuWzkV8zoRYYJa5XZ8sVSMAn6QlKvEyx1Tsph834FO4FLeWVMbX KrP2ruWVHTewAqGHmjV4CLKwAaVsi2SeM2GwlgvEyt1RhyICFcg= =Z5+B -----END PGP SIGNATURE----- --RQSMSeDNmbCQ1QW/--