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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS 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 69B95C7618F for ; Thu, 18 Jul 2019 16:40:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4027421849 for ; Thu, 18 Jul 2019 16:40:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GORUF0MV"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="k53XkTAd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4027421849 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-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X0OpLAI/qiauHAWEDdGKcVC4j5HelA9ZjbjvLId9fVw=; b=GORUF0MVp1Op+M nar+GzAdXj+d9jj9WVHeru+BdjlgDFpHO/WpUcVhT8BSIYjF/TGMIh64cZnTWRj95zszjNfFr9eoG KeGDtKBuPhbTYG++IaYGgoGTqHAoxuY7n+yARSl+/R7HOnIB0hMUfazRzJil63w1kObQZsoVFresF VfMHRG+YMaaf3492ggK3FCO/+BTjat7LJKY6syyxr9JVhAFen4iRWt5vUnENiZHTblJT4rA+H1E05 c4ro3cWB0gezyNxLKjaG+PS8GHoGALdfcI0yo2hE0gsHGGiB80M7hk0sT3jZAKQNC6a6vd9APi07m 0So3SDdrZr8tcIHYMG4Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1ho9SQ-0005um-F9; Thu, 18 Jul 2019 16:40:38 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1ho9SM-0005uC-BC for linux-arm-kernel@lists.infradead.org; Thu, 18 Jul 2019 16:40:35 +0000 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B3AA21851 for ; Thu, 18 Jul 2019 16:40:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563468033; bh=SoxBswTgqu3zk9pazxOUTdpNqF8pc1lImoZfHK7GaSc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=k53XkTAdW2L3x0HMVdmq1AIlRDuUDJ03qy50yY8JIhkN/JizWAkTqVUPrkEqRO3pj GQvuvKNtOmZ4vIKqWtaAV4NXQZIdbRoLQ1vVP9/wywGQlL3uLDckVk8msc59H6yUkD 6tXmtkV4Zt/I97JMrEWrg6J8nSJVQ0dsRu40HcdQ= Received: by mail-qk1-f181.google.com with SMTP id v22so20955155qkj.8 for ; Thu, 18 Jul 2019 09:40:33 -0700 (PDT) X-Gm-Message-State: APjAAAVHRUDgUHS5YSyIG7IWYQZDCoLotLffzBo2UAW+vhEIY8or5IXA /JVyoBaIzlrVU9wOZ9WvJVKwM4mUTG2CnpgA3Q== X-Google-Smtp-Source: APXvYqzYt1/30r8Pv683cCeZXN3F53wLwdoIVf8tHruIuBQFZ/92FMoJmJnLK7FPweOEUpG5T8+Ty50dEcq1H3lbMXs= X-Received: by 2002:a37:6944:: with SMTP id e65mr29073338qkc.119.1563468032800; Thu, 18 Jul 2019 09:40:32 -0700 (PDT) MIME-Version: 1.0 References: <20190718151346.3523-1-daniel.baluta@nxp.com> <20190718151346.3523-4-daniel.baluta@nxp.com> In-Reply-To: <20190718151346.3523-4-daniel.baluta@nxp.com> From: Rob Herring Date: Thu, 18 Jul 2019 10:40:21 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] dt-bindings: dsp: fsl: Add DSP core binding support To: Daniel Baluta X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190718_094034_421586_A18473C0 X-CRM114-Status: GOOD ( 18.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Dong Aisheng , Peng Fan , Anson Huang , devicetree@vger.kernel.org, Shawn Guo , Sascha Hauer , Frank Li , "linux-kernel@vger.kernel.org" , paul.olaru@nxp.com, NXP Linux Team , Sascha Hauer , Leonard Crestez , Fabio Estevam , "S.j. Wang" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , sound-open-firmware@alsa-project.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 18, 2019 at 9:13 AM Daniel Baluta wrote: > > This describes the DSP device tree node. > > Signed-off-by: Daniel Baluta > --- > .../devicetree/bindings/dsp/fsl,dsp.yaml | 87 +++++++++++++++++++ > 1 file changed, 87 insertions(+) > create mode 100644 Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > > diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > new file mode 100644 > index 000000000000..d112486eda0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml > @@ -0,0 +1,87 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/freescale/fsl,dsp.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX8 DSP core > + > +maintainers: > + - Daniel Baluta > + > +description: | > + Some boards from i.MX8 family contain a DSP core used for > + advanced pre- and post- audio processing. > + > +properties: > + compatible: > + enum: > + - fsl,imx8qxp-dsp > + > + reg: > + description: Should contain register location and length > + > + clocks: > + items: > + - description: ipg clock > + - description: ocram clock > + - description: core clock > + > + clock-names: > + items: > + - const: ipg > + - const: ocram > + - const: core > + > + power-domains: > + description: > + List of phandle and PM domain specifier as documented in > + Documentation/devicetree/bindings/power/power_domain.txt How many? 4? > + > + mboxes: > + description: > + List of <&phandle type channel> - 2 channels for TXDB, 2 channels for RXDB > + (see mailbox/fsl,mu.txt) > + maxItems: 4 > + > + mbox-names: > + items: > + - const: txdb0 > + - const: txdb1 > + - const: rxdb0 > + - const: rxdb1 > + > + memory-region: > + description: > + phandle to a node describing reserved memory (System RAM memory) > + used by DSP (see bindings/reserved-memory/reserved-memory.txt) > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - power-domains > + - mboxes > + - mbox-names > + - memory-region > + > +examples: > + - | > + #include > + #include > + dsp@596e8000 { > + compatbile = "fsl,imx8qxp-dsp"; > + reg = <0x596e8000 0x88000>; > + clocks = <&adma_lpcg IMX_ADMA_LPCG_DSP_IPG_CLK>, > + <&adma_lpcg IMX_ADMA_LPCG_OCRAM_IPG_CLK>, > + <&adma_lpcg IMX_ADMA_LPCG_DSP_CORE_CLK>; > + clock-names = "ipg", "ocram", "core"; > + power-domains = <&pd IMX_SC_R_MU_13A>, > + <&pd IMX_SC_R_MU_13B>, > + <&pd IMX_SC_R_DSP>, > + <&pd IMX_SC_R_DSP_RAM>; > + mbox-names = "txdb0", "txdb1", "rxdb0", "rxdb1"; > + mboxes = <&lsio_mu13 2 0>, <&lsio_mu13 2 1>, <&lsio_mu13 3 0>, <&lsio_mu13 3 1>; > + }; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel