Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp337031lqp; Mon, 10 Jun 2024 05:57:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkH6XuQH5qG3rp3kpVzCCGN+L4EwZnfN4VL0bAK5iDKcGLy2RWsh5uDPS0sfsPm9jKiE9lbMzNht3xk1/xCUiVn4A179acJ+cAsJGCeg== X-Google-Smtp-Source: AGHT+IHzn+sRflSQvwsrovw96xYQeok7FMOolpJuOMtEi0GSgdS0f67Lzqorgb30z2qmNlETqmQA X-Received: by 2002:a17:906:c788:b0:a6f:1d30:a885 with SMTP id a640c23a62f3a-a6f1d30ad1bmr201529666b.10.1718024255365; Mon, 10 Jun 2024 05:57:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718024255; cv=pass; d=google.com; s=arc-20160816; b=Y73U/1LArq8lK835FhOy6B0wYSt3HPkVKCOLPwmYp+it6/+JIzhWgoBZO3t/F51PNd O7GcHowb4HoWalNFOOCqYVifqlK71edtKEbWXX6+eebdH6x0t9IVV0gae0jNbSlgmd78 p8aBscO/OTsU85OsjasXTj+Ip6AAhQpNEM7vZdRkrV9UoaESXtKpob3Zue+f3Icsabf9 I8ps+kQeoblwj+lIsaNqyDs3r2RcCCICftFPrMJipmtGl2nkMhzFxMmvrY1nWs8Hy+0t w04I8EkBfzUSP9E74M1lgf3+RX1/68xlJr8E70oJK7CLyqn9Gg/LPYjDBFjCA6i3+p1I 4vyA== 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:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=P4YW+LJlPWVCF1oCUQwCJYAu8LrhPqKFR1EwKZrTF2U=; fh=tBsnGmCa11/+H+m71gXtNtMSymSPATfq0FgDqrsx/DM=; b=Bnn9o7edGK1gpouvFpI+s234z0JAT0ApHV4VqGkFWw0WoAfRnkNw2mt7kvz8pCfjUk 1m3uODCf4hI+0EjFyT/I0jRsjVeMgd4HOCVsog+lmrBh3asgwE+5t76LzBUw2lBxPHwI GoPG7bZHnT0qwUriKX4OPFRqt02/U4Iutnuz7wyHKS6YUqi9G6+TGC6PtMxTNcKIOLyw RsI2dnAr3zMH4bMbCb7EehXbbs6OeV80YXMvWxhP+X+uHPMoj6drJQ1fuIktN8uv/Q1m iG0JEIQuu8JeUcK6nkNJmxYSOIjrOQI+WS+ykxBXyHu74J0UfAoX5D7J+gZrYjEUy2qo IeXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dJ9yMHim; 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-208192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208192-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 a640c23a62f3a-a6f1db46e72si113786866b.933.2024.06.10.05.57.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 05:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208192-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=dJ9yMHim; 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-208192-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208192-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 E68B41F21883 for ; Mon, 10 Jun 2024 12:57:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5099C8175F; Mon, 10 Jun 2024 12:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dJ9yMHim" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 B3FA580C1D for ; Mon, 10 Jun 2024 12:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024244; cv=none; b=XVuIe02WCmklFNAwHjzCMBx2tT4GsgUJdUud0ypk+yhOATO5t/TE8vmV9VtyLJbDjWPfL4pxSIl59zve2ivK6pOx4U5vPNw50XvvMqtX2MOjGL0SIO2wkwN4AyYJhnRj3CsayUZn636WmJqo/I4atYOiX1B8LtWvKs3vA7oJ3UQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718024244; c=relaxed/simple; bh=yg1xPoHNtnIUumoATGu6LmkAR1aS+hHVXOLPzoPOgE0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=r/Trv0RHLABELcU6ucv7D1L22iH7DIoCXVkJfI3QrYLTeWXDrCNDmZCy+3rJUhIPjI2hwFc/EaIjY97MDhnotSi1bbvbNTTX37v2f4INqzOEjr+YcGXAehm5FWDI3jNJut5Tzu+/6/t5wCCLhUp6X2FnSOMS5hTVQE0bQznTKrM= 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=dJ9yMHim; arc=none smtp.client-ip=209.85.208.54 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-f54.google.com with SMTP id 4fb4d7f45d1cf-57a677d3d79so9912795a12.1 for ; Mon, 10 Jun 2024 05:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718024241; x=1718629041; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=P4YW+LJlPWVCF1oCUQwCJYAu8LrhPqKFR1EwKZrTF2U=; b=dJ9yMHimpc8YQQPWERTOEtoAoO84Fw2Qy1c+fN8TAZVg3dbFaws20GjVQ/6p4U2d8l GsgueHSdLfP4HFNSVKcdkYpqdVwwjyAMPBiCCKoFt71lfhI3rSfnDUEWtP7J72dbpI+/ 8SKZUOHa7JI6u6UDzyLDbBoJ0YvPcJhxi86XJm2ZXLM6QMVgZbsR/SS6XL6gRwxl82Pe 10coWBnbHn5Oy7WRXcMqxkDw/jpuAUVLf7dVEvV0afbGFAaRJiDx6WEnW7Eyhxi+7f6k XCDIEZ5+rHZptr9VOE1RzrGi+GQnBDUGd+51KGFTHw6kPxtaFJM628tIGN8QnVMxvL7e kDqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718024241; x=1718629041; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from: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=P4YW+LJlPWVCF1oCUQwCJYAu8LrhPqKFR1EwKZrTF2U=; b=nSlc9XAgd9OOsLR7HlUMOikpu5RmZDYOWTCC96LWyjfaJPbILClSfLh++rZnMgmi5Q Aqlt0+lQMpnACUeOq7trOtgoi5SauCZq9Xkpjm7j+2z3nl4EZwnyiU86hu4tjvLtSLC2 Q8BCe/g4qrjoDzug6HOk3hva9tNMz/oi54z4lmmZcOHCB4qdAD+ywW0M3QqeB0btgI0O cxYGHhPY4xDomzp/xK3+aJRo9qOx27PsBrJXbPWXzN4VormDPdbRwhS7gdhhqtoUV1nv HuuqMUQREv/h6EGr+xxgj1MRPUTBWKXR7cHpjhRQcV08cxXxNOc8DQcIqipUaWvyEcrS RlyQ== X-Forwarded-Encrypted: i=1; AJvYcCVQYU0yp3Z3+qw+153AZzT0jH4GeWoF2s9SuMNs7szjKRRQDZTWuIZUwcpjdcWoc5t/5n1SGx94ADlIF1oNp/j1DecBck4DpArWm64I X-Gm-Message-State: AOJu0Ywu3wjSwL9caxZIHw0fRuPm50dXxN5XbnATQXDA2OwkbgGgQOFU el6a1OWw4OtKugug5FSU67H3XHckxTXnxjobIsVYVE/dgXmGTan0e7EAkfAltLU= X-Received: by 2002:a05:6402:b7b:b0:57c:735f:3967 with SMTP id 4fb4d7f45d1cf-57c735f3978mr2686598a12.8.1718024240999; Mon, 10 Jun 2024 05:57:20 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57c8f3a0c33sm87824a12.82.2024.06.10.05.57.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 05:57:20 -0700 (PDT) Message-ID: <08822480-a909-4724-9250-e7286d5ce90a@linaro.org> Date: Mon, 10 Jun 2024 14:57:18 +0200 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 7/7] dt-bindings: interconnect: qcom: msm8939: Fix example To: Adam Skladowski Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240609182112.13032-1-a39.skl@gmail.com> <20240609182112.13032-8-a39.skl@gmail.com> From: Krzysztof Kozlowski Content-Language: en-US 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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H6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240609182112.13032-8-a39.skl@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/06/2024 20:21, Adam Skladowski wrote: > For now example list snoc_mm as children of bimc which is obviously > not valid, change example and include rest of nocs in it. > > Fixes: 462baaf4c628 ("dt-bindings: interconnect: qcom: Fix and separate out MSM8939") > Signed-off-by: Adam Skladowski > --- > .../bindings/interconnect/qcom,msm8939.yaml | 22 ++++++++++++------- > 1 file changed, 14 insertions(+), 8 deletions(-) > > diff --git a/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml b/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml > index fd15ab5014fb..a77e6aa2fbee 100644 > --- a/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml > +++ b/Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml > @@ -56,19 +56,25 @@ examples: > - | > #include > > - snoc: interconnect@580000 { > - compatible = "qcom,msm8939-snoc"; > - reg = <0x00580000 0x14000>; > - #interconnect-cells = <1>; > - }; > - > bimc: interconnect@400000 { > compatible = "qcom,msm8939-bimc"; > reg = <0x00400000 0x62000>; > - #interconnect-cells = <1>; > + #interconnect-cells = <2>; > + }; > + > + pcnoc: interconnect@500000 { > + compatible = "qcom,msm8939-pcnoc"; > + reg = <0x00500000 0x11000>; > + #interconnect-cells = <2>; > + }; Don't grow the examples. It is enough to have one example to validate the schema and show how the binding is used. If schema covers multiple combinations of devices and their properties, then more than one example seems reasonable. This is not the case. All of this is redundant... and redundant information is not good because as this commit shows it leads to something which people think is not correct and they find bugs. So just drop the redundant information. Keep only one, correct example. Best regards, Krzysztof