From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB540FEA838 for ; Wed, 25 Mar 2026 09:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tSwqVoZdQNZacWES2XYjiTYyXvDYTR1yO103lSV4cKY=; b=lBR8rJndSNWr4Ns8zTFWgiq8Su itC1wUGcBrpss+bxYeUzSrVgQBseiCy9wz3cRw/Tw4xE/SVBf9FpZ7yXhhNHsd3ugxCnZigbnaXX/ M1hIbNTspLG48VCBqVY06FpkrrzQCCdfTO47vWzmHMvdgf5e4q5b6PPEbI7w3niTCpvgOHlMN3C1A YXxBxp7in/Qw7JAFKGoTVeh20rBvZRw/A1corgC0fsYGP1aS5+SbeNY9VNeypC21UbyQIkVhbHEZ2 jpH9EKB4lxkFCfV7XkFGk8tW5Fr1c9F5SPX+vJeJiHWJavbbyYeL8bngeXCio+oZVTJZgMISuNBYw AY74jPvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5KCf-000000030UP-3wqH; Wed, 25 Mar 2026 09:07:05 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5KCe-000000030U0-44gy; Wed, 25 Mar 2026 09:07:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 0B77B600AC; Wed, 25 Mar 2026 09:07:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31EC6C4CEF7; Wed, 25 Mar 2026 09:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774429623; bh=mEZNeTkS5coBoC+v6GfNNQfQ72VosjQVPAuPz8C/Glo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OpV+TO2d25ZYM3k3+wNaEYuEeVM/lc1Bn4k+HfKZc5Y3m7h57s6vqeKMypO0MP/rm 8ktw3KfIhhVCCW1UciIpzPAAoQb/oVPrGpFSmjJ/ZZfCQsRHWajx7kpr93FEnjrfpp 9PLGiaaa6yXKLVm/wwY/iIEU3/5NKB1dB02iBcMpzDbL44IFqGNvpYfmSXj5McSFxc VV8tOwvGXPGE3RWw44HtoyIuDv51FHGMT3IucJ3aeqixn4eY71ac5stlKJunTDFB63 GLVF5O1I6RP7oVkfHWcXRphGc+KBHf/vB07gMr3ORwIl+NbsbZ5cUkanMKvoddqbI7 GwqKwpkpKQD/g== Date: Wed, 25 Mar 2026 10:07:01 +0100 From: Krzysztof Kozlowski To: Khushal Chitturi Cc: lgirdwood@gmail.com, broonie@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, koro.chen@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 Subject: Re: [PATCH] dt-bindings: sound: mediatek,mt8173-rt5650-rt5514: convert to DT schema Message-ID: <20260325-fluorescent-rebel-moth-dedf07@quoll> References: <20260324074618.145567-1-khushalchitturi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20260324074618.145567-1-khushalchitturi@gmail.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 24, 2026 at 01:16:18PM +0530, Khushal Chitturi wrote: > Convert the Mediatek MT8173 with RT5650 and RT5514 sound card > bindings to YAML schema. Please use subject prefixes matching the subsystem. You can get them for example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters > > Signed-off-by: Khushal Chitturi > --- > .../sound/mediatek,mt8173-rt5650-rt5514.yaml | 41 +++++++++++++++++++ > .../bindings/sound/mt8173-rt5650-rt5514.txt | 15 ------- > 2 files changed, 41 insertions(+), 15 deletions(-) > create mode 100644 Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml > delete mode 100644 Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt > > diff --git a/Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml b/Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml > new file mode 100644 > index 000000000000..05bb18006e08 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/mediatek,mt8173-rt5650-rt5514.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek MT8173 with RT5650 and RT5514 audio codecs > + > +maintainers: > + - Koro Chen > + > +properties: > + compatible: > + const: mediatek,mt8173-rt5650-rt5514 > + > + mediatek,audio-codec: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + description: Phandles of rt5650 and rt5514 codecs > + items: > + - description: phandle of rt5650 codec > + - description: phandle of rt5514 codec > + > + mediatek,platform: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: The phandle of MT8173 ASoC platform. > + > +additionalProperties: false This goes after "required:" block. > + > +required: > + - compatible > + - mediatek,audio-codec > + - mediatek,platform > + > +examples: > + - | > + sound { > + compatible = "mediatek,mt8173-rt5650-rt5514"; > + mediatek,audio-codec = <&rt5650 &rt5514>; Two phandles, so two <> (<>, <>). Best regards, Krzysztof