Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp892991pxm; Sat, 26 Feb 2022 00:10:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6FVLoECTE5GK+TfdYUw0YG66TBRSkBAHFeQXt3FYXI4897Sz8yMci9iD/00HswAuj9Kmp X-Received: by 2002:a65:45c4:0:b0:375:2322:9607 with SMTP id m4-20020a6545c4000000b0037523229607mr9231646pgr.361.1645863036598; Sat, 26 Feb 2022 00:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645863036; cv=none; d=google.com; s=arc-20160816; b=NK0Ee9USkWucvP1mQcmUbD4i4JI4bKI5SpivtV0bD5QTwMpcL2Exsn4kJKHy0ExRyX /RuqMMrjD8a9a0cowDFkyfwSfnxQUfFtO92Ese0eFUds21FIVaE1siYu9twCizSV1cWh pMS/xEuw+ztRqF0jcUzGQo/aFNTTAtiCiEpEUlgK3PIH624/OtbymDwo3A/8OWHzXFXt cf6PyKJOvMas0J6UUycrm8EvIR+K370WWfn4POy0E/7L9kAIAY09w8WiwgaxOdcEccX0 zaIkvYUzlQ+OhC11DV5dHUgP/5TnCjbneo3AdUs7A7xNcgi2RAz5qJMpCemThaXaXH+X cnzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=DFvRIKD5w7KeN6PhWnYB9eQbok/0NQ0d3MZvSWvCwrM=; b=pJvnb17GVfnsovAzxJJw0shCn5gcC+f/UGCetojRZNO2MMhgoYV5CGfWXQUa2cMLFf Ni/Gfc8nU0vSnO17BDcDUFXAuuOO4xNaLfi4TI/mneUfMnzcb7m/gqZmSw1PCZPhVx90 cAQ80kq/IuVtb6kFr6TXvlGCby8yf+6PK8YN8smyaEi+o2BkCBzggtn06U/9rI1DlBhC gMnOwK1C9PNtkowGhaHMK+7YPA7aeSUU2+WWes/XbGqZp4M5Xib0EMnHc3SNzZzynP3K WFiZCvG3617iwQHDv1JjcTMV+9pgrJT+GhEad9yEYy1v8NGv77rQK/E4clPRChYRna9n Eddg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=x+KKWZXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a170902e88c00b0014ffc4540c6si4321877plg.75.2022.02.26.00.10.20; Sat, 26 Feb 2022 00:10:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=x+KKWZXG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbiBZHqc (ORCPT + 99 others); Sat, 26 Feb 2022 02:46:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbiBZHqb (ORCPT ); Sat, 26 Feb 2022 02:46:31 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5D151DDFDF; Fri, 25 Feb 2022 23:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645861557; x=1677397557; h=from:to:cc:subject:date:message-id:mime-version; bh=DFvRIKD5w7KeN6PhWnYB9eQbok/0NQ0d3MZvSWvCwrM=; b=x+KKWZXGc/Qw6vVb5iMdQsyB5ECulk0drsTennVfEXWFonR9rj8OkZXn pdGCTQ9/1ZXnIMLhNc/W4RQgPYLWzRKSuTg1sgeDrHDqIwRUlO9D44aaE UvbYS4L2ytuyyHMy175Ive8N38fI3582bQ+HGl7eUG/WR9aSRxTp6slJF 8=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 25 Feb 2022 23:45:56 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 23:45:56 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Fri, 25 Feb 2022 23:45:56 -0800 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Fri, 25 Feb 2022 23:45:50 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND v4 0/2] Add power domains support for digital macro codecs Date: Sat, 26 Feb 2022 13:15:29 +0530 Message-ID: <1645861531-13829-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is to add power domains support for RX, TX and VA macros. Changes since v3: -- Add dt-bindings support. Changes since v2: -- Remove redundant local variable. -- Update pds error handling sequence. -- Update module description. -- Clean up pds init function. -- Remove redundant arguments. Changes since v1: -- Add missing macros in Kconfig. Srinivasa Rao Mandadapu (2): ASoC: codecs: Add power domains support in digital macro codecs ASoC: qcom: dt-bindings: Add bindings for power domains in lpass digital codecs .../bindings/sound/qcom,lpass-rx-macro.yaml | 8 +++ .../bindings/sound/qcom,lpass-tx-macro.yaml | 8 +++ .../bindings/sound/qcom,lpass-va-macro.yaml | 8 +++ sound/soc/codecs/Kconfig | 7 +++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/lpass-macro-common.c | 67 ++++++++++++++++++++++ sound/soc/codecs/lpass-macro-common.h | 17 ++++++ sound/soc/codecs/lpass-rx-macro.c | 12 +++- sound/soc/codecs/lpass-tx-macro.c | 10 ++++ sound/soc/codecs/lpass-va-macro.c | 12 ++++ sound/soc/qcom/Kconfig | 1 + 11 files changed, 151 insertions(+), 1 deletion(-) create mode 100644 sound/soc/codecs/lpass-macro-common.c create mode 100644 sound/soc/codecs/lpass-macro-common.h -- 2.7.4