Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2439767rdb; Mon, 25 Dec 2023 10:56:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmJgKQlbiXCcciHmWCy62vGjKVFKp9CT/33xLMGqBTD8mIrjJAZ/oH7g6h7aj1MpuQkM3p X-Received: by 2002:a05:6a00:a1f:b0:6d9:c201:f887 with SMTP id p31-20020a056a000a1f00b006d9c201f887mr1243393pfh.1.1703530599791; Mon, 25 Dec 2023 10:56:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703530599; cv=none; d=google.com; s=arc-20160816; b=dwVBnM314H6M1PihNs90R6R4k3aK1ilDPssXEitgcTzmpFqS5dE6TiLDiBZ1RJqms+ k+eCPldqv6z7ymFrWq5FbI6l2STso9kESjPNZcbS7hFU8iYG8igvmyy2fSfV95K09E8e LieKgGnWyikSHgpoL3fUh/sxTZdb6GlaUvTzQupdM1IVXv+v6H0GLSeNwOGbIG8G6BDU NS/9fT0E/FjY0wRGBeLAjQfz4Bunk4Y0egowM9Ko4GTg1K0B21B43QtiXFGeSeRD6WPC gcy/fP1obaKXT27GoZOmk2n2mho/MiLQo/IcWpzSMiBVZuyveOJr19bgD/cO/Mf83Gy8 A21w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=e0m2oYSxkojWokgkCEhU9gfgYOM8HLqvP29A/Xkklb8=; fh=pP1cX7+ecaugaQZIV40l+Ch/0PidZYHBvB59D0+iB+M=; b=nd35Pz44VCHOmYXjjr803Qapq9AduqRq29kvB8+zP+FjP/w0U6dvb+iHG8r0rEH1WO KrM7op3SprhUITjk1wNHyLHa/EDrGM/MuItJaFMrv36dQzv7o3aTCtJqzeMvrdfa4+Oi RLDE87jUD94zuE7cOZxTW9TCOgMsMPCJbvK9tx+IsbpSyWVpqhlJHy5OxqNe4cjltteb mdGzLVIvlDk5RIDI0MIJJuG2uv1CelLD9wGLnvqtN5E21nj5MwUcxgJIlzKG6ug0p4+q NTu8nnIDBIYF6Wvip5XYuc+IbAEUM58TbMWvzUK63Wx5an6GVxS3m2k1hRkIgYltpV32 sMsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECN7E9CP; spf=pass (google.com: domain of linux-kernel+bounces-11146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j6-20020a63e746000000b005c67196cbf5si8385007pgk.330.2023.12.25.10.56.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 10:56:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ECN7E9CP; spf=pass (google.com: domain of linux-kernel+bounces-11146-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11146-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6DEB828244B for ; Mon, 25 Dec 2023 18:56:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEF17537FB; Mon, 25 Dec 2023 18:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ECN7E9CP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E01BC52F77 for ; Mon, 25 Dec 2023 18:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a1915034144so465122166b.0 for ; Mon, 25 Dec 2023 10:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703530586; x=1704135386; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=e0m2oYSxkojWokgkCEhU9gfgYOM8HLqvP29A/Xkklb8=; b=ECN7E9CPmaTopcdFTCZTw7e770xcQbW9xCc/bAA6nMuGy+Q6ZlQkEbV0WQhWv4K8yE Isi+HWbywGNtNLpp2TxUfrHYylSJ8ZTPg78UL3+DTxILZXiaR8nLaW5hKW8Hutq4OGTj mqxssX+zMupcB1+WWTVYUTtzcY75ebe12eX4LNkbxUZsQE95X3ENzv2Hp3lofa/Tcpzw 44kpVvC3wk/jYuNHZM8cRk4pePRyTyv8xdTmS+gYzToK3zl/jKBgksEd36YadEEotk70 UItUifu94Qx/E1dCVVlGpv4maGOPcUtOIxh9xjlz2l8yEj7ZYo0vAwJ2ybzQaTdBLqNq bktA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703530586; x=1704135386; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=e0m2oYSxkojWokgkCEhU9gfgYOM8HLqvP29A/Xkklb8=; b=lMZqlBe/sw5bXXJDhWnLI+EKQmFVI0jWVj+AVAZK98Fu0EAgVZKztPCAemEMq1ZgxE RL0uvxIB7HCZMoiJhzFT2TDJFPDAwQFTHOOu4mfIoeTpJdYeALapdgP/Zp7X75QK1Nql KuSnp1qnfiV4HoVz6e7xWSHbJSdAPsAL5uu4peKJXQIhCxMqW5bnMvGYnleE1/oJMEgi cOm9L4UGfc8nWTPqrZNMRkzoeptn1IYFqBQVpr8SXMIwiy/FoGfRuzgb6g4GndzimL2/ BpEGEWgfjQXHIVQ5tioVatzxjizGP52G1ZBxp/9DRsIwsP7rXusaReyuK8Oms+o1Y74e Lnww== X-Gm-Message-State: AOJu0YzSbLb8vdpzQjEG8EsOvFfnXZ7Z95biPSR/GDNEoPGDlKXkyGrj UkzmTxoB7Xvl3hS8QgntgjDWrocuMJdFtg== X-Received: by 2002:a17:906:af90:b0:a26:884e:49f3 with SMTP id mj16-20020a170906af9000b00a26884e49f3mr2584418ejb.94.1703530586133; Mon, 25 Dec 2023 10:56:26 -0800 (PST) Received: from [192.168.0.22] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id l1-20020a170907914100b00a26ac037ff3sm4471949ejs.132.2023.12.25.10.56.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Dec 2023 10:56:25 -0800 (PST) Message-ID: <1b54a167-1c90-46b8-8a7b-a21f5d4655e7@linaro.org> Date: Mon, 25 Dec 2023 19:56:24 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 03/10] dt-bindings: iio: pressure: honeywell,mprls0025pa.yaml add spi bus To: Petre Rodan 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 References: <20231224143500.10940-1-petre.rodan@subdimension.ro> <20231224143500.10940-4-petre.rodan@subdimension.ro> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua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rj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/12/2023 16:13, Petre Rodan wrote: > > 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. >>> >>> + spi-max-frequency: >>> + maximum: 800000 >> >> 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, but > not required it. just like in hsc030pa.yaml . > > without a differentiation in the 'compatible' string I don't see how your request > can be implemented. You cannot have different compatibles. I did not propose it. I wrote nothing about compatible. I wrote about missing $ref in top-level for spi-peripheral-props. Where do you see anything about compatible? Best regards, Krzysztof