Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp486290lqp; Wed, 22 May 2024 10:05:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPXT1PArpF7wR6aiyO+pqfNy50W+v6ZaUOBem05UBtqOQPjZhsWz+V9xfU1GtWSKfOfxGJCLDd7fQ5EIG3+pBLEGwxfiwppYEmiQ2oxw== X-Google-Smtp-Source: AGHT+IGU5kOkg1yGtIGEFKbdLb4o+dgFXHDeuCmO/eTwT7uSiSg+3Wb2Jia+J+6HvkWFUHjzOAKL X-Received: by 2002:a17:906:9a2:b0:a59:dba0:1544 with SMTP id a640c23a62f3a-a6223320d77mr214481666b.31.1716397542114; Wed, 22 May 2024 10:05:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716397542; cv=pass; d=google.com; s=arc-20160816; b=a9awcdPGDpEjZmmpc1p1ibxBHCXmTbTy9oSY/HU1cE1aCuT5+K/zs8wjnyzSMBLL3x nNe4IY+jnW6atwMwcIsRut8fwFxVqt+5ym/w/HVQ9FLmuvoNVRqO0UdtSqIhLsT/2EBe 6czELNxvSp4EM15uVS03YrQK/umDMau0Cxm/c6kWnPRus3+jxlP8E6RC9+LzMh6ZIoBu sherMuo7C9Z//sIdtqaSA0bV/yiH0SOGMtqLMz91xqqg5CTog5fAsPh7Y5Z3XpQckZrP YYWtK0o63VgsKMEKmHoLljxNI0x0D5wmCXSt/X5Ir/JMb9JQmS7jpIEE+YSWS690c28K nnUQ== 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=/xhFD/noHuuqg+fvw2Qd9zfkuJeLxnNSdWZPUfR9DqE=; fh=UI0bOa+5NE0ml0hQklYId4cTVcj8Qz6oJb5peaUEagw=; b=nEVQ63viOTmH+vawOWppZupgkQbOQJpzjygpIe4OO/QqGlFiE09j5Q2HKs4T/lOz0C u02ODioJ+SRyoY9Uqvt/0ulWsH30EJUUu2NVbb3XwCWaeBQmxvQKPQHU+NURDEeYEMbi ifyyqT0VlgDNxcuvpo47thITqWQ0YL0t8FtXit3JNnyjWBPQxsJN7k2QZloiKmiM9VHq v0E7t5cYdh7tTmAxE44y25fcaEvymvlhQgcK6QgBBgtuOWqCPysvdjkrZjz+jZInPTBp 8VjUBvMSMq1kG3s/Ka9MJnD9W3j+kKRvWCA22EtAcYXnxgsx6BZnEEDzxWAOjOox5gMW AleQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e5/TqdKb"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186533-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1797cab8si1536034966b.258.2024.05.22.10.05.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="e5/TqdKb"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186533-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186533-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 A65291F21AD8 for ; Wed, 22 May 2024 17:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 297831420D2; Wed, 22 May 2024 17:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e5/TqdKb" 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 379741F17B; Wed, 22 May 2024 17:05:30 +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=1716397532; cv=none; b=GYshaQrm5AdMteLQuaIH6HU3ufJej4x4vs+KNJ8ZxYnZH+5zz3qTuHlLQHQSv4RY7/hfJBgzH3ShGzVC+3rfhzHafanfdpogF5i6KEA1vKTXQDoQo3JzERsUNq04R05UdE+CXvNPmBq5kFda+wTD0IGSbbM0hT8aLRI+shZwiw0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716397532; c=relaxed/simple; bh=n+bl6qffvfcDmfvyQ5KKICcroj6hZl/cSV5hmi5RmH0=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=uGC7XNhjkHbZBRYr6d8WXWqtZF0cEgwiXRWcgckpni0fy8dT4bCiavI7vtpyxgbCreRd2CzUSwH/7sq5MFzwXN4N12Zt+IKOmXn+oc7hBytuQZ2SSTKfTY9GePMuV/P4jCHKb+KZi5P8BpSdomo56Z8Cb2gGQjzocJYgrc/2lZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e5/TqdKb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63601C2BBFC; Wed, 22 May 2024 17:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716397530; bh=n+bl6qffvfcDmfvyQ5KKICcroj6hZl/cSV5hmi5RmH0=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=e5/TqdKbduEfbop/yeQg5/GSqLX6vWsJeN/dzQ3ZGNxUZIU935+6iJTB25f6eZmtr YBzvRhFbXuUeMZnPdxaRAPHqbPYRq0L58V8WHe7seX99QV6cYZGdfj/qBQgqbqEZ1W 0MYklGrEuW9i7aVt8WPMuVVVLj9YT8xdBDh+C/UkUx1cWvVsp7DXXxk24IXnvafeb5 +QtB+k4qzKPtG1HGHqL2ncyVD101QFRMIHmgFwoWe23o6SVb8IsIWkt0+5o7g3nJjL iD9oB8cNsRkAyP5k4RLLh3TAV1EatT7Pc9/Omr+iS2bcy9MN2QC9dgrXzI9C43kKxx uRopnj2oP0dRQ== Message-ID: <60989c44-6d16-4698-bf3f-b3c5dcd7b3e0@kernel.org> Date: Wed, 22 May 2024 19:05:24 +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: DT schema bindings conversion mentorships (was Re: [PATCH v5] ASoC: dt-bindings: omap-mcpdm: Convert to DT schema) From: Krzysztof Kozlowski To: Daniel Baluta , Shuah Khan , Julia Lawall , Javier Carrasco Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= , linux-kernel@vger.kernel.org References: <20240522075245.388-1-bavishimithil@gmail.com> <0594944d-c158-4840-8724-b3f2edaab1ca@gmail.com> <4f722e53-011f-4176-b6af-080522165007@kernel.org> <3c6c5be1-fb8e-4bf0-9f58-cfb09672e8c1@kernel.org> <58ada5ce-5c02-4ff5-8bdd-d6556c9d141f@kernel.org> Content-Language: en-US Autocrypt: addr=krzk@kernel.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 TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307Q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+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <58ada5ce-5c02-4ff5-8bdd-d6556c9d141f@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 22/05/2024 18:42, Krzysztof Kozlowski wrote: >> Yes, the binding document was neglected pretty badly but when converting >> to yaml it has to be correct since that will have ripple effect on >> existing dts/dtsi files. > > Yep. And testing DTS should clearly show that conversion leads to > incomplete binding. > >> >>> I assume the DTS was validated with the binding. Isn't the case here? > > Mithil Bavishi, > Are you sure you tested the DTS? Dear Daniel, Shuah, Julia, Javier and other mentorship managers, I see some contributions regarding Devicetree bindings which look like efforts of some mentorship programs. It's great, I really like it. Only sadness is that no one ever asked us, Devicetree maintainers, about some sort of guidelines. This leads to sub-optimal allocation of tasks and quite a strain on reviewers side: for example we receive contributions which were never tested (tested as in make target - make dt_binding_check). Or people converted bindings which really do not matter thus their work soon will become obsolete. If there are still such active programs, please be sure that mentees follow these guidelines: https://social.kernel.org/notice/Ai9hYRUKo8suzX3zNY 1. Please convert bindings which have active DTS users. First choose bindings with DTS built by arm64 defconfig, then next choice by arm multi_v7 defconfig. Then any other ARM or different architecture DTS. 2. Be sure dt_bindings_check (including yamllint) and checkpatch pass without any warnings. See writing-schema.rst document. 3. Be sure DTS using these bindings passes dtbs_check validation. If this means binding needs to be adapted during conversion, mention briefly in the commit message changes done comparing to pure TXT->DT schema conversion. Best regards, Krzysztof