From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B52D5C4363C for ; Thu, 8 Oct 2020 05:37:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 49B1B21897 for ; Thu, 8 Oct 2020 05:37:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Wna3U3JA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727345AbgJHFho (ORCPT ); Thu, 8 Oct 2020 01:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgJHFho (ORCPT ); Thu, 8 Oct 2020 01:37:44 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E6FFC061755 for ; Wed, 7 Oct 2020 22:37:44 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f21so5058076wml.3 for ; Wed, 07 Oct 2020 22:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=A6XCjatiL9NzFQM+NdxMv/RvtW9AfjiLEaWTMjp5zoI=; b=Wna3U3JA7eZqXSqKp499zxZzQziRQTdFekU1KZnuA6WKKgK/lB3nSJ1rF6+N9OdRe7 bXz7WhEajXOoS4rqh4OJ8thr4zXSjvN+GMkCY2QINEqp1wyyJb0bUnvP0QCK1FMGCXi4 /45h0GsDXzfft8Uue82SmspgY02SLP7aRoke9jM0Dn/CF7RlKsYIhZqmPOic+3dPbEYa dPjLgLpyj6o1kwjIX5M2VWCU9UoBvsOGtOsvYFLNn81ukB00VIov0k++l/CWTcGqP6nh 2l6SDIOI2g4XQbqLoyvqy3DVnWbZ/nl9qHRPvImp6nIdwhA04AlRIScXaIeoiBwBH4QY kmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=A6XCjatiL9NzFQM+NdxMv/RvtW9AfjiLEaWTMjp5zoI=; b=PcCCNAnNrMb2yGjRb8/HgvHAnRZG9ReILUM312UI2ezpRREvPkeRUbsXixl/k+a5EV PM408Q6YRmaeRJwRtAA30mi2do/by6NmHAhPsl8/iccdvavvfIs6xFdSDq3s1xcIEp1x ujA1/ZU60ZOjNgcay7ssBYVo1UtprnQjewz91sdBwQJcKkVaX2oi08VgRNqrM+leDTZI bt+F4sd3ELWpvBFmDfENPJS8ygshsLlfukc18WZTU8XIjq+yGJJWqgIJbh5nj1hmlLZU j703iwhjh9L4Z4QhPYOPmjaFVvweSXlluFF3BZNd+WTqpk6cOQwUhNo5cPdVN+6FREfn Xtkg== X-Gm-Message-State: AOAM5321305oAW2TOiY0m/nDYZ2Ix5BuB67MPQ6aU6Yv9+Y6bmAOwHBk gw3ZfiSG89sKcU35UV8SnFlsVvbfQnH2Ng== X-Google-Smtp-Source: ABdhPJzqouWaKGAaiL8Srtog8oaCNxGNm6BRRyanUcbWr+H31MrZoIhMQp7sQKJcjsJATK+qh1xmuw== X-Received: by 2002:a1c:7ed5:: with SMTP id z204mr6752967wmc.177.1602135462857; Wed, 07 Oct 2020 22:37:42 -0700 (PDT) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id a3sm5165998wmb.46.2020.10.07.22.37.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2020 22:37:42 -0700 (PDT) Subject: Re: [PATCH v11 0/7] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port To: Srinivasa Rao Mandadapu , agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1602134223-2562-1-git-send-email-srivasam@codeaurora.org> From: Srinivas Kandagatla Message-ID: <244e74f6-fa8c-692a-aa84-4677a0fd815b@linaro.org> Date: Thu, 8 Oct 2020 06:37:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1602134223-2562-1-git-send-email-srivasam@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 08/10/2020 06:16, Srinivasa Rao Mandadapu wrote: > These patches are to support audio over DP port on Qualcomm's SC7180 LPASS > Asoc. It includes machine driver, cpu driver, platform driver updates for > HDMI path support, device tree documention, lpass variant structure > optimization and configuration changes. > These patches depends on the DP patch series > https://patchwork.kernel.org/project/dri-devel/list/?series=332029 > https://lore.kernel.org/patchwork/project/lkml/list/?series=464856 > > changes since V10: > -- Moved hdmi regmap functions from lpass-hdmi.c to lpass-cpu.c > -- Moved QCOM_REGMAP_FIELD_ALLOC macro from lpass-hdmi.c to lpass.h > changes since V9: > -- Removed unused structures lpass_hdmi.h > changes since V8: > -- Removed redundant structure wrapper for reg map field memebrs > -- Updated lpass_hdmi_regmap_volatile API with appropriate registers as true > and others as false. > changes since V7: > -- Fixed typo errors > -- Created Separate patch for buffer size change > changes since V6: > -- Removed compile time define flag, which used for enabling > HDMI code, based on corresponding config param is included. > -- Updated reg map alloc API with reg map bulk API. > -- Removed unnecessary line splits > changes since V5: > -- Removed unused struct regmap *map in lpass_platform_alloc_hdmidmactl_fields. > -- DMA alloc and free API signature change in lpass-apq8016.c, lpass-ipq806x.c > -- Keeping API "irqreturn_t lpass_platform_hdmiif_irq" under ifdef macro > Changes Since v4: > -- Updated with single compatible node for both I2S and HDMI. > Changes Since v3: > -- Removed id in lpass variant structure and used snd_soc_dai_driver id. > Changes Since v2: > -- Audio buffer size(i.e. LPASS_PLATFORM_BUFFER_SIZE) in lpass-platform.c increased. > Changes Since v1: > -- Commit messages are updated > -- Addressed Rob Herring review comments > > V Sujith Kumar Reddy (7): > ASoC: Add sc7180-lpass binding header hdmi define > ASoC: dt-bindings: Add dt binding for lpass hdmi > Asoc:qcom:lpass-cpu:Update dts property read API > Asoc: qcom: lpass:Update lpaif_dmactl members order > ASoC: qcom: Add support for lpass hdmi driver > Asoc: qcom: lpass-platform : Increase buffer size > ASoC: qcom: sc7180: Add support for audio over DP > > .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 74 ++-- > include/dt-bindings/sound/sc7180-lpass.h | 1 + > sound/soc/qcom/Kconfig | 5 + > sound/soc/qcom/Makefile | 2 + > sound/soc/qcom/lpass-apq8016.c | 4 +- > sound/soc/qcom/lpass-cpu.c | 249 ++++++++++++- > sound/soc/qcom/lpass-hdmi.c | 258 ++++++++++++++ > sound/soc/qcom/lpass-hdmi.h | 102 ++++++ > sound/soc/qcom/lpass-ipq806x.c | 4 +- > sound/soc/qcom/lpass-lpaif-reg.h | 49 ++- > sound/soc/qcom/lpass-platform.c | 395 +++++++++++++++++---- > sound/soc/qcom/lpass-sc7180.c | 116 +++++- > sound/soc/qcom/lpass.h | 124 ++++++- > 13 files changed, 1240 insertions(+), 143 deletions(-) > create mode 100644 sound/soc/qcom/lpass-hdmi.c > create mode 100644 sound/soc/qcom/lpass-hdmi.h > Tested this series on DragonBoard 410c Tested-by: Srinivas Kandagatla Reviewed-by: Srinivas Kandagatla