Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8427271ybi; Tue, 23 Jul 2019 08:21:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmSBk9Kscx0ZIyMs+n0K7Gi1qjQi6puctj+OcNeh/U5cHVqTX+uEUeBA51bGy9G4o2nYAT X-Received: by 2002:a17:902:704a:: with SMTP id h10mr79398733plt.337.1563895284139; Tue, 23 Jul 2019 08:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563895284; cv=none; d=google.com; s=arc-20160816; b=YJZMhCRyBZ8+HjuTBYYBdJCQqsaze00Q1QkEsC6OFFNi5JxeGJ096z7ju5LrTtTxHA Hn5v9Yd7NK+Qg2ORa7Olq6q1pkHGYtVB/0f6tv8vcArazT7kBJuPCgk5a7YTJ2KMG7eo YXBpbxIeskjtSyUXWQbdOsunHbkQm2dKXVv823m8k33RAJ30JMlXF39St0+l6kN85UOh R3EAnohsu50CzueKlKojPtupcSsv8CZyVsCDjHcvkgRjzcih7RORmKdx5PVYt6z1TLwy mnoBn8bSKjRgEvnrG3ZsuOc/cyNdn88rHi05GWlXJO/BmdQEHqKB3uN/VhKjKZBBHvDL hyLQ== 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=Wl6fZFYIs5IxSB7vuBluFiEGwZMFdwboIL79fgt6ocg=; b=lLPjwMIHQ1rrCfh657Z4WdzTJpdmp/EhSLR08Ks5fmxPT1Bcp/zClFmI3M+2Kzp+N5 6t6S6rz7ITZNcrREARUNDchaxsUzPf+ludc1a8iKlBFOGiIU+afYQA+zV81GZ7w6Ao1x oiXGqveLFv9o5hWGF5UB4jJdR0OGR5uuqiNSKH8NZ+4er5YgdFfMjeC7lWHgj5lqVr+N v7AwoOpJ9gSTdr1W5U1ekcye0zgBWUmfOltudql8rT3Xtz3tL9bgkDtmLxhFGUWvBA58 DtBuy1d6+i79y1O/K1AvJxzu9eEQLhGSkgZF53Rh0o7/E3nd/yRs0iXL3x2T3fd1CPvl Ll8A== 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 h10si12798417pfk.197.2019.07.23.08.21.07; Tue, 23 Jul 2019 08:21:24 -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 S2388723AbfGWIla (ORCPT + 99 others); Tue, 23 Jul 2019 04:41:30 -0400 Received: from inva021.nxp.com ([92.121.34.21]:55784 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388556AbfGWIlQ (ORCPT ); Tue, 23 Jul 2019 04:41:16 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A55A3200275; Tue, 23 Jul 2019 10:41:13 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9669E200134; Tue, 23 Jul 2019 10:41:13 +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 D182C205DD; Tue, 23 Jul 2019 10:41:12 +0200 (CEST) From: Daniel Baluta To: m.felsch@pengutronix.de, shawnguo@kernel.org Cc: mark.rutland@arm.com, aisheng.dong@nxp.com, peng.fan@nxp.com, anson.huang@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, shengjiu.wang@nxp.com, paul.olaru@nxp.com, robh+dt@kernel.org, kernel@pengutronix.de, leonard.crestez@nxp.com, festevam@gmail.com, linux-arm-kernel@lists.infradead.org, sound-open-firmware@alsa-project.org, Daniel Baluta Subject: [PATCH v2 5/5] dt-bindings: dsp: fsl: Add DSP core binding support Date: Tue, 23 Jul 2019 11:41:04 +0300 Message-Id: <20190723084104.12639-6-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190723084104.12639-1-daniel.baluta@nxp.com> References: <20190723084104.12639-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 + maxItems: 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