Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1723774pxy; Thu, 6 May 2021 14:23:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJHh8HWyRKtIpN7B1NkadcBvguzB6pLitX4DWIIJzDTX1qLR2cYMukYAkc+Vyjl7CFr/7U X-Received: by 2002:a50:fc02:: with SMTP id i2mr7595451edr.320.1620336214389; Thu, 06 May 2021 14:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620336214; cv=none; d=google.com; s=arc-20160816; b=tEu+3jNOhvwXWUreUXrda18WVvb9fpfEk1U9Dz+VTIX5kHmTakA4pAzv5CMJpKk+cc kl/vBqgLYsE5bnAYfECuImeyLIVaBuGuuNRRtpKBn+n/lzC+QFo4GszJnqAgmubgll/5 ja4L4/E7mgiBFDbPqEnQq88rMYIyL3sGmQjDRcjFgE7xpbRb5GijLZvFY98P2ef6L0tQ am96gLyodikinwEcyqDS9W0621IQYxhQqUmBNJCRHQNVEUEICL8kdlJIIMU+bzg7lI9x uiRcNjvpuVfnX3em83AF76l3NSVhNcNZfbJ00dDd4zDZRTi+3L6Nyakd9UOg2HOp5Zmp aPzA== 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=hOrbqVj5R3JVLRiDgquRCxHlYsob+D3PH8ZLMkNz0DQ=; b=Q8GViUyf//lmFUh+zTQiYbN2ifa7SHk8jyOexIcxflqGfmZjHrKRHHZ6Xo2HWPw/Lc aP/vOp1ztvrNcKHqK8j/bnIJe4a7vYbWIjPwkyEDOlnlFdz1kLaTdIB8iE825b+OA8nf ZPT0XlEAA6+9bbhdCaPZq/5iFqRCXU7rpulpAOYD1XVicf95sptNjoOctNlIbvULhAsQ XypBsPP9YahPMWUSsA0uTpi00XRUvD/GFDO3vWbxyZvlUJl+G0L7tOSM8kH3YTQ6BsRO DNSPbtW81LYFhPB4mwIAAnymeJMklCpVZgUBWq9f7ZlxxGLGXvl70duKa1q7eSTDWIcL o6jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=vEUlZx9B; 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 p5si3254307ejm.505.2021.05.06.14.23.08; Thu, 06 May 2021 14:23:34 -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=vEUlZx9B; 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 S230215AbhEFVUD (ORCPT + 99 others); Thu, 6 May 2021 17:20:03 -0400 Received: from mail-40138.protonmail.ch ([185.70.40.138]:25059 "EHLO mail-40138.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbhEFVUC (ORCPT ); Thu, 6 May 2021 17:20:02 -0400 Date: Thu, 06 May 2021 21:18:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620335940; bh=hOrbqVj5R3JVLRiDgquRCxHlYsob+D3PH8ZLMkNz0DQ=; h=Date:To:From:Cc:Reply-To:Subject:From; b=vEUlZx9BpIVLYi+i8KmAnglGAhY0Lm+PIWgY+jzs7hfCLrg2nNt+6cGhKjfk+jh+t MW/USfsin/HVSWU0gRSSR3DqrLvTlTXA8hNDtHUcNzmek7ypLAcoBu346h8ed+gu0G +qOE5bKEtiOU5gdivGNSoTUgxnzYSx0iCMl+hGNA= 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 3/3] arm64: dts: qcom: msm8996: Disable ADSP and add power domains 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 Disable ADSP by default and enable it in devices that use it. Also add CX power domain. Signed-off-by: Yassine Oudjana --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 4 ++++ arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot= /dts/qcom/apq8096-db820c.dtsi index defcbd15edf9..409a5dec2615 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -162,6 +162,10 @@ bluetooth { =09}; }; =20 +&adsp_pil { +=09status =3D "okay"; +}; + &blsp2_i2c0 { =09/* On High speed expansion */ =09label =3D "HS-I2C2"; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index ce430ba9c118..7e647843f7c7 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include #include =20 / { @@ -2067,6 +2068,11 @@ adsp_pil: remoteproc@9300000 { =09=09=09qcom,smem-states =3D <&smp2p_adsp_out 0>; =09=09=09qcom,smem-state-names =3D "stop"; =20 +=09=09=09power-domains =3D <&rpmpd MSM8996_VDDCX>; +=09=09=09power-domain-names =3D "cx"; + +=09=09=09status =3D "disabled"; + =09=09=09smd-edge { =09=09=09=09interrupts =3D ; =20 --=20 2.31.1