Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1722561pxy; Thu, 6 May 2021 14:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf3ZhK7FZkwD0wiNh7D+qD5LwNa8uvEwerHzBu/S2foSn18/oOyAr++R55oUMhWTqf8izM X-Received: by 2002:a17:902:aa4c:b029:ee:ec17:89f with SMTP id c12-20020a170902aa4cb02900eeec17089fmr6784079plr.11.1620336069196; Thu, 06 May 2021 14:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620336069; cv=none; d=google.com; s=arc-20160816; b=h9emOK9UQONZYsQwU/S+s5iUUlyvc2RoWLkaJ0f04FxoDZ/b9o8rb0t9COc8RVVkyg 9oiuJR/oR8OeogYZPPmNAdSJkIcU9VUZC9WHVK3fb0+SC/x3QQKL/5M3mbIbF4q+QL1H pkk31uRWVbL79S3rmABzjq0KbHwKr46RfSwGjPs2Ifp6fM7Qco4ILHmgYlox5pXXXLlj onSuShHSigtqwhtq+hpY4GgFQrng5jW4Dhk9pqfWoum6IXyRfIEyFinDmCr1qpOK56ai 8ZaLrhuF3aRssnSpH7SaQl7hxRn9hkdB2U9j3E5vJF55MhGAFEj0yQN9NvZxFyczl10i epOA== 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 :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=swGFRkl78skPVTJSCaHHFeLlw3u7VBz6phnnlAM9X2o=; b=TbDKdf1zVGhgxj5YRKJ5QiTcDcBC/VZq0E68g9WO3Lq9UvTqUhShcmIVIlbTH+3o2I GEpW4a8zxU4Thok1oR1/fyTz9/gGzR2vA32q4phejOkx9f9/alh9t28JkJ51Whqcyy5M Yau4o5gsl5dI3CtcJWEGuh5RpmS1Gr4ZeDdeF4OKplv6Uct8UvgHCithWw2nnNN4LCr0 0fh1QkW+r65hihstqrXGR2Y0mYNgGtw0tK4ViFvJbOr8FUXr7HusxZCMx+hqtiJ7MpKq KcINiyaReEws55WIOL8PeUoUl9ZhURAfkeW4JynfzCNI5UeDo4JoxqNni0NZjiQytPt6 2YoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=kkmMzCGc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 135si4227685pfu.326.2021.05.06.14.20.55; Thu, 06 May 2021 14:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=kkmMzCGc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230141AbhEFVTW (ORCPT + 99 others); Thu, 6 May 2021 17:19:22 -0400 Received: from mail-41104.protonmail.ch ([185.70.41.104]:48205 "EHLO mail-41104.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230129AbhEFVTV (ORCPT ); Thu, 6 May 2021 17:19:21 -0400 Received: from mail-02.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41104.protonmail.ch (Postfix) with ESMTPS id 4Fbmdk5yKYz4x8RJ; Thu, 6 May 2021 21:18:18 +0000 (UTC) Authentication-Results: mail-41104.protonmail.ch; dkim=pass (1024-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="kkmMzCGc" Date: Thu, 06 May 2021 21:18:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620335894; bh=swGFRkl78skPVTJSCaHHFeLlw3u7VBz6phnnlAM9X2o=; h=Date:To:From:Cc:Reply-To:Subject:From; b=kkmMzCGcSx362pQMTjFLWzrTECflGXKXY9g1u3eE74OU/jqrTVgrhp96YOaYjtkDE LWII7MxKWN4P2m+5r6xTvNCQH8d3MSvVs36x/KsZ6o1PZgBq9rVZdmG1GyJfDo/TpI 3Oy2US7fTjrd7hFhAM83YsA8jlAg9AXWtJ0sEbT4= To: Andy Gross , Bjorn Andersson , Rob Herring , Ohad Ben-Cohen , Mathieu Poirier , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org From: Yassine Oudjana Cc: Yassine Oudjana , Manivannan Sadhasivam , Konrad Dybcio , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Reply-To: Yassine Oudjana Subject: [PATCH 1/3] remoteproc: qcom: pas: Use the same init resources for MSM8996 and MSM8998 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The init resources for MSM8996 are missing power domains, and adding them makes the resources identical to the MSM8998 ones. Remove slpi_resource_ini= t and use MSM8998 resources for both chips. Signed-off-by: Yassine Oudjana --- drivers/remoteproc/qcom_q6v5_pas.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q= 6v5_pas.c index b921fc26cd04..b1e613187c68 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -689,17 +689,6 @@ static const struct adsp_data mpss_resource_init =3D { =09.ssctl_id =3D 0x12, }; =20 -static const struct adsp_data slpi_resource_init =3D { -=09=09.crash_reason_smem =3D 424, -=09=09.firmware_name =3D "slpi.mdt", -=09=09.pas_id =3D 12, -=09=09.has_aggre2_clk =3D true, -=09=09.auto_boot =3D true, -=09=09.ssr_name =3D "dsps", -=09=09.sysmon_name =3D "slpi", -=09=09.ssctl_id =3D 0x16, -}; - static const struct adsp_data sm8150_slpi_resource =3D { =09=09.crash_reason_smem =3D 424, =09=09.firmware_name =3D "slpi.mdt", @@ -803,8 +792,8 @@ static const struct adsp_data sdx55_mpss_resource =3D { =20 static const struct of_device_id adsp_of_match[] =3D { =09{ .compatible =3D "qcom,msm8974-adsp-pil", .data =3D &adsp_resource_ini= t}, -=09{ .compatible =3D "qcom,msm8996-adsp-pil", .data =3D &adsp_resource_ini= t}, -=09{ .compatible =3D "qcom,msm8996-slpi-pil", .data =3D &slpi_resource_ini= t}, +=09{ .compatible =3D "qcom,msm8996-adsp-pil", .data =3D &msm8998_adsp_reso= urce}, +=09{ .compatible =3D "qcom,msm8996-slpi-pil", .data =3D &msm8998_slpi_reso= urce}, =09{ .compatible =3D "qcom,msm8998-adsp-pas", .data =3D &msm8998_adsp_reso= urce}, =09{ .compatible =3D "qcom,msm8998-slpi-pas", .data =3D &msm8998_slpi_reso= urce}, =09{ .compatible =3D "qcom,qcs404-adsp-pas", .data =3D &adsp_resource_init= }, --=20 2.31.1