Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2312942rdb; Mon, 25 Dec 2023 05:37:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEN7Tq99YqqHBsY4OAVD37mNKr6bg60ktkHNudAfH+kHWMRL2+R3e/LdYZwwfQNN4Nd/+OY X-Received: by 2002:a50:9ee3:0:b0:552:2b83:42e3 with SMTP id a90-20020a509ee3000000b005522b8342e3mr3507681edf.41.1703511435797; Mon, 25 Dec 2023 05:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703511435; cv=none; d=google.com; s=arc-20160816; b=NCYkIXcsjIajzeiH3kHDCvfXLkJHPlJnkWSAa44joVqXndgiY+W11iuZ5kuGqOqKcH Q8bS/KlK17K4X0Tjj7K2HiALlO/ETZ/zieoe7UaThInjJRjnXOiZXsAoyucsDJQ/YLGo mi2LQNKOUh63hGDaP6eyX/VT4+b/idNOaMUMygX8Kf6IzJr5PHR1ZynI+d7JWk8kc0Q1 k7Y/30FjDbTwd5dgGOhy60TxJApvI8rkCN/p9F5AKJaPJN/Uhd14oMEYumz8HK5qhpwQ El8ABLp/N1kfMlnolxoq06u3OO7Y5JESCCg6HDY0gmrLlhDaoRjgCbGc3dTNx+snpwst jbEw== 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:references:cc:to :from:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=mLXvg/t08Ttr1mcR2xgDPTAjOhvwb6UFp3USky2OoSE=; fh=pP1cX7+ecaugaQZIV40l+Ch/0PidZYHBvB59D0+iB+M=; b=DXNrwwFOga5P0Or3CqzlWK0djL+kwULwzpxRgXm13/vb56iFk4QSsX9lES8gsEKRMV KONZbpwh2TTGgbWzQmJCKBUwHALov8N2xnjvpZVHQTkdciGq0Y7ldLxofgO4F/BZaa6c xItoXL28igZvMPD24dxdph8kEMlSFuXrS8KitBklffsVZdIHen/eDEo1qE/QvfrOSl84 CxlzXs3pw9GLmYTK9EW6OVSLmKxIHtUOtC3XDlv46SbsHAC4zrg/OVa4bM3YJoMgHXmL RO/XpxO8hrJ7NRDoq4nJut0HPD5/9fIAo5OlbCIt2w9hcL1YgBByUMGPNcr82GkwSDS4 zylg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPHG54HK; spf=pass (google.com: domain of linux-kernel+bounces-11068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11068-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z67-20020a509e49000000b0055307054082si4498536ede.176.2023.12.25.05.37.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 05:37:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UPHG54HK; spf=pass (google.com: domain of linux-kernel+bounces-11068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11068-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 64F0D1F221F0 for ; Mon, 25 Dec 2023 13:37:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61E3D524B3; Mon, 25 Dec 2023 13:37:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UPHG54HK" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 2EB9A524A1 for ; Mon, 25 Dec 2023 13:37:03 +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-wm1-f44.google.com with SMTP id 5b1f17b1804b1-40d4dcc838eso23805195e9.0 for ; Mon, 25 Dec 2023 05:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703511422; x=1704116222; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=mLXvg/t08Ttr1mcR2xgDPTAjOhvwb6UFp3USky2OoSE=; b=UPHG54HKrTKA9HQfrf3KL9m2b28xNf0XiX8/jIG4vLwasdK8G34HI5XUD6A0o70OQJ Hjw4CgE9DUrYpyi8ka0OzM+01yE66C69wurfWzW0vq10DEoTFo2VLJnAgbOX4dcjYY70 FSTlQCjJw/WdKsqtmJ4tJf3cvTss67T0Pvq4qRcpevwy1hNRUaV6VqVjMoDjxBd+XKPD 9Zi3uLev7PzqQ/woGdNDDqLD8oUL5uhPI1R9hDUa8Xm92WvFxaFcJrPQmx53e2TFXmum zJ5NxEbeBF2sb0pSHlw0xDE3k+dlAUUwXUbqtA94al5ZbAeJfNxlDMIsmKsfQYGmqXL2 AQfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703511422; x=1704116222; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mLXvg/t08Ttr1mcR2xgDPTAjOhvwb6UFp3USky2OoSE=; b=QEcZw1OmQWtaQiqrQdsW85g/pMFw/AT9nv8wpjIpQkljG4njXRs8UdLc6HHeJ9VxEe pysMxHZiWw63I0/yv5LBszxWJnj/j73xjhSaT7WOpoYZF1hXeKRcOpiUOkayqls0y7YD REGcNm02w49pRsH0fMaq8lNISOyb2cc79ingtTU+lnKGEhPi1BUqia/VNTtcpQiV7EZ1 8iPwRcbLG1JnFomcngmbj+HNY4peNjfFPPrFCSQEtTJO3hI1N9ZZ43hD8SLiFxSB0Zus JCqMrd/Ookh5e8rJ9/ZyzsHRQoDGlTWwtDaFRiqsjlSVdLxUwK2EQjIywPCQw42s2pqA cF2A== X-Gm-Message-State: AOJu0YxZ9YyiLdxYBNhs8jDTFuBXq0oaUUtG6juvdDfztLjGtRrEZhIB fn/RaM3I0AMvJLu658GSp71Ntt5l7Ph7iA== X-Received: by 2002:a05:600c:3147:b0:40d:5609:19cb with SMTP id h7-20020a05600c314700b0040d560919cbmr818504wmo.154.1703511422380; Mon, 25 Dec 2023 05:37:02 -0800 (PST) Received: from [192.168.0.22] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id ey6-20020a1709070b8600b00a26abdff0ebsm4287023ejc.142.2023.12.25.05.37.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Dec 2023 05:37:01 -0800 (PST) Message-ID: <6eb809bb-c445-45fa-ae94-5faa05534da2@linaro.org> Date: Mon, 25 Dec 2023 14:37:00 +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 02/10] dt-bindings: iio: pressure: honeywell,mprls0025pa.yaml add pressure-triplet Content-Language: en-US From: Krzysztof Kozlowski 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-3-petre.rodan@subdimension.ro> <49525adf-1540-4801-8cdf-be1c0fe640f6@linaro.org> <503bc876-59d1-4fcb-b0b5-2dd88c62987c@linaro.org> 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/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPv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9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <503bc876-59d1-4fcb-b0b5-2dd88c62987c@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25/12/2023 14:34, Krzysztof Kozlowski wrote: >>>> +oneOf: >>>> + - required: >>>> + - honeywell,pmin-pascal >>>> + - honeywell,pmax-pascal >>>> + - required: >>>> + - honeywell,pressure-triplet >>>> + >>>> +allOf: >>>> + - if: >>>> + required: >>>> + - honeywell,pressure-triplet >>>> + then: >>>> + properties: >>>> + honeywell,pmin-pascal: false >>>> + honeywell,pmax-pascal: false >>> >>> This allOf is not needed. >> >> speaking for intricacies, if the allOf is removed, then a binding containing >> >> honeywell,pmax-pascal = <840000>; >> honeywell,pressure-triplet = "0015PA"; >> >> would be considered to be correct by the schema, but that would be the incorrect >> result. so afaict allOf needs to stay, and so does the redundant text. > > Really? Did you test it? Hm, indeed, on pmin/pmax would not trigger first required case. OK, then this part make sense. Best regards, Krzysztof