Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2926065rwb; Mon, 15 Aug 2022 14:11:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fGTnvw/hAKrjC6Gsb7zBldil7q9D7sFMEcPvcd7SUUTcsiftHcAExtC3Uk4zDg92PwdBv X-Received: by 2002:a17:907:1c98:b0:730:d0bc:977c with SMTP id nb24-20020a1709071c9800b00730d0bc977cmr11413871ejc.321.1660597870469; Mon, 15 Aug 2022 14:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597870; cv=none; d=google.com; s=arc-20160816; b=T7LY/PmC6tCacZWCIPXbz3PPM/bdj56/fplfYI4xofrsGKjhf44OSn3nK6hgtqyXR2 aQSoACTiqLPieU750DiH1e/2z5m2OdBd5Z1fvYZ+SK8bkl/p2tC229qDoHFqeMCil7Db FJpXyMctqNk7GOf0JZGsdSV4aA7HF/Sfv7TJP4UlOUH3Lgdbm+myiC+il/37qDOb97JD RCCDycO6drn6BTldCiMQFMcV1hilXfOJCfyFWNQbYGwHpDF+a+kRqApyjHvehdBqoskR 029KL5YikUabgIrSjCwxHUydfvsvbosQOx/8ujJo1GXYZEy3hhjMbQM+XWREUx3YBt97 DQEg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=cgXGMb7ElbdHvvp/HDCB3N0eogkI7phF2oWYcVMBz/0=; b=yTJsGoRAJipE2RER7Hm3fw8KMMReeNykD9F37jwauzbd9Z0fIWUoneY3J35E0Or68c bpO9QEYUcKX5d68C3nBXkKYbF0XeEvxX78aLrLhD0id4CFY2vWkhgOyjXAN95pYBNSNf ZIDdIJSBPrKI5EMWkAk82SibW1Q0uubqU6E0UlPzbikoKhwkwqWjHBZGQ9GR4AOT3VYx /FrrQA9S3hjvhDGe/EFx8ui3+E8L/DHmldQZdXYbt+2xJIrZcriqBO7WowMVT8YQtcu6 UUL/b5RAED9xTzMolqw7umF0JSxL5ItChTAQ9fvzSBSQcnMnJ+C+SQRmGv6HFRUTA6uy NrRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ofZqYMqa; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne10-20020a1709077b8a00b00726d5d59195si8991513ejc.674.2022.08.15.14.10.45; Mon, 15 Aug 2022 14:11:10 -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=@linuxfoundation.org header.s=korg header.b=ofZqYMqa; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346553AbiHOUrs (ORCPT + 99 others); Mon, 15 Aug 2022 16:47:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346769AbiHOUqk (ORCPT ); Mon, 15 Aug 2022 16:46:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 517CEB7296; Mon, 15 Aug 2022 12:08:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 45ABD6077B; Mon, 15 Aug 2022 19:08:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DC1AC433D6; Mon, 15 Aug 2022 19:08:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590519; bh=mq+CtN7rPgtSlZEf05FUxvje3ElW+F118U2FUc+iF8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ofZqYMqaKvOAAiWLrYfS2nvQmEfXrUpqID0yzvVpTHzlNKxTacEh8K3LuTkHRRkyO DijhdwVh2JFf46wncWsribDppE+NbqmTqqZm9xoSh6XSuyzZ6R2lWCWZJ5v0b6kVHn TJJEFdlSiti56Y0BS0nkzb6U9TUiQ/THxjpS8ESo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Luca Weiss , Konrad Dybcio , Stephan Gerhold , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.18 0285/1095] ARM: dts: qcom: msm8974: Disable remoteprocs by default Date: Mon, 15 Aug 2022 19:54:44 +0200 Message-Id: <20220815180441.583050835@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Stephan Gerhold [ Upstream commit 8d8be8dd7c1f5d50f84ecc7a6a41962da48c6164 ] The remoteproc configuration in qcom-msm8974.dtsi is incomplete because it lacks the regulator supplies that should be added in the board DT files. Some of the msm8974 boards are currently missing the regulator supplies and should have the remoteprocs disabled to avoid making use of the incomplete configuration. This also fixes dtbs_check warnings after moving "qcom,msm8974-mss-pil" to DT schema, which rightfully complains that the -supply properties are missing for some boards: qcom-apq8074-dragonboard.dtb: remoteproc@fc880000: 'pll-supply' is a required property From schema: remoteproc/qcom,msm8916-mss-pil.yaml remoteproc@fc880000: 'mss-supply' is a required property From schema: remoteproc/qcom,msm8916-mss-pil.yaml remoteproc@fc880000: 'oneOf' conditional failed, one must be fixed: 'power-domains' is a required property 'power-domain-names' is a required property, or 'cx-supply' is a required property 'mx-supply' is a required property Cc: Luca Weiss Cc: Konrad Dybcio Fixes: f300826d27be ("ARM: dts: qcom-msm8974: Sort and clean up nodes") Signed-off-by: Stephan Gerhold Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220712124421.3129206-4-stephan.gerhold@kernkonzept.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts | 2 ++ arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 2 ++ arch/arm/boot/dts/qcom-msm8974.dtsi | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts index 32975f56f896..085591183592 100644 --- a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts @@ -132,10 +132,12 @@ wcnss { }; &remoteproc_adsp { + status = "okay"; cx-supply = <&pm8841_s2>; }; &remoteproc_mss { + status = "okay"; cx-supply = <&pm8841_s2>; mss-supply = <&pm8841_s3>; mx-supply = <&pm8841_s1>; diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts index 3b1ea8c24f57..9ef5a68747f1 100644 --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts @@ -467,10 +467,12 @@ fuelgauge_pin: fuelgauge-int-pin { }; &remoteproc_adsp { + status = "okay"; cx-supply = <&pma8084_s2>; }; &remoteproc_mss { + status = "okay"; cx-supply = <&pma8084_s2>; mss-supply = <&pma8084_s6>; mx-supply = <&pma8084_s1>; diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 7a25d313e4fb..05a36566bd52 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1150,6 +1150,8 @@ remoteproc_mss: remoteproc@fc880000 { qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; + status = "disabled"; + mba { memory-region = <&mba_region>; }; @@ -1401,6 +1403,8 @@ remoteproc_adsp: remoteproc@fe200000 { qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-state-names = "stop"; + status = "disabled"; + smd-edge { interrupts = ; -- 2.35.1