Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp186517rdb; Thu, 30 Nov 2023 01:53:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGr38jNcjD0Irx5OHF6J4fZR/GPXtjkAzIm9OaXnUL7+2QBBTtTvwdj/Q2WjZVIhzh518cj X-Received: by 2002:a05:6a21:3105:b0:186:bd68:facc with SMTP id yz5-20020a056a21310500b00186bd68faccmr18331366pzb.28.1701337984605; Thu, 30 Nov 2023 01:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701337984; cv=none; d=google.com; s=arc-20160816; b=Z8XT0hxO2V5PXaKWFLp6k14mAYtbnOjmT7ttDxkHzQS/BJd5sWl9e5RbwB8mC8GTpj 0R0NseR6YOgwoG7j5ioqceavUp5rSUH6Lt7l6rRWIPQkGf7vptAl1Kx42snh6hCcF5bM WkHEmJsPbXZwYgLPh/oHXf5VJpy6qXMnP0eFp54qshwHQSka+IMk2Cd+upPv/+7LnElC NsefSYw4RqdfcRBQ45FnV43/CXNW1JnlpaLEJRAQzLXsmjHaYYIqCGPHl6ojYTz4lsZU WSV2ssaxey9kjlxyfPoasufUO4Xj0fLE0MQIN9D+sW5O6Y/4c/VMH8faxBlfROqw+Q2p eTVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:autocrypt:references:to:content-language:subject :reply-to:from:user-agent:mime-version:date:message-id :dkim-signature; bh=ZWwZC/V0wDXbj7+U19+s2XYbHOD77Anr4368lm9EqGo=; fh=F1CHrSgJLXD+5Cbelu3G8x6P6vlfDqdCQrwT4Xyze/A=; b=VUVyaj9SNmej3teenk1+xkv5X1PsyyMkVpAuGyJMmNEUseS242aFFsBx+J5onhtZnu qlrfDa5Z6Ed2RvfwEt7yOL9JmtgLwmoFWPnFsqtpKv65rn1Milr3/YYH7DvUTgkoSqj8 t71S7EGxBQWsYeZ2O+HcKtxTf5k3yX7NZVxo9yUN/cWz5S01N65On5Ujl/aFJCHyj2AR GXAMdfTxEB0PGSWJBpvuNhSDdzudkioyGT1f73wp9HZsXNVKHQ+L+qPbrF1ViUeGXcvc Rr17US3gJWra7wxcwsEepXM2wzfr9guAeD8F0VU4kQPV46MA9PJie328iPjFx4vuqZXh S6bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gdMKiOF9; 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d22-20020a056a00199600b006be55174f3fsi930900pfl.28.2023.11.30.01.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 01:53:04 -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=gdMKiOF9; 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 BCF03802A6EE; Thu, 30 Nov 2023 01:53:02 -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 S235059AbjK3Jwu (ORCPT + 99 others); Thu, 30 Nov 2023 04:52:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229462AbjK3Jwt (ORCPT ); Thu, 30 Nov 2023 04:52:49 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 127D010C9 for ; Thu, 30 Nov 2023 01:52:55 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40b472f98b1so5679805e9.3 for ; Thu, 30 Nov 2023 01:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701337973; x=1701942773; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=ZWwZC/V0wDXbj7+U19+s2XYbHOD77Anr4368lm9EqGo=; b=gdMKiOF90oV5EJriqTzsgxOH7xnnBwxwp09O3sGs+6hLXGg1A93tI93RswImuVweEU UUjOWSrFnSaDKgWhlZoYLcM6vZxg3uEJ5CaahasW8So5REiOJUKiWE25omHyvtChrXzQ UQoqPPIn8dMgLfDNIm3fSCpqiwYQYjmwIqPxn5b9vR1fWZWcBmPkmmGwJ/HQ3jinAW7x 0ZAN4HDgGhDYnWl8Td5IgyHlR+PZUzLo20LfCzBN6WSFAznmisIRBK4tnk+5JVXtcqca WL+bNqV9Z3kUDGLaRWwM6BGLci+BR8k+bOSxuxu0N6a9jUUbRGLu6X2WMlFtKDvnpNV0 oRJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701337973; x=1701942773; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=ZWwZC/V0wDXbj7+U19+s2XYbHOD77Anr4368lm9EqGo=; b=KVHN7LZFytnC9gyix6tdzyRMNfe3+E2cLMFKLzOo9TPLfwsPQ1hI8MgrE6n2XQSwGI 3kG4/9O3BKa/EHgZ4mSFS4ZPkEtrGFJKL1+ECNhrWuCz2YQSVi3KRf6LbN4YKsncqcX6 rrZ2+fJHNh5MQ07i+PXexYtenWRdiIYqa/mYT8CA/2EKf4KnRYDuC/2wjSyEXTx3dnIg 6opNmPq9EULaL0zRkWc4zmeuubzryYPWEFdJv7dkUDHIYIDh03+waFvP2iiaRN+HgY+c ZQf5e7NcwhWNAkDaDTCSEKNuXTBqc4WVPQYFPJz9H1uIWEVMNF67UrLTetkAVRI5BCJy fNJQ== X-Gm-Message-State: AOJu0YydgRdFP3oZTLcLAKwcBPWgRlhMV9EZxmdEWIv40o+FWtNN+jrr b2Uch/PEA52BYGpVshnC1JBxZQ== X-Received: by 2002:a05:600c:4447:b0:40b:3728:badb with SMTP id v7-20020a05600c444700b0040b3728badbmr14766919wmn.33.1701337973529; Thu, 30 Nov 2023 01:52:53 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:41c9:3acd:a6e2:5242? ([2a01:e0a:982:cbb0:41c9:3acd:a6e2:5242]) by smtp.gmail.com with ESMTPSA id p36-20020a05600c1da400b0040b478da760sm1358964wms.48.2023.11.30.01.52.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 01:52:53 -0800 (PST) Message-ID: <151b8a7b-062e-464e-8d8e-2dc9e1ff9dfd@linaro.org> Date: Thu, 30 Nov 2023 10:52:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 1/2] arm64: dts: qcom: sm8450: correct TX Soundwire clock Content-Language: en-US, fr To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231129140537.161720-1-krzysztof.kozlowski@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <20231129140537.161720-1-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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=unavailable 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]); Thu, 30 Nov 2023 01:53:02 -0800 (PST) On 29/11/2023 15:05, Krzysztof Kozlowski wrote: > The TX Soundwire controller should take clock from TX macro codec, not > VA macro codec clock, otherwise the clock stays disabled. This looks > like a copy-paste issue, because the SC8280xp code uses here correctly > clock from TX macro. The VA macro clock is already consumed by TX macro > codec, thus it won't be disabled by this change. > > Fixes: 14341e76dbc7 ("arm64: dts: qcom: sm8450: add Soundwire and LPASS") > Reported-by: Neil Armstrong > Signed-off-by: Krzysztof Kozlowski > > --- > > Considering that in Downstream, the TX Soundwire is part of VA macro, > there is no clear reference code explaining this. Let's just go with > SC8280xp approach because it seems reasonable, but don't ask me "why". > --- > arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > index a305f8c03f9e..28207c7423f0 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > @@ -2314,7 +2314,7 @@ swr2: soundwire@33b0000 { > ; > interrupt-names = "core", "wakeup"; > > - clocks = <&vamacro>; > + clocks = <&txmacro>; > clock-names = "iface"; > label = "TX"; > Reviewed-by: Neil Armstrong