Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1318872pxm; Sat, 26 Feb 2022 11:38:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvWBY8jio7xtZ+oQbdKXn38jFNjVAx+4V/nIgFQYnKovkJo4UK2d8IA0Co1Gw6ptOyCY4D X-Received: by 2002:a05:6402:138c:b0:413:3d99:f2d6 with SMTP id b12-20020a056402138c00b004133d99f2d6mr12358275edv.189.1645904300455; Sat, 26 Feb 2022 11:38:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645904300; cv=none; d=google.com; s=arc-20160816; b=adRzAi9x1Ez1PjF6A/PFilJXE7RjzDDrqK72fjvqVhSvQYZ8gFpN7zoOIryDDHUA3I ic6E2nKJu86+xs/rHNG7ZeF/yE4adhK5uIsUPX4OjilDryLaWEYSeM9l269wUCvRNMOs 275Fa3Y2HyDmd6wn78HlZslTSo4lMiMdX5qhqcm66Kll1VP24mL6VphRQt6KZT+Z4XlR mdgTNSLMI4llTF0UQj9rc918Y15MbueH6UVAM9DxqynKMCyD9jgL5MQbTyTuRdhMxRbh maSft6yh8z5mO/RRiqZ/HX4F8Vnb1qvof7GzoXoQ5rvy2bD7rV+Emg1QDrFOrYMOr8ZV mA9A== 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=FQfWBCeIW1a+N9lwVV1LJBMV0dL7okPKEQ3y6MfBCYg=; b=l+qjvuYn3laForVJiZzc0zvWVZOdv2I2wXGjGcRSM+RgxLyxlslAXkIB0nUn6Vs+ZF Ui03KHSNZo92/DovuixUPu3gzd1twWpdy+/zHKiz7VnVkGsv0WlNLr7oaW3/MEFKQMzA 5xPK38IKrP3xd0xG1WlO6gFXa9fJXfWFznHHqp26nOCvBk+f1xgwCRcSciP+XwDusbT0 O5X+10UMLG3dHUmcZ1wwnyXfNrqDvMLb4NNrac1jrVcs3xtErzl6fu2XxUpMaokvmvpr 3hGAYkHcpzJsYpC30QgbJHwW+UkUYaVc1fSG/vC4C9k7e0+uJb4RvnJiBXidw164EwCR 4caA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=AgKsuO0E; 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 a6-20020aa7cf06000000b0041379425f6asi3057822edy.160.2022.02.26.11.37.29; Sat, 26 Feb 2022 11:38:20 -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=AgKsuO0E; 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 S232528AbiBZSKT (ORCPT + 99 others); Sat, 26 Feb 2022 13:10:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbiBZSKS (ORCPT ); Sat, 26 Feb 2022 13:10:18 -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 923D3483B7; Sat, 26 Feb 2022 10:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645898984; x=1677434984; h=from:to:cc:subject:date:message-id:mime-version; bh=FQfWBCeIW1a+N9lwVV1LJBMV0dL7okPKEQ3y6MfBCYg=; b=AgKsuO0EuatIvJtuEgjG/ApyC+BbOKYq6aypZCGQxpeQ9dZ7lBnGz4v2 rLN/a2M+yiMhKlIx6H0WZStDTbRmKrtwTZ9Sneumicfj3v8tzlviU2xjX UbJBiHsCF8Xrp8LKxpNtgMaPPVSYQk0nhKfx46kwKd/tYK1JY55EmBcDh o=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 26 Feb 2022 10:09:44 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Feb 2022 10:09:42 -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; Sat, 26 Feb 2022 10:09:42 -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; Sat, 26 Feb 2022 10:09:37 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 0/2] Add power domains support for digital macro codecs Date: Sat, 26 Feb 2022 23:39:17 +0530 Message-ID: <1645898959-11231-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 v4: -- Fix uninitialized variable return error 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 | 10 +++- sound/soc/codecs/lpass-tx-macro.c | 9 +++ sound/soc/codecs/lpass-va-macro.c | 10 ++++ sound/soc/qcom/Kconfig | 1 + 11 files changed, 146 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