Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2628167ybi; Thu, 18 Jul 2019 11:27:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJM70bF/YF5COrnAK1j+QuJosXEIYc0RHTZnj5WAyJVqOLXDmEPc1lZMYMglT4on4RfPUg X-Received: by 2002:a17:902:be12:: with SMTP id r18mr49064255pls.341.1563474454151; Thu, 18 Jul 2019 11:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563474454; cv=none; d=google.com; s=arc-20160816; b=BL0GSdUGfPpca6+x+QCBt5FD9lP9mY7v/1M36hclcUHBCF25+xt72L7tIb3FoIx6VM sTQCuHeVuQ4Uw5chFOKeBj1U/cn8QzKqx8Kh3YrXzbZyQ222u4lujZJd9tx95hOxWXka /gOk5rj7adu//dXdUxQCGzYPAwxIoOhDPTnp+RjlSFMfBhu5Hp6jHVhFWhWgxKKqxl/T pnM272EHe617+GzlqQgktNjblisIlKjrenHk01fuIvV+bYF3dX5+VCwBujm5MAKifvnU fxe40PIdw0n6haKg3zhurBpHq1sGEbEcHzYvadMUTGiiLUVXQZ90L3FY7464/crEXRJQ 9yPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=O1MLsFyrIiqvStGeCSXekqChu7olGe+ghfPuNjb84x8=; b=zKYXkkTgSiKfL+RDxReNXSSMf/PussLOvcZidTp72pc9dhPHvEet1s1KmbvNF91oG7 +sF+oDQIjDFKkWPgA4tWoX3AFWgdoDhL5V2/6lTJ2Zh6FsAQlGfwVTvRdzIbZhZqg0r+ p7hrf44jHNp9N+IcnvnjLHeNGxK0xg7kyjlmaoZI9LRmpaF1mXzculdsqGOugP0Gtjxq DHGJN0RQ2uXSnZpwu9f5DEGNS0STBYiKIIyFqqMNTxjzxfkSOBgKdPkhmCVWDOIGc2wy Dt4YZYSEipNeg+OjymddciLA9kx07slQdSpTBVHRMQTy8Z/xsvtTLi0wgKvRyLNGaFs9 FAyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FjNL/ouk"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k21si148017pls.202.2019.07.18.11.27.17; Thu, 18 Jul 2019 11:27:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="FjNL/ouk"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391016AbfGRSYs (ORCPT + 99 others); Thu, 18 Jul 2019 14:24:48 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33727 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727762AbfGRSYs (ORCPT ); Thu, 18 Jul 2019 14:24:48 -0400 Received: by mail-wr1-f66.google.com with SMTP id n9so29797335wru.0; Thu, 18 Jul 2019 11:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O1MLsFyrIiqvStGeCSXekqChu7olGe+ghfPuNjb84x8=; b=FjNL/oukgm65Nil+7w8dcOOxwccuBKh63CXRVczAIPfM75Zl54MiGe1Z9uQiTxBUU4 atUrfVS6UcxjtwAlHMlur0lFE7HnNutU5ra5ppuejfqjJMGZR8toKlCsBXxWTvC86DTu /+ysKj8yAeD0RBUY2oM/eLfV18qGmzIVqWL44Ceq0iIO+XiveK0Zo/G2R3v2+jKK5smY C0/zcSJHebPRYhBtSZ/UZnyrECB9ZjfRyn/ti7Tqnq22HQ/ExzOhn6W43o1GpbcEveP/ Z3NqvfSJpAiSTw3PWJtCxXt4nP1NcQBDuV3cArPXokV5NWLdfhja69S0GurGicWD/94W D7/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O1MLsFyrIiqvStGeCSXekqChu7olGe+ghfPuNjb84x8=; b=WvEbNhnU8gcBpb9mhJ5OqsIf6m0GmrK3i6a+HK/6TuWuPAGbBv+VANznYafh1jiuO1 kJywFcJierZfPyMd4SDuor81rZttLT5BuJgteZCJ07Aeh+KSyaJyV9BWrm09LUxrutIR eL/9UTPsuN0mNXm+IYNzQ+NSNiHBuoSUc6B7qfpSAcwUA5cK2Q5UC8V8tuwRW1A4MoEB JGZI87vurU6ZLqtL/eBmw8EUb/czOeJrps/tLB6QBB8oLp1y7jFu7hCtoccInE135xKP JjhCFzXIVaTr40yEGLTxkUHJwM1d5u5YsLZzk2y/dNRuPUk9xt6SCCorQE9djCe0pUkC YqRA== X-Gm-Message-State: APjAAAVIZgZ7cxvoTwdt5xPgU2qcM7M86rEDOyJm9IyMh31MiPmwaqlQ I6au8DStb8rgejkquXcX1CF2DUZ74knF+R+E4aA= X-Received: by 2002:a5d:46cf:: with SMTP id g15mr53051168wrs.93.1563474285527; Thu, 18 Jul 2019 11:24:45 -0700 (PDT) MIME-Version: 1.0 References: <20190718151346.3523-1-daniel.baluta@nxp.com> <20190718151346.3523-4-daniel.baluta@nxp.com> In-Reply-To: From: Daniel Baluta Date: Thu, 18 Jul 2019 21:24:34 +0300 Message-ID: Subject: Re: [PATCH 3/3] dt-bindings: dsp: fsl: Add DSP core binding support To: Rob Herring Cc: Daniel Baluta , Shawn Guo , Mark Rutland , Sascha Hauer , Sascha Hauer , Fabio Estevam , NXP Linux Team , "S.j. Wang" , paul.olaru@nxp.com, Dong Aisheng , Leonard Crestez , Anson Huang , Peng Fan , Frank Li , Devicetree List , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , "linux-kernel@vger.kernel.org" , sound-open-firmware@alsa-project.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 7:41 PM Rob Herring wrote: > > 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? Yes, 4 for i.MX8QXP. Also, the same number is for i.MX8QM. Anyhow, I didn't added added a limit here because I really don't know how many will be in upcoming i.MX platforms. > > > + > > + 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 > >