From patchwork Mon Sep 3 12:34:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10585805 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EB1FA14E0 for ; Mon, 3 Sep 2018 12:37:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D45EA2903B for ; Mon, 3 Sep 2018 12:37:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6B2B294EB; Mon, 3 Sep 2018 12:37:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED1372903B for ; Mon, 3 Sep 2018 12:37:39 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D9D1C2676C9; Mon, 3 Sep 2018 14:37:37 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6C3C2267819; Mon, 3 Sep 2018 14:37:35 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by alsa0.perex.cz (Postfix) with ESMTP id 586BC2673F4 for ; Mon, 3 Sep 2018 14:37:32 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id u12-v6so520819wrr.4 for ; Mon, 03 Sep 2018 05:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ZVnuh9gFYa4yk0/FnKl5UxODP7+cUhaNKWpIy0gn4is=; b=DsESchzHZsbYaAN1j1Q/gDRigh/wgsge6JtbJkhSNBeiBn0gXsoqx4UG+2llXAW/2R hUpMna0sF2h1k4UMGUy/uQQkdyLb/Q+G8pnMYkNKAKnZoaYX6JeMv9yuy8U29C0i8SQa YlEu6dMbuTypyRw2TnSwozN5/kizlwvGY7h4c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZVnuh9gFYa4yk0/FnKl5UxODP7+cUhaNKWpIy0gn4is=; b=cxfIoAjonbf3YaBr2Vydv4fwdyo9VZ6T8cpJ6V0Zv0lZLcjjcNfdYN3eVT6ODpvl1s UbTQdD08FWXj8EYrMm+WZFtl8sXgNx1YtNjT3bjb0nFK/AcdwPaYkx8tssE17ikh1hAI hLtgrQN7bZDBQclIui8g98WS+A+pQJ0z5cdbIW7Po3OAdPS29BY7YUAyRlr3wlu+ocp2 yAuykPIRG/r5CyC0AY5BCODMMqH6SB2QhZNyKMOdgR1XRZA+X2vmBFPCDRrdlZQiWZ6z jglkONoy2MVFuws8SIXDr2/HMh+31VOF5+/tzzxpSNYW/kVH8hD/SEN0Nv9QXbxxZqqf EnOQ== X-Gm-Message-State: APzg51Dn8d9+14FTalFLJOgnZP6rlUrh72ioJHpTqGJHDe+HLlaE90sf djuRHeuDLB7RsnW6sgD7RPZTHw== X-Google-Smtp-Source: ANB0VdZj8BB7BXcmJBVhJ/4gvvjFNny7roZ6WjUqd2pP0WJVPSemhOz42XZbzmGulwwZJJPWZMdGww== X-Received: by 2002:adf:9e93:: with SMTP id a19-v6mr19575033wrf.70.1535978251833; Mon, 03 Sep 2018 05:37:31 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id j44-v6sm27481099wre.40.2018.09.03.05.37.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Sep 2018 05:37:31 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org Date: Mon, 3 Sep 2018 13:34:52 +0100 Message-Id: <20180903123455.9290-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.18.0 Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, bgoswami@codeaurora.org, lgirdwood@gmail.com, tiwai@suse.com, linux-kernel@vger.kernel.org, vkoul@kernel.org, rohitkr@codeaurora.org, Srinivas Kandagatla Subject: [alsa-devel] [PATCH 0/3] ASoC: qdsp6: add compress offload support X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset adds support to very basic MP3 playback compress offload support via QDSP ASM module. Tested this patchset on DB410c with APQ8016 and DB820c with APQ8096 using tinycompress library. Adding other codec support should be trivial w.r.t qdsp6 side, however there are other dependencies like compress UAPI header changes and FastRPC which are being worked in parallel. Once ready will post them! thanks, srini Srinivas Kandagatla (3): ASoC: q6asm-dai: dt-bindings: Add support to compress dais ASoC: qdsp6: q6asm: add support to MP3 format ASoC: qdsp6: q6asm-dai: Add support to compress offload .../devicetree/bindings/sound/qcom,q6asm.txt | 27 ++ sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/qdsp6/q6asm-dai.c | 418 +++++++++++++++++- sound/soc/qcom/qdsp6/q6asm.c | 5 + 4 files changed, 450 insertions(+), 1 deletion(-)