Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp553521lqb; Thu, 29 Feb 2024 08:19:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQQZOh+KI+LgHLAF2nrIxPjODnNea4IphSYvJpNFwbZw2Ixg6Vz8JIxteTtlBT1bnUGxjTntRBToIMYCahVZTbJ/R6ckPWiOjB4zrItw== X-Google-Smtp-Source: AGHT+IG+FOQ6AiA8s7L+MTcoDR1FKlEMZkBIX0cJH/8okjffCdKxdeASm7W21mMLQQYRj7pyj+y9 X-Received: by 2002:a05:6358:842a:b0:178:f895:5978 with SMTP id b42-20020a056358842a00b00178f8955978mr3840878rwk.10.1709223595504; Thu, 29 Feb 2024 08:19:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709223595; cv=pass; d=google.com; s=arc-20160816; b=yz+2jBcG5I2AP3WlaU3gZHSQE8FxYeBqWM8pQDpbZMOAugsps2I6gunQ7dZsJk59ZX LQo8EQk3cXWTnvG9ePTtOwj0+iXo0r5XTXRtreJaG8/HWTlYFNLRpOb4Oj04g6hn7X3u lfpk1/vZZrLzPVD1j/lahUtZMafZ2FFvA+PBTqw1qhTwBeXthiBoaQY5uBBltxw0Z1jb s33+1xMTjvpNLpKYF1ET+PJxN15lNd8T5+z4ipD7un12gIMNMHPpwHnPKTtgn1mVuS2q o36qJTkXF1E2KRbrsWghUGgS8EVGZc/ElI/Z5ajS9o0CfpJWk0kxXqBD3sGAuy6CLqwa o9gA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=TRbG9hsJP0WYlORDRCfofHJYUP4yWUvt2xzj/adPvC8=; fh=uIE4ps1enjnxN5ot5ksces6JnmOf85nHx6Xdy1e8s6I=; b=XyPK3+PkuZKIt57zF19e1f6djG58ibOSlx7I1Cl+hSssKe3eCOHTuvyJyEZiaXbu6/ W567U+fomdh4jUj8AmO+5Jd3sn2AJyg4Y5sME2mhZR9W74C8uYrzZT1u+JKWOzBGlB3Q UJJieePnAhzz2uI8t1d6q6DA8wkdqcshpbvJ4Ukfm6iow4Y1xLnvx5ECLx2j9L7Jqow9 wyv87o3/gKC2rh/2VrwJmIo2GOfEkTXZq4vqFwXBHJFosh37LaKIV7QArs5ffIR+Yzu5 FjoO0fsaqDiWkDExoHkO4rOW4HyhEEEnAk7Htm0QicWulZDm0y/0eitgHkY49AZxT+4i 1BOA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wWWExN1E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87049-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id eo3-20020ad45943000000b0068fe3631946si1544910qvb.387.2024.02.29.08.19.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 08:19:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wWWExN1E; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87049-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87049-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2FF221C225B8 for ; Thu, 29 Feb 2024 16:19:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3430C13C9E2; Thu, 29 Feb 2024 16:00:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wWWExN1E" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.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 75489134430 for ; Thu, 29 Feb 2024 16:00:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222415; cv=none; b=Qhy56+5/6lMzOC6SMSuyZjLJjXQhvbDvKzHey6QHA8z4E/2WWUQ2CKl5r1bTgynCZEHSNbK3F/TCFUw1kU3D2BRn1u+cyYuHUDx8aIc075m/XCy7Z2Qc7FpK8GBz9qj57EuirdKScE+WJsamBBcA4MFwd5OieI+6JKhUqAi+wok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222415; c=relaxed/simple; bh=w5iq71vwmmte3zGqYTwhcH6cdU2SzgfqS6g3WsC9OSQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VeAruy89cBzptNr8ekbntXJ0XTLvpSoaX2fSKH5gwKkDXyRzgRUj9ZV0Da+pPFHrTSNEpoYbLdR+r7jAE//MrVxU/QJt77lfogeKzOplIZPz2FcfR73SRIiyVIGXh6EmHZpQTvGkQH9Wmh/bHYqSJ58oTu0W3ntKLusX24kMIOw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wWWExN1E; arc=none smtp.client-ip=209.85.218.44 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-f44.google.com with SMTP id a640c23a62f3a-a293f2280c7so219757666b.1 for ; Thu, 29 Feb 2024 08:00:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709222412; x=1709827212; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TRbG9hsJP0WYlORDRCfofHJYUP4yWUvt2xzj/adPvC8=; b=wWWExN1EWO37c4h8INOvgVYd8wc8ZVBcKaPWprJacHeu7kzbSsFldPyOoXj3uSCQaJ 8lWeQcM0smNmFUIF0rDVhlcMqglw98GRA7AvDEqFSDQrzqqFnVsrWCp8jPx++gGVlPEI 1XCMFYveQuFXTGNYqRndh8xYkdq+EYT1tOaEGBHGJopBPFkTRK/p8sm2mKxx2/qMp8ln S76b/SvRIQqNoRiZ+KYMwQu4NVHz7EEQMRlCAYyG42V+XO3n85/iZClYFsffL00ZCnrN +6gsnHt9/Ym6oB9Ejun/RuibFHXEDpAJ40Dbj1XjLYirs1qxfVXIJ7oXy+CzqkZxbnn9 R+vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709222412; x=1709827212; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TRbG9hsJP0WYlORDRCfofHJYUP4yWUvt2xzj/adPvC8=; b=PtOt7jSeWLWe6Ig4RNe/hlsIpkwnirtNzuq9GxGxjQnyJwd+9xtcLwDrc/3fdHTt2t xem9DteWHgGX+Oj+8ByY5s/MIMAjXLqR8CUqJb5ljl1qr/rClSeiC6NNCyOkUM8bl6GR My3anBINEo5Atvb/5DIUT/2re4j8y5MqgXMs7uS9SbxajGe076bvmOOjoPtbZLiSuWAG 1YV7SPXN01+MS9r3Uj06bEj4S5wAG9wnd4sOwoSgiPlLLE6Q4xDFuKU8ghlqiAYXE61b ZAXN8x27Jcrrv5+wHX+HOSuPqd8FRK4uXWRBjgopoGS4FC5ZXs7N6rdFA1b/pD9cdt9n uUxA== X-Forwarded-Encrypted: i=1; AJvYcCV9gZQ+xx6EjvHUEShLiAtwkB/5PuMshLIgIkDmbH6Pk9Wgp7IUc3+i2WLbA2mDKalw1kWshg+ZYBbPh4yTNlaxngYKQV1EQa5RxZIo X-Gm-Message-State: AOJu0YwINU1c2OvZmuFKy8hdyAHeifPP9Bz1RuhrE4URj3kOJuwOnrNE X+NmzPUdqwnCp1N09XzMT8Y8gVeVKIHpBf0MTpp9d4i0L2NsVKaBGhBifHvt+eY= X-Received: by 2002:a17:906:aad5:b0:a3f:33c5:ffb5 with SMTP id kt21-20020a170906aad500b00a3f33c5ffb5mr1771991ejb.76.1709222411854; Thu, 29 Feb 2024 08:00:11 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id d25-20020a1709067f1900b00a440e2ada28sm802457ejr.201.2024.02.29.08.00.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 08:00:11 -0800 (PST) Message-ID: <8ad18b06-7ff1-4463-8ba0-d7a7d54e5b65@linaro.org> Date: Thu, 29 Feb 2024 17:00:10 +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 1/2] dt-bindings: adc: ad7173: add support for additional models Content-Language: en-US To: "Ceclan, Dumitru" Cc: Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Lechner , Ceclan Dumitru , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240228135532.30761-1-mitrutzceclan@gmail.com> <20240228135532.30761-2-mitrutzceclan@gmail.com> <9f3e461a-0b79-470f-b599-bba45cda006a@linaro.org> <43840914-cb4a-4758-9691-0ebd8fb97681@gmail.com> 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/G23PcowM1CwP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bLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <43840914-cb4a-4758-9691-0ebd8fb97681@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/02/2024 16:08, Ceclan, Dumitru wrote: > On 29/02/2024 16:49, Krzysztof Kozlowski wrote: >> On 28/02/2024 14:54, Dumitru Ceclan wrote: >>> Add support for: AD7172-2, AD7175-8, AD7177-2. >>> AD7172-4 does not feature an internal reference, check for external >>> reference presence. > > ... > >>> --- a/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml >>> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7173.yaml >> >> There is no such file in next-20240229. >> > > It's not yet accepted > https://lore.kernel.org/all/20240228110622.25114-1-mitrutzceclan@gmail.com/ And how can we know this? You must clearly document dependencies. This also means the patch cannot be directly applied and cannot be tested by toolset. Did you test this particular patch? > > ... > >>> + # Model ad7172-4 does not support internal reference >>> + # mandatory to have an external reference >>> + - if: >>> + properties: >>> + compatible: >>> + contains: >>> + const: adi,ad7172-4 >>> + then: >>> + patternProperties: >>> + "^channel@[0-9a-f]$": >>> + properties: >>> + adi,reference-select: >>> + enum: >>> + - vref >>> + - vref2 >>> + - avdd >>> + required: >>> + - adi,reference-select >> >> Are you defining properties here? I cannot verify because this file does >> not exist in next. >> > > No, just constraining reference-select to be required and exclude > "refout-avss". > ok Best regards, Krzysztof