Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1115964rdb; Tue, 30 Jan 2024 08:18:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFcSJ2YC8miU46OVfj6KZ4iE0dz9ohbi5MK+4WFy44iraY/JBKbRt5OFEdpKrGY7/5r/SF X-Received: by 2002:a17:906:c242:b0:a35:696d:f175 with SMTP id bl2-20020a170906c24200b00a35696df175mr6295574ejb.55.1706631512256; Tue, 30 Jan 2024 08:18:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706631512; cv=pass; d=google.com; s=arc-20160816; b=UgfX9GoOz22fJm6S6tdwf4rDCrBZinjFahEM33gV/z7zruGSDIkvIGk+E8JkWMuKkC 92pMBcvHTZUzIxerpz8rUPqFMOW1oUO6vzlpc48zXEFJGjhv1V8smArNLNT2uLqqYRyM tr8XYXhIG9lrrlXd73wGe+dw4ti1+HzZSTa9TuQUFSEAraLbzlBlTyfhQoFD4hThTEDQ fWrk9qz7n1TU6/G5Gm0PkYnDwTt/UnPhKO8idvZOpMoe3WfwGtf1AiiNmGyULihF2Vhf pwoXkMPkPlcQPHm3n6RJW5HE/BpYtl/SlUTjoFeQZHBgXGCjMjb6ltMZsFu7v+lUqJ/w dZJg== 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=oZXon35I9vWe/z+8fo28XYH3xXWTxWnPiT1+wYSZZe0=; fh=1U6QxnU3Z1NK1G/jCFF2JWyG5nhmg3v+xBbv0nlMFXI=; b=tYJKJo1QIQKQZ/lYNZ5us5ILM1of1gz3iDGAijxerlApGWvdAdMP9QWlF9MyhVpnnX FgrZFzvgF5H5wFLVuUzfsiXzoWxznMiOpz70okSKcA3bUm2jrKtB6Utj0AOdU1lvq8xI 4vnroLg9LbB//TWRciy6TBYUmVsHPihMWvohMT5KY6zVryxQgQ/QvKJUr7D3R11xDD8E PdvKsaiNjDsfzZ/i3jMHdGyCN5Fvlgpbef8xRHftbt1DkYgprHrnRyqw+h9HPUGKP7mF BD4mPPLJTrKdr47RAm+Kk2GiHYb1e0QA/AcGMYhQYTEdc0QZnnDc+c1HmjvGiMHjmRv8 styg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zoaNHzyB; 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-44910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44910-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 kg27-20020a17090776fb00b00a332e92241csi4533943ejc.307.2024.01.30.08.18.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 08:18:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44910-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=zoaNHzyB; 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-44910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44910-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 D07151F24760 for ; Tue, 30 Jan 2024 16:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 181FB1272AF; Tue, 30 Jan 2024 16:18:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zoaNHzyB" 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 51D3685C41 for ; Tue, 30 Jan 2024 16:18:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706631500; cv=none; b=D4DDevsQnXod9tfiZXGiu3AdFeOdKKhKIEdNDptlVOkYwoyakVUnqVvFs0obU0RmGH4Svg8v6HB/GPpmGkKJVZhXcoMQKqgHI10y1rsIY0tVQA4s+deo3oiA4c2uzfhCSWKJv5EcdDb8WnYRMYvDD3MAYLRIpYzn7fLpkcJnIlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706631500; c=relaxed/simple; bh=T51l3Mw0GfK8/kqY/gmUNHU2zGcBRab2jAFjRZleRAw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PcKQhhWUFBQNTn5BUNity3Yow0XxmLKC0UDV4rUuyju4PTMuE/s0N291P1CU8PTh3iUqKZ71H/CArTlweAtTyRyF/CURcnbBa4cBi2xnhWyuprRgXChGHNGsgwuEtudcjWyMR5mXHvM+i/j71vvDBX1lxXOE+m4eZjPdxHSVUgE= 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=zoaNHzyB; arc=none smtp.client-ip=209.85.218.47 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-a28fb463a28so495098066b.3 for ; Tue, 30 Jan 2024 08:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706631496; x=1707236296; 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=oZXon35I9vWe/z+8fo28XYH3xXWTxWnPiT1+wYSZZe0=; b=zoaNHzyBH4Nrzv3P9LZ/uXCBTWYF7ns24UIWzr7uojk8ZoI9titU+GDZigGjf2dpYM K60G5xV9St8nJhfBukmUizIod/sc5oqsPfcTZDxpIQPUOf0VeZSlNoIia2TTdDRdOCfE ipUt9pY+QExNPJZ3GPiPFj3TW3vrNOQ5zIrIV7Y68Hjs64WaArkwbXN2piIxyQMP0w5K MXj/O0e5DvwPLf4Qt1n/iAXrPbaE9boaLquh+8zNb0TyXilHZUdnavt7gVSG3d04VWqp UDQVVxCOAAz3ZLrMXiNaI8H48xIL36kA3e4FSfzhNb02KIRv696ChCoFkeeyHX77JVeW 8SaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706631496; x=1707236296; 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=oZXon35I9vWe/z+8fo28XYH3xXWTxWnPiT1+wYSZZe0=; b=kE4Y5tpn+TIvVM4HiXLF+2KKKiOfhgZvmfxJQDIwYM2sMYUqCuASDEpYg8zukVNCGx lndnsFbyq7iGDywEebPl9bkEFTaIzN113vVyAwtMLewp518dRWqnfvsbjJcdmuebtDyK YgBpHALZHMPxSY/q6YOH5BQCyv/Jt/ippCbUAEwjjl5dXs8mFVd2awrK79iE5B4IVveH gymryiEp7FyClOQWR7ZyNFXTLYlIdJGJQk951dHQHti70n1KAc1BTstbjcrf615YQEPI 65vP7W15Tt5+yF5MM0PzkiT0TXEPiYYllzkeEHg1tV5UMIRYiDlOMEpjXNca+d3Q0yfh Jy0A== X-Gm-Message-State: AOJu0Yy2NUBUxSueb+HySnB5l+RJYyNfWjhQ1vPEtvxHbkL4FOTTL2DL TUph3rMEMinFHX7R/PL57o3xLy4415sLynSxQRAPp6ecqszl6n4k5oS7ZOGO9go= X-Received: by 2002:a17:906:a013:b0:a34:bc0d:3ca5 with SMTP id p19-20020a170906a01300b00a34bc0d3ca5mr6528524ejy.13.1706631496519; Tue, 30 Jan 2024 08:18:16 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVyuQZAaN+Uxv5hLMx0ydBhGAdEuAZ06eHHTMZJ4F/SnFmIkQ7L6nVaTaQDmmfD4K4mQf3NqVpEHmVUYHaCuJBcnKx9BFJrddcvnu5pqdZ5zBhAjmZ5qSh2AN0Gpefs0bwjATv+r9kjWW/jaQDHhft7pArNOhb5FeMahwqNvEv0mEv4/iLXi+o7J4JQW1siUhXZ1fiXFL12uZ2SjhwN6c6yW1aEDvFzOEjb9EaHOV1kqgulOIGAb8+mW+pJL3TGpTXAnnGuyo8PN+P+5wLgGl2fWBYnw+FrAWd0wj0XUMC4L7D2CJJN2ss9zlkhVudnyY1tpNLi6J3xAZAEveMKFGqJJYENdcd1Yrg+LdV5AcJOx+l8njbDbEKa+/oZHkD3e6BgIYRZW41fs9xyHufHuzjilFa/k4s5qQmw4+n5tGYepmXLdJKM/lps2QtPCTfzvibJa2u5TkIw8aJUdkuwr3FQYDUHrSK9pFQT9gSCwPsk1+cR/3xWq+ltqcl7fp+BKEmIvKZoknNQ0Xn+f1IKmgOcO8J7LFLV3wGsCHG/svCDgY0R3oQDxvtimpHuHZyu8hJaC4pMtRePchQIgYEf4AJ7VQfBKYowjypAXcsZkrAKplS34nUH+RCDMIZYl3qFY+8CJo+61UMLzFDS9EYAc7zcqQA= Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id vs6-20020a170907a58600b00a3542a13eb3sm4090032ejc.138.2024.01.30.08.18.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Jan 2024 08:18:16 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2024 17:18:14 +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: [EXTERNAL] Re: [PATCH v2 4/4] ASoc: dt-bindings: PCM6240: Add initial DT binding Content-Language: en-US To: "Ding, Shenghao" Cc: "conor+dt@kernel.org" , "robh+dt@kernel.org" , "andriy.shevchenko@linux.intel.com" , "Lu, Kevin" , "Xu, Baojun" , "devicetree@vger.kernel.org" , "P O, Vijeth" , "lgirdwood@gmail.com" , "perex@perex.cz" , "pierre-louis.bossart@linux.intel.com" , "13916275206@139.com" <13916275206@139.com>, "Chawla, Mohit" , "linux-sound@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "liam.r.girdwood@intel.com" , "soyer@irl.hu" , "Huang, Jonathan" , "tiwai@suse.de" , "Djuandi, Peter" , "McPherson, Jeff" , "Navada Kanyana, Mukund" , Mark Brown References: <20240126035855.1785-1-shenghao-ding@ti.com> <20240126035855.1785-4-shenghao-ding@ti.com> <015abf2c43a44c478726c270bfa17fc0@ti.com> From: Krzysztof Kozlowski Autocrypt: addr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UkjheOD4BfWEcVUqa+XdUEciwG/SgNyxBZepj41oVq FPSVE+Ni2tNrW/e16b8mgXNngHSnbsr6pAIXZH3qFW+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <015abf2c43a44c478726c270bfa17fc0@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/01/2024 05:43, Ding, Shenghao wrote: >> >> On Fri, Jan 26, 2024 at 09:27:47AM +0100, Krzysztof Kozlowski wrote: >>> On 26/01/2024 04:58, Shenghao Ding wrote: >> >>>> + - if: >>>> + properties: >>>> + compatible: >>>> + contains: >>>> + enum: >>>> + - ti,pcm1690 >>>> + then: >>>> + properties: >>>> + reg: >>>> + items: >>>> + minimum: 0x4c >>>> + maximum: 0x4f >> >>> Nothing improved. >> >> Shenghao explained what what this is doing - I'm not sure what the actual >> problem is here? It's an actual restriction on the values that are valid. > > Hi, Krzysztof. May I have the privilege to petition on behalf of my customers? They > want to keep these if branches and the i2c address in yaml file. As you know, most > of my customers used to make mistakes and confuse with the i2c address. Listing > them here can help them to get the information easily. To which cases this exception will apply? Your patches, all TI? Bindings are not supposed to be so detailed to create DTS out if it, because it makes them more difficult to maintain. Such amount of if:then: makes it trickier, for no real gain. Best regards, Krzysztof