Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp22447rwl; Thu, 6 Apr 2023 12:32:19 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4s9UA7tKJ9Kiy5wPdM6bQSl3eS4vncT3Zv98a58ZG2MPS9CZVpxILPkNcMDl/2pfzSJN9 X-Received: by 2002:a17:90b:3b47:b0:23f:4370:2c67 with SMTP id ot7-20020a17090b3b4700b0023f43702c67mr12875305pjb.26.1680809539005; Thu, 06 Apr 2023 12:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680809538; cv=none; d=google.com; s=arc-20160816; b=QAtJUozSHIyUR2C4ewKWAcQ+JoOVfUej/9DQiZtmk6QtAN720bAuYxPWp5wHyhGdes T5xKrDuno+scVg9Ma6MBAI/GKn5x8JGTh/0LApafRziHwjMAEM+1Or9vgN8MMDqmD6T1 n9YrI5/y0CWnfwWLxVLxE3n5V2hDAWjGCopZI/d+6hNkFr9O1id7W2xYVCTBlRAB55V1 ozdOHDuC6KhVdq3teaFt/tNhp4SaAJk3Bcl5Za2JypwBeMaRpFpqcqgv8Y4VafQSvB9i B98FC6P22SbAy0ABp/wLxQRLLfiB47JmT2ZxH1uuP1xgZrRX+pFBOmOVcFIlGfqUqWN7 4wIw== 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=9kZ8mEB2dJOlrXABGLSLHAbWryJP74zULnJHHBI7aEk=; b=vANO2mffe2LQFyXVcXJWaY6Ycagf3grplnki4BOOOVied0QKIEAhGBbFA6EhxIS+UU XRPbPZkCN/C71iaK0XNE7Oep9m9ODqOu1gcy/bPzq5imZdMYTz6tNVqv1itpRWGoSwyD PYqT/Fw+xF/f46x6AynXh47Py1p921Wl625i2dWu/TYJWnBGgfOPcNkKlnqq9cK+NuTD LMydwZ1KjrCKg3d7Nm0qeYVoT0FQ2cAUT0hxqA/dalkMcmejpG4J7IX1ttOaTmeGYhbe DlPZq742lP9Q/xMc6DBq4JpV5st8BA0kpMaILD2MZ0v1O29omMqpPzh5Tf5C+7PnioNz zqQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wzIf24Up; 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 rj14-20020a17090b3e8e00b0023f5452b573si4826167pjb.141.2023.04.06.12.32.07; Thu, 06 Apr 2023 12:32:18 -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=wzIf24Up; 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 S230129AbjDFTbk (ORCPT + 99 others); Thu, 6 Apr 2023 15:31:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230035AbjDFTbi (ORCPT ); Thu, 6 Apr 2023 15:31:38 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33336C3 for ; Thu, 6 Apr 2023 12:31:37 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id k37so52225982lfv.0 for ; Thu, 06 Apr 2023 12:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680809495; 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=9kZ8mEB2dJOlrXABGLSLHAbWryJP74zULnJHHBI7aEk=; b=wzIf24UpJ/GF648SVbmBSebcn5SIf/+o6UZI/JS5M4IeYsJckfSRVlBqac+bHfPYhd SbxRtwZR4sobuPygpG7kD71pdBd1U2oKpYJ74K2ohi0RNiVi79vlUw5qGBikLaO0umXY r2gEEfI1xZN1hDc/ut/Fgl1Nnl4vf+lkt4UU+14Y1Q2yJmidAhn8eRJdIhxWwlI2VGow +puimkG4TMxQOL2INCMIDivLSf1lX1qh9pzcSeGNO392baJn+f4pl9atEzuPBtATkNOu pt99AqRMM6i3kPxcAwzVN3OM6bnSgK+g6wzNscdzPb1hoXDFWtYc+W8jpgahQgzaL+Kq Cp/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680809495; 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=9kZ8mEB2dJOlrXABGLSLHAbWryJP74zULnJHHBI7aEk=; b=Yl/yCj8af4ZYnz5Mo+y6u49QqFywQPVxVChmRtMVIFVhf6qtJWM1OdTi8ybQt/Syiv +ODbFIEQjPJdwGQWpIljgBZFuLtqzwz3B3kfqb2r67oa9ldNp4JF8vyHZs5yYWOQCcfU TcBPZrelYgAkCmcFM7xTDIjxUSIAFPdQrU2Vq7GlqxJDgUlpvpXkKO+jjht0E1yDaIfB CvlOLklxG3WoJpdKR5+drSV9v8S3JNFboGL2IT8UqP94+BhXOVJK6vi/Qixa+wUi3Aph dtlCoyt5Usa/j095FnwO4iNs7EfEl+Onoftrvn87k3XtFv2eyJWHnOynsFKeo499Gq2S Ajlw== X-Gm-Message-State: AAQBX9c+NeZsYkf53JxHKnuxK4YXThi7j2aA98+hxO6QYEOxhhmyf0fB u+43k6tDuhRq4nKPbHJv4LhwFg== X-Received: by 2002:a05:6512:3744:b0:4ea:e6b9:a8f with SMTP id a4-20020a056512374400b004eae6b90a8fmr1633953lfs.28.1680809495402; Thu, 06 Apr 2023 12:31:35 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u26-20020ac243da000000b004e84896253asm384580lfl.251.2023.04.06.12.31.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 12:31:35 -0700 (PDT) Message-ID: <7bec0262-8a20-9b6a-599f-5ba759e6bd6b@linaro.org> Date: Thu, 6 Apr 2023 21:31:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v4 1/4] arm64: dts: qcom: sc7180: Don't enable lpass clocks by default Content-Language: en-US To: Nikita Travkin , agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, quic_srivasam@quicinc.com, judyhsiao@chromium.org, mka@chromium.org, dianders@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht References: <20230406150633.83351-1-nikita@trvn.ru> <20230406150633.83351-2-nikita@trvn.ru> From: Konrad Dybcio In-Reply-To: <20230406150633.83351-2-nikita@trvn.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 6.04.2023 17:06, Nikita Travkin wrote: > lpass clocks are usually blocked from HLOS by the firmware and > instead are managed by the ADSP. Mark them as reserved and explicitly > enable in the CrOS boards that have special, cooperative firmware. > > Signed-off-by: Nikita Travkin > --- > arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 8 ++++++++ > arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++++ > 2 files changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > index 423630c4d02c..26def6e12723 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi > @@ -785,6 +785,14 @@ alc5682: codec@1a { > }; > }; > > +&lpasscc { > + status = "okay"; > +}; > + > +&lpass_hm { > + status = "okay"; > +}; > + > &lpass_cpu { > status = "okay"; > _hm should come after _cpu alphabetically w/ that Reviewed-by: Konrad Dybcio Konrad > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 3c799b564b64..6f40301faa1c 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -3621,6 +3621,8 @@ lpasscc: clock-controller@62d00000 { > power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; > #clock-cells = <1>; > #power-domain-cells = <1>; > + > + status = "reserved"; /* Controlled by ADSP */ > }; > > lpass_cpu: lpass@62d87000 { > @@ -3669,6 +3671,8 @@ lpass_hm: clock-controller@63000000 { > > #clock-cells = <1>; > #power-domain-cells = <1>; > + > + status = "reserved"; /* Controlled by ADSP */ > }; > }; >