Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2210309rwd; Fri, 2 Jun 2023 06:30:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7RXHaxpCQahZ4Iz08jlUdzbhElgcgXg2x/bvr1DJ22l0BDE68yD3EC2NlUfeticI6q3vbk X-Received: by 2002:a05:6a00:13a1:b0:64d:284e:f309 with SMTP id t33-20020a056a0013a100b0064d284ef309mr6455139pfg.8.1685712650108; Fri, 02 Jun 2023 06:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712650; cv=none; d=google.com; s=arc-20160816; b=CyIrG0twMF+4wwOu6IqXF45JTYL0qut+Yis86n7MqUlDnFrXVoE26kLMDnK35IK41d vScQg7do9yGcPg1+/3O5voWtVXsrZ0a7/Twmdwkqku46PPYhnoaNP/W3TH+GspYZNK/z 38pVKAfMyHADyiQt4R2e0QxA4MRft+3BHNMFlp3xUOHrGP/9N7FtlaXdK+oAIhkFARab bbg4rNJ/Evl/Kish7W6cdLQ+NjmIQ3sttIDHA45eN7mTAjy75n8DZCKyZR3fu8qLDiYK 0tUDiVaqu20u67Ne9cnwLq49j5o0Mlv/oAr1UMCuZ4NB0LiIjJMprk4VfdBK7+SqeOqQ FM4Q== 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 :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=CJSu3AsQZdRU5oftVTGS98fipTM8z81jlREGCoePaq8=; b=oX+3QUIj6SgjM0JSWHzvhllXQzGkVmJzoM6xdTU/wXtM9qKp4aHMXeA+UpbC+bcuZP KVvpMb0ECAW6jNfjN+9k7nxIFWywQTyGWWrAKY5XawaWrbMWVs6jFkI6552D5Nnn2VP7 fXs1TBXV9GuCcNcHbATj8LMctPdJ0n9I5Nk8vimVLhV0ytZdEem5eMrdb4G/xfDS5ruB k5Ugo8MH6yCh9/5TYLLOe14K6GcTkbBeic5/Ea0WBk9bs418PUvajaNQy/87UuvYPxo5 i/14qF3TMw+JJKNif7KTpEKJjEU3czYAJtIcRgsaAREViOSjWJ1/JJrLMhLHFNqrwz2D jCww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zYpO1qHs; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a13-20020aa7970d000000b006528e5ad64esi699434pfg.350.2023.06.02.06.30.37; Fri, 02 Jun 2023 06:30:50 -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=@linaro.org header.s=google header.b=zYpO1qHs; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236109AbjFBNSW (ORCPT + 99 others); Fri, 2 Jun 2023 09:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236119AbjFBNSU (ORCPT ); Fri, 2 Jun 2023 09:18:20 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1324E6A for ; Fri, 2 Jun 2023 06:18:06 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-51456392cbbso6936005a12.0 for ; Fri, 02 Jun 2023 06:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685711885; x=1688303885; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=CJSu3AsQZdRU5oftVTGS98fipTM8z81jlREGCoePaq8=; b=zYpO1qHsCCwzE2/eTnIcPKIG2K3q0mciYhit910x9u42eD0LqBJWbl4j5xmQ8KzT5f aSJT0zNPVKjH6V7GKwZi0Zxkq8/7BI9AFCQjKcMpZA8gqdBDuGNaYNkVgbgrltxxhs+e RxejqCVcp2oN4PsPM2mNuoKOOvddKnWdvFKjk8bY2b4fFUBO1oItkcQ3fcJz7PbyKyZb NK3PQL9jK3RLntkG8PBppCO9YQqp6Wk9eHv5d60ubdobGYG1AktwVC9JCTOZTzwuuprR MV79fpfPw+xwxepbKTbe6QPIBuYK/xrRB5FDgssKEjGYWJNLtIjEZLeLwmo3f3nhXpq0 Y1Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685711885; x=1688303885; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CJSu3AsQZdRU5oftVTGS98fipTM8z81jlREGCoePaq8=; b=gOsG1Pbv21BK+22pPFafV5Le70pb4rosvn1QOVlEkpRj9JK7xZ/BXhE+7m9cp+7E68 1XG0ieWJ39R1Ht9VC1plUPTPRR2zJKuXGcqi7nLU1HIpJok2oRzbvvwzHa0ZF6QLZEtQ 4T/l43b5liCpLwYvNFnKRbdF4FV9aF0Eq/Wzf7O+xQRzABGU0slE8/2LaDwO9NivY4To oEagsxruENjrkES9DSdmtAzy2nMH8Xmx0BVkyK0VzNiVENfmWjxpx4rqWGlPZuJ7Ajix HcIEuQTKfXOVP9FdePoIR4MlKBgie2/3R2BldtXXHMdpyaZE3S5NoU6O+HNTb45evtOy AjSQ== X-Gm-Message-State: AC+VfDyPI+G1vOgNTr2i5VHPd/TiPFv2B/8UrL+in+Ss2ECn7lNR0LAH LW/xtmVozUv49SkoIxuNQN683A== X-Received: by 2002:a17:907:9289:b0:96f:ddaa:c30d with SMTP id bw9-20020a170907928900b0096fddaac30dmr4502642ejc.26.1685711885389; Fri, 02 Jun 2023 06:18:05 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id sa25-20020a170906edb900b00965f98eefc1sm742937ejb.116.2023.06.02.06.18.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Jun 2023 06:18:04 -0700 (PDT) Message-ID: Date: Fri, 2 Jun 2023 15:18:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 From: Krzysztof Kozlowski Subject: Re: [PATCH v2 5/6] arm64: dts: qcom: sc8280xp: add resets for soundwire controllers To: Srinivas Kandagatla , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: johan+linaro@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230525122930.17141-1-srinivas.kandagatla@linaro.org> <20230525122930.17141-6-srinivas.kandagatla@linaro.org> Content-Language: en-US In-Reply-To: <20230525122930.17141-6-srinivas.kandagatla@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Resending as my previous email probably got lost. If you got it twice, apologies. On 25/05/2023 14:29, Srinivas Kandagatla wrote: > Soundwire controllers on sc8280xp needs an explicit reset, add > support for this. > > Signed-off-by: Srinivas Kandagatla > --- > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > index 6730349e34f4..39be2e89ce05 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > @@ -6,6 +6,7 @@ > > #include > #include > +#include > #include > #include > #include > @@ -2560,6 +2561,8 @@ > interrupts = ; > clocks = <&rxmacro>; > clock-names = "iface"; > + resets = <&lpass_audiocc LPASS_AUDIO_SWR_RX_CGCR>; > + reset-names = "swr_audio_cgcr"; > label = "RX"; > > qcom,din-ports = <0>; > @@ -2634,6 +2637,8 @@ > interrupts = ; > clocks = <&wsamacro>; > clock-names = "iface"; > + resets = <&lpass_audiocc LPASS_AUDIO_SWR_WSA_CGCR>; > + reset-names = "swr_audio_cgcr"; > label = "WSA"; > > qcom,din-ports = <2>; > @@ -2656,6 +2661,14 @@ > status = "disabled"; > }; > > + lpass_audiocc: clock-controller@32a9000 { > + compatible = "qcom,sc8280xp-lpassaudiocc"; > + reg = <0 0x032a9000 0 0x1000>; > + qcom,adsp-pil-mode; Here and... > + #clock-cells = <1>; > + #reset-cells = <1>; > + }; > + > swr2: soundwire-controller@3330000 { > compatible = "qcom,soundwire-v1.6.0"; > reg = <0 0x03330000 0 0x2000>; > @@ -2665,6 +2678,8 @@ > > clocks = <&txmacro>; > clock-names = "iface"; > + resets = <&lpasscc LPASS_AUDIO_SWR_TX_CGCR>; > + reset-names = "swr_audio_cgcr"; > label = "TX"; > #sound-dai-cells = <1>; > #address-cells = <2>; > @@ -2901,6 +2916,14 @@ > }; > }; > > + lpasscc: clock-controller@33e0000 { > + compatible = "qcom,sc8280xp-lpasscc"; > + reg = <0 0x033e0000 0 0x12000>; > + qcom,adsp-pil-mode; ... here - where do you use these properties? Driver ignores them. AFAIR, these were only for sc7280 where we supported two variants for audio. Best regards, Krzysztof