Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3085270rwb; Mon, 15 Aug 2022 17:46:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR6FoLqVEo+/dv+Ne6eb22Sg1rFgeKajdFiKaCUkRsZ0P8G2pmG2FlHKM+DIXHFlD9oWQQPO X-Received: by 2002:a05:6402:3583:b0:43d:6943:44a with SMTP id y3-20020a056402358300b0043d6943044amr16321380edc.409.1660610767388; Mon, 15 Aug 2022 17:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610767; cv=none; d=google.com; s=arc-20160816; b=pg7Ib6b5Nkl0GPxkGA0vZngEdxMGRznYZdt/JIKvApjkunbhIHF4pPGWVEI1jeYKEM ejeeDOW2VjSUx+5OaMkmXGXyjzZ+cjFcZWDITxzgOxaf9/ge4iicn6xrkLbDeT13VFLQ MVT+Y6gtcsxAlhbvVmhMWXPmzWYA4fXQjDWjFQaLssgMqMORtzaKgevuEBFIKD9+aYDR yMFJmI2VxqA3DQdepA0uSpjd4B5r+ac+Kn/CgOrQATd5sTJhElcRwx8yC0jOoS+dHD16 8koASTNo16848FZTjLp6tApUnxzokDdU95MzbfpNmqmJEqBdE6eMHg8/PVevmuajmzts Fvtw== 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=XGd7hh7+fd1MNOo+AMqOdUDUvXixCVWybN00JqD8Plg=; b=JvrOuzWScPtwap9siXPB6Xqlj5cqKcazc760eeorIlP0INhQ/Ccu9JSdNxfoXMk+a2 N3O7VEKzcBnE+OKwMC8sZHvICNk+3Kc2lfxvQnI5GrYs66j+lAvRIyJgy/+zzlKUl8/I 9qcrd3ke92f2I1iOT1HzNNoM+YzAtysad+S5FECqQUmrdOA1N3KSCQHRROk2tC19h8uO K19lFH70ACH861iB0N8tLTTekMzpo6t77ieJMMYWsavP0MvBmqCrZ+11iQ5XFhJfJtXC nlfN77chEKQQn7MaDeIPXmFivrKl8sDWUvm+QkW8dNJmdUyAmcdOMCTCLfaYV7of2/Fz aukA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LHliD1EQ; 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 hd42-20020a17090796aa00b007317ee0ae03si9564283ejc.818.2022.08.15.17.45.42; Mon, 15 Aug 2022 17:46:07 -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=LHliD1EQ; 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 S1352271AbiHOXIi (ORCPT + 99 others); Mon, 15 Aug 2022 19:08:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352994AbiHOXG5 (ORCPT ); Mon, 15 Aug 2022 19:06:57 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1552386704; Mon, 15 Aug 2022 12:59:04 -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 ams.source.kernel.org (Postfix) with ESMTPS id 90BEFB80EB1; Mon, 15 Aug 2022 19:59:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF6B8C433C1; Mon, 15 Aug 2022 19:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593541; bh=6+wA0NmZlSrQQuTg7iIoaIhed/v8R2Ua5FQQXmq+c7k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LHliD1EQunhhpL8XeRTGSI14rhCCvWnuyjcY885jIxbjauc+qBQP0xymPklG7anxu 180ntmpYG+Qidjiuoeqr/rJz4wPTPLLLlKW7JeNqSuEDHMsshMrd55YyF84wW+RNp0 BVWcXoas8B3I5SCLos4Ih89uB8UFxDCNQnGmGId0= 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.19 0285/1157] ARM: dts: qcom: msm8974: Disable remoteprocs by default Date: Mon, 15 Aug 2022 19:54:01 +0200 Message-Id: <20220815180451.017500034@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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.dtsi | 4 ++++ arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts | 2 ++ arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts | 2 ++ 3 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 3c31c95aa6b9..2d9416d1a6c8 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -1182,6 +1182,8 @@ remoteproc_mss: remoteproc@fc880000 { qcom,smem-states = <&modem_smp2p_out 0>; qcom,smem-state-names = "stop"; + status = "disabled"; + mba { memory-region = <&mba_region>; }; @@ -1662,6 +1664,8 @@ remoteproc_adsp: remoteproc@fe200000 { qcom,smem-states = <&adsp_smp2p_out 0>; qcom,smem-state-names = "stop"; + status = "disabled"; + smd-edge { interrupts = ; diff --git a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts index 58cb2ce1e4df..8a6b8e4de887 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-fairphone-fp2.dts @@ -147,10 +147,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-msm8974pro-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts index d6b2300a8223..577cbffad010 100644 --- a/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts +++ b/arch/arm/boot/dts/qcom-msm8974pro-samsung-klte.dts @@ -457,10 +457,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>; -- 2.35.1