From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=subdimension.ro header.i=@subdimension.ro header.b="nzsu33WJ" 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: devicetree@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/--