Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp539965lqp; Wed, 22 May 2024 11:39:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlXquVQR7YZHuKDoCPFD0Um8cYBc/RBFYFDxF2OAvz8Hlu7m4YcXPmK9JcX7b0jT1Pr4YgtomWGWKcHMAT7/JbQq3QB7SEp3tl2r+96w== X-Google-Smtp-Source: AGHT+IERRQvMOBsg4MB9tnv87Xvo5YGxswOFHmGOyxGtq0viDK5qTosf5xt74rhj1qtfEZFCtdiL X-Received: by 2002:a05:6a20:158a:b0:1b1:ec01:81ee with SMTP id adf61e73a8af0-1b1f8b200e3mr3281419637.51.1716403159318; Wed, 22 May 2024 11:39:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716403159; cv=pass; d=google.com; s=arc-20160816; b=1LjfyN/ZcOE4ry3fNpu4oSrrzR/AOhjru4P/QQMnJ14990R1lFfrOXq/IfGs0EUB67 FmWxXAfDdic+3VKsO45QvoSfmAzkL1QWAhdEidOOJMPKn3CmDJv2EE0n0cB4BOSrY9SN 4HywAf0S6nmnwEPJjOBIvMNy/3YFv/7FPF0R67D+Wb93TnVHB8t8TRaJrAKKH43m3WOL w4Akd+8fDNFd8vbL+5TLh1QvXDvGbyMKdBzSxSocQUUEp/44wUZUzlQbeB6BIXbqg5g6 1sg2mO6KfmAnW6GbQobubPFIOoEPL5ri6XNkAorQGA7hiJPzHVPsb9Bs/m0PEjC0jWak I8Gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WowmymhSQgb7aeMuyb2EmWdDvfH/2EO855oEziB1Qzg=; fh=mvb/EI5bMx7kltHEv2Y7O29v5AOPRVyRc/vx7JUEZ/4=; b=ROUweB+ubTd0ymZfgPitHLFCjWKpP94eMEO7MRSbl05NZMKX4S95Q7eY1cxUISxlTc VN6burlMrfwtxjmy1W5n+YCZWUrJk0QPIuB7/K6A3raC6kufKa4jvDO6stKr/299u3aM TOq1sa5b0bk5/ogpti6ViGH9vRel9+Q1X3kT7tBa8Cf0kEyW6NUXuecwtDu/w1Lnm89/ muSCxY9Hddz7Y4vl2PQiIKY2tJHEFF6GC/rtKLBKgnxH7lTMO9R4jwd6TNE+PX4Pc8uS d9TlZqOXaVZUlUzZrNfPmZJSCIltIzAMD09ZV8K1KHt6tmCv/fsCnOCB48uHdXKIpfGB hy+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Py7Ap97+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-657163f56a6si575007a12.185.2024.05.22.11.39.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 11:39:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186620-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=@gmail.com header.s=20230601 header.b=Py7Ap97+; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186620-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186620-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ED727282702 for ; Wed, 22 May 2024 18:39:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C06614600B; Wed, 22 May 2024 18:39:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Py7Ap97+" Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 070D7145B34; Wed, 22 May 2024 18:39:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716403150; cv=none; b=ldKu7JkjRV6Syxnb8U2f0DdJ9YV96GtkjhhFQCCFF3u8oM4OVwID2aO/XoeDBBUwXCgcAUQ0jznaxxEzZp7xHqvgNSL7iInyVPlBkCDekik+S6uok8sx4XN6T4WpkHAVt4loLQpNUbd0+Iv3z3ro85ZSB04r0weNOz4m+87I6Yo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716403150; c=relaxed/simple; bh=zBORLGfwEDM1w4TyfaRsoNqVkhOG4wegvCBhB3v3QGo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AaybZYiN3GXMshjhwx5OaDg4At17eram2VtTnNRdbEvi+zVXRssxj3todNV6J65eypOkE2vw2x3CAmz4Ix9rjXkARNwgzKydRc6XRhMpZxSLnm+/0pEXJl27LMnGjDBb/eLF1clB5SR2G6wk+3OsWCH3cqLNak/1aA5F2Qf6PzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Py7Ap97+; arc=none smtp.client-ip=209.85.208.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2e724bc46bfso45183011fa.3; Wed, 22 May 2024 11:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716403147; x=1717007947; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WowmymhSQgb7aeMuyb2EmWdDvfH/2EO855oEziB1Qzg=; b=Py7Ap97+5kTm2tq7a99i5soGS+TB56wo2SQIhxd5jkDOA6P72rhYbY1PY5O48OxcMp DPPVqa6TJXrvp4DEMcXJs9cAkExczRcGwdifou6Eyu6Q4dVYWoOHa9K35OjwGJTZj/B+ RDDRMWhTHfNv6FtQIPyZqO8u6exSu2Q7A3IedrLtZTHFHlaCy0CQxVkHQGg8fHBX4dny rpd8iie1KdAF472aBS0eO1po0nAVC9ZB2lwZ1IvpTOVfvZ0oKaYocRD/Dacb3/aFbkOB CVa0atbH8c2hqurRBG+rp2b1yD71McidKL4oZkEJjN1c85ZLDjsIx+xgECpCd7dRWISG aTQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716403147; x=1717007947; h=content-transfer-encoding:in-reply-to: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=WowmymhSQgb7aeMuyb2EmWdDvfH/2EO855oEziB1Qzg=; b=oKxGgJncXWpEdGRVVWifFhCX/rA8OaCDWo2mE5DwGE6y/O3dN36Rn+WU96Si9yqJS7 7Ey4OkjH6lcX8zsSfeQnNL3setCg5b1X4hiqDWADIthxJjQkx7A52yCw1XAFtBbi4/ve kgLn/EhTf+cpg68g9zmGmSJkBXR5Vjo/mdMTlAhgUYOglyk8wSj3RLJKC7+INL+Lp5OJ bmanHhqq/f/41JgIJoicsKFxrLbjrAb8KMWQnLBQIEh0UMvZ8yVdElQTHX6atdZMmaP4 4Wnbl4QBj/ozbcdGgJQ8sivgidUPucKSce351VJq4z69f0gXmyOpuoN49GZjfnA06edz UieA== X-Forwarded-Encrypted: i=1; AJvYcCWvQeENFCi8aPOknVV5E0oEE/CCwcajIE/mpIOkSg6pLTZ/b2Xlc4ztBkp5YYrBg/5msYwlQ8V7A5fMD7Fzjpmzm5pblH0M2coNyiNOp7HNFvV+TtZJKF0ZdG55tvyLQlxzPm5ssXhr544PBPn9L3vDC/7GpCgJL2Rb8A8NSxl6Ao6nvVmb X-Gm-Message-State: AOJu0Yxm+mWIxAPJsqvEf89HLVqoO+M7cGdsuYmk+OGjVLF3nwi96QTa ky+dTEBmyhW2a1SperwtEccfrm+nuQgNF29TxDtZEYTTLG3Pgixj X-Received: by 2002:ac2:47fb:0:b0:523:ab19:954b with SMTP id 2adb3069b0e04-526bdd47d37mr1714892e87.17.1716403146853; Wed, 22 May 2024 11:39:06 -0700 (PDT) Received: from [10.0.0.100] (host-85-29-124-88.kaisa-laajakaista.fi. [85.29.124.88]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-523aa2645c7sm2535372e87.167.2024.05.22.11.39.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 May 2024 11:39:06 -0700 (PDT) Message-ID: <2d2b0047-ae08-4a76-bada-6bc92f443544@gmail.com> Date: Wed, 22 May 2024 21:39:52 +0300 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 v5] ASoC: dt-bindings: omap-mcpdm: Convert to DT schema To: Krzysztof Kozlowski , Mithil Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lopez Cruz , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, 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> From: =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 22/05/2024 20:07, Krzysztof Kozlowski wrote: > On 22/05/2024 19:02, Mithil wrote: >>> 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? >> >> dt_binding_check did not give me any errors. Yeah the example is >> different from how it is implemented in the kernel ie board specific >> (omap4, omap5 etc). Should the example be changed according to that >> dtsi then? > > Binding needs to be adapted to match DTS or DTS has to be fixed to match > binding, depending which one is correct. Normally the DTS is written based on the binding document and the driver is written also to follow the binding document. However in this case we have a broken/inaccurate binding document and the existing DTS files and binaries in wild have deviated (there are boards out there using qnx or BSD and use this binding), or to be precise the binding document was not updated. The existing DTS files are the ABI, so we cannot deviate from them, unfortunately. In this case the DTS / driver needs to be reverse engineered to create a binding document. To note: I'm also guilty of not updating the .txt file. > Mention any changes done in the > binding which deviate from pure conversion of TXT->DT schema. > > https://social.kernel.org/notice/Ai9hYRUKo8suzX3zNY > > Best regards, > Krzysztof > -- Péter