Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp602254lqi; Thu, 7 Mar 2024 06:36:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRuXYmn69CivL1zE8awwWBzbrDWaEEfy/CHYfsk0kbNhXOCI8ewE1PcfYa3oSDJ2HAkG0tbTqxTMgeiR6iELZhG6hvDgF5pVY5Etq4LA== X-Google-Smtp-Source: AGHT+IE8DFL1hpDij5tiV5silQ2umfHaTjzKfIE+WdxOsLfMSWNk26aXAVh5sw99QSZXqOlOCsPA X-Received: by 2002:a05:6a20:8b30:b0:1a1:4f7b:916f with SMTP id l48-20020a056a208b3000b001a14f7b916fmr6548518pzh.58.1709822194150; Thu, 07 Mar 2024 06:36:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709822194; cv=pass; d=google.com; s=arc-20160816; b=B2cgG/A1Oa9S4qliX9DkLgn0yri811WMjjqQWOBnphDaTnqS+ffXaSvmZo++tCV7zK 3ue3157UtXQuHb+oss1xhElf2LuJ7jxId+AV2tv1SXagkJQuaIkn0k5OEXuQ1SaAGnOY ZOtWNtM3qH/wOZuSE+nH1Gt8HBZJxtINlBEwTkRyt2bg8N5LzG+MXZwF46REXf7+h95z EB7XFNS4tRVjj0hv01KMQ6jIvtIWfrecq8ezc75kgNpLyAMb+7b91dvTHJe47gAKBpZZ NVnP7F4GxpfVXqFgxZFOa5uft/KZM8OmDdKKnPa0iB8Zzb3HDuf+BZxoB1r0YbC2PCkV x3Mw== 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=8J6wAM5SdKo9linrEdpyeXHu3fS1OvsYBCv/ufwtXn4=; fh=lAIOR0uEjtAD9wFcwd7aRw87Dn4qYuHqaUislxAkopY=; b=Z34iRMb0YHqe9f+IfkkzSjaffnjKMQ7AEiYfXatBFyWLUTbboqLQrwvoQHg8iY+h8E WKNNPmYTfnOO62GMUfqbgv8Yjf9rK3BZ1NNGCM10UvaXFYIDs+1i80qwmx2OKxB/FL7t gkelxPUq2s1YYVJ2sMBSt95kt7k2g32oW+seoCDgV1QKUdIA4t1gukvdvBxGyDqCv5Rw Ww2kk211VCYyKlf7K3Nn+kEhk97xflS2FiR3q6+5LGQyVOQtB3Gv5HHq8F3l31iwR4KA RM5y28a2b/BFniEET5RrucKX1hzq65x345H2rNGzp0AEGN7Ic//aIo2k4ofwVG6Z9Fg/ udqw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S6PAGLgF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95708-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p10-20020a63e64a000000b005dc48253292si13868858pgj.268.2024.03.07.06.36.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:36:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S6PAGLgF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95708-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95708-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1E08EB21429 for ; Thu, 7 Mar 2024 14:12:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6224612DD9C; Thu, 7 Mar 2024 14:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S6PAGLgF" 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 8098F12C52B; Thu, 7 Mar 2024 14:12: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=1709820751; cv=none; b=BFeZalbg3ZN/H1P24hdTzVdDqHVpG76aCrtIju/jv+imZy1L90ls1XlAqfP+Pr+UoSFWXekpurTd2AKRR5g5cMthWkhMxJeFyN34SgiagjC2IOL8TgZQzV7khx4vLTV7pyPpAI5sO25aMu+ZoaTjxSP3xEw6hVIrVl4pmn+q064= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709820751; c=relaxed/simple; bh=nvbQsr5KjGsdgCRWMMm6N+qmKuGEbiis9IDBpCnfHWM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HRIcObYYWvWDD5CNjGqiTVMQwvThZsRjoz1Wy6kmB4lHD6ZP5wb6/i0DsBi65Y7PcSZ5Xb9Mv5QnojvWJtJhKIIORjsi75o0inydAgJDn0qoehsvzyJy8SUEtBaLMwXa79amadWFt4CR76j5/lh8kN1iYrmurSOCe6HgFKEGj1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S6PAGLgF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76175C433F1; Thu, 7 Mar 2024 14:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709820750; bh=nvbQsr5KjGsdgCRWMMm6N+qmKuGEbiis9IDBpCnfHWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S6PAGLgFEUhhVnJvxN9VBaasVy+W3B8NrblbXlXKVEObuLjkruTXouwbGYKa3GBI1 FJ0VlAfRtDaE5JJfuzJbej0DtmIINDKfOopCmms4fGTiC/gf6fd/jn9AmErabgyRXY FVviSDnbtXKgXWetVHpzUBe50o7wsniQJz9BAQYTE+WY2iRACaHPqdA1U+p0TB3wxg YTvrigZ9SNzD5itbbaw+okGwNGH2+NKjg5sDuxqthcxBh15/V4ZzX2uw4qnOWuTKIk SiKQ8QZhMO+HiFSChgY86lRoZwtKUikxUNyToLVHB2q6z69CISeHTkAhft9xoZX2ww NWn67JxkycS6g== Date: Thu, 7 Mar 2024 08:12:28 -0600 From: Rob Herring To: AngeloGioacchino Del Regno Cc: broonie@kernel.org, wenst@chromium.org, lgirdwood@gmail.com, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, perex@perex.cz, tiwai@suse.com, trevor.wu@mediatek.com, maso.huang@mediatek.com, xiazhengqiao@huaqin.corp-partner.google.com, arnd@arndb.de, kuninori.morimoto.gx@renesas.com, shraash@google.com, amergnat@baylibre.com, nicolas.ferre@microchip.com, u.kleine-koenig@pengutronix.de, dianders@chromium.org, frank.li@vivo.com, allen-kh.cheng@mediatek.com, eugen.hristev@collabora.com, claudiu.beznea@tuxon.dev, jarkko.nikula@bitmer.com, jiaxin.yu@mediatek.com, alpernebiyasak@gmail.com, ckeepax@opensource.cirrus.com, zhourui@huaqin.corp-partner.google.com, nfraprado@collabora.com, alsa-devel@alsa-project.org, shane.chien@mediatek.com, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v2 19/22] ASoC: dt-bindings: mt8192: Document audio-routing and dai-link subnode Message-ID: <20240307141228.GA2491015-robh@kernel.org> References: <20240307114445.196981-1-angelogioacchino.delregno@collabora.com> <20240307114445.196981-20-angelogioacchino.delregno@collabora.com> 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: <20240307114445.196981-20-angelogioacchino.delregno@collabora.com> On Thu, Mar 07, 2024 at 12:44:42PM +0100, AngeloGioacchino Del Regno wrote: > Document the dai-link subnodes and the audio-routing property, allowing > to describe machine specific audio hardware and links in device tree. > > While at it, also deprecate the old properties which were previously > used with the driver's partially hardcoded configuration. > I replied on v1, but one more thing here. > Signed-off-by: AngeloGioacchino Del Regno > --- > .../sound/mt8192-mt6359-rt1015-rt5682.yaml | 124 ++++++++++++++++-- > 1 file changed, 115 insertions(+), 9 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml > index 7e50f5d65c8f..449454c50dcc 100644 > --- a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml > +++ b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml > @@ -13,6 +13,9 @@ maintainers: > description: > This binding describes the MT8192 sound card. > > +allOf: > + - $ref: sound-card-common.yaml# > + > properties: > compatible: > enum: > @@ -20,6 +23,14 @@ properties: > - mediatek,mt8192_mt6359_rt1015p_rt5682 > - mediatek,mt8192_mt6359_rt1015p_rt5682s > > + audio-routing: > + description: > + A list of the connections between audio components. Each entry is a > + pair of strings, the first being the connection's sink, the second > + being the connection's source. > + Valid names could be the input or output widgets of audio components, > + power supplies, MicBias of codec and the software switch. > + > mediatek,platform: > $ref: /schemas/types.yaml#/definitions/phandle > description: The phandle of MT8192 ASoC platform. > @@ -27,10 +38,12 @@ properties: > mediatek,hdmi-codec: > $ref: /schemas/types.yaml#/definitions/phandle > description: The phandle of HDMI codec. > + deprecated: true The deprecated keyword doesn't do anything at the moment, but my plan there is to add a mode to the tools which disables all deprecated properties. That will give you want you want in terms of disallowing these properties. That would require dropping them from "required" which I'm fine with you doing. (Though technically that's still an ABI change) Rob