Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5724188ybh; Wed, 7 Aug 2019 10:19:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPgd6TOa4gyPi0sZg3ceA2z4z5aFDTKRJC8lRoCulCJzK35A4jZb1Zcbsm5WnK+TQBUxCD X-Received: by 2002:a65:68d9:: with SMTP id k25mr8683550pgt.337.1565198353204; Wed, 07 Aug 2019 10:19:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565198353; cv=none; d=google.com; s=arc-20160816; b=l3I3q96fwbeNyl+954IOlqYb33M7Gz/ibTAtvqtZFbpe9CyFgoI5mwSUKbOgzYxX6d 9ZX3XSO2wy5/Wib7+SSdDZQH9dc9WIYic8yTWo+WY/9wHmUlj1Xi5M1VR3PeRIIUbPfi jbtko6zTcekt9cg2Hids1TIEd0oSmoQ8de8flD+XvA/c27cAYVqETtzc2d5PIZXJ9WJk 0P2IPIBQ2KSYqtTz/ZLVUYRr8pW6jKPRW4/3Ee2beGXhnIRbYLHmzoE53yGIomIM5hcH q3aWiJlC9OrIHHxF0CgJc/c7ROHIl3tNhz/nRKV+vmfkAEzqpQdgr7F1WRZQ972wOKZw Q1wg== 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=rFPmf6N6FOGHlNcIOWE1A1Ufk8s++W5wt4J+2DyDKAM=; b=DRse7uCIwIatNlcoYDnEP8BwIrmzfunGMGHIf6qArUgwY96UoiqnSIt/xh7cyPCj78 RKep99ldbwJOh/ARtOOk0/GYbPXAHKBnMe67lq+wh8/+tfxbqgNpyMstKc2fEgA3RQPF CM8tEswzKcuPrdnZaP3HuE77CNQoT7xZQYAZZ3/kHndV/GJHHaeU+RKJ56TNaux4GGQ9 5fY960wc+Nhnd9VLdxaN8o28b1YYzLmq20uEDMj/Sy+G/eJVBtyMd/fC2ej7ZqaBlFPc RLvQnaDObq1kUWmU8vVQjnF53eq5eCOwG/+2tSeXuYcVfLcwh7aqo5mXo1c+2HbuE1aX q5mw== 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 h67si1911508plb.196.2019.08.07.10.18.57; Wed, 07 Aug 2019 10:19:13 -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 S2388950AbfHGQne (ORCPT + 99 others); Wed, 7 Aug 2019 12:43:34 -0400 Received: from inva021.nxp.com ([92.121.34.21]:34134 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388713AbfHGQnU (ORCPT ); Wed, 7 Aug 2019 12:43:20 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B1CDD2007B9; Wed, 7 Aug 2019 18:43:17 +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 A3FFD2002E8; Wed, 7 Aug 2019 18:43:17 +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 D078B205E5; Wed, 7 Aug 2019 18:43:16 +0200 (CEST) From: Daniel Baluta To: daniel.baluta@nxp.com, shawnguo@kernel.org Cc: aisheng.dong@nxp.com, anson.huang@nxp.com, devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, leonard.crestez@nxp.com, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, m.felsch@pengutronix.de, mark.rutland@arm.com, paul.olaru@nxp.com, peng.fan@nxp.com, robh+dt@kernel.org, shengjiu.wang@nxp.com, sound-open-firmware@alsa-project.org, pierre-louis.bossart@linux.intel.com, l.stach@pengutronix.de Subject: [PATCH v3 5/5] dt-bindings: dsp: fsl: Add DSP core binding support Date: Wed, 7 Aug 2019 19:42:58 +0300 Message-Id: <20190807164258.8306-6-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190807164258.8306-1-daniel.baluta@nxp.com> References: <20190807164258.8306-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 Reviewed-by: Rob Herring --- .../devicetree/bindings/dsp/fsl,dsp.yaml | 88 +++++++++++++++++++ 1 file changed, 88 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..24b9fd64e3eb --- /dev/null +++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml @@ -0,0 +1,88 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dsp/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