Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4600760rdh; Wed, 29 Nov 2023 06:06:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPzS/UpfspC4SPcp34y6xum2jJId7cdmMhWbXN8Ok/ZMRq6yx+2HX1VLZyvUx7WihqVn7n X-Received: by 2002:a05:6808:10d2:b0:3af:d955:261a with SMTP id s18-20020a05680810d200b003afd955261amr23547230ois.7.1701266804352; Wed, 29 Nov 2023 06:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701266804; cv=none; d=google.com; s=arc-20160816; b=Ikfj4Xvf+cTKfi2kncu2vSlhUAlIN3/Rjw+RP7vM1sbsbzvMYn7Dtw+WrkD0ugImrJ Yk/6SWxxRi3mWriM+0/qAFM/dzoXKP4b9iAFZcCHcqAdU/lVrOgoLtfJysS+P6PoL1GT 3MlhTWULs9sqBTujB7IbDs5SBGvyd0neCWrJD/CvUb8EYbxmTlpfZDF2cNeT5CMGhsOP m7nW4lEKGRX0FJrTTubqL6PLAcybl9efm8jQi5WBqc/91c/c5LbeuUSMS23q10SUW9Oh 5igiezCxDhcnoq2S28gLptHs73trWoHDo/3gczCS5+MTxwL1GGrduPfCF+GfoZvM+1GA ZYuA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MQ8xtOf7SPY4n43K7AQFcp4yw6pnczR2hfrcA2zNKh8=; fh=rO/e/KoyDl3y+Fl0LLNtzHTki+DYKutnpbrHEe4bxHI=; b=ujahIE9v3cK4DBTeWyLwFrWunZmuPlPnmaUY4iXTYVrEmOZ/+5SwUqEgfWuTNY50pt 6GoZwiG8pvZFw6JAOCJkui0GDW+ib9q5PmMpie1VJSTOxFji2Z2H/Kvw2+FYWlyD1Psa m0zVKUwXM2+Lf7CJld0bgF8bAkBnRfRVyuxfPZKbKL4JuJcwPTIPOQj0sE7z2LQF4/r4 9/1s8RnN9Dph3ABf1q9Ii6yHIHseqUEnR/BAvhEETtIOKsrcun0MvkNdi0A2kyARteUU Exry6IUmoNjTPe3KMEBWWDiYlxs36vsXgAWp+Yyv2ntArtJl2czUY0TO85sS9WVKBYou eZCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v3yzIOkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id o7-20020a056808124700b003b896cd3e38si503707oiv.70.2023.11.29.06.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:06:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v3yzIOkf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 03FE280739E8; Wed, 29 Nov 2023 06:06:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234120AbjK2OFi (ORCPT + 99 others); Wed, 29 Nov 2023 09:05:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230480AbjK2OFg (ORCPT ); Wed, 29 Nov 2023 09:05:36 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 997A5DD for ; Wed, 29 Nov 2023 06:05:42 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a00a9c6f1e9so968529466b.3 for ; Wed, 29 Nov 2023 06:05:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701266741; x=1701871541; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MQ8xtOf7SPY4n43K7AQFcp4yw6pnczR2hfrcA2zNKh8=; b=v3yzIOkfFadhqPhGKQCzWKANSK51Sg9KBXlQP4IfJwapYPKGtgNgqEeMMs0/Y3qv46 rDKBr174nkdSv+Ruot3atuNe4j1QBW4Y3jZRUBJClmhlHhLNZ1f83X1TCyHC7zJs3T2l QqixzXPqjcpS8Cqzfnjy8cxZuWP6a/PGKx95G6YaJPkNy9LZm7erajMx8p+V0xi7oJV/ Q5XyI7pNM4ui8yEI76JjbGSRJ7IP6Vv1YwuDnSwHzsFl/8ulcwinAAEvNyM+R0RJALDV LiJMMsuEoHy0t7DVNEh/lqTrq48QrJ9dHSs+2nIV8IOfyYMliWDtBIp7r74F0JitUkEN OW3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701266741; x=1701871541; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MQ8xtOf7SPY4n43K7AQFcp4yw6pnczR2hfrcA2zNKh8=; b=ex4t7vVPfq2yZYRtuIcMxyPuDxhFYlrQoC5EtImbbMFwncDvhEcmVr9eVTrHB9M8Qi 6iXu04T6eeCtDAAcyulyrJ61L1De1YcmwENAJbNGl8bOREPX7RQ1eJJJ0hkiILEVEvpA Dvd5t4NyQz+n7Pjmq7+xdz1Hle3cBgcxLiK0PvdbngopdpGWoxr4pwIwTbLD41YAEmSi FWvxwJEXyiH0fsYmUZiig5sCwOyZ97td6VS3lRXzVWOtbchtEUnnYM8DZCoYjWUaW9EA 84Co9Ji/kK45cBNcpvKzPsd4O1Dr4nn72A4oMCDrvNK8FssHo7gBHCtIC4L7FaGcifpv 4dXg== X-Gm-Message-State: AOJu0YxQ0p6aOnVfsXzuIKtV+bHQ279WGew9HkcUUhyZWIfqc98Hw0Qh LtHmryDSyk/lfLCv2uwYC390Sw== X-Received: by 2002:a17:906:fcc:b0:9bd:a75a:5644 with SMTP id c12-20020a1709060fcc00b009bda75a5644mr12183367ejk.16.1701266741102; Wed, 29 Nov 2023 06:05:41 -0800 (PST) Received: from krzk-bin.. ([178.197.223.109]) by smtp.gmail.com with ESMTPSA id o14-20020a1709062e8e00b009fe3e9dee25sm7947530eji.61.2023.11.29.06.05.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:05:40 -0800 (PST) From: Krzysztof Kozlowski To: 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 Cc: Krzysztof Kozlowski , Neil Armstrong Subject: [PATCH 1/2] arm64: dts: qcom: sm8450: correct TX Soundwire clock Date: Wed, 29 Nov 2023 15:05:36 +0100 Message-Id: <20231129140537.161720-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 morse.vger.email 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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 06:06:12 -0800 (PST) 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"; -- 2.34.1