Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5739898ybh; Wed, 7 Aug 2019 10:35:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1vVbDKr/coO8LGXriVVhywmkFvGIPopHDXa1+FtuJeaW/yT3IL3KzgeouqDKLXoYjF75a X-Received: by 2002:a17:902:112c:: with SMTP id d41mr9092122pla.33.1565199304042; Wed, 07 Aug 2019 10:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565199304; cv=none; d=google.com; s=arc-20160816; b=topese2joPYnHHCEMJQvp38o98r+xDiLkRhYejCbxmH0Sm1rcoJ1Z1jTsXhoie44o0 VLE1bUY5DVzFc2z7B/seDZfzjf3lR4Np/5GDy3oVJWBx4+JuMGK43Ok/uIczgRkt3X7+ eWs+mH2a6hmq9R/7VxFiCBWiaLbM6MZIoB9usiJHQvfgPKokQ/MYNSyadBU41SqIEdZ3 8SwSWTtr8Whwe5i4vrWXfCEYosAP2p8Uz5JWiDa8JGE66fb6Q3zLgdiRMUfl4bwgmFX4 ew7h9ox0fdWM5v+hopD8mm/2BTGdwL4aaRaT5J9Ym1lclgOWrXlS+4yaZ2MnroWzjD7R YmXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=mIjpnyLcV7tpYwk1mO9K1lVSzdyeim7COU0YpJt3YIs=; b=bkNPcPQ1GfIin9iKGFY7UUL2g8IyeNBYq5fpdWwpxxLH1lD4/H/GxUGaXXZ+u7162f RJuoUzgZXJ2M9NAn3aE1oilOTUas0xWI4cNw9V23ioUmOC254BeCrDTO5SH7QKo4+U2y tSwVPyPeBoxiZoVvC4gGLGQISVJf+jMiVY4XVVmmtfWpc7sHzss5hbuVWrHrnMOfPCKA j8SiWsi9LlQfJKhUdcQKhqYcCjXtysAEO8toZZ1b3FSDCx3DC2jMx7/AJlY4mnsOX5BW HjnvagY3EbP5phX6unYUtx3rODk/yX7j9y9fU2/7sTySLdLWYLfEAOg+h9WXp+XLb3rs 1c2Q== 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 a8si51721213pfc.176.2019.08.07.10.34.36; Wed, 07 Aug 2019 10:35:04 -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 S2388639AbfHGQnP (ORCPT + 99 others); Wed, 7 Aug 2019 12:43:15 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33984 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729944AbfHGQnP (ORCPT ); Wed, 7 Aug 2019 12:43:15 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4B07C2007C0; Wed, 7 Aug 2019 18:43: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 382D32002E8; Wed, 7 Aug 2019 18:43: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 63AC6205E5; Wed, 7 Aug 2019 18:43:12 +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 0/5] Add DSP node for i.MX8QXP board to be used by DSP SOF driver Date: Wed, 7 Aug 2019 19:42:53 +0300 Message-Id: <20190807164258.8306-1-daniel.baluta@nxp.com> X-Mailer: git-send-email 2.17.1 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 i.MX 8QXP boards feature an Hifi4 DSP from Tensilica. This patch series aims on adding the DT node describing the DSP, but it also contains the Linux SOF DSP driver code that will use the DT node for easier review. Note that we switched to the new yaml format for bindings documentation. The DSP will run SOF Firmware [1]. Patches 1,2,3 are adding support for Linux DSP driver are already sent for review to SOF folks [2] Ideally, patches 4/5 and 5/5 will go upstream through Shawn's tree while 1-3/5 will go upstream via Pierre's tree -> ASoC tree. Mind that SOF DSP support depends on IMX DSP communication protocol up for review here: https://lkml.org/lkml/2019/8/1/260 Shawn, can you pick this up first? Symbol dependencies are hopefully set correct so even if one of the patches is not in a tree the compilation will not fail because the symbols depending on that patches will not be selected. [1] https://github.com/thesofproject/sof [2] https://github.com/thesofproject/linux/pull/1048/commits Daniel Baluta (5): ASoC: SOF: Add OF DSP device support ASoC: SOF: imx: Add i.MX8 HW support ASoC: SOF: topology: Add dummy support for i.MX8 DAIs arm64: dts: imx8qxp: Add DSP DT node dt-bindings: dsp: fsl: Add DSP core binding support .../devicetree/bindings/dsp/fsl,dsp.yaml | 88 ++++ arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 4 + arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 32 ++ include/sound/sof/dai.h | 2 + include/uapi/sound/sof/tokens.h | 8 + sound/soc/sof/Kconfig | 11 + sound/soc/sof/Makefile | 4 + sound/soc/sof/imx/Kconfig | 22 + sound/soc/sof/imx/Makefile | 4 + sound/soc/sof/imx/imx8.c | 394 ++++++++++++++++++ sound/soc/sof/sof-of-dev.c | 143 +++++++ sound/soc/sof/topology.c | 30 ++ 12 files changed, 742 insertions(+) create mode 100644 Documentation/devicetree/bindings/dsp/fsl,dsp.yaml create mode 100644 sound/soc/sof/imx/Kconfig create mode 100644 sound/soc/sof/imx/Makefile create mode 100644 sound/soc/sof/imx/imx8.c create mode 100644 sound/soc/sof/sof-of-dev.c -- 2.17.1