Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1417551lqt; Wed, 20 Mar 2024 03:30:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6u+J5opD1luAMb0GSeEaT72oUt3qtmykk79f1t11Hw0t2Ums44pIzcP0jLaOtZGn4T7OtUyOpQzHrzDiZZSHGvccv7+Vpfz9TyNUJsQ== X-Google-Smtp-Source: AGHT+IEz3QbYGyicDNzWyIA4I6DgaXqdAfVI8SImIYv1KtWrtzQtK5T90uJrJqtmo3sKpUMqHXMa X-Received: by 2002:a17:907:6d1d:b0:a46:8d95:ff7e with SMTP id sa29-20020a1709076d1d00b00a468d95ff7emr14502005ejc.21.1710930657929; Wed, 20 Mar 2024 03:30:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710930657; cv=pass; d=google.com; s=arc-20160816; b=XsxYqrlkpIvhob6cdoGamktm8CUEo3e5trusQwqlkaggLd6sBQpkMLpb9GmM1KQedi 0hbJyjiBXbQWoVogpeXS3/cC87t5VB3Tl08k9tUHCvYlQqstJh5y/16SIJbGgcg/uown zUc+RKL+EA+uNqjvDR6NWyXzo3drcuRINaQYgzTjZ9YWWWfIRome1rMfgAP1d6mRyI/1 QnU15XV3cKynX5JErIKphJMVJW88IW0xQPJB8keJN/urJpOAn6vo5BzOssbGW6Rwn3XC QL/nh9VmxiLNOyXnUYwki70h5cA65DagV7ep7Xn09n0kxViEHPOyYQsBVLHneGabnYNx Ytfg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=VpGoMrlo5DQZa6xGPeNOdlYE7HApDeslsKoUD+MA1nw=; fh=QxZ4eX9U0S73qGvQkbrHL7abt0bFAjDeESKvECkweCs=; b=pkYHYPZU7SYsPrPbiwWm+uP5ZlH4Ms1bBx+ao07GvX7/16FQ5Z6/t2//5m2zBB76oH xCg+Ymx74djn7o52Qr1TwRJcaUTiZXGmTypQqSXlcESnuMmKQbizOvOvqzOMEgMbp1c+ nvEhB0VKJrPeIF7JgYn4VbXStHrbjmDOiFvV9s+jfJJR2qPVS/ZLUn51/AcpbSzfguWa DS5OIFz1LFG29Fp/PbuKylGmJlPiuovWbstJDpFOQTifdRwdxUqjVXA6GRDMiZt7pXXj 0KmMFSniXwlaXKFYeIJidH0LI3wcoHwOvGM1eGFzpQJmTjUyY9yOgz1H3JxszBi/Px8M A3dA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GdaUk7EU; 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-108774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108774-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 u27-20020a1709060b1b00b00a46e7baca1fsi1177165ejg.843.2024.03.20.03.30.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 03:30:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108774-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=GdaUk7EU; 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-108774-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108774-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 A51851F236EE for ; Wed, 20 Mar 2024 10:30:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9850E54FA2; Wed, 20 Mar 2024 10:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GdaUk7EU" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 8CA1255782 for ; Wed, 20 Mar 2024 10:26:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710930397; cv=none; b=YrMnWzwddUTNamoTPmGB4NNn02RP6h1ZfNmWDF85JsPJvjozjJhIKPJaXiI7TLsRf9FjAhgpuOfxOl/e9KqlCEUjL5ppQZPsSVLOOPVHmfQUqKRynCpEBYxNSm91I7VbCqDrkiECRT+ycyOXgVJAdl4VNSR/zC+G1IwU/sRZKkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710930397; c=relaxed/simple; bh=hPDbL9yBCJ01jeYZbd3qhOOSH+Ky4c+saEdUE0mgHoM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=k4q4kKhV2bAb9CRstvRVg+Hxoixw/W78mjHSNxJPF2CHCS/hQKO7HVYBWVOY/UoQOwZ5fJXqyvMkkblO2M9cL2KKcWaJZEyo4wTg4Qpkc+1T1dafa3mup0llCOkIWdsdfA2ayxa0iJEgsl1dUIxl1pZkDKaj4Kx3q9jDj34yLFg= 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=GdaUk7EU; arc=none smtp.client-ip=209.85.208.49 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-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56ba73c02b2so1325276a12.0 for ; Wed, 20 Mar 2024 03:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710930394; x=1711535194; 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=VpGoMrlo5DQZa6xGPeNOdlYE7HApDeslsKoUD+MA1nw=; b=GdaUk7EUCFtpgb8ycx/V8KcN+n30/ODAw9kanlPZAtJIFuzdHTVZKwUPxp2tuheNL+ IRpPfanvNZUUEsxNzpyJcOHOm++Htjk4tSCoWP0qJFEWRQVsbIooOPKaeIG1xFDoYSZm /DJKF/pqfp+8e7CXyEjT3dfaKAACfQz4K/X2mwkg0Rv4G5HkjkfXJLfUGTeuQ+ZuxVQk 6qoG2/xOKCMKuos6+MVF2s9swBi0lstmSpSsqCTj4aHOkiZa/9TiwzknFfF6Kfj5TTzF oxJlJ9xfLPGNQS3jzYwA2VdOk77SoLL3x3juaIocqp6LAudFf/4xYHCyGRphl5Fo9jli /ZCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710930394; x=1711535194; 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=VpGoMrlo5DQZa6xGPeNOdlYE7HApDeslsKoUD+MA1nw=; b=X4pNYM8OpIfW7c6hLnbaAJMmJ7DchfJf8twgL9M3l9VZ/xYBTJv/vurwQAqsxay48p 9J4Gxk3QxRCEQ1sT6RXIGfJ+2Iue3h46GdSvNp1pE8lkCvmOnUUbIAapoCUYcU0l7nhf gprM+54yeruFF6zjz5zMfnmEQMiaeFhU9JYoizIkM19NAGpop2W+8L645HzdLGKHBTiM 2ai9lh6iAg4YtjGn8GL1VJL9esvr0u5YbBbGkhD/aSSkhN1RAGOoIXkJlFgb0eVXozqG aR7wbGsBq5wr7JkHlMZyK96sRy4XhuRcKH0/DiwK8OkN5W4f3AWtrimVB1kwa3c/Y0Sm LLSQ== X-Forwarded-Encrypted: i=1; AJvYcCV+O1hGZN5dRtaE2RoduL3qMaeS/78l4N2c9hlT44eK7nf6HsCsW8M9zR1voNxteS3phKfT82WHSTtrkUQLt/DwbcE0YRBIAwDQueuz X-Gm-Message-State: AOJu0Yyg5CU2DjRtuySuOH7ld75wFvcGMnQsgnpeKuzheNTyIfFAG5yX wme26ZFP/1AjSgz6z9v5nDGp6mFP/nt8hS9ArLQorn2rPWVrRIcyFme7YhT1JVQ= X-Received: by 2002:a17:906:88b:b0:a46:8e02:19c4 with SMTP id n11-20020a170906088b00b00a468e0219c4mr8436008eje.77.1710930393818; Wed, 20 Mar 2024 03:26:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id u6-20020a1709063b8600b00a44efa48c24sm7059666ejf.117.2024.03.20.03.26.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Mar 2024 03:26:33 -0700 (PDT) Message-ID: <38637621-1611-4268-ae79-7ac93a72c5ee@linaro.org> Date: Wed, 20 Mar 2024 11:26:31 +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 2/2] dt-bindings: iio: adc: nxp,imx93-adc.yaml: Add calibration properties To: Andrej Picej , haibo.chen@nxp.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: jic23@kernel.org, lars@metafoo.de, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, upstream@lists.phytec.de References: <20240320100407.1639082-1-andrej.picej@norik.com> <20240320100407.1639082-3-andrej.picej@norik.com> 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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fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240320100407.1639082-3-andrej.picej@norik.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 20/03/2024 11:04, Andrej Picej wrote: > Document calibration properties and how to set them. Bindings are before users. Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. There is no file extension in prefixes. > > Signed-off-by: Andrej Picej > --- > .../bindings/iio/adc/nxp,imx93-adc.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > index dacc526dc695..64958be62a6a 100644 > --- a/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > +++ b/Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml > @@ -46,6 +46,21 @@ properties: > "#io-channel-cells": > const: 1 > > + nxp,calib-avg-en: > + description: > + Enable or disable averaging of calibration time. > + enum: [ 0, 1 ] > + > + nxp,calib-nr-samples: > + description: > + Selects the number of averaging samples to be used during calibration. > + enum: [ 16, 32, 128, 512 ] > + > + nxp,calib-t-samples: > + description: > + Specifies the sample time of calibration conversions. > + enum: [ 8, 16, 22, 32 ] No, use existing, generic properties. Open other bindings for this. Also, none of these were tested. I am not going to review such untested code. It does not look like you tested the bindings, at least after quick look. Please run `make dt_binding_check` (see Documentation/devicetree/bindings/writing-schema.rst for instructions). Maybe you need to update your dtschema and yamllint. Best regards, Krzysztof