From patchwork Wed Dec 13 16:25:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 178211 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp7949614dys; Wed, 13 Dec 2023 09:42:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmhXtfCZgjX4mwsNlN6JXwBa/40SSPXIus+AaiE1GUb9Ob4kyKm622uPop+8FMMRG5kX02 X-Received: by 2002:a17:903:124b:b0:1d3:2e0d:cda3 with SMTP id u11-20020a170903124b00b001d32e0dcda3mr4177778plh.103.1702489371504; Wed, 13 Dec 2023 09:42:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702489371; cv=none; d=google.com; s=arc-20160816; b=kAFwp2m5w8DdAYV6JQp+jCn6kiqpFq84CtLy5/8DiPMbRJm1/eV5eiNIUtSbnHHK/Z Dd8wTNgF+p/aepOl0no6pinBqDV0NETNvvhAnDGD5XH6F7489mcpWuhdKmVFgJYjNs10 EgatCop542d3kwl33uSb8fLFnA/9geZabB/aPqD21AaoQfLlisYH8c/zUlBCbuscTsX6 7oMYI8fwM+mrJGcIkbtR4QoC0qFgIU0q/TunRIlBnFLogMtlrFZU9IQgc7JHZuWsISgM UyWks4lTswS1v4gP3tPInVzt93TUdYcvaBeKJcjKCg+2WCVD+PNb8a/qRL2+BU9eTGqz rvhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HKKYqdbc3N4hC1UQxae75xN4voBqyRjMYCSX3oX7340=; fh=v1lwT2l/jVFCCowwT16E18rgIv0CDQo4TohtFL5maCY=; b=DF+1oIDjHvEItAgFNusWCbh+pjKLHbfvIz9qZV6/Us2CrzcDI9Qw5WimLdJstuXAfw 0aqVfIRvKhI8LGq3PmfcZh03i3fqCyQYcKe2dYXETA2H5ux3HhU1Af6Uw94G2zUnQWKD LWrPAWaFnz4zy/sEvX40HRuBO3TqXonK8gFsQer6JUieskIpOfVzri6N5XghN5Zp22FZ 3wsahthTMzxZNARFr31SF6bBAL0OW7KTo75tDaZCbSvwksz4LEtS1NekeROJyiKcWHSD 8Iw2+2LueKDnYZ3ttQWVwmNQt2WM8pYHiYWcTmlW3U+gNNVjlW4h/od1c719LQRcPMiC 5gpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IRjoeVM2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id y4-20020a17090322c400b001d35a09489esi654105plg.222.2023.12.13.09.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:42:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IRjoeVM2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8D15D802F309; Wed, 13 Dec 2023 09:42:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379343AbjLMQ0G (ORCPT + 99 others); Wed, 13 Dec 2023 11:26:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233561AbjLMQZj (ORCPT ); Wed, 13 Dec 2023 11:25:39 -0500 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1642793 for ; Wed, 13 Dec 2023 08:25:46 -0800 (PST) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-551ee7d5214so2247530a12.0 for ; Wed, 13 Dec 2023 08:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702484744; x=1703089544; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HKKYqdbc3N4hC1UQxae75xN4voBqyRjMYCSX3oX7340=; b=IRjoeVM21R50j1yLy4kKukHS9xBIp55PFTv5n2NJ5jVAs2ihEIzk2K0bsKKXU/ivOk CzLqgRosjcL1ahA0KgIt9/bE78pIdsks3PwivTIE06LDuWYhk6YM344kmHLbuXKmgsFh KEKxrHldvqMPZnBMMzAVdEE7gW6vavWPQLZWNn4GaV6hyDM2IcNUeQB0yfDixqdHn7sa FykaFqlZx1WfLsjACx2NCnFBpmtbWHlGV+nt1ndW2kAqe+JQoIY7JV9YuXkiofFzbWSk IaPDA+nMCAGqr8FxCVSkvY6BS4bcrrAUzkElRDvR5HGPb0mMSeiTDWoV2H4oMlKn+j3J rOOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702484744; x=1703089544; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HKKYqdbc3N4hC1UQxae75xN4voBqyRjMYCSX3oX7340=; b=kWF4IQLD/lJzeAFBxPy34fc6lJ5YT8M3ZIzDb35HxXNPaXaDUauZSQKdOQK1dIwv7k WcBEN2Q2barlPOcEVtpcruXI3Pail3hpckK7n34Da41fbsis63T626NjmSHP3jzcuXIx bSWbcb8PA6qKzQ5fKvmAA6FMA+S2yvL6gXJuAuhvkxaIOeNZ7n7OLl1e2UJQOOQTPVfu DVBnQ+O1H4TVRdSka/tY5Zvr8A/8nu9/5XfFnG44kUuAyZCFeLFuRmL2DVDbRc6GsqO1 TfJd5B02dUEYFN9yv6wrjkNoV6oKn+I1nrqUpO4VmfgPwG1RwRl0tHPjhynsAhf9lmwh nvCw== X-Gm-Message-State: AOJu0YxroOL1E9Eat8utbCaKsu8htttaqYEAIHbmwaIPLrVAkmSG/jBC K29Pf20ikKuOLkMF7sErslr5Tw== X-Received: by 2002:a17:907:270f:b0:a1e:a558:748c with SMTP id w15-20020a170907270f00b00a1ea558748cmr8642392ejk.18.1702484744603; Wed, 13 Dec 2023 08:25:44 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id kv18-20020a17090778d200b00a1dfc541282sm8048914ejc.225.2023.12.13.08.25.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:25:44 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] arm64: dts: qcom: sm8550: drop unneeded assigned-clocks from codec macros Date: Wed, 13 Dec 2023 17:25:36 +0100 Message-Id: <20231213162536.171475-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231213162536.171475-1-krzysztof.kozlowski@linaro.org> References: <20231213162536.171475-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:42:50 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785189495226659102 X-GMAIL-MSGID: 1785189495226659102 The MCLK clocks of codec macros have fixed 19.2 MHz frequency and assigning clock rates is redundant. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index d8f79b5895f5..68b05ab5f65f 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2045,8 +2045,6 @@ lpass_wsa2macro: codec@6aa0000 { <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&lpass_vamacro>; clock-names = "mclk", "macro", "dcodec", "fsgen"; - assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - assigned-clock-rates = <19200000>; #clock-cells = <0>; clock-output-names = "wsa2-mclk"; @@ -2092,9 +2090,6 @@ lpass_rxmacro: codec@6ac0000 { <&lpass_vamacro>; clock-names = "mclk", "macro", "dcodec", "fsgen"; - assigned-clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - assigned-clock-rates = <19200000>; - #clock-cells = <0>; clock-output-names = "mclk"; #sound-dai-cells = <1>; @@ -2138,9 +2133,6 @@ lpass_txmacro: codec@6ae0000 { <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&lpass_vamacro>; clock-names = "mclk", "macro", "dcodec", "fsgen"; - assigned-clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - - assigned-clock-rates = <19200000>; #clock-cells = <0>; clock-output-names = "mclk"; @@ -2156,9 +2148,6 @@ lpass_wsamacro: codec@6b00000 { <&lpass_vamacro>; clock-names = "mclk", "macro", "dcodec", "fsgen"; - assigned-clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - assigned-clock-rates = <19200000>; - #clock-cells = <0>; clock-output-names = "mclk"; #sound-dai-cells = <1>; @@ -2233,9 +2222,6 @@ lpass_vamacro: codec@6d44000 { <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; clock-names = "mclk", "macro", "dcodec"; - assigned-clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; - assigned-clock-rates = <19200000>; - #clock-cells = <0>; clock-output-names = "fsgen"; #sound-dai-cells = <1>;