Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp7389858ioo; Fri, 3 Jun 2022 05:48:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfRjkXGT6f57JIKm2WU4I1Xc0P+D0SikT3tIsNJ5lSuPKlnJRrTBG9ElExPCVMyyU72K6/ X-Received: by 2002:a17:902:da8b:b0:165:112b:b4e7 with SMTP id j11-20020a170902da8b00b00165112bb4e7mr10152205plx.85.1654260497194; Fri, 03 Jun 2022 05:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654260497; cv=none; d=google.com; s=arc-20160816; b=GhnEu/nu89WuF1tyvtz573fffeC3dZxZTECcilFrIU/uQpvGfXmz4G+13sFkIvT1l+ YdT7JzvFExVTA3VVPPsuSW+APuK3AtEA+vTHZFPpfr3gzOqajKqn5ms1oKTday9I1chH V8YsdWQ/EuGDe7a31Ua8lkJOIsFwgSRK2dswre3Sw+49txXxiFR5NTcFrM+4ApfMSYIb jYODzTyefYNUXKLZGLz2UAFGp/TC9XhR7Apyt+6kOyOvRIT5CuMDBRnVNF88H/5EsDd7 RJviStMyWO5oet/B0/6dE+g+wNcwmCYXgNLNqbrRotwV9wcwFTHboSU8bmzJkVRYVdW7 G9ig== 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=+dNjsHpB7ATpH/qWV5MFMXentqFiCOjrR0y/9QOhAEs=; b=La+q21BPUoep8xBDyY5fp2Ujd6o3eFQjJFofmlJ+NNTKRZwXn260mxwW3Uy/iu0f0N tNnL5wxZ2nOos9AMDTzLeKRTaE7c+8HtO6JInCcCcNyRHwBkUgaQtkHPsV7+3vgoQYTM keE+NXuomJHApKGQTv6tAnb8SscD6cAz6v/m7SBXxIzAUCZQrkP7X+n1Krl66mvUIbBr PA4Z0soMBa6EMtxBf0+OLxt/q9LocpSF/6XKg8Rzz5GMO0yL8n0NOFlX+4ChYbEIR8Qt WKs7/c5dO8HvucLBZwETgIpFlG9UtYXQGws4R9ntN9Pnnq3Mk9RAThaQ0wSFKIdZ7FYv G5rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=tkDkQTLW; 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=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a190-20020a6390c7000000b003fce4535435si5645048pge.483.2022.06.03.05.48.04; Fri, 03 Jun 2022 05:48:17 -0700 (PDT) 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=@fairphone.com header.s=fair header.b=tkDkQTLW; 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=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243189AbiFCJr3 (ORCPT + 99 others); Fri, 3 Jun 2022 05:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243171AbiFCJrW (ORCPT ); Fri, 3 Jun 2022 05:47:22 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C6C120BC for ; Fri, 3 Jun 2022 02:47:17 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id v1so4186807ejg.13 for ; Fri, 03 Jun 2022 02:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+dNjsHpB7ATpH/qWV5MFMXentqFiCOjrR0y/9QOhAEs=; b=tkDkQTLWDnU/7MMzprkcxAw29BEnH+LkSj1ONc/JFnELm3w7cWG7OE3Qjv7V6J1vdi mhTTknRKGQaudtX1ZHC638jQpbJ9pzNQf8AwNOErcnl6k5Q0GvTnWgUY28n2S3QHXf1u t5ocphgbXHKGjvKAZmNCK4oKQwpS2LFqTbFEdJLMeQfz4/fqPR8KXeQRBko7eVcYDwWH l84p9c9mOsqFTN+Sl/sgAosZvme0LUbE1awql0yS/xwjlorLZyNxpJVtZJDRpkyDLueC ZkDhis5uIX+Tc7D2EIhkoJBSwTKDP1jgRd4R5GNPLYQULRDz34rWrjUFRUPSs7nkR0Ee gBwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+dNjsHpB7ATpH/qWV5MFMXentqFiCOjrR0y/9QOhAEs=; b=yHzyYKlfhrtpxYAKEt75mFNovaRWd8BHKInWiVJRSOgIpFqFJ2a3qV70PXxnCstQKW MSxvBr9l09tGJjyBDqfWjYq0wAaJ+tdXcF7uOo6/A+YFDfe4wjxH5c5scddL0m32BsKf KD7N+siRSAyQtglhGHDdVLNHVz2lb5Thb8YikhCP/k/hw5Uu7F12NljLPEZ6y9Z8jAIW OU8nmQ42pCZeha0Epjub2n1qJcaCvEkp/cPxJxn79HuhKfYzWGedhZPqSB40wq94iNzA XkAB4/InOa6Eaunwai68OmtfmDY3pDCuiAGtH0vmNrcsO/qCiR9Qe8DI069gL/5AGtQM +xbg== X-Gm-Message-State: AOAM5309CJFFc2rQE6uLvBPTqnbwVLUKAh8bwWrsXwy2z3IsGlQI7wLt +hAo9tvacaib1ckp8IbT6/CzRw== X-Received: by 2002:a17:906:d82:b0:70d:84d3:b6df with SMTP id m2-20020a1709060d8200b0070d84d3b6dfmr3007077eji.464.1654249635726; Fri, 03 Jun 2022 02:47:15 -0700 (PDT) Received: from otso.. (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a15-20020a170906274f00b006f3ef214e42sm2661009ejd.168.2022.06.03.02.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 02:47:15 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: sm8250: use constants for audio clocks Date: Fri, 3 Jun 2022 11:47:10 +0200 Message-Id: <20220603094710.64591-2-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220603094710.64591-1-luca.weiss@fairphone.com> References: <20220603094710.64591-1-luca.weiss@fairphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_NONE, 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 The use of these constants was removed during merging, probably because the patches adding those defines and the dts patches were merged through different trees. Re-add them to make it clear which clocks are getting used. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index dc2562070336..fb7a82c3704f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include #include #include @@ -2188,11 +2190,11 @@ tcsr_mutex: hwlock@1f40000 { wsamacro: codec@3240000 { compatible = "qcom,sm8250-lpass-wsa-macro"; reg = <0 0x03240000 0 0x1000>; - clocks = <&audiocc 1>, - <&audiocc 0>, + clocks = <&audiocc LPASS_CDC_WSA_MCLK>, + <&audiocc LPASS_CDC_WSA_NPL>, <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, - <&aoncc 0>, + <&aoncc LPASS_CDC_VA_MCLK>, <&vamacro>; clock-names = "mclk", "npl", "macro", "dcodec", "va", "fsgen"; @@ -2239,7 +2241,7 @@ audiocc: clock-controller@3300000 { vamacro: codec@3370000 { compatible = "qcom,sm8250-lpass-va-macro"; reg = <0 0x03370000 0 0x1000>; - clocks = <&aoncc 0>, + clocks = <&aoncc LPASS_CDC_VA_MCLK>, <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; -- 2.36.1