Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1195803lqp; Fri, 22 Mar 2024 08:05:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUvsGzWWzRe1lT+XmvOiXWrjDeuTYhDXe6Tg2oblkdSVcaSLsE4bypeNwS5x/GuV9of97AYaX8QyV21yaG7YnWHfjkO9bkq6prB8fQZA== X-Google-Smtp-Source: AGHT+IFNC6G3MxADWEA67KIB2emz2Bfu31l/7aflRTmy89IXoYTixRgffAQyVu4JYlM2omPmS0ew X-Received: by 2002:a17:906:fb1a:b0:a46:a8ba:60b3 with SMTP id lz26-20020a170906fb1a00b00a46a8ba60b3mr2000646ejb.37.1711119940881; Fri, 22 Mar 2024 08:05:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711119940; cv=pass; d=google.com; s=arc-20160816; b=C3/NvTYKWTw9PT8WLvUnFm8cIluHNf3RdXoabL8HgKqoeoJ4yzTRfpPeJWp3n2hPJk mGj9fI/9pqFQ3xx4LT0A4mM24iEFG+wWP5dHrc/oVcJ5Q4dMbL9qplHPoBYym+667ifI rXgEAMPF2UwAfpFjb65jFw1VpovG5Exr3ecTQOtVQERVeJh4R+uvE8KePw3PI96EXxSB jRkt4dYpJMF4LDZzkpWabx0vQ7GkZVze01JaFg9fCPOVRHWwoPmrtNic0uL1ALD7Fy0u Mk8UN54nW+77Mn/YsgyM/0NTFnscSjc0wHwejs0k+WlAWiokGM+7UFlQT/iSJiOjD+wT DoDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RRA8T/5C3yj78JfrwSahwqqFPlvR0P1pCcz0tZr5F1w=; fh=3kjX33NrYim4kLIxXtWFB3pJMTxxjP2BN6wwOUcEiKk=; b=X6YW4Sx+Eh4vDU/IOKh8pfDp8ikV9tahe4bLWteDqnae766nAf8HCuqIZS5NftlhOC UrD+JwcqXRw9JFLWNN2hzV452HOfIKIJ6bQH4a/CQksF9/laV7CgOaooHZ0j6bbQj2Rr uBO5nyRWm04AJAapE6iW3BFDEwsROxRo0TlpnGjkeNElOO09q8tuAiRTxOoNOWO4AODM qdQAYYXJQz/tP2mqxj4Sy6V2K5Cxt15VAk+yP3VAISldtfntmggMgrwVWTwQEqyEGo9L qtTfm2m92lXl3awZ7OpABJSQfMjUgoQnZB+4gKx5ydy/xTBRfkZXcIiUwSIpkchmLBnu J4IQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GrUQqLM6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 t19-20020a17090605d300b00a46af0e679esi951216ejt.646.2024.03.22.08.05.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 08:05:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111675-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=@kernel.org header.s=k20201202 header.b=GrUQqLM6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111675-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111675-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 9172C1F232A1 for ; Fri, 22 Mar 2024 15:05:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74E684D59E; Fri, 22 Mar 2024 15:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GrUQqLM6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89E0547F7A; Fri, 22 Mar 2024 15:05:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711119927; cv=none; b=Tzha40nXfJU3IkOnmy4tRlOzNTKsZyXK5qgXVA/YT30G9pYxbjUllEwXBwU3B0XyyXly8sumLZ4HlQhJTMbSB0BasJu8F7lHPGFywkXhfyWn6ZgkKcIHirH1GBHlYAelqjDFLtkiAJ4ilY2wHCFyGydZHwJV1QF4kHSfQORSH+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711119927; c=relaxed/simple; bh=hOaLhxPz7fVCaMThTMnaFGE2tZ45awgUPoVTCtWs6g4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WN2h5nbMzGBHa1z7Tl7wbWsd5qwhFzuATO+3+UUAA22GQi30iTGG6u6kIj0uYdRioO7+S2O54xXwngGQco0gwn9Yj525G0LKKfzkBSdX827ELq00o0/nbHRIjj3e5XfBCDYZvjbMPp9Cf5wbZiJGEoGIIfZH9w6ZfMatcKpL7II= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GrUQqLM6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6EA3C433F1; Fri, 22 Mar 2024 15:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711119927; bh=hOaLhxPz7fVCaMThTMnaFGE2tZ45awgUPoVTCtWs6g4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GrUQqLM6Wd72xhvdojCAxLcOUHzbjowfK9Q6V1DZNjleYaL8dnybvK4evpAFX8mQ7 s35JIOjXpZKZxD6UIuLwB18IFHLym8ASvgFeqxKBkdJGF/vS+FdsEx7fr/4rx5Sq5c fDFDRnwivnaAyIFlJLQ9epuq8LCbJQ47U+b2zkd3AsG4gRfdLcYcDUuNSfJKIVnHmG E7FAoiwQzCOApDNsBLcevzwjOfOCQrqBQ+hPv4oaAHUhPfhOeDuMqzKizMwsWFwD7e 0GghMSDTDvqvrgKgskldunwWSpG/JvRoXgW0aSFgz5mUJHahSx1okZQqYrK0ab4mFf GygPI/q09zzmg== Date: Fri, 22 Mar 2024 10:05:24 -0500 From: Rob Herring To: Krzysztof Kozlowski Cc: Kousik Sanagavarapu , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, Krzysztof Kozlowski , Mark Brown , Shuah Khan , Javier Carrasco , Daniel Baluta Subject: Re: [PATCH v2] spi: dt-bindings: jcore,spi: convert spi-jcore to dtschema Message-ID: <20240322150524.GA895852-robh@kernel.org> References: <20240321180617.35390-1-five231003@gmail.com> <5dd3237f-e0a2-4214-a63f-233e89a26b8d@linaro.org> <6552bcb8-e046-4882-91da-1094fff3d239@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6552bcb8-e046-4882-91da-1094fff3d239@linaro.org> On Fri, Mar 22, 2024 at 07:49:57AM +0100, Krzysztof Kozlowski wrote: > 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. To add to this, either ask DT maintainers what would be useful to work on or you can look here[1][2] to see what are the top occurring undocumented (by schema) compatibles. Rob [1] https://gitlab.com/robherring/linux-dt/-/jobs/6453674734 [2] https://gitlab.com/robherring/linux-dt/-/jobs/6453674732