Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1391579rwd; Wed, 31 May 2023 13:17:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fKz/AYK2jkrRwRDsDaWT4EnLM3h6hJDqHXAoyy+BB0g6wvOWOPpGUkpJWtkcHY1rV524H X-Received: by 2002:a05:6a20:7490:b0:100:c3fe:a653 with SMTP id p16-20020a056a20749000b00100c3fea653mr7989315pzd.29.1685564246981; Wed, 31 May 2023 13:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685564246; cv=none; d=google.com; s=arc-20160816; b=KE+/JgBldywfp5BT09uVtrOsgtt7Aq95NoTaTcvWno8XLyNOKFasrv5ykiRqiS1DXk XtZQtwRaY2Z3kCWzqR92jzs9ahwpWQ08P+sJPDD86sDGBJcI99GeG0A0Vohug+SLnpBu nyVm3l+Q0E9LQTAnrve+jiDojILdSyeWXweveTLKmhVxqruET0R4bHtMFDi7APnCKPHr +qZ4AmlL8qQfwqFXTlBvflP/IrtLeyLc3F3APlVP5KBL0YjLREf8xPu0siG8mTjdmXlp v5S1PAtfrCG+Sf1BZYXIENzU0hcTOzb4Af2PCnJ8/cIgI3dczFd/EhbFIDm0lz3Xwck3 RK+w== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Fl99vrQa7b2aQpHCy7q4IdOcbocEiTGFVhUuly+eb9c=; b=SxcGsHCMIJSu/BxrntBBmTW8gdyS2RXFGAS22dwBT9fZ2lTyCO4FxOuYxWDgy3YRwJ JAYIPAEKROpPcWPAUlA2CVGtqVFIMb7SYYNnNENxgxnO0LZPakHB2FrcGMZawyh737Rd pU58/BmgBw7JC+YuQcQVqhFwy9Lsy6ow42cbeJWJuHe4Ejl6bC5kKTNwHnzCzEMlpVkJ OgIr74XOfnUn3quxAcQpv3Yro3MBJtbYgGjMb3R8HWaWYJc8+zaw0EFuDay26vhyznhg flyeUTzMmapw32hK3yXhTu3gPZbz+7RbkkcLXF8nxETIGo/PgFmsgOXcGqZUn+XkflFm J7Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Sf2MRXsC; 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 d27-20020a63735b000000b00513162c223csi1496426pgn.470.2023.05.31.13.17.14; Wed, 31 May 2023 13:17:26 -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=Sf2MRXsC; 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 S230130AbjEaUDj (ORCPT + 99 others); Wed, 31 May 2023 16:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjEaUDg (ORCPT ); Wed, 31 May 2023 16:03:36 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1BC7128 for ; Wed, 31 May 2023 13:03:34 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-96f6a9131fdso937708166b.1 for ; Wed, 31 May 2023 13:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685563413; x=1688155413; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Fl99vrQa7b2aQpHCy7q4IdOcbocEiTGFVhUuly+eb9c=; b=Sf2MRXsCD/k/WPslkLQQvOMWhUJMCPc4HZjWuaLtHsf0TaiP7h5XZ+vsNoTLMQ6dbK GzSngD98rVi1pIk3rH6u7ZY7UEXxHiQ4ZLjwxzzk9Vv4+Y3BZqgQ/h3IcP++Z363LGwg +zdNQb4FCpwCfarTBlHOEXzJSs+OgzAFEIrnl2lmck8YZNCEJb09YVB5Wa2XpaVXQpUT YJuhlw3FazZFHyuojrranvgr5tg7UljssSL98OLO7hwWraZ64VpJKQpdXMECI+Ia1awJ O8yYsM04Eg23qKslGkj8Gp79yoOVwzURfpldPso1WKXPWyXPCllnsCMOef4y90wq3bFW 7ANw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685563413; x=1688155413; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fl99vrQa7b2aQpHCy7q4IdOcbocEiTGFVhUuly+eb9c=; b=h2DkU7rHmpdR/9XPBx3x87PYLfHJztF1Xk3vk1iOebfumOIyv0JUy/1z7XqbhUnXs2 MbU8kxx6xdzF18YLsfzJ5KoTDOTqZ+6FQTPJwmfTCor1+HpKUil0S/dZO2g3ulLmN7J5 oTsOzJ97FScbO7ifP0r665dTRrLHfietM2fwNxmoaw5stt4cbyYyjLlKzKfXASkCnkWD viPuP4RpQB2FN8yLLVhCzpX6WuXTApvFym4Mblvnmz8eq+E8uBq27nUovRCh1NpFotfb /MnUwzIvtMkl7nApPgPiOVYyB7Jt8w99HyFscpmhpUkP24WrRLqhWbPYLCBQfaVSVnjh i+gg== X-Gm-Message-State: AC+VfDywY8WMvv4eNemY5nsm5PDT42GxyJrkB8HVKzqc1wBanXPghCo2 yr5j8YHbbh78XK0GoqypPfB2Bg== X-Received: by 2002:a17:907:7f0d:b0:973:d71f:4029 with SMTP id qf13-20020a1709077f0d00b00973d71f4029mr7653681ejc.2.1685563413165; Wed, 31 May 2023 13:03:33 -0700 (PDT) Received: from [192.168.1.20] ([178.197.199.204]) by smtp.gmail.com with ESMTPSA id t24-20020a170906179800b00968db60e070sm9434788eje.67.2023.05.31.13.03.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 May 2023 13:03:32 -0700 (PDT) Message-ID: <542a67da-5870-dda0-3604-9367a438e51b@linaro.org> Date: Wed, 31 May 2023 22:03:30 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 5/6] arm64: dts: qcom: sc8280xp: add resets for soundwire controllers Content-Language: en-US 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> From: Krzysztof Kozlowski 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 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