Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2286200pxp; Mon, 21 Mar 2022 15:55:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdZNi5vyiYxhQ23jgljFZWPt0rClMU9CePhu7l/oJE5yunjoPdntuslVSjKvM8QTGUy9Jp X-Received: by 2002:a17:902:c951:b0:154:38b8:aa30 with SMTP id i17-20020a170902c95100b0015438b8aa30mr12200724pla.145.1647903346387; Mon, 21 Mar 2022 15:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647903346; cv=none; d=google.com; s=arc-20160816; b=LlKzwLYM9UDNrQE8rdLmbMpOqZYvPMq41t0gNt94T50acPSVo7MPLEfbLINK9VgSa3 n9K5qGI9O5/wZNErf835EAgvTTOAnl/1hiCWoA2zXfqERI/Pyj052Tx0J1paUMYpaR7/ oaPdupqe0gKtlh7LypLaTpBo+Rht4gT345CM9BrdHoE1DJqwtqGJmpFs+OQSY93fjO7r 1vJM6N7yhBg7xHExGmmHHMgMQmI7GtdUuZDEcxNI4whsP0aRhyL58vPW2oPj3mAPuvHk NctaRMh8qFWox1gaP/wKW4RDlY3C6/gDWURPRnCG+aOO+jeJJxPRKxiGnMkINDHQY/nq Q5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ISCUgpFLNrcd0Zd2YYdxHLQx+tSivhuR0hYqwrnB+vc=; b=Gs5sLItCYC+fx5GB7aH3MJt3vnyi9PKg/7hdBcFLy+Ygu0RVyYHkRP31o3MYwDAvUQ 3cBtEFkjNFMXb68cm4fM6GunisnpiM9Klajy0qWjEsQ2Bw6UfRO9axDBleGb9pkJffck 1khk78N4OEIHXi9wC1JD7y9fiXIq8z7QEtweNTwk/qsomVlRJTZwZiwbZVat6OqUg3kb YjxqudUf5eR+TOM2ipQx98gMEdJM+CRGc9299JNUfQvKBiJnHClcH9kkXvnEXIIzx2sN szrCysmqF1sIA+gGd90tlEVXBAx+g7xhZw94npl9GquPIZLI/1l4sXmzvAiwO2yY/bqZ 08Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dRIfHgQy; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id q20-20020a170902edd400b00153b2d1646bsi12928858plk.115.2022.03.21.15.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:55:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=dRIfHgQy; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 28A5A422614; Mon, 21 Mar 2022 15:06:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345575AbiCUI6w (ORCPT + 99 others); Mon, 21 Mar 2022 04:58:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345598AbiCUI6L (ORCPT ); Mon, 21 Mar 2022 04:58:11 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DC9357485; Mon, 21 Mar 2022 01:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647853006; x=1679389006; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=ISCUgpFLNrcd0Zd2YYdxHLQx+tSivhuR0hYqwrnB+vc=; b=dRIfHgQyW1b/wKw2O3hVnuznAQnOKEqLYwOxydemvjCyLgAQF7Ju22LZ /wTxpXMsnaPodqRYki/kNPWuAMvi3i9onipPMRWJjU8SOgi8i4yVFaanz Va2GhujRiUFudj5b4iM31NH1BBlBkUBEN2pp39wepJZI1QHCVTES/ecFu I=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 21 Mar 2022 01:56:46 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 01:56:45 -0700 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.22; Mon, 21 Mar 2022 01:56:44 -0700 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.22; Mon, 21 Mar 2022 01:56:39 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH 1/3] ASoC: qcom: dt-bindings: Update bindings for clocks in lpass digital codes Date: Mon, 21 Mar 2022 14:26:19 +0530 Message-ID: <1647852981-27895-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647852981-27895-1-git-send-email-quic_srivasam@quicinc.com> References: <1647852981-27895-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Update dt-bindings for clocks as per ADSP bypass solutions, in which macro dcodec GDSCs are enabled using power domains in lpass digital codec drivers. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- .../devicetree/bindings/sound/qcom,lpass-rx-macro.yaml | 17 +++++++++++------ .../devicetree/bindings/sound/qcom,lpass-tx-macro.yaml | 17 +++++++++++------ .../devicetree/bindings/sound/qcom,lpass-va-macro.yaml | 11 +++++++---- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml index 6127df5..a6905bc 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml @@ -28,12 +28,17 @@ properties: maxItems: 5 clock-names: - items: - - const: mclk - - const: npl - - const: macro - - const: dcodec - - const: fsgen + oneOf: + - items: #for ADSP based platforms + - const: mclk + - const: npl + - const: macro + - const: dcodec + - const: fsgen + - items: #for ADSP bypass based platforms + - const: mclk + - const: npl + - const: fsgen clock-output-names: items: diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml index 3f0f99c..324595a 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml @@ -28,12 +28,17 @@ properties: maxItems: 5 clock-names: - items: - - const: mclk - - const: npl - - const: macro - - const: dcodec - - const: fsgen + oneOf: + - items: #for ADSP based platforms + - const: mclk + - const: npl + - const: macro + - const: dcodec + - const: fsgen + - items: #for ADSP bypass based platforms + - const: mclk + - const: npl + - const: fsgen clock-output-names: items: diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml index 9868a5e..7b4cc84 100644 --- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml @@ -28,10 +28,13 @@ properties: maxItems: 3 clock-names: - items: - - const: mclk - - const: core - - const: dcodec + oneOf: + - items: #for ADSP based platforms + - const: mclk + - const: core + - const: dcodec + - items: #for ADSP bypass based platforms + - const: mclk clock-output-names: items: -- 2.7.4