Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2429205ybi; Thu, 18 Jul 2019 08:15:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqygR9MKC4ZoIlWroQ6Vuw+T89OVLja0kRStqob2S3piBCUocvaRu3SygwNkqdh4lshGHcTd X-Received: by 2002:a17:90a:e397:: with SMTP id b23mr51783482pjz.117.1563462908667; Thu, 18 Jul 2019 08:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563462908; cv=none; d=google.com; s=arc-20160816; b=oEO3cs5db7uPbq+lxJVtERclre4vc1g3a6dC0RHaO1C+twftL/LaGu0mIzx4Yw/NLt MKP79FleK5x4lPPnThDlOunHA2vKrauZGhXK+DJBdzQR4X1z7p3B3QFW2QSJYUA++rZD NVl2a7hLB8pKQ1zDHeFlhAkhkwdoiEkYMyCTr82mRRDnTaSQJBI1XFsT1I1I3UiIJtaB /5SQrYYbEjMcAFiKZiTF2cNGFHAr+2UJ2byZtCpuU9EmjyQ7aJTkAFF1aLDi9eGcfXeS OlDoymRRAmjbwR7Fw7gBR6QMXEwiLeRk2bJIsCiHIx/dWschgQ+z/L1zA13C/KBAkaEV 4IVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=BPjRLAmHiXs4pN3hLt+b9+AkK98hh2Y4xwZHip25YQ4=; b=Bh6HTpD+9IKOzBz7Ccs5yyG5y3/AuMm921sFBkR8Zk5zCshzHB9NDiD99pynKtv1iO JeGWvQG46ydkmw0Jjsh4ngkXRBqUhYghKc+76TzlywdgRocn4w1gKDVYWgvBLSusZ1ZW moyp88/KhKnRrau5Fj4jlBCymiZfeiqH5v31F4QOTTKF5ast9ZauhDAn2muut1K+OUbh ZrecdRlhRXIdbKTN4PmwayU2vmKz41cNHjs+nWRAhCO7HXnIWKncNqJbSJjYKv7JKuZq UPG+8lF9O/PT/TOXC4jivd110358mpGVGcoUYkJ5jEc2FffQceVaclAD4n8NpcZO9156 EPZQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si2284201ply.10.2019.07.18.08.14.52; Thu, 18 Jul 2019 08:15:08 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390889AbfGRPN7 (ORCPT + 99 others); Thu, 18 Jul 2019 11:13:59 -0400 Received: from inva020.nxp.com ([92.121.34.13]:44792 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727781AbfGRPNy (ORCPT ); Thu, 18 Jul 2019 11:13:54 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 5D1A11A035C; Thu, 18 Jul 2019 17:13:52 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 508B41A011E; Thu, 18 Jul 2019 17:13:52 +0200 (CEST) Received: from fsr-ub1864-103.ea.freescale.net (fsr-ub1864-103.ea.freescale.net [10.171.82.17]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 769DB205C7; Thu, 18 Jul 2019 17:13:51 +0200 (CEST) From: Daniel Baluta To: shawnguo@kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, daniel.baluta@nxp.com, shengjiu.wang@nxp.com, paul.olaru@nxp.com, aisheng.dong@nxp.com, leonard.crestez@nxp.com, anson.huang@nxp.com, peng.fan@nxp.com, Frank.Li@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sound-open-firmware@alsa-project.org Subject: [PATCH 3/3] dt-bindings: dsp: fsl: Add DSP core binding support Date: Thu, 18 Jul 2019 18:13:46 +0300 Message-Id: <20190718151346.3523-4-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190718151346.3523-1-daniel.baluta@nxp.com> References: <20190718151346.3523-1-daniel.baluta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 + + 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