Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp243939lqk; Thu, 14 Mar 2024 01:36:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsmeJ0Yx6pJCuOBz7s0+UuI9zGxzQ9M6BSzOYVf17hAJMR+F1QmLocF1MZmz3aUFymn8eH7f+BwnGaI1k6agTaobT8KdpExyHIbySKjg== X-Google-Smtp-Source: AGHT+IHQ0abBkbQY143RU8KbcMLI+nB9FWpI0UCdpSAU5yIY4NRU4Z+54m8X1M17LJW0P7zXTKM9 X-Received: by 2002:a0c:de0c:0:b0:690:d777:ed0 with SMTP id t12-20020a0cde0c000000b00690d7770ed0mr24102qvk.40.1710405388686; Thu, 14 Mar 2024 01:36:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710405388; cv=pass; d=google.com; s=arc-20160816; b=xgVx7qGA9MbDTPP2Swiizdn+jFsRRyuX79jjcbjsxetho6eCIMJumbZ1DD89e1U0KK hHvCA9ucQEQ2rPhIYuZbyyDsnLC+h/t4LSDMgVK+pJipVbLK+ZjRoUC8XL8no9pduv/d JwIx+bgKwjP3yUX61ybVpSOTj3cZZMppNaelbMh2smx+Ty/WfzsyLt+qxLJc5mfNpliq PX+OYDiUFbetp+3HFj5Det6GbVvtA0onlBpdMDxeZjaSv/0i/AN9jTmPB7t2Y+e+Pz++ M9MzLU4eEFNO3dMawCvehw+fpNLjfmLwWdq+SLkigjrPcz61+C6rKdNXz4IHBK7b4qcX 3f6Q== 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=hj/WaHxD/qNMmrcRTKT2ci5bqw6SYan4groqkVU9P0E=; fh=3ZRRCDkHDZJE2/mgcO6KA1eDS9dOrFK8XFMGfI2MK2M=; b=DVBKr26PT+NEVusjY7Gp08TOjaYTkOlT82ZYIxzkHDCQ/l49nipbw7P22LDYXAZhR6 pu4rAECNu0sZfC7q0+H8RsYBbYOxt0TlS6zvlLjsXDE/p0sBH4saFMg4MlyF6FZr0wEE z7+mAGRt/tIm0qDZzIqIVRmHwIHyVMEG/n5dSWc2dBt9QlJ4gPmLciyhdi+R3+3EueWx 0b+jNWvJvxTAT3r3AsvNcrhM8IF56g8PX0lp8j/H2XHEmCQrfm0Dxjv5De4WHGxv0t8K 0mDvSwSAZOCDxw3620ao37ffMt9J8P9PV/2v+lcsV8C1yUco83Ne3ur0i6jluj6+9jGB 82jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h76hchDn; 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-102978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102978-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 r14-20020a056214124e00b0068fb8db15fdsi160606qvv.54.2024.03.14.01.36.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 01:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102978-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=h76hchDn; 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-102978-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102978-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 5B4281C217E2 for ; Thu, 14 Mar 2024 08:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C7F16BB4E; Thu, 14 Mar 2024 08:36:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="h76hchDn" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (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 E3756EEC4 for ; Thu, 14 Mar 2024 08:36:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710405376; cv=none; b=CW9E6Q/r4AOuZJOjXa89ZJ6q/HXyjXuniUqb9bHmgrGA0Hzm4dB5GierBZ81K2Nw/9DEQnqMy4J2t6QHKYgxf5dutBqxcAlQaV40OzTcTDDQNJaubc9ubi9tgxOa4FU7/n7IgUT7L8ZGu/SD+T9bK9KvmDgN3VmY+Ic8iYkjIwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710405376; c=relaxed/simple; bh=fjbWlaQOikwKMnwZOz8/d8vqFrfC7KHDtintYgjI3K0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QEAOm/odypT26Fk/jQyWLJJPYadgilyTuIrUQZgypj8yw8nO/vH3umT3FdWA/9Mh1ohjE3BU9MinGcUeD6+Sv1UkiDOYqziNexXqeSStVx4SF0B7cNoBejtkcdPXOWMhOggs/7Oj5PglnT71vQVIo/hv33K3Rt+G5A8fMDAEnNQ= 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=h76hchDn; arc=none smtp.client-ip=209.85.167.50 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-lf1-f50.google.com with SMTP id 2adb3069b0e04-5101cd91017so1191164e87.2 for ; Thu, 14 Mar 2024 01:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710405373; x=1711010173; 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=hj/WaHxD/qNMmrcRTKT2ci5bqw6SYan4groqkVU9P0E=; b=h76hchDnBKjjXkxRbAf1ymo1yYHVSGX/vE5MYuYOw/LniQcDQCsHBv5h9OvllF71Yq NwsveUquZ3Lz2pJ+58CjYnVtCVsXJSYEJbgbk/DKKR2EEWdbTEteLP2QwXkfyL8CQLmv sbXVxkEhyEZsst7mAocG1EI/ziw8bjZQhSF6UKUfZN+x8vOdq4PvD/+xYiOvtnVN5qFG VKwdo2i3UmB/dKfeUgwdN95BuQEt00ML0u4WzwcF6wVvJq7MqEXJVG1IAtGMd3EqAwJG MdQYvJVMTtNQKUu/PD3flCkCgfbLfJwdW9A/Ze+S/Cfx6IDENUPFLRLLd0edcUQET22G 6KLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710405373; x=1711010173; 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=hj/WaHxD/qNMmrcRTKT2ci5bqw6SYan4groqkVU9P0E=; b=tsSlyferowHAUtk5KYVmrlasoOTdxOgdAvI+KvkcSu+JDcB91mh/qfSL/vcaDACTIW 2ljibS39WUi+3GLDPEW4dOOXaOqw5ovk21jZ/Zv/2U75ao5mmj234YiZlJA4LPewKFyw i9qap4zG3zO0KfKCQtih704WmiOzalv/9JgNccF0KoaSUXRVdt3hDvbeiozjqdnUqdob bgcWfl9as4gqU2l6Rlvx5+u3bH21JPPaZQ/dO7z4onag5DauqtSXv3NRk9LwWXMYBCyU foEkmkbJ8dDHclYjTqawii3NhSEYqMsAg0yKq5r6AcJ5nuumb0EKeugmImUOnk4lu8Gz sxBg== X-Forwarded-Encrypted: i=1; AJvYcCWIWQeIMZmw+rHGIX++W8cK128XKqvqcRLyMQz9i3qZ6r8VseNns4JigIW52tC0t8qUQH0Up4nrJa0cArd0n5/RfxgO3w4bl2+ziUdG X-Gm-Message-State: AOJu0YxmzGNSzQGy/IudlDBk2UdYoTggw8z+Ma+nWK9Bl63fuV79LGjt cmt6LxT8+yuUzY9mqFK0nCzym50O0bhnp86BVsRkmXyo6ceZ1mvOG8e3cc1T698= X-Received: by 2002:a19:ae17:0:b0:513:cd2e:ceb1 with SMTP id f23-20020a19ae17000000b00513cd2eceb1mr619712lfc.48.1710405373003; Thu, 14 Mar 2024 01:36:13 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id n23-20020a05600c3b9700b00412d4c8b743sm1709942wms.30.2024.03.14.01.36.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 01:36:12 -0700 (PDT) Message-ID: <75fd6970-f3a0-4eec-957c-3d8f6a553e0f@linaro.org> Date: Thu, 14 Mar 2024 09:36:08 +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 v3 2/3] dt-bindings: iio: adc: Add support for QCOM PMIC5 Gen3 ADC Content-Language: en-US To: Jishnu Prakash , jic23@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, lee@kernel.org, andriy.shevchenko@linux.intel.com, daniel.lezcano@linaro.org, dmitry.baryshkov@linaro.org Cc: lars@metafoo.de, luca@z3ntu.xyz, marijn.suijten@somainline.org, agross@kernel.org, sboyd@kernel.org, rafael@kernel.org, rui.zhang@intel.com, lukasz.luba@arm.com, linus.walleij@linaro.org, quic_subbaram@quicinc.com, quic_collinsd@quicinc.com, quic_amelende@quicinc.com, quic_kamalw@quicinc.com, kernel@quicinc.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-msm-owner@vger.kernel.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, cros-qcom-dts-watchers@chromium.org References: <20231231171237.3322376-1-quic_jprakash@quicinc.com> <20231231171237.3322376-3-quic_jprakash@quicinc.com> <3f812ffa-ec33-448e-b72a-ce698618a8c1@linaro.org> <13f2b558-a50d-44d3-85de-38e230212732@quicinc.com> <0b9e807d-e0ca-411c-9a2b-3d804bdf168c@quicinc.com> <1537d42f-fe61-48c2-9ee2-1066db71a19e@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6x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i9dUUFggaanI09jNGbRA/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: <1537d42f-fe61-48c2-9ee2-1066db71a19e@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14/03/2024 09:28, Jishnu Prakash wrote: > > followed by updating maxItems back to 1 for all the earlier existing > compatibles, using if:then: conditions, like the below example? > > - if: > properties: > compatible: > contains: > const: qcom,spmi-adc5 > > then: > properties: > reg: > maxItems: 1 > interrupts: > maxItems: 1 > > > If this is acceptable, I'll add ADC5 Gen3 bindings in the same file with > changes like the above, else I'll add them in a new file after first > creating a common schema file as you suggested. Please refer to existing files how it is done: https://elixir.bootlin.com/linux/v6.8/source/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml#L132 Best regards, Krzysztof