Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1028009ybv; Fri, 7 Feb 2020 13:00:48 -0800 (PST) X-Google-Smtp-Source: APXvYqw/n+jBazjavbG6O+AdClHcAaf+AeNPGBJ+QJj3qZ6Ewg3EN4AjjDCsO25Xn75pwzXzqA09 X-Received: by 2002:a9d:7ccc:: with SMTP id r12mr1080006otn.22.1581109248061; Fri, 07 Feb 2020 13:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581109248; cv=none; d=google.com; s=arc-20160816; b=zDlxgG3irfpHyZpMAIUiwx7JpKURsOlEdByp21HiDju2OxoFSDhYYC+TXEz1A+wO6H /ru5oqGTmU0inAFENdp6cQib3hKG6rFPJ6KSfJKUEjlVfdu/niOCV9bC43G+ogDfN0Xo Lwy7qqBOXw9nERbvfE3hnpvH9jYR5+54yWdWNrGLpWkaLOke6faeVFDyIQ7IKuv3p2gV CqDiUy/x2d1g7dZB29Wd+U2rI2Yn8lzR8+O0U1L3tuAcayczjwpop4DJQSmO0+2NUYRL o6aUwfCV6AnyqA6iDxlFNye+P8hiC0oV/mCcsEPk7E2g1MmBHlaY+Oz+9Dl8i1HG1YMJ HLUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=MlElQX8UGSNGpk/B5oaMq2Wl0cfEBed5ksQ493alu7Y=; b=j87mo01ht3hsi940AWUyk+2N3cizXNIesKK/yW0tUVblt4vZ7Fd0oydiWJdgCL73zA lQJdtBr14G2z+417K6F/oTLmH6oi+pg9FRwcuLI6r+5IILRpU46VJPcpc3DJ99lrIIZ9 MFs4BzFW4/dZLq1P63tOVv/dqgdwempK7XqNR8OzRzPWO4z5N38j0KwToqHvBEWYWe+5 u7bLPN7N2r6t0FGxLu3i74h7YgBVJ/jd7kGwbZn8B0sUvC3tUSmqE/+NZv0A6DPo174Y tFXUbkKqSZ5YK4iJcgWI1QtCKKfmfbo0MSMKJeLOuOhSwLoNXx23r9jB5iKbsg8rXYWn CzdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@serbinski.com header.s=default header.b=mMdBltuh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l5si272827otn.35.2020.02.07.13.00.35; Fri, 07 Feb 2020 13:00:48 -0800 (PST) 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=@serbinski.com header.s=default header.b=mMdBltuh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727490AbgBGU6p (ORCPT + 99 others); Fri, 7 Feb 2020 15:58:45 -0500 Received: from mail.serbinski.com ([162.218.126.2]:46978 "EHLO mail.serbinski.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727018AbgBGU6o (ORCPT ); Fri, 7 Feb 2020 15:58:44 -0500 Received: from localhost (unknown [127.0.0.1]) by mail.serbinski.com (Postfix) with ESMTP id 854DCD00727; Fri, 7 Feb 2020 20:50:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at serbinski.com Received: from mail.serbinski.com ([127.0.0.1]) by localhost (mail.serbinski.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j-EbtHU13np8; Fri, 7 Feb 2020 15:50:36 -0500 (EST) Received: from anet (ipagstaticip-7ac5353e-e7de-3a0d-ff65-4540e9bc137f.sdsl.bell.ca [142.112.15.192]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.serbinski.com (Postfix) with ESMTPSA id 854D1D00717; Fri, 7 Feb 2020 15:50:28 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.serbinski.com 854D1D00717 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serbinski.com; s=default; t=1581108628; bh=MlElQX8UGSNGpk/B5oaMq2Wl0cfEBed5ksQ493alu7Y=; h=From:To:Cc:Subject:Date:From; b=mMdBltuhTPxNolWE+/ZrxcYY8ll4FHCgyjB84nIXrIXYSM75RY5Jdk5HyGxdb7fef vVRVYkL41HHJXLd3mE/0qrR7VziDpq925OlaUDSASqoUuOBeup1j53QiRkfDMkCFIS nQDV9jKtn2W/4OcmZJQQBLR4RosJY0mly17QQ5z0= From: Adam Serbinski To: Mark Brown , Srini Kandagatla , Rob Herring , Bjorn Andersson Cc: Adam Serbinski , Andy Gross , Mark Rutland , Liam Girdwood , Patrick Lai , Banajit Goswami , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/8] ASoC: qdsp6: db820c: Add support for external and bluetooth audio Date: Fri, 7 Feb 2020 15:50:05 -0500 Message-Id: <20200207205013.12274-1-adam@serbinski.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set implements PCM audio support in qdsp6 and PCM and MI2S in apq8096/db820c to enable use of bluetooth audio codec and external MI2S port on db820c. The db820c uses qca6174a for bluetooth, which by default is configured to use what qualcomm refers to as "PCM" format, which is a variation of TDM. CC: Andy Gross CC: Mark Rutland CC: Liam Girdwood CC: Patrick Lai CC: Banajit Goswami CC: Jaroslav Kysela CC: Takashi Iwai CC: alsa-devel@alsa-project.org CC: linux-arm-msm@vger.kernel.org CC: devicetree@vger.kernel.org CC: linux-kernel@vger.kernel.org Adam Serbinski (8): ASoC: qdsp6: dt-bindings: Add q6afe pcm dt binding ASoC: qdsp6: q6afe: add support to pcm ports ASoC: qdsp6: q6afe-dai: add support to pcm port dais ASoC: qdsp6: q6routing: add pcm port routing ASoC: qcom: apq8096: add support for primary and quaternary I2S/PCM ASoC: qcom/common: Use snd-soc-dummy-dai when codec is not specified dts: msm8996/db820c: enable primary pcm and quaternary i2s ASoC: qcom: apq8096: add kcontrols to set PCM rate arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 113 +++++++++ arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 162 ++++++++++++ include/dt-bindings/sound/qcom,q6afe.h | 8 + sound/soc/qcom/apq8096.c | 172 +++++++++++-- sound/soc/qcom/common.c | 22 +- sound/soc/qcom/qdsp6/q6afe-dai.c | 198 ++++++++++++++- sound/soc/qcom/qdsp6/q6afe.c | 246 +++++++++++++++++++ sound/soc/qcom/qdsp6/q6afe.h | 9 +- sound/soc/qcom/qdsp6/q6routing.c | 44 ++++ 9 files changed, 953 insertions(+), 21 deletions(-) -- 2.21.1