Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp420211lqp; Wed, 22 May 2024 08:22:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXP8m3Cj6DxEXKR12CWoI6+pXVF2cvGMd0bzf3M/ILGHZ+k7t/wmcfScEVWXa42wNlfRqLgSQmPIb5STKGX4XE9sN5xRGFjxbe+tII7Ow== X-Google-Smtp-Source: AGHT+IE5di7Q1hTy9I2MwwrO/u+jlbJB0RLRPj16Mu8CWB/de+2L0XwpHwOdGJpA3u70wDPXlrBB X-Received: by 2002:a17:902:c443:b0:1e0:bae4:48f9 with SMTP id d9443c01a7336-1f31c9a5067mr19572655ad.32.1716391377441; Wed, 22 May 2024 08:22:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716391377; cv=pass; d=google.com; s=arc-20160816; b=pR01bOP2gS4E1c0R52vn7msWqQLprtVigpvRdx0wqPgs3b/dvjSOE+7Jo2jqQsROrp 5A8j5DHpGdBRr18ox3jL7rBSX9TJ9b/kdqRzJicLJKi+8JBHnItP/XyNgm3JOz8odsKR PMOG1i+EsaXYwb33JzG/DArXMXqVhrdv33NepmXP12kwrdpyPGpCcGnpr7LHMmz8zXt1 4QWrhbixLbrxVA2SWxMoSGyE4XjvrDho7gWSOavfQnMBwfFbkXbvt5oc9k8GJxmHSSss /Bkro5sEiZrs1xR0R/xkXsuH+e1t2WvScUVca2Pz8KYrlX+613Cmt8IFy7AXmCcRtk7C 93Iw== 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=D/s3YhUjYe0Het+IwykGeORXDd/wL1MCtlrwJKrF+/o=; fh=65eRB/M28+0i76kJyJtxD+mc7gvPpuNDUxkljrDa+zA=; b=miQ5qWOkxQ+l9qsCdfeRJVg9A1tTkfiXOy03DCnSPYPMlFswsMSn0gda25P1Ph2iPO 3+4Q4v7YptNbbCj3zelOaIcGAeG4yiP1sCbT2w6URnSa9G9NBKn1cgLlqQ/yfX5/DuVH YQ2qk/1EwYUD9aEKpNEqW8hoolipNnd7yupPl2rSj5y+9d5XtcxZKWMo7yBFJln/5JhV 8ZuBxX1RDwT5M14BANpU/Mx77nDh82RHk2kHoxObyp4y39LpIP4P4mufOSAPV208muRN yqPP98dFV/ACy45b8IUDp5XpBQ4/JoldrP1ti7bix12uXkWXRs2e/DGeu8W6B/FWYLT9 kjrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cd0TUJdH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186425-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186425-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c037ce2si221168505ad.348.2024.05.22.08.22.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:22:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186425-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cd0TUJdH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186425-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186425-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7818B282C8C for ; Wed, 22 May 2024 15:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A150A77116; Wed, 22 May 2024 15:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cd0TUJdH" 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 B55EB1864C; Wed, 22 May 2024 15:22:48 +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=1716391368; cv=none; b=TcMOqvTy79WWwLKB/IVzP2hiXKeW/kJaEH4jPAPryA0sWGayeSLjbGIDGGaTsz91X8oDE2mW/1pfURPgPlFbw88qxZyIWZzS7FW7rrHkLcwQVYfCDkUgkSesUPLj89NTxmm1Oq8lXCSkC8ZYqCgBH5tr5XKGVXSQpk3ROlS56L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716391368; c=relaxed/simple; bh=rP9yXekDWC5P67J6CUJmjz67STAAypXpb7mLVY/dtdw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=o4ocOZugZfNVtEcopxGbHg19xRWpKOl+T4ZuxHzAz9Nn1g2gvTTmaJpRJBz4UMaz2aQ1OmnPVRq9KPdXpAq66lYb7JESYNzA/Sr2qrXUZr503fkAMXOa5sBdypkOBLWt62jdT/xVLYVsfZCYHvV1TqR2NxW9+jWpPKVYg8626yE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cd0TUJdH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69FC9C2BBFC; Wed, 22 May 2024 15:22:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716391368; bh=rP9yXekDWC5P67J6CUJmjz67STAAypXpb7mLVY/dtdw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=cd0TUJdHq5AnFoPGfER5uchXJaudkf1tqDHjylw7adju8Awd0XwwuaRob/cnrZ2IR CIPTvOqgZ+zIRyuRePkaAxdae2h5Uj69q4P7Uk+02Eyz/oftHTZQn5kHdefKaEhN5o U+pAtFOkMN+rIx41Gmit1jW1W9Dc2RIpsuD3mLauy5u/FO9b4MvGimDyT2cyQW6+He mOaTE6EMG+qqw56NxhV6ERtRxW5vfxXotHNqeIsZuFLIDeVz2HuF+B+3XKjSusoHgq iRwsYY/5DXc3h49sKt9/ogRrLeLaWYPwY7TOv5d1k3nG41KC36uQ9F3N4FmmaUqukY e+b3D0eSD/5SA== Message-ID: <3c6c5be1-fb8e-4bf0-9f58-cfb09672e8c1@kernel.org> Date: Wed, 22 May 2024 17:22:41 +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 v5] ASoC: dt-bindings: omap-mcpdm: Convert to DT schema To: =?UTF-8?Q?P=C3=A9ter_Ujfalusi?= , Mighty 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> From: Krzysztof Kozlowski 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 FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZjHvj+FRP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Encoding: 8bit On 22/05/2024 16:43, Péter Ujfalusi wrote: >>> >>>> + compatible = "ti,omap4-mcpdm"; >>>> + reg = <0x40132000 0x7f>, /* MPU private access */ >>>> + <0x49032000 0x7f>; /* L3 Interconnect */ >>>> + interrupts = ; >>>> + interrupt-parent = <&gic>; >>>> + ti,hwmods = "mcpdm"; >>>> + clocks = <&twl6040>; >>>> + clock-names = "pdmclk"; >>> >>> The clocks cannot be added at the time when the node is defined, it is >>> board specific. This way you imply that it is OK to have it in main dtsi >>> file. It is not. >> >> Wait, what? That's example and pretty standard. Example should be >> complete. This is not an exceptional binding. > > The fclk for the McPDM is coming from external source, and the McPDM is > designed in pair with twl6040/6041, there were plan for other codecs to > support the McPDM protocol and in those cases the clock would come from > the connected codec. > > The example (as the original binding was bit rot) is missing reg-names, > dmas and dma-names to be complete. None of these properties are allowed by the binding and during these five/six revisions of the patchset no one raised missing properties. I assume the DTS was validated with the binding. Isn't the case here? Best regards, Krzysztof