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 X-Spam-Level: X-Spam-Status: No, score=-10.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AC64C388F9 for ; Wed, 21 Oct 2020 14:53:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A87C22249 for ; Wed, 21 Oct 2020 14:53:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bv/ETz6Q" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A87C22249 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=nauV89k7CKXzP5L+qTYZxbAQKQAAAjANUuRHGHjSLbs=; b=bv/ETz6QAMjR0ggvTXkSUkvc6 MGyteULckdugDCg4AO7JwHmKtYfgWMSAJABIx1OjOoaR9cuw9BafMtXQc4dfo5KY6UC5L+UqWEjn0 DeJKgRZCdbTdz9a76Vj22S7gQzNKfvJXTy1q/99AnLQKjHIfIcOqleDoXj7doK/lZjzTUaxOJLy9V jkf7DQPmtYAAQrV6qEmFG6i7uOO+S0HwNPHSIcCgfpxdr5PJ2bXx2Qva07NPNGnS5UJts0VKlGQaX k2h8qVtbkx5T/i2kWx8EwwCrlGyrL9abEEGpJLIghCPD+LAmP1escFcKz36Ve7S1EnA9WQ4xtvsvV /qGAa1F6g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVFU7-0000j0-R9; Wed, 21 Oct 2020 14:53:03 +0000 Received: from mail-oo1-f67.google.com ([209.85.161.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVFU3-0000hi-VF; Wed, 21 Oct 2020 14:53:00 +0000 Received: by mail-oo1-f67.google.com with SMTP id f26so595982oou.11; Wed, 21 Oct 2020 07:52:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=99z2vGoCi1tpnvfGwZuqAszQUrFfL3I1H9eFr7nC/HY=; b=f3WLy+vJNKZDbMfPHkJT31sI9i4UfGaPNtDTUGuStAPspr+idq7AIKiWzYv655jJTV SX0UByVDHwaj/BBvUjJAWU9YosvypTYTkKyOdKPlgH/8Fzcl6cUVgeB9kpo0nAgCho7t w9lADIUWZK/jl0Z9UorzQT7Ja93fsJ1LdFii8+bac5c8IGVnCiPKyjv4S6thP7RAFKBs FTOPxNR9zvj6nIPMFs5BR6GB7CYWBMZD9xxmnmwcw8BxJAznQ94VfI0c7W/bSs6nce3r qANHRPeEqKKQy3J1J96fqcAgJ1UFmj1WO/xN38r5NBc8lS8a6NeolC/Y4uywZ8e9awe5 K2aQ== X-Gm-Message-State: AOAM532XAXgtWjlK8oBvu1SiY05IFuf6KLPISi9kRsKphEt8sJWab1B+ H11vK8Jaif1+aS4uNhtwPg== X-Google-Smtp-Source: ABdhPJyBz33K6vdvmgzKSmqSsK58IDBw5UYbGfCek0n6YPE6yQv1h/QpGWEBeK3DUpW+23Ogj8xDKQ== X-Received: by 2002:a4a:b443:: with SMTP id h3mr2876908ooo.45.1603291977458; Wed, 21 Oct 2020 07:52:57 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t29sm649052otd.51.2020.10.21.07.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 07:52:56 -0700 (PDT) Received: (nullmailer pid 2775005 invoked by uid 1000); Wed, 21 Oct 2020 14:52:55 -0000 Date: Wed, 21 Oct 2020 09:52:55 -0500 From: Rob Herring To: Jiaxin Yu Subject: Re: [PATCH v2 3/5] dt-bindings: mediatek: mt8192: add audio afe document Message-ID: <20201021145255.GA2770956@bogus> References: <1603270435-3548-1-git-send-email-jiaxin.yu@mediatek.com> <1603270435-3548-4-git-send-email-jiaxin.yu@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1603270435-3548-4-git-send-email-jiaxin.yu@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201021_105300_006494_6433FF34 X-CRM114-Status: GOOD ( 18.56 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, kuninori.morimoto.gx@renesas.com, shane.chien@mediatek.com, tiwai@suse.com, tzungbi@google.com, broonie@kernel.org, linux-mediatek@lists.infradead.org, p.zabel@pengutronix.de, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On Wed, Oct 21, 2020 at 04:53:53PM +0800, Jiaxin Yu wrote: > This patch adds mt8192 audio afe document. > > This patch depends on following series that has not been accepted: > https://patchwork.kernel.org/cover/11752231 > (dt-bindings/clock/mt8192-clk.h is included in it.) > https://patchwork.kernel.org/patch/11755895 > (dt-bindings/power/mt8192-power.h is included in it.) > https://lore.kernel.org/patchwork/patch/1321118 > (dt-bindings/reset-controller/mt8192-resets.h is included in it.) > > Signed-off-by: Jiaxin Yu > --- > .../bindings/sound/mt8192-afe-pcm.yaml | 103 ++++++++++++++++++ > 1 file changed, 103 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > > diff --git a/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml b/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > new file mode 100644 > index 0000000000000..7c2f07b8b66dd > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml > @@ -0,0 +1,103 @@ > +# SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/sound/mt8192-afe-pcm.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mediatek AFE PCM controller for mt8192 > + > +maintainers: > + - Jiaxin Yu > + - Shane Chien > + > +properties: > + compatible: > + const: mediatek,mt8192-audio > + > + interrupts: > + maxItems: 1 > + > + resets: > + maxItems: 1 > + > + reset-names: > + const: audiosys > + > + mediatek,apmixedsys: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + maxItems: 1 A 'phandle' is already 1 item. Drop 'maxItems'. > + description: The phandle of the mediatek apmixedsys controller > + > + mediatek,infracfg: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + maxItems: 1 > + description: The phandle of the mediatek infracfg controller > + > + mediatek,topckgen: > + $ref: "/schemas/types.yaml#/definitions/phandle" > + maxItems: 1 > + description: The phandle of the mediatek topckgen controller > + > + power-domains: > + maxItems: 1 > + > + clocks: > + items: > + - description: AFE clock > + - description: ADDA DAC clock > + - description: ADDA DAC pre-distortion clock > + - description: audio infra sys clock > + - description: audio infra 26M clock > + > + clock-names: > + items: > + - const: aud_afe_clk > + - const: aud_dac_clk > + - const: aud_dac_predis_clk > + - const: aud_infra_clk > + - const: aud_infra_26m_clk > + > +required: > + - compatible > + - interrupts > + - resets > + - reset-names > + - mediatek,apmixedsys > + - mediatek,infracfg > + - mediatek,topckgen > + - power-domains > + - clocks > + - clock-names > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + #include > + #include > + > + afe: mt8192-afe-pcm { > + compatible = "mediatek,mt8192-audio"; > + interrupts = ; > + resets = <&watchdog MT8192_TOPRGU_AUDIO_SW_RST>; > + reset-names = "audiosys"; > + mediatek,apmixedsys = <&apmixedsys>; > + mediatek,infracfg = <&infracfg>; > + mediatek,topckgen = <&topckgen>; > + power-domains = <&scpsys MT8192_POWER_DOMAIN_AUDIO>; > + clocks = <&audsys CLK_AUD_AFE>, > + <&audsys CLK_AUD_DAC>, > + <&audsys CLK_AUD_DAC_PREDIS>, > + <&infracfg CLK_INFRA_AUDIO>, > + <&infracfg CLK_INFRA_AUDIO_26M_B>; > + clock-names = "aud_afe_clk", > + "aud_dac_clk", > + "aud_dac_predis_clk", > + "aud_infra_clk", > + "aud_infra_26m_clk"; > + }; > + > +... > -- > 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek