Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp940143lqp; Thu, 21 Mar 2024 23:50:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUE3GkIUDgtSe50+gCx1d/sUZ/NQjhwecLstrwYjzsC8DQ2kftEy9wkuInB8DbiqbSmKs9quNtgnP6m55q8C3xvIZFFaGWS96GH4+iNYQ== X-Google-Smtp-Source: AGHT+IEWhDebo+AOCD+eD4exSGQ/b9w1FlbG6KdxbYbtgojwVfAxIhdImptvXyVS5ZwxCYShBFQo X-Received: by 2002:a17:903:18e:b0:1dd:df89:5c2 with SMTP id z14-20020a170903018e00b001dddf8905c2mr1746428plg.22.1711090210595; Thu, 21 Mar 2024 23:50:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711090210; cv=pass; d=google.com; s=arc-20160816; b=o96EsSxlIpCBh5RlhdQKI5NtDG1k5WjUhuUICw2VUA2yOV33nDyott6T8xRToL+rw+ i9tV5BCiTl0tU4gRhV25PHaBb60ugLKcLrQqoL0ZbhBO7G8qCLLRSmFur8r1cOUgly2f WgB7g+WI+nH9aDZ1jFbZpqMJqj5uZkFKJt920F08H27PxwZ8V59tij539Xj3yq3YVVkb oSy7+Qd2POYJiqkkgxZj5ESTJV3onuk2V9lZSTPZWwYp0a41F+RJwnUgRKTzQ+m9D0s0 4JtA/0NU8CR89LGvIgGTHRluma48Rw/jS/VtI4V0wEwjms6KcV8ISZXC2ePZ4MyHPRtl ghXg== 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 :references:cc:to:from:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=I5sXdHzq2mmZcnR2eOCseDkPnOJfe4dMIq6Nx93VsWs=; fh=QG4FNTskuBX/ZUvNj7Fx1edVpw0uMrvxHNzEQd3Xk2o=; b=wuSEanLiSFtOqoW8r+LRm3FzOfcVn5PepdP17fa4SwwCkVrwCD/jyyWVLS+BvpkQPF 3Ahp22cfG+6/wzFq7dDyOycjU8YKC4XMSUIqvWiYSDbMltj0z+iucex5C0PRncE9zatl +wGZmGyJYxaDQN8dtYhYRAS/fF6fe1HJ38R5xlpnMVUtC2ivoRR/AvAlkR76htiPQUKX r9hU359p7uqm+eiasZIyT002O/Sn1d2boIGTlViEgJ2kQWGG9jsidOILM61toSca6p7u l027pO2iY6bzctxzUozQ9Yi9lh+qQJJJjKOwnsSTTvpq65nMf77tsDyZhdN3XNxGHeb4 u07A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FTyHSnrZ; 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-111027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c11-20020a170902d48b00b001e01baf194asi1346738plg.472.2024.03.21.23.50.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 23:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FTyHSnrZ; 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-111027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111027-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 45C2C286448 for ; Fri, 22 Mar 2024 06:50:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 411F310A19; Fri, 22 Mar 2024 06:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FTyHSnrZ" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 8903B101C1 for ; Fri, 22 Mar 2024 06:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711090203; cv=none; b=ho16ibuRsP4yRCjXfXJr5U1VHE8Ulh7dEiw+i3imKZFjTN1HxoB76SNSyRj7+dLvZQkOQU2SYBTwSRO/8YNU3sM852LeoIS2/YnO+gUhBnYFYeUEJHzS3x4p/jxxUBzFijV9e6XAm4JbX2pMwAjZ4TxNk+DqJ9EnikPlWD7YBZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711090203; c=relaxed/simple; bh=hztYgNnzlR152Q63wYFJZiUp6doejgjvGN/l4pW2yDQ=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=QPSDiMhShMEO2ZQe8ynRpZv4qYPATEnGKGGt4iFuON1aci0w7KTjVMiX/TdMYlwURxey+zEmDpdkaGzTH/qHot2K453OHVRTu7zeRtDLcwN9Mjvs5qQ3rVbg1SFlCKs6B8D9NtTMxAYWCP/t6Sj/A5mxQWTzP1j1hnA+3UBK1GA= 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=FTyHSnrZ; arc=none smtp.client-ip=209.85.208.45 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-f45.google.com with SMTP id 4fb4d7f45d1cf-5684db9147dso1994293a12.2 for ; Thu, 21 Mar 2024 23:50:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711090200; x=1711695000; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=I5sXdHzq2mmZcnR2eOCseDkPnOJfe4dMIq6Nx93VsWs=; b=FTyHSnrZhDy+83Bfolh44ZqzCpJXV8y6p4crt6V67gpmEIcCG0d543cA9beHz2dW8V da2ESaAkVD34BzVi4OQS/GVmNpAOIpBlI0SrcxgLgVd0pslzB4bl0jRfTMY/8MU0KlkQ YwalxWfODwlbfNSPKnl/Q8Q+yHTwI8CQHTFXAWFtxjRpOqN7nNL3b0SomaExbbjkq63P 5ksJUidLuv3h1Dx8xJJFs98Xs4I5DQ5p10JOQas2Lc4DPtxWXANbzTPJcvWvVMXXQr7K vH6YPJ7pB6QneHIfT9ZQy9dyAXK/CRpBOP9D5hdSxQz7rHWEjuk7yOVtrP+TME2LErge Sk3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711090200; x=1711695000; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=I5sXdHzq2mmZcnR2eOCseDkPnOJfe4dMIq6Nx93VsWs=; b=Y5GBgQ28kMr51to5Gu2c0eLDOwFHyiq/8Y6QHy/oj/pEZKSYK48NPx4g19M5M4VkKm VpQhN70aiOHuj/0jSlYfBHHyYjAxYY9NrsA4Fn8q0Jnyaz1+1gt15WxG7NvlaFZE//eD czvgf/LDYPE+mW2fT55ZUHCwZJvRd7C4GIHTiALDtXzuVbeRhbJjFRY1DgXQ0EENrvzC sqjaGRk8pVSwjbJSzsJoS2meepeIJsvBzSsNh6GO0DMkuZY3bZoS2wagamWY4fzSxCKF qO2KmdLDX290IR0XVBypH9eoYJVASKQeA/RSrfNM9OhOU4oCIPEpQIxnA2BSIiaFXNUo SQXQ== X-Gm-Message-State: AOJu0YyCKwUZtoYFJgRt42304KoPzl3n/DUZTTG/gj7IZtdOwbIFVbn7 7pOMshxPhlocaARfw0CrPh4O7cQ28YDTvhrGOGNsZeGxCw/KUygzxlc5wE/EyLw= X-Received: by 2002:a17:906:a84d:b0:a46:930c:b793 with SMTP id dx13-20020a170906a84d00b00a46930cb793mr958073ejb.9.1711090199863; Thu, 21 Mar 2024 23:49:59 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id rp20-20020a170906d97400b00a46a2779475sm683399ejb.101.2024.03.21.23.49.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 23:49:59 -0700 (PDT) Message-ID: <6552bcb8-e046-4882-91da-1094fff3d239@linaro.org> Date: Fri, 22 Mar 2024 07:49:57 +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] spi: dt-bindings: jcore,spi: convert spi-jcore to dtschema From: Krzysztof Kozlowski To: Kousik Sanagavarapu Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Mark Brown , Shuah Khan , Javier Carrasco , Daniel Baluta References: <20240321180617.35390-1-five231003@gmail.com> <5dd3237f-e0a2-4214-a63f-233e89a26b8d@linaro.org> 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/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5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KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <5dd3237f-e0a2-4214-a63f-233e89a26b8d@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/03/2024 07:34, Krzysztof Kozlowski wrote: > On 22/03/2024 07:23, Kousik Sanagavarapu wrote: >> On Fri, 22 Mar 2024, 11:33 Krzysztof Kozlowski, < >> krzysztof.kozlowski@linaro.org> wrote: >> >>> On 21/03/2024 19:02, Kousik Sanagavarapu wrote: >>> >>>> + spi-max-frequency: >>>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> >>> No, drop. From which other SPI binding did you take it? I asked you to >>> look at existing code. >>> >> >> Without this, "make dt_binding_check" would break though, right at the >> position in the example where "spi-max-frequency" is used. That was >> also the reason why additionalProperties was set to true in the last >> iteration, but after reading the doc more carefully I realized that was >> wrong after you pointed it out. >> >> I followed along bindings/spi/nvidia,tegra114-spi.yaml. > > OK, you are right, the property is used here in controller node, however > Linux driver never parsed it. It was never used, so I propose to drop it > from the binding and example. You can mention in commit msg that > spi-max-frequency was not documented thus you drop it from the example. > > DTS should be fixed as well. I'll send a patch for it. Cc Daniel, BTW, J2 core is rather odd platform to work on... Even cross compiling and building that DTB is tricky. If I failed, I have doubts that you tested the DTS with your binding. This applies to all GSoC or some Linux Mentorship programs: I suggest to choose for conversion bindings with more users and bigger possible impact. So first I would look at ARM64 and ARMv7 platforms. We still have around 1000 and 3500 unique warnings about undocumented compatibles for ARM64 defconfig and ARM multi_v7! That's the platforms you should choose. Not SuperH, ARC, or whatever with only one DTS which is difficult to build for regular developer. Best regards, Krzysztof